[V2] dcf_lifecycle:remove error msg in dmesg output

Message ID 20220617163500.14842-1-zhiminx.huang@intel.com (mailing list archive)
State Accepted
Headers
Series [V2] dcf_lifecycle:remove error msg in dmesg output |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-doc-test success Testing OK
ci/Intel-dts-suite-test success Testing OK

Commit Message

Huang, ZhiminX June 17, 2022, 4:35 p.m. UTC
  according to ice kernel 1.9 commit b1b71af0e5e54859a1f96484b491eea6c1484eef.
the error msg have been removed by ice kernel.

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

Comments

Tu, Lijuan June 21, 2022, 7:34 a.m. UTC | #1
On Sat, 18 Jun 2022 00:35:00 +0800, Zhimin Huang <zhiminx.huang@intel.com> wrote:
> according to ice kernel 1.9 commit b1b71af0e5e54859a1f96484b491eea6c1484eef.
> the error msg have been removed by ice kernel.
> 
> Signed-off-by: Zhimin Huang <zhiminx.huang@intel.com>


Applied, thanks
  

Patch

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)