Commit 2ca2830d authored by Jérome Perrin's avatar Jérome Perrin

testing/testcase: snapshot software when installation failed

parent 7609ce78
......@@ -378,6 +378,7 @@ def installSoftwareUrlList(cls, software_url_list, max_retry=10, debug=False):
checkSoftware(cls.slap, software_url)
cls.logger.debug("Done checking software %s", software_url)
except BaseException as e:
_storeSoftwareSnapshot('setupModule failed installing software')
if not debug:
cls.logger.exception("Error building software, removing")
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment