[dts][PATCH V1] dcf_lifecycle:remove error msg in dmesg output

Zhimin Huang zhiminx.huang at intel.com
Fri Jun 17 17:15:25 CEST 2022


according to ice kernel commit b1b71af0e5e54859a1f96484b491eea6c1484eef.
the error msg have be removed by ice kernel.

Signed-off-by: Zhimin Huang <zhiminx.huang at intel.com>
---
 test_plans/dcf_lifecycle_test_plan.rst | 2 --
 tests/TestSuite_dcf_lifecycle.py       | 2 --
 2 files changed, 4 deletions(-)

diff --git a/test_plans/dcf_lifecycle_test_plan.rst b/test_plans/dcf_lifecycle_test_plan.rst
index 4236fae5..53837142 100644
--- a/test_plans/dcf_lifecycle_test_plan.rst
+++ b/test_plans/dcf_lifecycle_test_plan.rst
@@ -133,7 +133,6 @@ Expected: VF can NOT get DCF mode. testpmd should provide a friendly output ::
 Error message in dmesg ::
 
     ice 0000:18:00.0: VF 1 requested DCF capability, but only VF 0 is allowed to request DCF capability
-    ice 0000:18:00.0: VF 1 failed opcode 3, retval: -5
 
 
 TC04: Check only trusted VF can get DCF mode
@@ -161,7 +160,6 @@ Expected: VF can NOT get DCF mode. testpmd should provide a friendly output ::
 Error message in dmesg ::
 
     ice 0000:18:00.0: VF needs to be trusted to configure DCF capability
-    ice 0000:18:00.0: VF 0 failed opcode 3, retval: -5
 
 
 TC05: DCF graceful exit
diff --git a/tests/TestSuite_dcf_lifecycle.py b/tests/TestSuite_dcf_lifecycle.py
index 60f2ad60..1c97412c 100644
--- a/tests/TestSuite_dcf_lifecycle.py
+++ b/tests/TestSuite_dcf_lifecycle.py
@@ -594,7 +594,6 @@ class TestDcfLifeCycle(TestCase):
         pf1 = self.vf_ports_info[0].get("pf_pci")
         expected_strs = [
             f"ice {pf1}: VF 1 requested DCF capability, but only VF 0 is allowed to request DCF capability",
-            f"ice {pf1}: VF 1 failed opcode 3, retval: -5",
         ]
         msg = "no dmesg output"
         self.verify(dmesg_output, msg)
@@ -637,7 +636,6 @@ class TestDcfLifeCycle(TestCase):
         pf1 = self.vf_ports_info[0].get("pf_pci")
         expected_strs = [
             f"ice {pf1}: VF needs to be trusted to configure DCF capability",
-            f"ice {pf1}: VF 0 failed opcode 3, retval: -5",
         ]
         msg = "no dmesg output"
         self.verify(dmesg_output, msg)
-- 
2.17.1



More information about the dts mailing list