From: Guillaume Abrioux Date: Thu, 22 Jun 2017 12:49:26 +0000 (+0200) Subject: ceph-ansible-prs: add a timeout X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F752%2Fhead;p=ceph-build.git ceph-ansible-prs: add a timeout Add a timeout (5h) since sometimes some job can get stuck in the CI for a very long time. Signed-off-by: Guillaume Abrioux --- diff --git a/ceph-ansible-prs/build/build b/ceph-ansible-prs/build/build index 2a9aec94..8cd43fa2 100644 --- a/ceph-ansible-prs/build/build +++ b/ceph-ansible-prs/build/build @@ -15,4 +15,4 @@ restart_libvirt_services # the $SCENARIO var is injected by the job template. It maps # to an actual, defined, tox environment -$VENV/tox -rv -e=$RELEASE-$SCENARIO --workdir=$WORKDIR -- --provider=libvirt +timeout 5h $VENV/tox -rv -e=$RELEASE-$SCENARIO --workdir=$WORKDIR -- --provider=libvirt || echo "ERROR: Job didn't complete before the timeout has been exceeded (5h)."