From 21d3a831d7173615575ea223cd24efc06b329da7 Mon Sep 17 00:00:00 2001 From: gabrpham Date: Wed, 13 Nov 2024 15:05:26 -0600 Subject: [PATCH] [SWDEV-478748] Changing PCIE Read/Write message TEST FAILURE to WARNING Signed-off-by: gabrpham Change-Id: I534a94b358f7fddbe3c11d249c6e090cf3fa121e [ROCm/rocm_smi_lib commit: 5428d29b19bc3ac993417e6a59fdd7744e986ea9] --- .../tests/rocm_smi_test/functional/pci_read_write.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/projects/rocm-smi-lib/tests/rocm_smi_test/functional/pci_read_write.cc b/projects/rocm-smi-lib/tests/rocm_smi_test/functional/pci_read_write.cc index 307927847a..aff5ad398e 100755 --- a/projects/rocm-smi-lib/tests/rocm_smi_test/functional/pci_read_write.cc +++ b/projects/rocm-smi-lib/tests/rocm_smi_test/functional/pci_read_write.cc @@ -122,9 +122,8 @@ void TestPciReadWrite::Run(void) { ret = rsmi_dev_pci_throughput_get(dv_ind, &sent, &received, &max_pkt_sz); if (ret == RSMI_STATUS_NOT_SUPPORTED) { - std::cout << "TEST FAILURE: Current PCIe throughput is not detected. " - "This is likely because it is not indicated in the pcie_bw sysfs " - "file. Aborting test." << std::endl; + std::cout << "WARNING: Current PCIe throughput is not detected. " + "pcie_bw sysfs file is no longer supported on this device. Aborting test." << std::endl; // We don't need to verify api support checking functionality is working // as the user may choose to have any of the input parameters as 0. @@ -144,9 +143,8 @@ void TestPciReadWrite::Run(void) { ret = rsmi_dev_pci_bandwidth_get(dv_ind, &bw); if (ret == RSMI_STATUS_NOT_SUPPORTED) { - std::cout << "TEST FAILURE: Current PCIe bandwidth is not detected. " - "This is likely because it is not indicated in the pp_dpm_pcie sysfs " - "file. Aborting test." << std::endl; + std::cout << "WARNING: Current PCIe bandwidth is not detected. " + "pp_dpm_pcie sysfs file is no longer supported on this device. Aborting test." << std::endl; // Verify api support checking functionality is working ret = rsmi_dev_pci_bandwidth_get(dv_ind, nullptr); ASSERT_EQ(ret, RSMI_STATUS_NOT_SUPPORTED);