]> xenbits.xensource.com Git - osstest.git/commit
ts-depriv-audit-qemu: Leaked substeps are `blocked', and then script is fail
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 6 Jul 2018 11:08:33 +0000 (12:08 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 9 Jul 2018 10:47:06 +0000 (11:47 +0100)
commitc7cc5c34201713c5dcd30eb5a0b849b8f35c9ab4
tree00c09bf790dc25d3b81a4a4284bbd0a5c4103ac1
parent9c1c42e00b2c95e87a01faaa6ba2f9e94c669af2
ts-depriv-audit-qemu: Leaked substeps are `blocked', and then script is fail

If thus script crash in some non-substep-specific operation, the
substeps may have been created (and thus be in the db as `running').
Leaving them like this is not allowed: it is treated by sg-run-job,
and by the archaeologists as an internal error.

If this happens, what we want is for the script as a whole to be
`fail', and for the failing tests to be `blocked'.  The former will
spot if this crash is a regression.  The latter will avoid treating
the substeps themselves as regressions.

Reported-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
ts-depriv-audit-qemu