From cb683438d5adee3c9559a98f245b0fa21a11a9e3 Mon Sep 17 00:00:00 2001 From: Matthew G McGovern Date: Wed, 30 Oct 2024 12:15:14 -0700 Subject: [PATCH] Dpdk: add log print for annotation --- microsoft/testsuites/dpdk/dpdkutil.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/microsoft/testsuites/dpdk/dpdkutil.py b/microsoft/testsuites/dpdk/dpdkutil.py index f530e934a2..c398821b30 100644 --- a/microsoft/testsuites/dpdk/dpdkutil.py +++ b/microsoft/testsuites/dpdk/dpdkutil.py @@ -1169,16 +1169,19 @@ def annotate_dpdk_test_result( try: dpdk_version = test_kit.testpmd.get_dpdk_version() test_result.information["dpdk_version"] = str(dpdk_version) + log.debug(f"Found dpdk version: {dpdk_version}") except AssertionError as err: test_kit.node.log.debug(f"Could not fetch DPDK version info: {str(err)}") try: rdma_version = test_kit.rdma_core.get_installed_version() test_result.information["rdma_version"] = str(rdma_version) + log.debug(f"Found rdma version: {rdma_version}") except AssertionError as err: test_kit.node.log.debug(f"Could not fetch RDMA version info: {str(err)}") try: nic_hw = get_node_nic_short_name(test_kit.node) test_result.information["nic_hw"] = nic_hw + log.debug(f"Found nic version: {nic_hw}") except AssertionError as err: test_kit.node.log.debug(f"Could not fetch NIC short name: {str(err)}")