summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functest/opnfv_tests/openstack/tempest/conf_utils.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/functest/opnfv_tests/openstack/tempest/conf_utils.py b/functest/opnfv_tests/openstack/tempest/conf_utils.py
index e0a36e5a4..be6480e42 100644
--- a/functest/opnfv_tests/openstack/tempest/conf_utils.py
+++ b/functest/opnfv_tests/openstack/tempest/conf_utils.py
@@ -88,8 +88,11 @@ def create_verifier():
cmd = ['rally', 'verify', 'delete-verifier',
'--id', str(getattr(config.CONF, 'tempest_verifier_name')),
'--force']
- output = subprocess.check_output(cmd)
- LOGGER.info("%s\n%s", " ".join(cmd), output)
+ try:
+ output = subprocess.check_output(cmd)
+ LOGGER.info("%s\n%s", " ".join(cmd), output)
+ except subprocess.CalledProcessError:
+ pass
cmd = ['rally', 'verify', 'create-verifier',
'--source', str(getattr(config.CONF, 'dir_repo_tempest')),