aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Paraskevopoulos <geopar@intracom-telecom.com>2017-03-17 15:41:00 +0200
committerGeorge Paraskevopoulos <geopar@intracom-telecom.com>2017-03-17 15:41:00 +0200
commit1d72729b1513e419ab1d97f294410a5cfdd1c62f (patch)
treec977dd1a9e5e63891ba1fd2572de6d0e05cd591b
parent8869d175363dfec69cc70fd8cb9bef56e8ebc115 (diff)
Log credentials
We have to make sure that we source the correct credentials in the CI Change-Id: I4d988943588bbc99a3118cb89eabfea37c41daf6 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
-rw-r--r--sfc/tests/functest/run_tests.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/sfc/tests/functest/run_tests.py b/sfc/tests/functest/run_tests.py
index f728cfdc..36b76f4d 100644
--- a/sfc/tests/functest/run_tests.py
+++ b/sfc/tests/functest/run_tests.py
@@ -70,8 +70,14 @@ def main():
if node.is_controller()][0]
rc_file = fetch_tackerc_file(a_controller)
- creds = os_utils.source_credentials(rc_file)
- logger.info("Updating env with {0}".format(creds))
+ os_utils.source_credentials(rc_file)
+
+ logger.info("Updating env with {0}".format(rc_file))
+ logger.info("OS credentials:")
+ for var, value in os.environ.items():
+ if var.startswith("OS_"):
+ logger.info("\t{0}={1}".format(var, value))
+
ovs_logger = ovs_log.OVSLogger(
os.path.join(COMMON_CONFIG.sfc_test_dir, 'ovs-logs'),
COMMON_CONFIG.functest_results_dir)