cr-try-bisect-adhoc: Set OSSTEST_PRIORITY=-30
PATCH 1/1 cr-try-bisect-adhoc: Set OSSTEST_PRIORITY=-30
This makes adhoc bisects slightly more important than smoke tests, on the basis that a smoke test can choose another host while an adhoc bisect cannot.
Document this is README.planner and while there make a note of the usage of OSSTEST_RESOURCE_WAITSTART by cr-try-bisect.
Signed-off-by Ian Campbell <[email protected]>
--- README.planner | 9 ++++++++- cr-try-bisect-adhoc | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-)
README.planner +8 -1
@@ -59,7 +59,8 @@ planning slot. The queueing order is determined by the job priority value. Each client declares its own priority. The usual basis for the priority is -is client's starting time_t. So by and large jobs execute in order. +is client's starting time_t. So by and large jobs execute in +order. This can be overridden using $OSSTEST_RESOURCE_WAITSTART. The main client in the planning process is ts-hosts-allocate-Executive. That program contains the heuristics for
@@ -87,11 +88,17 @@ in the more distant future. Values for OSSTEST_RESOURCE_PRIORITY: mg-allocate -1000000 mg-blockage -2000000 + cr-try-bisect-adhoc -30 xen-unstable-smoke cr-daily-branch -20 default Executive.pm with controlling terminal -10 mg-execute-flight -8 default 0 +Values for OSSTEST_RESOURCE_WAITSTART: + cr-try-bisect 6000 seconds before the timestamp on the + corresponding $branch.mro file (i.e. 6000 + before the end of the real flight which + triggered the bisection attempt). ms-ownerdaemon and `ownd' tasks -------------------------------
cr-try-bisect-adhoc +1 -1
@@ -55,7 +55,7 @@ compute_state_done_callback () { } perhaps_bisect_step_core_testing_callback () { - : + export OSSTEST_RESOURCE_PRIORITY=-30 } subject_prefix="[adhoc $branch bisection]"
Signature · 1 line
2.6.1
Ian Campbell writes ("[PATCH OSSTEST] cr-try-bisect-adhoc: Set OSSTEST_PRIORITY=-30"):
Quoted 3 lines
This makes adhoc bisects slightly more important than smoke tests, on the basis that a smoke test can choose another host while an adhoc bisect cannot.
Acked-by Ian Jackson <[email protected]>