If we cannot acquire a particular host for more than 20ks (~5.5h),
give up on it. This allows flights to complete if hosts are blocked
for a long time.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
: ${ALL_ARCHES:=amd64 i386 arm64 armhf}
: ${ALL_SUITES:=jessie stretch}
+: ${PERHOST_MAXWAIT:=20000} # seconds
+
flight=`./cs-flight-create $blessing $branch`
. ./cri-common
while read <&3 host kern arch suite; do
runvars="
arch=$arch host=$host
+ hostalloc_maxwait_max=$PERHOST_MAXWAIT
"
case $kern in