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 6E6034249F; Sun, 29 Jan 2023 03:13:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4FA58400D4; Sun, 29 Jan 2023 03:13:55 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 80B464003F for ; Sun, 29 Jan 2023 03:13:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674958433; x=1706494433; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=C4YMbhStGsQjtufjOsAjK64fjSkDlyzKKC/748thZhY=; b=Y4HwjlS58EgbIbOAtmyPM29hHz18aOlLY9oOf6hkH5LY2KhiIVxEtWAq X1Cudy40WDfX+b9UGWMsRHpXceZsaIRqsrKpqApjYC/B5PjTUPH/G2srn 0NJGKlzhohJA28zDhzD+Bx99Ld6pZp0sWWVPQpDUHHftXRaxXyhaOmQ+z dMhgNNMUTsvCv2z8fZDbD2AIPS0kLqIQWiFfDJJCCrxY9v0Ilrbf7NNhY ZVE5a7wjgZsMByE/Jqr45zvBCy0gRFzd/S+vbpdf/IVICp+tD8hBv1oeb sjuFIm2iYFCmytcqh4hKSe+7eKznDAFd/d7UPXwjaxGNBd40xsfOrKS46 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10604"; a="325049410" X-IronPort-AV: E=Sophos;i="5.97,254,1669104000"; d="scan'208";a="325049410" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2023 18:13:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10604"; a="732290506" X-IronPort-AV: E=Sophos;i="5.97,254,1669104000"; d="scan'208";a="732290506" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga004.fm.intel.com with ESMTP; 28 Jan 2023 18:13:52 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) 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.2507.16; Sat, 28 Jan 2023 18:13:52 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Sat, 28 Jan 2023 18:13:52 -0800 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.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.2507.16; Sat, 28 Jan 2023 18:13:50 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AkSIcKPwNnSTCkii9bSXhwpJsZWa6zY5NVLmnAGy/GZupyo//9lDlKIrk18xhck/0cGWYUIGOfBxXYYecbo3t+8GUf5xSSdQ4XiyvYbkYhYm5Q18UQye8dM5NZO4AFRIpXh4AiaHPsGD1LeerKukxIPxPVjkqEHWzelFnI4C9JKrFIcL/ujzPBZme5QP661cB6PytNwg+53pmoo/C2gkX7s/4hYPFxTj9gJjwiz8Zgxla8iKrLmS7vFAO+nKt4QDpbiGf5M3XHL8hTPZgxA02XKgJ1mH89n+iIlyIuyuNvgWAeKP9QOEgsZgbsyI9BgR3rgrPsPf5pjhitBtMGjyzA== 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=bowxzR8hXxWoufQ2e9GFvN46AlxCH8Hz5RTrwfegXt4=; b=CJi3x9N1XYd6ujGZ+gYGsGBX35T8SCbbe4EXlej0+RWmyjGArpHn06KTSl9REFOFMNRaOQNcHNO+CODEYbHetl/JmnlsosKDvnyrZgb6rf3EBjLH7qTMvTPqkU9PdRoi1duVN3EU30zxZ2yqpMddQIyJKniL/Anya4paV3m8N0im+8dAkWk2qUssq1LpLRGVjWVoVlWXrJdThgQs9SgQYJdajVZv/o7eCvuEzB5e0QXWdPNhIgQoMhcGfDGCgLZnl26mgUY+WaOEDs+t6g7xSekBYOtZ5vBBggxvkkV2UVTwasoQ01LBA/u9OdokcpnsUsBnjLYBv3VlyvR89o81Vw== 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 CY5PR11MB6187.namprd11.prod.outlook.com (2603:10b6:930:25::11) by SA0PR11MB4525.namprd11.prod.outlook.com (2603:10b6:806:9d::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.30; Sun, 29 Jan 2023 02:13:49 +0000 Received: from CY5PR11MB6187.namprd11.prod.outlook.com ([fe80::74f6:68e0:5951:3960]) by CY5PR11MB6187.namprd11.prod.outlook.com ([fe80::74f6:68e0:5951:3960%7]) with mapi id 15.20.6043.030; Sun, 29 Jan 2023 02:13:49 +0000 From: "Tu, Lijuan" To: "Jiale, SongX" , "dts@dpdk.org" CC: "Jiale, SongX" Subject: RE: [dts] [PATCH V1] tests/queue_start_stop: optimize script Thread-Topic: [dts] [PATCH V1] tests/queue_start_stop: optimize script Thread-Index: AQHZKxGgYSQn2eq9oU2JRI5NaxFzyK60t4qQ Date: Sun, 29 Jan 2023 02:13:49 +0000 Message-ID: References: <20230118154814.2109168-1-songx.jiale@intel.com> In-Reply-To: <20230118154814.2109168-1-songx.jiale@intel.com> 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-traffictypediagnostic: CY5PR11MB6187:EE_|SA0PR11MB4525:EE_ x-ms-office365-filtering-correlation-id: 2cd595c5-d225-40c7-03f5-08db019e757d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mRu8kYk6Hpk4HlTuAHcR/FM0WBknkNGi4tVgxrxB49RU3u6ujzYx1X8kbgOdL0dUluP/g1xs7CQfabWublEdhEUD3HWCn7aUTXW2aGA4uG1KS5uViH1bP946Ea15QbAoHNTCQTzf9/rUF8P3U71ELLI7lK8eIP3CECp3kiQi5ZoO6IGSHjLlUEJbwi2zbha0EsgUeOrn/7WKZQK9p3SWDP93pdv6oQasMB5rkj35Gx2eK6j23J3Oc+PxU5yNohDckGWvCxg3Wdh7Puq36kQ50IQ85EidEloA5F2gdo0WJVS46hvk8/MqSJyWAjxmYRwxE7evmuzWoXXBUtslYktSVhhXAHHptpv3+M6lbAd6RHVw9h3B2seS2tsZ3hrWT3Drl3V/DhRFCXUD8db1l7aj0qHfic1BZEo2aEgcOliJD120VvJV24fhewMTWojUE65fs81QnQ6gL6f4i9HarKXQ3PPrOgU6BYGazy6nnqKdHvzp9cCInBpFuxmd9/Ps6Qs6ZMTGAAwxbxQJ7cn8TprAZAz44TvzTGadc0xMefTc+p9mOny6ybvz8gbqqM6Rf0TMadx8S/S7OHuG+yqkJrE8cRN94HzL00CvW0r7TswfJzE924FDHjMQxEExKJpypAb7Obst1TwZ/74TLLP1yW3Lq8vfwF8ru6TAkSzhu8m1dWY5sTPT7SncDLv4/5cBtOV0dig7xDXGW93EInL0LkasRA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY5PR11MB6187.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(346002)(396003)(136003)(39860400002)(366004)(376002)(451199018)(4326008)(66446008)(66946007)(64756008)(66556008)(66476007)(76116006)(41300700001)(8936002)(83380400001)(8676002)(6506007)(53546011)(52536014)(82960400001)(316002)(110136005)(122000001)(5660300002)(38070700005)(9686003)(55016003)(33656002)(186003)(86362001)(2906002)(38100700002)(7696005)(71200400001)(478600001)(107886003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?EjyJR3okY4CxZJQYWrQdd5JvchMFZCoAojy6cwRc+77oLzeBE9pteAyb3ubn?= =?us-ascii?Q?p40XfO1P28hN2URfmZ6PejcHONHAAWcz74rLN3gNgFL1yQg/2KwAJ9+FuctH?= =?us-ascii?Q?HyuKsoa76fEFgYzZpMk9NDfeyFy2BXBQVECpO5lqXOxGWuUN4KFsqBFSa/Hu?= =?us-ascii?Q?Cd7ITneu/llwk5beWm7oWm8yCvvssLgl5ODvGPAkf4fwyJ+F7cEVv6JqumFw?= =?us-ascii?Q?sePwN/VTu8j57cv+RBGs0nXaoi52aop2bgBV6QZUN1yXGYDcD+RBwDrBedAM?= =?us-ascii?Q?cPg82Lr6mW2b/KfyCtzOPWewVKgjNFRyl03PNE+SDiWtocq40k4gMYgYFKIK?= =?us-ascii?Q?IvDUI89elBzfZFFagC5n0hdFfnexamDlSGTEV6DelaFF3CTXsykr1NHHOymS?= =?us-ascii?Q?eurgzIdeZvNBSkYkXuaR6VRzQs+RYjf89IlzaiWjweixZyixBMOhR6uX+BnJ?= =?us-ascii?Q?JIQeB7pBYyno7nJXC4Uiaf7Hv/1fvGeD4XqxLu5kwrkMLPgHJnPhtT3cGqox?= =?us-ascii?Q?jRLCFt8HDRhwH+S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ii?Q?EPJ4BHIeQHsAzzztokY9kau2eLBolA81hERnTgAlZtg0tywBCLIRkj6PcekC?= =?us-ascii?Q?4URZ/1q/0m8DVWacNn88dqbqQ0emKZwG7aTWHgCPcf6InyPOTqJNlj8YyMes?= =?us-ascii?Q?CPj0so3PY3kEZII/S+AidIqc3DztsbL6Sz2SNVoRmKmDW7CM7HvHPfxbveFf?= =?us-ascii?Q?Qk0UtEm3o2c9Y811M5jXXqXOVA+9tpHuZG9/T+Rz4OgG?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY5PR11MB6187.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2cd595c5-d225-40c7-03f5-08db019e757d X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jan 2023 02:13:49.0176 (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: UsBGmzRkmmOq9C1L/IEjymzuDGkKOx5EawAOdpWl1jzYp4Z+ahJeEUsmLn63TiMQ/oTUZh3fE5TFWpGW287X2Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR11MB4525 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 > -----Original Message----- > From: Song Jiale > Sent: Wednesday, January 18, 2023 11:48 PM > To: dts@dpdk.org > Cc: Jiale, SongX > Subject: [dts] [PATCH V1] tests/queue_start_stop: optimize script >=20 > there is "#" in the echo after the "patch -p0" command of Linux is execut= ed. > this "#" is not the expected value, which will affect the subsequent test= s. >=20 > Signed-off-by: Song Jiale > --- > tests/TestSuite_queue_start_stop.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_queue_start_stop.py > b/tests/TestSuite_queue_start_stop.py > index b6f4ba96..80baf8d6 100644 > --- a/tests/TestSuite_queue_start_stop.py > +++ b/tests/TestSuite_queue_start_stop.py > @@ -93,9 +93,9 @@ class TestQueueStartStop(TestCase): > """ > try: > if on: > - self.dut.send_expect("patch -p0 < %s" % patch_dir, "#") > + self.dut.send_expect("patch -p0 < %s" % patch_dir, "[~|~= \]]# ") > else: > - self.dut.send_expect("patch -p0 -R < %s" % patch_dir, "#= ") > + self.dut.send_expect("patch -p0 -R < %s" % patch_dir, "[= ~|~\]]# ") > except Exception as e: > raise ValueError("patch_hotfix_dpdk failure: %s" % e) Applied, but it is not a good idea to apply a patch to change DPDK source c= ode, even it is only a "printf" statement.=20 Checking queue statistics can be an alternative. thanks