From: Ian Campbell Subject: [PATCH OSSTEST] cr-try-bisect-adhoc: Set OSSTEST_PRIORITY=-30 Date: Thu, 3 Dec 2015 14:55:48 +0000 Message-ID: <1449154548-14664-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org Cc: Ian Campbell List-Id: xen-devel@lists.xenproject.org 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 --- 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