Tweak build steps

[?]
Jun 15, 2015, 1:48 PM
MSIHMO45JO5V5ICZ7SKVWH6CLINKQY3UTA7274Q5OZCKPRX7SUNQC

Dependencies

  • [2] 7X2VKCAM Reorder
  • [3] IWB3F4Z6 Fail builds with previously failed steps early
  • [4] K22TMPH5 Make the info tables less compressed
  • [5] M6WGSGNM Don't show duration of unfinished builds
  • [6] KBZHIGLG Record the machine used for a build step
  • [7] LJILHOJ7 Create BuildSteps race-free
  • [8] CAFO4ATE Always show the build duration (using the cached build if necessary)
  • [9] 24BMQDZA Start of single-process hydra-queue-runner
  • [10] UQQ4IL55 Add a error type for "unsupported system type"
  • [11] HN3V252L On the build page, show how many aggregate constituents failed
  • [12] 3TZYSSGX built.tt: Handle the case where the original build is not known
  • [13] 2GUAKGTB Fix indentation of build.tt
  • [14] R6B5CAFF Let Builds.timestamp refer to the time the build was added
  • [15] 62MQPRXC Pass null values to libpqxx properly
  • [16] RYTQLATY Keep track of failed paths in the Hydra database
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.

Change contents

  • replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 345
    [4.578][4.116:220](),[4.8654][4.116:220]()
    (build->id)(stepNr)(0)(step->drvPath)(status == bssBusy ? 1 : 0)(startTime)(step->drv.platform)
    [4.578]
    [4.220]
    (build->id)(stepNr)(0)(step->drvPath)(status == bssBusy ? 1 : 0)
    (startTime, startTime != 0)
    (step->drv.platform)
  • replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 351
    [4.343][4.579:618]()
    (startTime, status != bssBusy)
    [4.343]
    [4.49]
    (startTime, startTime != 0 && status != bssBusy)
  • replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 535
    [3.1093][3.1093:1167]()
    createBuildStep(txn, now, build, r, "", buildStepStatus);
    [3.1093]
    [4.653]
    createBuildStep(txn, 0, build, r, "", buildStepStatus);
  • replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 985
    [4.1983][4.1983:2113]()
    createBuildStep(txn, result.stopTime, build2, step, machine->sshName, bssFailed, result.errorMsg, build->id);
    [4.1983]
    [4.2113]
    createBuildStep(txn, 0, build2, step, machine->sshName, bssFailed, result.errorMsg, build->id);
  • replacement in src/root/build.tt at line 39
    [4.19949][4.19949:19976]()
    %]?[%
    [4.19949]
    [4.19976]
    %]<em>n/a</em>[%
  • replacement in src/root/build.tt at line 189
    [4.3656][4.1183:1235](),[4.36][4.0:128](),[4.1235][4.0:128](),[4.3656][4.0:128](),[4.128][4.1571:1775](),[4.1775][4.329:347](),[4.329][4.329:347]()
    [% IF !isAggregate && build.finished %]
    <tr>
    <th>Duration:</th>
    <td>[% actualBuild = build.iscachedbuild ? cachedBuild : build;
    INCLUDE renderDuration duration = actualBuild.stoptime - actualBuild.starttime %];
    finished at [% INCLUDE renderDateTime timestamp = actualBuild.stoptime %]</td>
    </tr>
    [4.3656]
    [4.37]
    [% IF !isAggregate && build.finished; actualBuild = build.iscachedbuild ? cachedBuild : build %]
    [% IF actualBuild %]
    <tr>
    <th>Duration:</th>
    <td>[% INCLUDE renderDuration duration = actualBuild.stoptime - actualBuild.starttime %]</td>
    </tr>
    [% END %]
    <tr>
    <th>Finished at:</th>
    <td>[% INCLUDE renderDateTime timestamp = build.stoptime; %]</td>
    </tr>
  • replacement in src/root/build.tt at line 305
    [2.11][2.11:36]()
    <th>Queued:</th>
    [2.11]
    [2.36]
    <th>Queued at:</th>