From 2a0938f97660bb1f558662cc6cb48a68a6c88759 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Thu, 22 Jun 2017 14:49:26 +0200 Subject: [PATCH] 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 --- ceph-ansible-prs/build/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)." -- 2.47.3