lorax/tests
Brian C. Lane dfb2b962b3 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:59 -08:00
..
cli Add an openstack image type 2018-10-09 15:17:45 -07:00
composer Add tests for limit=0 routes 2018-08-27 12:02:39 -07:00
lib Add pylint testing 2014-05-09 08:10:41 -07:00
pylint Fix pylint errors and warnings 2018-10-09 15:04:43 -07:00
pylorax lorax-composer: Check the queue and results at startup 2018-12-06 15:26:59 -08:00
__init__.py Add a test library 2018-08-06 17:00:56 -07:00
lib.py Update StringIO use for Py3 2018-08-07 08:41:11 -07:00
test_cli.sh Change make_dnf_dirs to be run as root 2018-10-10 14:25:51 -07:00
testenv.sh Add pylint testing 2014-05-09 08:10:41 -07:00