hydra-build: Handle new trace messages

[?]
Dec 12, 2014, 4:20 PM
COLZ7V4EBF3RFVVFILN6EWKFKFJUDQF35PMFWIPOKON2LMALT2ZQC

Dependencies

  • [2] EX4FXA5T Handle active build steps of aborted builds properly
  • [*] 7YBYT2LQ
  • [*] RBHHV7P7 * Read logs using logContents function in stead of handling it everywhere separately.
  • [*] AS5PAYLI
  • [*] CLJQCY2X * Store info about all the build actions and allow them to be

Change contents

  • edit in src/script/hydra-build at line 169
    [5.1096]
    [6.423]
    elsif (/^@\s+build-remote-start\s+(\S+)\s+/) {
    my $drvPathStep = $1;
    txn_do($db, sub {
    my $step = $build->buildsteps->find({stepnr => $buildSteps{$drvPathStep}}) or die;
    $step->update({starttime => time});
    });
    }
    elsif (/^@\s+build-remote-done\s+(\S+)\s+/) {
    my $drvPathStep = $1;
    txn_do($db, sub {
    my $step = $build->buildsteps->find({stepnr => $buildSteps{$drvPathStep}}) or die;
    $step->update({stoptime => time});
    });
    }
  • edit in src/script/hydra-build at line 190
    [2.282]
    [7.6355]
    $step->update({stoptime => time}) unless defined $step->update;