From: Ian Jackson Date: Tue, 2 Jul 2019 16:26:02 +0000 (+0100) Subject: ts-hosts-allocate-Executive: Treat "no suitable host" as starved X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c0471a9eadb45251f784ddb8854f2447272200d4;p=people%2Froyger%2Fosstest.git ts-hosts-allocate-Executive: Treat "no suitable host" as starved In particular, this means that * platform-* jobs will not cause problems in old Xen branches when there a platform supports only newer Xen * commissioning flights will complain less about the architectures that aren't included in the particular set of hosts The motivation for this patch, now, is that the first of these applies to `platform-thunderx', recently introduced in the Xen Project colo. CC: Julien Grall Signed-off-by: Ian Jackson --- diff --git a/ts-hosts-allocate-Executive b/ts-hosts-allocate-Executive index af18763..3bc3810 100755 --- a/ts-hosts-allocate-Executive +++ b/ts-hosts-allocate-Executive @@ -845,8 +845,8 @@ sub attempt_allocation { hid_recurse({}, 0); if (!$best) { - logm("no plan is possible"); - die "no plan is possible"; + logm("no plan is possible - no suitable hosts"); + return $alloc_starved_r; } foreach (my $ix=0; $ix<@hids; $ix++) {