lorax/tests/pylorax
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
..
blueprints Drop mod_auth_openidc from httpd example blueprint 2018-08-29 10:48:02 -07:00
repos Add support for user defined package sources API 2018-06-04 15:47:00 -07:00
results Support loading groups from the kickstart template files. 2018-07-19 11:00:46 -07:00
source Fix DNF related issues with source selection 2018-06-04 15:47:38 -07:00
test_buildstamp.py Write the --variant string to .buildstamp as 'Variant=' 2018-01-17 09:38:16 -08:00
test_compose.py Write a rootpw line if no root customizations in the blueprint 2018-10-03 08:29:33 -07:00
test_crossdomain.py Use 2to3 to convert the python2 lorax-composer code to python3 2018-05-17 10:34:34 -07:00
test_dnfbase.py Speed up test_dnfbase.py 2018-06-04 15:47:26 -07:00
test_projects.py Support loading groups from the kickstart template files. 2018-07-19 11:00:46 -07:00
test_queue.py lorax-composer: Check the queue and results at startup 2018-12-06 15:27:48 -08:00
test_recipes.py Fix tests related to blueprint name changes 2018-08-22 10:22:36 -07:00
test_server.py Add an openstack image type 2018-10-09 11:55:30 -07:00
test_timestamp.py Add a test for the pylorax.api.timestamp functions 2018-08-07 12:12:17 -07:00
test_workspace.py Fix tests related to blueprint name changes 2018-08-22 10:22:36 -07:00