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 DFEA9A00BE; Tue, 15 Mar 2022 02:38:43 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D0A9C40395; Tue, 15 Mar 2022 02:38:43 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id A49CD4014F for ; Tue, 15 Mar 2022 02:38:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647308321; x=1678844321; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=MMn47PI+rAWD8iSadESQdbatQiqjipIy37luDp1fmcw=; b=aJ7SdY1IXmpdrphneNhJXLQRqxAbKPATQZIXiWdQzNPRz947wHoQNAoW O5RnuSW+g1Za95ryrlakHOygS/Y6A22btCtUZx7FsNDCIDMP0s106iSip l0l7ujBQSKM0gziIDTKdgn7zjlTOWU+sTEhU94PZ/6QUsW5xayUc9Drsy HEGVHC+fBW8ju+oiEloqW2P0BJ3GqGwSfVpypo0SoaOboRJVUljvLLl4a 7iB8Dm/iHALX0pG3NPsbsyZEXGvLBKBTlggSNqnlPGWQNseLqX3wergej tZJYdqwIUs7GkW5QgQUvxv7JrMGrMmdb73Zj0QDb9RhgJpUVtRWkOpr4T A==; X-IronPort-AV: E=McAfee;i="6200,9189,10286"; a="236134586" X-IronPort-AV: E=Sophos;i="5.90,182,1643702400"; d="scan'208";a="236134586" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2022 18:38:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,182,1643702400"; d="scan'208";a="782892989" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga006.fm.intel.com with ESMTP; 14 Mar 2022 18:38:40 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Mon, 14 Mar 2022 18:38:40 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21 via Frontend Transport; Mon, 14 Mar 2022 18:38:40 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.174) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.21; Mon, 14 Mar 2022 18:38:39 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LqGaC87+WlrYeyzyaaORkbyAh9Jrff+zK6+8tBf3sYpRHwcrIYmwa2MmTVt3NBQzYRFWVd/QwdlhnO5DOgq1VU/DRq6ePZU2vEMSg74SyzMAB5GJzOkYBc4FftXbyGxU47UccSKrGIMZIiaCHCBD30umTtsNvzn6k124CDuDgW+s0vLod/SRBiMZ7bqFIGfR5bMdQiVy3nQ5TzjiQLaMUStiZFwrrg5UGT5PwF0ODo3MenY0RrA1pY7OlKx0FFh2K7CCeFApmuM+IeXzMNXd1q7Z40if/e1HG60zeV4TPcM3DTy/Aeji4q5Uov3xeINfacgvZIN3puu8zABsHfsiGQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=K6Eq39w+9mEhujO+s8UUp8Nl2qDTx830mbnvyA72uQ0=; b=FngNO8omaDdRq5PbRLnYf/e/WExhJTs1I96ZV0qDRgKzJfuvVf+FE9KSbPlZB22lx+TuEjxKOogRZnP7wAzSlyYV3xu1QCUqIIPhbD9z1mSeg20WpcbgUZTCl/nNQEXm/PAgKbT39LPDaVt9pa8fiO76WQTUfB0N3rhLEihEQn9BgaYnFdYlmBR2ClpMYr5if7lmXBwsbNnjlxBaUAzh2mHxGPoOYEovzF5DAb3eMNd51tF8Xxzo1QERz8L7hLQFsLpnrlQsLaLtlgQRXMZnEAXjCd2orYGscpsFoMj9XjJOzF/+dbSqDyY56BK4o+gVmAe9eLxzGU233BZCLiZbkg== 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 Received: from DM5PR11MB1404.namprd11.prod.outlook.com (2603:10b6:3:c::18) by DM6PR11MB2971.namprd11.prod.outlook.com (2603:10b6:5:72::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5061.22; Tue, 15 Mar 2022 01:38:34 +0000 Received: from DM5PR11MB1404.namprd11.prod.outlook.com ([fe80::15f9:ecb:c0fd:e4e1]) by DM5PR11MB1404.namprd11.prod.outlook.com ([fe80::15f9:ecb:c0fd:e4e1%4]) with mapi id 15.20.5061.029; Tue, 15 Mar 2022 01:38:34 +0000 From: "Dong, JunX" To: =?iso-8859-2?Q?Juraj_Linke=B9?= , "dts@dpdk.org" CC: "Tu, Lijuan" , "Sun, QingX" Subject: RE: [dts] [V4] framework/*: Modified create_eal_parameters API to support flexibility Thread-Topic: [dts] [V4] framework/*: Modified create_eal_parameters API to support flexibility Thread-Index: AQHYLqIPae7w7O9OeEKtmpZNDQszxay+uiMAgAECrXA= Date: Tue, 15 Mar 2022 01:38:34 +0000 Message-ID: References: <20220303015715.4668-1-junx.dong@intel.com> <3dc1249a1e5e4368a3950ed954f54259@pantheon.tech> In-Reply-To: <3dc1249a1e5e4368a3950ed954f54259@pantheon.tech> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4255c14c-f2de-4595-53f7-08da0624850c x-ms-traffictypediagnostic: DM6PR11MB2971:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TRtgatlhZy3BachiFQktBnn4j4popoNs+xb7CuIkRodSkj+x5PFz+T0232DH7CkyhSsQ8xPYnF8XixpFhcd/QMdk/aWf2lQaHWMyzM8STj28+moJ2AxS2EQgowzAVdNdcr+Uy528DKF1N7yyToZ+NlfBGai8xPeLGmFw7ml8hYKKEv7fN0y5xIXc1h2EHA9ApCBsuodc9VtY+Z66TBJrQT1d/1BTnOKZFkfv6U+GWUoTh2RhuajAg2j8P1t0RwsPxurfPKYM85l5nZknGAcLsKiMPAB8RVx1+FEIpJVX7QVHJjspgGH9X+Gpk2Vabqt3jdy1yx5sLADg5gD8lC5XDBrPODmof8bMRTxGLYZoyAyDk8JUrlwMb0mpR/dua/Npwj1m8I2oFYei7GPCKkrTjKYIvUiMdMMnBkKaI5s0fU9ffaL4XmFSEVvkdHhfHuG4FVoEDsvknqLqZrgJeDNU4XxGCuoH8MIaZa9N011UTrjEPYGB7anl4QztgVa8FUBy03lwQBToeMcXQ9vzbVte47VbwLATbtzMIBXAfqI0n/33C8S16/126iTO7tlY1gxBHfU1uWTnkf7DHJfID0wL7D0J8BsldU4N4mCrfQFK30IFdffqA/o3oke1IkdlVeUVaENXfdYiaOb7FBhQmBhjDuR8SKa+WB5wIAM/NwixDRHGA4oyhLrMY72yMvIYOu7slV+VOr22oRTHhQuTjXx/jg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR11MB1404.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(107886003)(33656002)(38070700005)(9686003)(186003)(26005)(53546011)(7696005)(6506007)(86362001)(55016003)(2906002)(5660300002)(66556008)(38100700002)(82960400001)(122000001)(76116006)(4326008)(316002)(8936002)(52536014)(66946007)(71200400001)(8676002)(508600001)(64756008)(66476007)(110136005)(66446008)(54906003)(83380400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-2?Q?l8lNcZdqjvRvfq700GU1kk446nMON1WyzmXfnonKSviXo5WzndXyhz6nqO?= =?iso-8859-2?Q?RwgUIkrvrwIyCUyjU9ZmLLAPGpaK1gh6uBXTeqerL5N1lEGtdXDw8dGuDn?= =?iso-8859-2?Q?lbew4eBZQJJTrQ7Jg9+65XcScsJAgC+wfUQLC19UYIRz9TzD5tqa1zE4WS?= =?iso-8859-2?Q?VxIL40mEGqzgAZ6Cor8OJbtr04v/KZM4f1DWo6uRBPQ+YHrgpdJJLRYcRg?= =?iso-8859-2?Q?Xr2ezXoKRDKdcROY+x2tQ1gEIWKJt08Yp01dV92xSX0OGk/ViozKO/Q/EV?= =?iso-8859-2?Q?+TYjnXUHDzzOkvelzUi812tHOIEILNWv21xN2xGTgGWKeF4GtpWBtM1gGl?= =?iso-8859-2?Q?B0kTJ/G+OiPkk9opTlO0RCyj4wbu4WrJWbr2zijEqFuzjnbJ36ogkb8kCL?= =?iso-8859-2?Q?hplqJP4j1By2ljG+g2WSoZ+XDsJFInZ4mRowOtuddImf7khrsrVkED6QYT?= =?iso-8859-2?Q?1oukWVHRNxNoVZxiltrWTaqJL3fz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BQQ4Bn1A+xexl8QdCZBeHXaqZP35+jPuStTQ4vluq47UP2qvt/o?= =?iso-8859-2?Q?2k8egTLQJEiB/1qvLMxj95/90c7cziIjnXeiYHXiAba4iIP0EslfR6HTl1?= =?iso-8859-2?Q?WpIFM5lrG9u2p1TUgkngpS?= Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR11MB1404.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4255c14c-f2de-4595-53f7-08da0624850c X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Mar 2022 01:38:34.6332 (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: 68lOR57UI2Q8D4SR2yc/7gzGC2GNs/zE6vMrsj+mHuDfvD7X6Jnubz292BF0enTjR65ZAwsILY3I3Zi+51AStw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2971 X-OriginatorOrg: intel.com 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 Ok, I will confirm and fix it, thanks Juraj. > -----Original Message----- > From: Juraj Linke=B9 > Sent: Monday, March 14, 2022 6:10 PM > To: Dong, JunX ; dts@dpdk.org > Cc: Tu, Lijuan ; Sun, QingX > Subject: RE: [dts] [V4] framework/*: Modified create_eal_parameters API t= o > support flexibility >=20 > > Subject: [dts] [V4] framework/*: Modified create_eal_parameters API to > > support flexibility > > > > Signed-off-by: Jun Dong >=20 >=20 > > class ParameterInvalidException(Exception): > > - pass > > + def __init__(self, param_name: str, param_value: Any): > > + self.param_name =3D param_name > > + self.param_value =3D param_value > > + > > + def __str__(self) -> str: > > + return f'Invalid parameter of {self.param_name} about value > > + of > > {self.param_value}, Please reference API doc.' > > + > > >=20 > Hi Jun, the above section of the patch introduced these errors: > framework/tester.py:277: [E] E1120 No value for argument 'param_value' in > constructor call [pylint] > framework/tester.py:286: [E] E1120 No value for argument 'param_value' in > constructor call [pylint] > framework/tester.py:298: [E] E1120 No value for argument 'param_value' in > constructor call [pylint] >=20 > Would you please fix the usage of the newly implemented exception? >=20 > Thanks, > Juraj