hydra: fixed and re-enabled evaluation tests
[?]
Mar 24, 2011, 1:45 PM
RBZRCTALK2SLKX6HDMBS25BRNYPK3GK364MGAVCXP3MW5CEW5TKQCDependencies
- [2]
6US6LEC7* Add a NarSize field to Hydra manifests. This allows nix-env - [3]
FAIJDQKZ - [4]
YL5OIJNQdisabled evaluation tests until i figure out why it fails in buildfarm and succeeds locally - [5]
V2MRXFBH - [6]
DO432JDJ* Build Hydra with the Nix Perl bindings. - [7]
YQWH4POV* Simplify. - [8]
PBJJSE3Dmake sure jobs/* and Setup.pm is in tarball - [9]
Y2BFYLLK* Install the SQL schemata in $out/share/hydra/sql. - [10]
BKOIYITRadded some json responses - [11]
6XJH4OFLadd datetime to deps - [12]
YFPZ46YK* hydra: added variant of build input type, 'build output (same system)' to allow better continous integration in one jobset for multiple system. it makes sure that the system of the build that is passed as input for a job has the same system as the job. - [13]
T4LLYESZ* Nix expression for building Hydra. - [14]
SZYDW2DGhydra: added some user admin - [15]
SBKX3YH2cleanup - [16]
3MDDGGSN* Install the manual. - [17]
YT25ZGSZ - [18]
SAFVRDTK* Put Hydra's dependencies so that they can easily be installed in a - [19]
DFXIN6YW* Include jquery and tablesorter in the build. - [20]
7RO7CINMsetup environment variables for tests - [21]
JRVI4XTVtests: Use $(builddir) instead of `pwd`. - [22]
CXRCPDSQ* added support for twitter notification - [23]
G2ZB6464first test, not yet in buildprocess - [24]
WFJ3ZPRMadd tests for scm inputs - [25]
UQ6K57MS* Include nix-prefetch-svn in the Hydra binary distribution. - [26]
WHS5RMPO - [27]
PVBTVPKJnix needs env vars as absolute paths - [28]
HX4QYOYAadd first evaluations tests - [*]
ZHBEOOUQshow evaluation errors in log of tests
Change contents
- edit in deps.nix at line 4
let - edit in deps.nix at line 5[5.23]→[5.6:141](∅→∅),[5.141]→[2.0:90](∅→∅),[2.90]→[5.231:326](∅→∅),[5.90]→[5.231:326](∅→∅),[5.231]→[5.231:326](∅→∅)
nixPerl = buildPerlPackage {name = "Nix-0.15";src = fetchsvn {url = https://svn.nixos.org/repos/nix/nix-perl/trunk;rev = 24774;sha256 = "1akj695gpnbrjlnwd1gdnnnk7ppvpp1qsinjn04az7q6hjqzbm6p";};NIX_PREFIX = nixSqlite;doCheck = false; # tests currently don't work};in - replacement in deps.nix at line 28[5.22]→[5.327:337](∅→∅),[5.24]→[5.327:337](∅→∅),[5.57]→[5.327:337](∅→∅),[5.71]→[5.327:337](∅→∅),[5.49]→[5.327:337](∅→∅)
nixPerlperlPackages.nixPerl - replacement in release.nix at line 76
LOGNAME="$USER"; - replacement in tests/Makefile.am at line 12
PATH=$(abs_top_srcdir)/src/script:$$PATH \PATH=$(abs_top_srcdir)/src/script:$(abs_top_srcdir)/src/c:$$PATH \ - replacement in tests/Makefile.am at line 21
query-all-tables.pl# evaluation-tests.plquery-all-tables.pl \evaluation-tests.pl - replacement in tests/evaluation-tests.pl.in at line 13
use Test::Simple tests => 22;use Test::Simple tests => 28; - edit in tests/evaluation-tests.pl.in at line 43[5.2278][30.28]
for my $build (queuedBuildsForJobset($jobset)) {ok(runBuild($build), "Build '".$build->job->name."' from jobs/basic.nix should exit with code 0");my $newbuild = $db->resultset('Builds')->find($build->id);ok($newbuild->buildresultinfo->buildstatus == 0, "Build '".$build->job->name."' from jobs/basic.nix should have buildstatus 0");} - edit in tests/evaluation-tests.pl.in at line 49[30.29][5.1679]
ok(evalSucceeds($jobset), "Evaluating jobs/build-output-as-input.nix for second time should exit with return code 0");ok(nrQueuedBuildsForJobset($jobset) == 1 , "Evaluating jobs/build-output-as-input.nix for second time after building build1 should result in 1 build in queue");for my $build (queuedBuildsForJobset($jobset)) {ok(runBuild($build), "Build '".$build->job->name."' from jobs/basic.nix should exit with code 0");my $newbuild = $db->resultset('Builds')->find($build->id);ok($newbuild->buildresultinfo->buildstatus == 0, "Build '".$build->job->name."' from jobs/basic.nix should have buildstatus 0");} - edit in tests/evaluation-tests.pl.in at line 57