]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
suite: --wait to block until the suite finishes 735/head
authorLoic Dachary <ldachary@redhat.com>
Sun, 29 Nov 2015 10:40:36 +0000 (11:40 +0100)
committerLoic Dachary <ldachary@redhat.com>
Wed, 2 Dec 2015 14:46:08 +0000 (15:46 +0100)
commite9e9898d5e420c175bbce1d5dab0ce3ab15c36a9
tree7c7019153f5fe46294cca183aa492596f0249ef3
parent806de43e17f9911bc26124d23bbca078282b20b2
suite: --wait to block until the suite finishes

After all jobs in the suite are scheduled, wait for it to complete by
checking the result server every five minutes. The polling delay is
large but almost all suites take significantly longer than five minutes.

The list of remaining jobs is displayed every five minutes in verbose
mode.

The suite is considered stale if the list of unfinished jobs does not
change within config.max_job_time seconds (plus 30 minutes to avoid
border cases). It can happen when a worker dies, the machine running the
worker reboots etc.

http://tracker.ceph.com/issues/13884 Fixes: 13884

Signed-off-by: Loic Dachary <loic@dachary.org>
scripts/suite.py
teuthology/suite.py
teuthology/test/test_suite.py