diff options
author | George Paraskevopoulos <geopar@intracom-telecom.com> | 2017-03-17 15:41:00 +0200 |
---|---|---|
committer | Manuel Buil <mbuil@suse.com> | 2017-03-17 14:03:00 +0000 |
commit | 8512ad1b8b7986b56fc55965b9b8c27f81e5c00b (patch) | |
tree | a1c818b48ec518d4a7f6ac6463a885bdf3501e61 | |
parent | 70088920e49e6fb468c5bde6d30fe1a64884d507 (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>
(cherry picked from commit 1d72729b1513e419ab1d97f294410a5cfdd1c62f)
-rw-r--r-- | sfc/tests/functest/run_tests.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sfc/tests/functest/run_tests.py b/sfc/tests/functest/run_tests.py index 762e6b3d..9beb5ab9 100644 --- a/sfc/tests/functest/run_tests.py +++ b/sfc/tests/functest/run_tests.py @@ -69,8 +69,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) |