lorax/tests
Brian C. Lane 72bd52e061 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#1657054
(cherry picked from commit f0bac40d7f)
2018-12-07 13:48:10 -08:00
..
composer Add tests for limit=0 routes 2018-08-23 16:17:33 -07:00
pylint Add a pylorax.api.version number 2018-08-21 12:10:01 -07:00
pylorax lorax-composer: Check the queue and results at startup 2018-12-07 13:48:10 -08:00
__init__.py Add a test library 2018-07-26 18:12:02 -07:00
lib.py Add a test library 2018-07-26 18:12:02 -07:00
usercustomize.py Measure coverage for parallel processes 2018-06-11 16:54:58 -07:00