* eval-jobs -> hydra_eval_jobs.

[?]
Mar 9, 2009, 3:16 PM
SHZLOM5M2NVH2J7CJJMS562EV5NPCTNWQ5P3K2SSL2YFYUI7PMIQC

Dependencies

  • [2] ZILILXXK * Allow scheduled builds to be cancelled. They're not removed from
  • [3] POPU2ATH * hydra_scheduler: use eval-jobs.
  • [4] 2AUODJBT
  • [5] L2E6EVE2 * Merged the Build and Job tables.
  • [6] W6DC6K4I * Happy Javascript hacking.
  • [7] FHF6IZJQ * Basic release management: releases are now dynamically computed as
  • [8] LQNBKF3D
  • [9] BD3GRK4B * Get rid of "positive failures" and separate log phases.
  • [10] H7CNGK4O * Log evaluation errors etc. in the DB.
  • [11] X27GNHDV * Basic job info in the database.
  • [12] 4N5APGRG * Start of a helper tool to evaluate job expressions efficiently.
  • [13] 3ZCEPLNO
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.
  • [*] 7YBYT2LQ
  • [*] N22GPKYT * Put info about logs / build products in the DB.
  • [*] M552HLIA * Support variant builds.

Change contents

  • replacement in src/c/Makefile at line 4
    [4.98][4.98:268]()
    eval-jobs: eval-jobs.cc
    libtool --mode=link g++ -o eval-jobs eval-jobs.cc -I$(NIX)/include/nix -I$(ATERM)/include -L$(NIX)/lib/nix/ -lmain -lexpr -L$(ATERM)/lib -lATerm
    [4.98]
    hydra_eval_jobs: hydra_eval_jobs.cc
    libtool --mode=link g++ -o hydra_eval_jobs hydra_eval_jobs.cc -I$(NIX)/include/nix -I$(ATERM)/include -L$(NIX)/lib/nix/ -lmain -lexpr -L$(ATERM)/lib -lATerm
  • file move: eval-jobs.cc (----------)hydra_eval_jobs.cc (----------)
    [4.1]
    [4.303]
  • replacement in src/root/build.tt at line 139
    [4.2495][2.2382:2417]()
    <th>Duration (seconds):</th>
    [4.2495]
    [4.2519]
    <th>Duration:</th>
  • replacement in src/root/build.tt at line 144
    [2.2519][2.2519:2590]()
    [% build.resultInfo.stoptime - build.resultInfo.starttime %]
    [2.2519]
    [2.2590]
    [% build.resultInfo.stoptime - build.resultInfo.starttime %]s
  • replacement in src/root/project.tt at line 100
    [4.8289][4.8289:8365]()
    [% PROCESS renderDateTime timestamp = jobset.lastcheckedtime %]
    [4.8289]
    [4.8365]
    [% PROCESS renderDateTime timestamp = jobset.lastcheckedtime -%][% IF jobset.errormsg -%]<em>, evaluation error</em>:
    <pre class="multiLineMsg error">[% HTML.escape(jobset.errormsg) %]</pre>
    [% ELSE %], <em>no errors</em>
    [% END %]
  • edit in src/root/project.tt at line 107
    [4.8433][4.2270:2310](),[4.2270][4.2270:2310](),[4.2310][4.5320:5586](),[4.1864][4.5320:5586]()
    </td>
    </tr>
    [% END %]
    [% IF !edit && jobset.errormsg %]
    <tr>
    <th>Last evaluation error:</th>
    <td>
    <em>On [% PROCESS renderDateTime timestamp = jobset.errortime %]:</em>
    <pre class="multiLineMsg error">[% HTML.escape(jobset.errormsg) %]</pre>
  • replacement in src/script/hydra_scheduler.pl at line 332
    [4.4086][3.2421:2483]()
    "eval-jobs", $nixExprPath, inputsToArgs($inputInfo));
    [4.4086]
    [4.4164]
    "hydra_eval_jobs", $nixExprPath, inputsToArgs($inputInfo));
  • edit in src/script/hydra_scheduler.pl at line 340
    [4.8069][4.8069:8070](),[4.8070][3.2623:2817]()
    # Store the errors messages for jobs that failed to evaluate.
    foreach my $error (@{$jobs->{error}}) {
    print "error at " . $error->{location} . ": " . $error->{msg} . "\n";
    }
  • edit in src/script/hydra_scheduler.pl at line 346
    [18.7086]
    [4.9880]
    # Store the errors messages for jobs that failed to evaluate.
    my $msg = "";
    foreach my $error (@{$jobs->{error}}) {
    $msg .= "at `" . $error->{location} . "': " . $error->{msg} . "\n";
    }
    setJobsetError($jobset, $msg);