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.jack...@eu.citrix.com> --- make-hosts-flight | 3 +++ 1 file changed, 3 insertions(+) diff --git a/make-hosts-flight b/make-hosts-flight index bbd3343..d619de6 100755 --- a/make-hosts-flight +++ b/make-hosts-flight @@ -28,6 +28,8 @@ buildflight=$5 : ${ALL_ARCHES:=amd64 i386 arm64 armhf} : ${ALL_SUITES:=jessie stretch} +: ${PERHOST_MAXWAIT:=20000} # seconds + flight=`./cs-flight-create $blessing $branch` . ./cri-common @@ -61,6 +63,7 @@ hosts_iterate () { while read <&3 host kern arch suite; do runvars=" arch=$arch host=$host + hostalloc_maxwait_max=$PERHOST_MAXWAIT " case $kern in -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel