lorax/tests
Brian C. Lane 574360f7d0 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:26:40 -08:00
..
cli Add an openstack image type 2018-10-09 11:07:46 -07:00
composer Add tests for limit=0 routes 2018-08-27 11:05:46 -07:00
lib Add pylint testing 2014-05-09 08:10:41 -07:00
pylint Fix pylint errors and warnings 2018-10-05 09:09:10 -07:00
pylorax lorax-composer: Check the queue and results at startup 2018-12-06 15:26:40 -08:00
__init__.py Add a test library 2018-08-06 16:53:48 -07:00
lib.py Update StringIO use for Py3 2018-08-07 09:22:18 -07:00
test_cli.sh Change make_dnf_dirs to be run as root 2018-10-10 14:25:38 -07:00
testenv.sh Add pylint testing 2014-05-09 08:10:41 -07:00