f9475ddc41
In a previous change I attempted to log in flight subunit streams that may be left behind if a job times out. This unfortunately didn't work because in the cases we leave those files behind we also assume that we don't have a valid .stestr state due to the contents of this directly. Address this by modifying the find-stestr.sh script to indicate via its return code if .stestr or .testrepository are present separate from which commands are valid to run. Then in ansible we can do steps that always apply if (s)testr were used (like copying partial logs) and separately do subunit parsing if the contents of the (s)testr db directories are valid. Change-Id: I1c8f2405d74484631f633065baf9764dbd0209ee |
||
---|---|---|
.. | ||
find-subunit2html.sh | ||
find-testr.sh |