lorax/tests
Brian C. Lane 4dd9004d13 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
2018-12-06 15:13:28 -08:00
..
cli Teach OpenStack test to distinguish between RHEL and Fedora 2018-12-06 22:15:49 +02: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-09-25 13:49:40 +03:00
pylorax lorax-composer: Check the queue and results at startup 2018-12-06 15:13:28 -08:00
__init__.py Add a test library 2018-08-06 16:53:48 -07:00
lib.py Add tests for pylorax.imgutils 2018-11-12 11:13:37 -08:00
test_cli.sh Use a temporary shared dir when testing 2018-11-29 09:46:06 +02:00
testenv.sh Add pylint testing 2014-05-09 08:10:41 -07:00