Commit 769bec85 authored by Rafael Monnerat's avatar Rafael Monnerat

Ignore TearDown if the SR was not found

If a software release fail to install because it was not found, there is no
reason to tear down it.
parent 6306732d
......@@ -494,6 +494,11 @@ def main():
del running_test_dict[section]
try:
tester.teardown()
except slapos.slap.NotFoundError:
# This exception is ignored because we cannot
# Teardown if SR URL do not exist.
logger.exception('Fail and not found')
pass
except Exception:
logger.exception('teardown failed, human '
'assistance needed for cleanup')
......
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