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

testing/testcase: snapshot software when installation failed

parent 7609ce78
Pipeline #11210 failed with stage
in 0 seconds
...@@ -378,6 +378,7 @@ def installSoftwareUrlList(cls, software_url_list, max_retry=10, debug=False): ...@@ -378,6 +378,7 @@ def installSoftwareUrlList(cls, software_url_list, max_retry=10, debug=False):
checkSoftware(cls.slap, software_url) checkSoftware(cls.slap, software_url)
cls.logger.debug("Done checking software %s", software_url) cls.logger.debug("Done checking software %s", software_url)
except BaseException as e: except BaseException as e:
_storeSoftwareSnapshot('setupModule failed installing software')
if not debug: if not debug:
cls.logger.exception("Error building software, removing") cls.logger.exception("Error building software, removing")
try: 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