* Allow the maximum number of concurrent builds per platform to be

[?]
Nov 26, 2008, 5:14 PM
TWVSALRLHGSY6SHLMLT53K2A5SUCPU3SNFPZ2KWYOLDQUJBSZ2OAC

Dependencies

  • [2] 3ZCEPLNO
  • [3] NREF6YOA * Don't start more builds concurrently than allowed for each system
  • [4] DVNWJXWW * Generic declaration of build products.
  • [5] PHX2HIVG * Store info about the build inputs in the build record.
  • [6] BD3GRK4B * Get rid of "positive failures" and separate log phases.
  • [7] L2E6EVE2 * Merged the Build and Job tables.
  • [8] IK53RV4V
  • [9] X27GNHDV * Basic job info in the database.
  • [10] TQKGQ5R3
  • [11] H7CNGK4O * Log evaluation errors etc. in the DB.
  • [12] CMU3YKOU * Store the release name.
  • [13] GWCV3TQV * BuildInputs table: link to dependencies, include store paths.
  • [14] 7YBYT2LQ
  • [15] VCOSLZRP
  • [16] WYN733ST * Store build duration, handle cached builds.
  • [17] J5UVLXOK * Start of a basic Catalyst web interface.
  • [18] SHBLLAVH * More global substitution.
  • [19] BVOPAMLS
  • [20] ZVTSOVHN * Support Subversion checkouts.
  • [21] 67P45PY4
  • [22] B72GLND4
  • [23] KOTB7BKV
  • [24] M552HLIA * Support variant builds.
  • [25] CLJQCY2X * Store info about all the build actions and allow them to be
  • [26] YAPITGB3 * Boolean inputs.
  • [27] TLZ2SPBR
  • [28] 6BLUKEQ2 * Caching of "path" inputs, and fake a revision number for those.
  • [29] YTZOC7C5 * Editing of jobset inputs.
  • [30] ZEHSSVFG
  • [31] TULPZ62Y * Perform builds in parallel.
  • [*] PKPWUHUX * Idem.
  • [*] N22GPKYT * Put info about logs / build products in the DB.

Change contents

  • replacement in src/Hydra/lib/Hydra/Schema/Buildinputs.pm at line 39
    [4.782][2.0:142]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 14:37:07
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ACPzMIxSYRMXkv8LGwR6lA
    [4.782]
    [4.924]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LXmRVGbyhgP5UGYK5ekbog
  • replacement in src/Hydra/lib/Hydra/Schema/Buildproducts.pm at line 36
    [4.4922][2.143:285]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 14:37:07
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lREoFKnRpeyIMd+9AxbYuQ
    [4.4922]
    [4.5064]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ai10FDZA/INuvAMu+1mvWw
  • replacement in src/Hydra/lib/Hydra/Schema/Buildresultinfo.pm at line 32
    [4.2382][2.286:428]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 14:37:07
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6wMlFDXyRr0ElqsdFbRc3g
    [4.2382]
    [4.2524]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KLmCZNoPd+vFmAj7XNtLMQ
  • replacement in src/Hydra/lib/Hydra/Schema/Builds.pm at line 73
    [4.6194][2.429:571]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 14:37:07
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cX3mAlsEB9POMvmCcoWn6A
    [4.6194]
    [4.3377]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hm/IA7ESnKT9gls0lw1Daw
  • replacement in src/Hydra/lib/Hydra/Schema/Buildschedulinginfo.pm at line 26
    [4.4473][2.572:714]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 14:37:07
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:O6bwijQ4R6Ke9QjYjsuUsA
    [4.4473]
    [4.4615]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:d/8LOVy+FfKFEo7iFbP3Gw
  • replacement in src/Hydra/lib/Hydra/Schema/Buildsteps.pm at line 38
    [4.2816][2.715:857]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 14:37:07
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7vdFywkKYZeLSow8AijaUA
    [4.2816]
    [4.2958]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:a/DM38J4HR2LBDTeXvt4uA
  • replacement in src/Hydra/lib/Hydra/Schema/Cachedpathinputs.pm at line 25
    [4.1497][2.858:1000]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 14:37:07
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dPQ2YTZIUdMRwBbiu1qwUw
    [4.1497]
    [4.1639]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Pnefs6s7Y0i3YRE+BoWdDg
  • replacement in src/Hydra/lib/Hydra/Schema/Cachedsubversioninputs.pm at line 23
    [4.2342][2.1001:1143]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 14:37:07
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EVNo1URK0XJTQo+KXHlmpA
    [4.2342]
    [4.2484]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gmw8LSLTRV00vCYDKiuZOw
  • replacement in src/Hydra/lib/Hydra/Schema/Jobsetinputalts.pm at line 36
    [4.1831][2.1221:1363]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 14:37:07
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eM2dwDI3lL5EHwUA5m2pDg
    [4.1831]
    [4.1973]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:R26KAvuQZHKAyG/hEaB6Gw
  • replacement in src/Hydra/lib/Hydra/Schema/Jobsetinputs.pm at line 46
    [4.1681][2.1364:1506]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 14:37:07
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:poDHcgoqxtQf8HN7AbpnOA
    [4.1681]
    [4.1823]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:quDswVe6ApUm4cYVVijAEw
  • replacement in src/Hydra/lib/Hydra/Schema/Jobsets.pm at line 53
    [4.2992][2.1592:1734]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 14:37:07
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BJwh19m9KHKZUMAiQ6fPAw
    [4.2992]
    [4.3134]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nDI28mE5gmZwDozOG/0fnw
  • replacement in src/Hydra/lib/Hydra/Schema/Projects.pm at line 33
    [4.3685][2.1735:1877]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 14:37:07
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:v/jpJlVZg1k8PDLJyZhpSA
    [4.3685]
    [4.3827]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SKZ/imJK1fjPbBEXde23Og
  • file addition: Systemtypes.pm (----------)
    [33.207]
    package Hydra::Schema::Systemtypes;
    use strict;
    use warnings;
    use base 'DBIx::Class';
    __PACKAGE__->load_components("Core");
    __PACKAGE__->table("SystemTypes");
    __PACKAGE__->add_columns(
    "system",
    { data_type => "text", is_nullable => 0, size => undef },
    "maxconcurrent",
    { data_type => "integer", is_nullable => 0, size => undef },
    );
    __PACKAGE__->set_primary_key("system");
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/NVhmxcHU6YWCXDX9sO8mA
    # You can replace this text with custom content, and it will be preserved on regeneration
    1;
  • replacement in src/Hydra/lib/Hydra/Schema.pm at line 11
    [4.6498][2.1878:2020]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 14:37:07
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:E0tjF/wARKGxMml3bYcLFQ
    [4.6498]
    [4.6640]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Pcp+OvDPqTvMftKcbkPkjA
  • replacement in src/Hydra/programs/Runner.pl at line 54
    [3.806][3.806:892]()
    my $maxActive = 2;
    my $extraAllowed = $maxActive - $nrActive;
    [3.806]
    [3.892]
    (my $systemTypeInfo) = $db->resultset('Systemtypes')->search({system => $system->system});
    my $maxConcurrent = defined $systemTypeInfo ? $systemTypeInfo->maxconcurrent : 2;
    my $extraAllowed = $maxConcurrent - $nrActive;
  • replacement in src/Hydra/programs/Runner.pl at line 66
    [3.1345][3.1345:1406]()
    "': $nrActive active, $maxActive allowed, ",
    [3.1345]
    [3.1406]
    "': $nrActive active, $maxConcurrent allowed, ",
  • replacement in src/Hydra/programs/Runner.pl at line 86
    [4.363][4.363:399]()
    print "starting job $id\n";
    [4.363]
    [4.9004]
    print "starting job $id (", $job->project->name, ":", $job->attrname, ") on ", $job->system, "\n";
  • edit in src/hydra.sql at line 257
    [4.5623]
    [4.5623]
    );
    create table SystemTypes (
    system text primary key not null,
    maxConcurrent integer not null default 2