docs: Document OSSTEST_RESOURCE_PRIORITY values in README.planner
PATCH 1/33 docs: Document OSSTEST_RESOURCE_PRIORITY values in README.planner
Signed-off-by Ian Jackson <[email protected]>
Acked-by Ian Campbell <[email protected]>
--- README.planner | 7 +++++++ 1 file changed, 7 insertions(+)
README.planner +7 -0
@@ -84,6 +84,13 @@ no resources actually get allocated), so that there is a report for the administrator showing an idea of what the system thinks may happen in the more distant future. +Values for OSSTEST_RESOURCE_PRIORITY: + mg-allocate -1000000 + mg-blockage -2000000 + default Executive.pm with controlling terminal -10 + mg-execute-flight -8 + default 0 + ms-ownerdaemon and `ownd' tasks -------------------------------
Signature · 1 line
1.7.10.4
PATCH 2/33 Executive: cs-job-create: Check that OSSTEST_FLIGHT is not set
If OSSTEST_FLIGHT is set on entry to JobDB::Executive::flight_create, fail. This obviously represents some kind of mistake.
One effect is that standalone-generate-dump-flight-runvars won't fill an Executive database with test flights.
Signed-off-by Ian Jackson <[email protected]>
Acked-by Ian Campbell <[email protected]>
--- Osstest/JobDB/Executive.pm | 2 ++ 1 file changed, 2 insertions(+)
Osstest/JobDB/Executive.pm +2 -0
@@ -89,6 +89,8 @@ END sub flight_create ($$$) { #method my ($jd,$intended,$branch) = @_; + die "OSSTEST_FLIGHT set on entry to JobDB::Executive::flight_create\n" + if $ENV{'OSSTEST_FLIGHT'}; $dbh_tests->do(<<END, {}, $branch, $intended); INSERT INTO flights (flight, started, blessing, branch, intended)
Signature · 1 line
1.7.10.4
PATCH 3/33 mg-list-all-branches: Suppress `maintjobs'
In reply to Ian JacksonThis is not a real branch; it's a cron working directory, only.
Signed-off-by Ian Jackson <[email protected]>
Acked-by Ian Campbell <[email protected]>
--- mg-list-all-branches | 2 ++ 1 file changed, 2 insertions(+)
mg-list-all-branches +2 -0
@@ -16,4 +16,6 @@ foreach my $f (qw(cr-for-branches crontab)) { close C or die $!; } +delete $branches{maintjobs}; + print $_,"\n" or die $! foreach sort { versioncmp($a, $b) } keys %branches;
Signature · 1 line
1.7.10.4
Ian Jackson writes ("[OSSTEST PATCH 01/33] docs: Document OSSTEST_RESOURCE_PRIORITY values in README.planner"):
Quoted 2 lines
Signed-off-by Ian Jackson <[email protected]>Acked-by Ian Campbell <[email protected]>
Please disregard those three. I tried to abort sending them, but not soon enough.
Ian.