From patchwork Fri Jun 17 15:15:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Huang, ZhiminX" X-Patchwork-Id: 112957 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 CD4BDA0093; Fri, 17 Jun 2022 08:50:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A4E7540698; Fri, 17 Jun 2022 08:50:12 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id E81D940689 for ; Fri, 17 Jun 2022 08:50:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655448611; x=1686984611; h=from:to:cc:subject:date:message-id; bh=181/vNyJjYAuXydVXZD5xitVZjMi/pNLbg/3QyaLeiI=; b=QPMQ9Mvt2RqmxHfptd5KyGS+/Ypn4K6KHvMNaExE8y6B6pV3a3yW0rVO AeXl/IiKXzmRMD7dmMF1I7jajUOqxxjbJHK1orvhq8bGdUI283jtcU0Wj fVMF9NyA74yEAHU3hwulfNUC21vG6a3aEYm02UT8tGNIMLqntrP7p52wd GvqPnvNorOQknToXsdguKIAZ+fvQ7F4Dja+nUXu5ccf0gVaPKTqYYj8eD BlZ3NnFWx15fOe88ILthq9n4uI0c5++oeWepWJEeKYVRR1kAPwCndvv65 s7cmhnT1+XXX59fMf6goBRDVllmWp+LCkO94+IKXRKM2ixTM/i9L1y4u8 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10380"; a="259287429" X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="259287429" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2022 23:50:09 -0700 X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="589994781" Received: from unknown (HELO cvl_100g_103.icx.intel.com) ([10.239.252.93]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2022 23:50:08 -0700 From: Zhimin Huang To: dts@dpdk.org Cc: Zhimin Huang Subject: [dts][PATCH V1] dcf_lifecycle:remove error msg in dmesg output Date: Fri, 17 Jun 2022 23:15:25 +0800 Message-Id: <20220617151525.14304-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 commit b1b71af0e5e54859a1f96484b491eea6c1484eef. the error msg have be 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)