From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A7DE9A0C48; Tue, 13 Jul 2021 10:19:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F3F9411BD; Tue, 13 Jul 2021 10:19:29 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 43A614069E for ; Tue, 13 Jul 2021 10:19:28 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10043"; a="231921617" X-IronPort-AV: E=Sophos;i="5.84,236,1620716400"; d="scan'208";a="231921617" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2021 01:19:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,236,1620716400"; d="scan'208";a="492667164" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by FMSMGA003.fm.intel.com with ESMTP; 13 Jul 2021 01:19:24 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Tue, 13 Jul 2021 01:19:23 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Tue, 13 Jul 2021 01:19:23 -0700 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.49) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Tue, 13 Jul 2021 01:19:21 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nm8RLlOgh7rvtO1sf9UFjblWqm0zkFnFCSaaypBJpGyUIn1S6FGhY9OsUq1YERm1eAdzpknsX7VF1zJmr8K8PyMp9ccx5oD6r9uEDo/8KZPs/fLmsnXfy0hWfjxInjpqqZlPXTtEQ2HS5cLWnwxVsPmNY4J90V3o8bkUwa8lrbEg1jJDIj3Jga3gijzE5MwKU3iqF+Q/CdLC5hHGe7WgM9CgiA89DCzZwDCMsxikIvUGAfZwhQMWjXeex42C7AUHaL2BlGs+Cvty0Tb/PSmM4uy9+9LymtYeFvjRSucvVZrPWl3P/omjLgCIyu6qPjHyyQUfBs8NyYUee/zAXybKow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=W03JNUegfmtqKilysQhqnOxFwaRdqswjIcB8beXqWTo=; b=A7Jr+olWBlZZBRS1DkX3Lvyb/GAsW4oOu1fkLKi4vIGGWsy20M81K/hFtfAa4t2K7PfWrlkBg4/zvXPuezFcncLdX/Jo53ZPc8RbvaPrjPmjHLkXwRQzzcxqHz7oeg+u0In2hEpgt1rpHM0coLqPe0eHscLhO1rE9xz/23ljgnNTMG7dbxGRy4QSKLRenMzhun9vrUC7lphRr8ux8FNTQdApbLDO+P2It3fo6j/BJaps6qr32T1M2UG0Kj6ZiMqxKjW+yrxoG1I6AFok0IvPNKMDIMgmvqjmR7varsowI0SBpToAX8+0md/v9RZOq5EQ+p0st8zOpAGuT069RcZQhw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=W03JNUegfmtqKilysQhqnOxFwaRdqswjIcB8beXqWTo=; b=Wn0hq65R4I/tk6VWq1RVcon+viN7WcKq76sbJ1khGEiDqu1h3vqmiVrxxE8gQ4Pi94tz1Eh8FG8PAWM/K1xx9HtxYsMt8bT8bJZNYmZLNiVejlygynRitWVOJxXK929maq6AwMuJtC+4kRwm+sQTRruFBhcdWUS4xtqkNHHssQk= Received: from BL3PR11MB5699.namprd11.prod.outlook.com (2603:10b6:208:33e::8) by BL1PR11MB5256.namprd11.prod.outlook.com (2603:10b6:208:30a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.22; Tue, 13 Jul 2021 08:19:17 +0000 Received: from BL3PR11MB5699.namprd11.prod.outlook.com ([fe80::9950:3753:eee3:bf4e]) by BL3PR11MB5699.namprd11.prod.outlook.com ([fe80::9950:3753:eee3:bf4e%4]) with mapi id 15.20.4308.026; Tue, 13 Jul 2021 08:19:17 +0000 From: "Huang, ZhiminX" To: "Tu, Lijuan" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V1] tests/enable_package_download_in_ice_driver:adapt testpmd output info Thread-Index: AQHXd5+C9n+Zs72ixEWx6BunQjUJuKtAdxaAgAASxpA= Date: Tue, 13 Jul 2021 08:19:17 +0000 Message-ID: References: <20210713130133.445-1-zhiminx.huang@intel.com> <474b1f0a6dc645abb6598f00d3b879ee@intel.com> In-Reply-To: <474b1f0a6dc645abb6598f00d3b879ee@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1bdada4c-210a-4743-cccb-08d945d6e8a0 x-ms-traffictypediagnostic: BL1PR11MB5256: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3173; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: L+/ZNd4u2BZkpiFA4NvVgDXxira8PTH3O1gfRW4FIxusFcq3eIjR5aqF8n64kjexzt1hBGDpkN9lJ3ggeMPDWt6E4RpNF+DcK7o8khCWmKvWxXGJk9EJhrM9g7VazZxVgV4aciu0IT1oPKqXFvmnnaAvEnKqr3ObgiSqZPp73Iu6HrBv1mkQ/Vm0WXJOZXS/cN2WuWxYN7LI79H5O49WiyHUtvphL2fOFi+lv5Xl1B8yaYLeKu5ecIPMJpTWFKFxcCQYfLB4CtflEYGGG5r02M1rhiNua8fmMWdgjIAkBowfwGEa2uVnyXE73mWS8Yq9+EkDxLqNDBpX1iEfvygLG1t5rPJFOuTQVY4yh6Xzop2Scj9851gdJGMt8UCK8OFWrYPzPTWiKn3yjM9kYT36giF13nwTFM3jjOIAsyY0NKElcaF2UubYX545T5tWRCnBbmWTMTn1oYXETmRwEhu9eQd9j+YvmFd3ZUJVjMz9tfC7xn+Ms0KCYucy4Vy80Qjy1OtkzLbHHJaieU83jQwb07+mQPQP0D4RbZrmNtj4BU1DM89lXLULT+xrEMVGvUw11XGM7RjAqYORWB/aMr0SqapT21cj5+pnJxStnOCMKGe/Lda1NLHINrJ5jIhwp0iQDZ1RpEFl/n/sqJ0G5uofww== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL3PR11MB5699.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(376002)(39860400002)(136003)(346002)(366004)(55016002)(8936002)(316002)(8676002)(83380400001)(86362001)(71200400001)(2906002)(122000001)(38100700002)(9686003)(66556008)(64756008)(478600001)(66446008)(6506007)(110136005)(53546011)(7696005)(33656002)(52536014)(5660300002)(66476007)(186003)(76116006)(66946007)(26005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?B?SGkyZG05ODIvWXZqREd3S3ZUeEtxeFRYQVdpamlqOVMwVWtORTJia0U5?= =?iso-2022-jp?B?b2syZmtDditib3Q0WG5CejdkMHIvNXZHUXE0b2RLZkJlamc4UnpXUjJX?= =?iso-2022-jp?B?UG82ajlzYXEvWW8yUDVNOXlXS3dMQWo0K2czLzY4M2xxZTdmZE1qK21N?= =?iso-2022-jp?B?WkQ1anJBQzZZbnJLdFZWaE9nVHVTU1FTTldNWFoyRjdibEpZZ0MzMmxF?= =?iso-2022-jp?B?QWUvb1QrMG1BUmx6WW5lb2ordy92MTQxamk2ekE4TC8yOC9ubm5FQmVs?= =?iso-2022-jp?B?bjJIOWhVeCs2UXNKNktWNm4xellsdWl1ekZPc1dlVFpueEs3Y3JDazFy?= =?iso-2022-jp?B?TDNoanVhQVlvbnJIaHFQTkRsUGwwZ3piSFZmbXRzUjhPbXlTZFZpaDVC?= =?iso-2022-jp?B?RExIQXFmc1doYklidlZXSC9kcUdpZ1RMVkNSTVlRVWI4NWRIcDlFTEJS?= =?iso-2022-jp?B?aU5hNVE2QjJwNS81SHV4clh5UzlZQnBjaVJ2VWRLRy9Kc3NzNmZBT3Zo?= =?iso-2022-jp?B?QzdSY2VhTDdnQ2YyeG5wSHZvYjhqQzdBa2ZXQTkydW4rTVVoeUZEQTMz?= =?iso-2022-jp?B?WEpkOXdSTmNLemVqLzZKSTFmMVd4ZGVUVmxTTFRBK1Y1M2JLb0RhWGM5?= =?iso-2022-jp?B?eWVDN0U3bC9wZXJ2dFNCMGdGeDI1cmZsUEhIRUFwVmRxY2o1M2xKNFZN?= =?iso-2022-jp?B?OXJLNHIzZ3Fmb1F5eXQwY3NVaGNDRytrNlpIQ3hQeWxMcG80SkZFbW15?= =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Hcy?= =?iso-2022-jp?B?bEtJTGdjd0hla01wTU1PVFNCWmtMRFVrV05LL1Q5cHA3anFtQ01seXVu?= =?iso-2022-jp?B?aTl0a2VsUjA1TGVITFFZSHE5dTZMOXdZOGZ2b09nT1lMR2xCdTFEbTc0?= =?iso-2022-jp?B?QU5hZjhqNnpMZnpZY1NGYy9OenhKc0NldzFUc2FPMEhlUCtxdTk4b1U4?= =?iso-2022-jp?B?VG45STdtaGlFcHlySm8ralArWDlVPQ==?= Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL3PR11MB5699.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1bdada4c-210a-4743-cccb-08d945d6e8a0 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2021 08:19:17.6481 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wJftZAFn4QK73E6V0vUhz3C+zjcQMb2X6MfWK4iak3UWQZT/YouoGtQieCkB2hQuLSB4sBeA1VjwOtthZXXeHA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR11MB5256 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V1] tests/enable_package_download_in_ice_driver:adapt testpmd output info 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 Sender: "dts" Hi lijuan, The error log has changed by start testpmd with wrong pkg. 21.05: ice_load_pkg(): failed to allocate buf of size 0 for package ice_dev_init(): Failed to load the DDP package,Use safe-mode-support=3D1 to= enter Safe Mode 21.08: ice_load_pkg(): ice_copy_and_init_hw failed: -1 ice_dev_init(): Failed to load the DDP package,Use safe-mode-support=3D1 to= enter Safe Mode TestSuite_iavf_package_driver_error_handle.py only have this method but not= used. Regards, HuangZhiMin > -----Original Message----- > From: Tu, Lijuan > Sent: Tuesday, July 13, 2021 2:49 PM > To: Huang, ZhiminX ; dts@dpdk.org > Cc: Huang, ZhiminX > Subject: RE: [dts] [PATCH V1] > tests/enable_package_download_in_ice_driver:adapt testpmd output info >=20 >=20 >=20 > > -----Original Message----- > > From: dts On Behalf Of Zhimin Huang > > Sent: 2021=1B$BG/=1B(B7=1B$B7n=1B(B13=1B$BF|=1B(B 21:02 > > To: mailto:dts@dpdk.org > > Cc: Huang, ZhiminX > > Subject: [dts] [PATCH V1] > > tests/enable_package_download_in_ice_driver:adapt > > testpmd output info > > > > *.fix code to adapt testpmd output information >=20 > Could you please explain more details? Sorry, I can't get the key point. >=20 > Btw, I see the similar handle in > tests/TestSuite_iavf_package_driver_error_handle.py > > > > Signed-off-by: Zhimin Huang > > --- > > tests/TestSuite_enable_package_download_in_ice_driver.py | 6 > +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/tests/TestSuite_enable_package_download_in_ice_driver.py > > b/tests/TestSuite_enable_package_download_in_ice_driver.py > > index b57eb794..8bf21d18 100644 > > --- a/tests/TestSuite_enable_package_download_in_ice_driver.py > > +++ b/tests/TestSuite_enable_package_download_in_ice_driver.py > > @@ -99,11 +99,11 @@ class > > TestEnable_Package_Download_In_Ice_Driver(TestCase): > > out =3D self.dut_testpmd.start_testpmd("all", "--nb-cores=3D8 > > --rxq=3D%s -- txq=3D%s --port-topology=3Dchained" % (self.PF_QUEUE, > > self.PF_QUEUE), > > eal_param=3Dself.eal_param) > > if ice_pkg =3D=3D "false": > > if safe_mode_support =3D=3D "true": > > - error_messages =3D ["ice_load_pkg(): failed to allocat= e > buf of size 0 for > > package", \ > > + error_messages =3D ["ice_load_pkg(): > > + ice_copy_and_init_hw > > + failed: -1", \ > > "ice_dev_init(): Failed to load the DDP > > package,Entering Safe Mode", \ > > "ice_init_rss(): RSS is not supported in safe > mode"] > > if safe_mode_support =3D=3D "false": > > - error_messages =3D ["ice_load_pkg(): failed to allocat= e > buf of size 0 for > > package", \ > > + error_messages =3D ["ice_load_pkg(): > > + ice_copy_and_init_hw > > + failed: -1", \ > > "ice_dev_init(): Failed to load the DDP > > package,Use safe-mode- > > support=3D1 to enter Safe Mode"] > > for error_message in error_messages: > > self.verify(error_message in out, "There should be > > error messages in > > out: %s" % out) @@ -291,7 +291,7 @@ class > > TestEnable_Package_Download_In_Ice_Driver(TestCase): > > self.use_correct_ice_pkg(flag=3D"false") > > cmd =3D self.path + "-c 0x7 -n 4 -- -i --nb-cores=3D8 --rxq=3D= %s > > --txq=3D%s --port- topology=3Dchained" % (self.PF_QUEUE, self.PF_QUEUE) > > out =3D self.dut.send_expect(cmd, "#", 60) > > - error_messages =3D ["ice_load_pkg(): failed to allocate buf of > size 0 for > > package", \ > > + error_messages =3D ["ice_load_pkg(): ice_copy_and_init_hw > failed: > > + -1", \ > > "ice_dev_init(): Failed to load the DDP package,Use > > safe-mode- > > support=3D1 to enter Safe Mode"] > > for error_message in error_messages: > > self.verify(error_message in out, "There should be '%s' > > in out: %s" % (error_message, out)) > > -- > > 2.17.1 >=20