]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-ansible-prs: add a timeout 752/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 22 Jun 2017 12:49:26 +0000 (14:49 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 22 Jun 2017 21:56:57 +0000 (23:56 +0200)
Add a timeout (5h) since sometimes some job can get stuck in the CI for
a very long time.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
ceph-ansible-prs/build/build

index 2a9aec94584680edbec3b6ac6543fa4ad525c267..8cd43fa2cb00d991ba8867c8322294a7d07e139f 100644 (file)
@@ -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)."