[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH OSSTEST] 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 <ian.campbell@xxxxxxxxxx>
---
 README.planner      | 9 ++++++++-
 cr-try-bisect-adhoc | 2 +-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/README.planner b/README.planner
index 3a491a4..d4a3c4b 100644
--- a/README.planner
+++ b/README.planner
@@ -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
 -------------------------------
diff --git a/cr-try-bisect-adhoc b/cr-try-bisect-adhoc
index 6d5d7c4..9556d1f 100755
--- a/cr-try-bisect-adhoc
+++ b/cr-try-bisect-adhoc
@@ -55,7 +55,7 @@ compute_state_done_callback () {
 }
 
 perhaps_bisect_step_core_testing_callback () {
-       :
+       export OSSTEST_RESOURCE_PRIORITY=-30
 }
 
 subject_prefix="[adhoc $branch bisection]"
-- 
2.6.1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.