lorax/tests
Brian C. Lane f0bac40d7f lorax-composer: Check the queue and results at startup
If the system ran out of space, or was rebooted unexpectedly, the state
of the queue symlinks, or the results STATUS files may be inconsistent.
This checks them and:
 * Removes broken symlinks from queue/new and queue/run
 * Removes symlinks from run and sets the build to FAILED
 * Sets builds w/o a STATUS to FAILED
 * Sets builds with STATUS of RUNNING to FAILED
 * Creates missing queue/new symlinks to results with STATUS of WAITING

So, any builds that were running during the reboot will be FAILED, and
any that were waiting to be started will be started upon rebooting.

Resolves: rhbz#1647985
(cherry picked from commit 4dd9004d13)
2018-12-06 15:27:48 -08:00
..
cli Add an openstack image type 2018-10-09 11:55:30 -07:00
composer Add tests for limit=0 routes 2018-08-27 12:09:27 -07:00
lib Add pylint testing 2014-05-09 08:10:41 -07:00
pylint Add composer-cli and tests 2018-05-17 10:34:34 -07:00
pylorax lorax-composer: Check the queue and results at startup 2018-12-06 15:27:48 -08:00
__init__.py Add a test library 2018-08-07 12:12:17 -07:00
lib.py Update StringIO use for Py3 2018-08-07 12:12:17 -07:00
test_cli.sh Add beakerlib to Dockerfile.test 2018-10-02 16:50:28 -07:00
testenv.sh Add pylint testing 2014-05-09 08:10:41 -07:00