diff options
Diffstat (limited to 'functest/ci')
-rw-r--r--[-rwxr-xr-x] | functest/ci/check_os.sh | 0 | ||||
-rwxr-xr-x | functest/ci/prepare_env.py | 5 |
2 files changed, 2 insertions, 3 deletions
diff --git a/functest/ci/check_os.sh b/functest/ci/check_os.sh index 7b66f3da..7b66f3da 100755..100644 --- a/functest/ci/check_os.sh +++ b/functest/ci/check_os.sh diff --git a/functest/ci/prepare_env.py b/functest/ci/prepare_env.py index c633ef82..ae9d9537 100755 --- a/functest/ci/prepare_env.py +++ b/functest/ci/prepare_env.py @@ -251,8 +251,7 @@ def update_db_url(): def verify_deployment(): print_separator() logger.info("Verifying OpenStack services...") - cmd = ("%s" % pkg_resources.resource_filename( - 'functest', 'ci/check_os.sh')) + cmd = "check_os.sh" logger.debug("Executing command: %s" % cmd) p = subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True) @@ -261,7 +260,7 @@ def verify_deployment(): line = p.stdout.readline().rstrip() if "ERROR" in line: logger.error(line) - raise Exception("Problem while running 'check_os.sh'.") + raise Exception("Problem while running '{}'.".format(cmd)) logger.info(line) |