]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
Allow runs that have jobs with missing packages to schedule.
authorAndrew Schoen <aschoen@redhat.com>
Fri, 9 Jan 2015 19:50:11 +0000 (13:50 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 15 Jan 2015 20:18:35 +0000 (14:18 -0600)
commit0a8994a7ae227451a316b3c96db3fc9e0c62a6cb
tree4b417b0cbd45187bb8f1a0c9c618d09f55bc282d
parent86c9c68cc821e474f8124604d5ecd096a3cced4b
Allow runs that have jobs with missing packages to schedule.

Runs that have jobs with missing packages will now schedule successfully
instead of throwing an exception and sending an email of the failure.
However, the jobs with missing packages are tracked and printed when
--dry-run is used.

Extracted the code that did these checks from schedule_suite so that it
could be reused elsewhere. Wrote unit tests on these newly extracted functions.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
teuthology/suite.py
teuthology/test/test_suite.py