|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 9/9] ts-hosts-allocate-Executive: Radically reduce the previously_failed bonus
Make osstest less obsessive about sticking to failing hosts if they
are persistently unavailable.
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
ts-hosts-allocate-Executive | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/ts-hosts-allocate-Executive b/ts-hosts-allocate-Executive
index 590fe98..1378f25 100755
--- a/ts-hosts-allocate-Executive
+++ b/ts-hosts-allocate-Executive
@@ -547,8 +547,12 @@ sub hid_recurse ($$) {
my $cost= $start_time
+ $duration_for_cost
- - ($previously_failed ==@hids ? 366*86400 :
- $previously_failed_equiv==@hids ? 365*86400 :
+ - ($previously_failed ==@hids ? 7*86400 :
+ $previously_failed_equiv==@hids ? 6.5*86400 :
+ # We wait 7d extra to try a failing test on the same
+ # hardware, or 6.5d on `equivalent' hardware (as defined by
+ # equiv-* flags). Compared to `equivalent' hardware, we
+ # wait 12h to try it on exactly the same.
0)
+ ($previously_failed || $previously_failed_equiv
? (-$max_variation_bonus+$variation_bonus) : -$variation_bonus)
--
1.7.10.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |