diff options
-rw-r--r-- | resources/libraries/bash/function/common.sh | 8 | ||||
-rw-r--r-- | resources/libraries/python/PapiHistory.py | 2 | ||||
-rw-r--r-- | resources/libraries/python/VppCounters.py | 2 |
3 files changed, 11 insertions, 1 deletions
diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh index 879602674a..eaad2ab3d5 100644 --- a/resources/libraries/bash/function/common.sh +++ b/resources/libraries/bash/function/common.sh @@ -580,6 +580,14 @@ function run_pybot () { pybot "${all_options[@]}" "${GENERATED_DIR}/tests/" PYBOT_EXIT_STATUS="$?" set -e + + # Generate INFO level output_info.xml for post-processing. + all_options=("--loglevel" "INFO") + all_options+=("--log" "none") + all_options+=("--report" "none") + all_options+=("--output" "${ARCHIVE_DIR}/output_info.xml") + all_options+=("${ARCHIVE_DIR}/output.xml") + rebot "${all_options[@]}" popd || die "Change directory operation failed." } diff --git a/resources/libraries/python/PapiHistory.py b/resources/libraries/python/PapiHistory.py index 78279f559a..6a4f913d03 100644 --- a/resources/libraries/python/PapiHistory.py +++ b/resources/libraries/python/PapiHistory.py @@ -104,7 +104,7 @@ class PapiHistory(object): history_list = DICT__DUTS_PAPI_HISTORY[node['host']] if not history_list: history_list = ("No PAPI command executed", ) - logger.trace( + logger.info( "{0} PAPI command history:\n{1}\n".format( node['host'], "\n".join(history_list))) diff --git a/resources/libraries/python/VppCounters.py b/resources/libraries/python/VppCounters.py index ff4ce29b3f..b65b58c89b 100644 --- a/resources/libraries/python/VppCounters.py +++ b/resources/libraries/python/VppCounters.py @@ -75,6 +75,7 @@ class VppCounters(object): """ vat = VatExecutor() vat.execute_script("show_runtime.vat", node, json_out=False) + logger.info(vat.get_script_stdout()) vat.script_should_have_passed() @staticmethod @@ -97,6 +98,7 @@ class VppCounters(object): """ vat = VatExecutor() vat.execute_script("show_runtime_verbose.vat", node, json_out=False) + logger.info(vat.get_script_stdout()) vat.script_should_have_passed() @staticmethod |