From patchwork Fri Jun 17 16:35:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Huang, ZhiminX" X-Patchwork-Id: 112972 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 98E6FA0093; Fri, 17 Jun 2022 10:09:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 66DEA40DDD; Fri, 17 Jun 2022 10:09:47 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id B45D640698 for ; Fri, 17 Jun 2022 10:09:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655453385; x=1686989385; h=from:to:cc:subject:date:message-id; bh=bo1GUuidB9RELvuAp7kzSDcKImIsl+7d4V9r2xGFuog=; b=lZWSqnfpXPzdnsfU7HNa6kYO9ZY0oPUX53a9DncZdSSOdO2c9cpyaR/E 57UpB2yIuKrL5FD2qYmLxBk0z5upDIbtNUb2S6YVqfdkptdKEdPPBWIAe QrogLQ7cdea3MSN0HEtvUKu4EM41uMmERbdddS4UH521olOEdidN6fdLx DbP2WQdoZAbOxiAnDdDMjmdbKPZvm85NcY3VyMue1zsdS2dfsEjxnxr2o 9msbVjKl+Ye6eHJCucicuXgIyu4NYewWFDIyFctE9r2nJtSCSDsIBdvJ9 1tx5AzP4kvpuPCz2D9Yd8O3p8eyXUasHkhCi6Bg9xkfwkv60+L9DHVHmQ g==; X-IronPort-AV: E=McAfee;i="6400,9594,10380"; a="280161438" X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="280161438" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jun 2022 01:09:44 -0700 X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="653534829" Received: from unknown (HELO cvl_100g_103.icx.intel.com) ([10.239.252.93]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jun 2022 01:09:43 -0700 From: Zhimin Huang To: dts@dpdk.org Cc: Zhimin Huang Subject: [dts][PATCH V2] dcf_lifecycle:remove error msg in dmesg output Date: Sat, 18 Jun 2022 00:35:00 +0800 Message-Id: <20220617163500.14842-1-zhiminx.huang@intel.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org according to ice kernel 1.9 commit b1b71af0e5e54859a1f96484b491eea6c1484eef. the error msg have been removed by ice kernel. Signed-off-by: Zhimin Huang --- 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)