From 7fd537e0504619cdc7d20c80fda9de90603b6186 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Tue, 27 Aug 2019 10:46:48 -0700 Subject: [PATCH] more info --- .../certbot_integration_tests/utils/certbot_call.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/certbot-ci/certbot_integration_tests/utils/certbot_call.py b/certbot-ci/certbot_integration_tests/utils/certbot_call.py index 29bdfaa25..ef20489b1 100755 --- a/certbot-ci/certbot_integration_tests/utils/certbot_call.py +++ b/certbot-ci/certbot_integration_tests/utils/certbot_call.py @@ -40,9 +40,14 @@ def _prepare_args_env(certbot_args, directory_url, http_01_port, tls_alpn_01_por additional_args = [] - version_output = subprocess.check_output(['certbot', '--version'], - universal_newlines=True, stderr=subprocess.STDOUT, - cwd=workspace) + print(os.environ) + try: + version_output = subprocess.check_output(['certbot', '--version'], + universal_newlines=True, stderr=subprocess.STDOUT, + cwd=workspace) + except BaseException as e: + print(e) + raise # Typical response is: output = 'certbot 0.31.0.dev0' version_str = version_output.split(' ')[1].strip() version = LooseVersion(version_str)