From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 39C3DA04A4; Tue, 26 May 2020 20:58:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7C9B81D670; Tue, 26 May 2020 20:58:52 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id C4EAE1D660 for ; Tue, 26 May 2020 20:58:50 +0200 (CEST) IronPort-SDR: cwScc1h+w0YZ2uyy+Yy+tgIvJBGOSU1nNCTHzEd3C90w/nc6Y6gcMK6rH1J1Ad20+AOvY93JPF Jn3gQN/SttfQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2020 11:58:49 -0700 IronPort-SDR: isEi4wvfHA6NpBXcj0ft+Z7odL5sT76lbc2xf6Dz/rQvuFr1hXGIeSDSXoC5YZXP4tVy73nzwT sDRHDyJwIgeA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,437,1583222400"; d="scan'208";a="301816812" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 26 May 2020 11:58:49 -0700 Received: from fmsmsx161.amr.corp.intel.com (10.18.125.9) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 26 May 2020 11:58:49 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by FMSMSX161.amr.corp.intel.com (10.18.125.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 26 May 2020 11:58:49 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.172) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 26 May 2020 11:58:49 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PfYmI3Bd7W+/J4a6K+NA0ajl8mvbEk7ktPDh3oS0SOYfao0drw6BTyIoKI9G3oITMAaGJeD0V2J53gkGasW1/Yfeb1b8mG40NqZlunY74RaQTnBII3fYxwDovD6egrRUSofHxCWvTiHQ9l7aDCYcWlZr/i74A61Xhx5iMjkdEvsiXPmWCc3LVyAfZd7GbBDndN/VeXJMjNeZQ6DfnJcVbMnC9b0zN1OJn9m7FtdUBuAklaZLb/HjHDTM9qPrYGXtEWvG16ll0RTe+6qggizR5fYJinbYhTf9lpH84JeYkP8Na46VPEvE2gMeI3EknawOYafiQ7z4s5SIK8smHtHxeg== 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=G5t2KM43AvwGse28+Wp0wt7QBufwCb+C609pQ+XKp2A=; b=imywaL3zTwVfH/fLn4za4XX8mP5ug6+6jOLHLl9LWOvKZd8iLuj8t/5SwC71RycvLHiZnFViMtHCK+a7FemTDJvZ9JmLsFVjusoienWqecZzFQLGWCS/lG/TnAjTx/2oxaJ/XaBLdFYOctAnNe2YUwNXGx4sAzVGSYFnTKtzfkmDsFA3smm15a+HXabdGlg78trGxDmHyO1vr3sQ1d5WhOUvHlR5XMhFOWnWbHSLepsb8eYE/VsC6SrZxaoTgTFjQXjdWkMxiMnUYKm1yRdguHVdsDf1iEUVfU3ohAPHYNKOocM8oDkqOxbC7g3drKPSudKLuLmpddOkLxMUYSjf8Q== 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=G5t2KM43AvwGse28+Wp0wt7QBufwCb+C609pQ+XKp2A=; b=YyuhpDrgBdw8tmeAy9tHyipHSi3/vB1zEm3Dkc1O+sttnpL+Vx5fZsOC59XTidsnOUxBPk5HmPL8ohiuj+T/WI/BKAyUjCXxTHuEcwNpl3tRK6wBGvwoozm5DVZWCVqyB0mLdf18qm6JppWRAho4z98Aj2yURIkYf36s8Z3Z/O4= Received: from DM6PR11MB4059.namprd11.prod.outlook.com (2603:10b6:5:4::19) by DM6PR11MB4009.namprd11.prod.outlook.com (2603:10b6:5:193::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.27; Tue, 26 May 2020 18:58:46 +0000 Received: from DM6PR11MB4059.namprd11.prod.outlook.com ([fe80::2141:8c76:64ac:a73e]) by DM6PR11MB4059.namprd11.prod.outlook.com ([fe80::2141:8c76:64ac:a73e%5]) with mapi id 15.20.3045.016; Tue, 26 May 2020 18:58:46 +0000 From: "Chautru, Nicolas" To: "Kilheeney, Louise" , "dev@dpdk.org" Thread-Topic: [PATCH 20.08 1/9] app/test-bbdev: support python3 only Thread-Index: AQHWMDxeSQnu17zGoU6iJ436ozEZlKi6visw Date: Tue, 26 May 2020 18:58:46 +0000 Message-ID: References: <20200522132320.26373-1-louise.kilheeney@intel.com> <20200522132320.26373-2-louise.kilheeney@intel.com> In-Reply-To: <20200522132320.26373-2-louise.kilheeney@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [45.28.143.88] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ad961dd7-915f-40c6-e3d6-08d801a6d1c2 x-ms-traffictypediagnostic: DM6PR11MB4009: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:84; x-forefront-prvs: 041517DFAB x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Jl0WAAkxAZEBgsB/LnoZnpuag4Mo5XUlyBGzOqglbI2btax+QUj/Xjzd58kQ5K4O8+tCQXEI5tV+mKR/eRsyPszUUng9QFiOc4z1JET52ggN3SJzt/f6tn68QumUs7C03RX9nl7F6PjL0+x3uF6+oCKWW3WDQR45T+fwjTjFvLNoQSa56lYEi/Sly4JnPxIFg3YWdE0Jgj+lG5Gb4Ha5t18uPfw6mbXWNYtP70Kz3IDPIO/QgJZXIrhnsSqapd9hpWIP6RaFYQ2NESCls9RjnjP7erMoAOxBtQxJvIgVjf6WqGxqp6sQyoYSYBxm1u0B x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB4059.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(366004)(346002)(376002)(136003)(396003)(39860400002)(316002)(9686003)(55016002)(33656002)(5660300002)(110136005)(52536014)(86362001)(8676002)(8936002)(66556008)(6506007)(186003)(26005)(66476007)(71200400001)(478600001)(76116006)(7696005)(2906002)(66946007)(64756008)(66446008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: 17o2/aIE80Rv0S0ji/E2I5hWgPjqTjB+q/ED3Qbleb830bhiEAMVxmU5pAmQft766Fp9vEuX567VgcOpp2HD1gMeeylf3iIe35PKjYKlcPIPbP6N2A+yCOKhz9FM/5ip+kZpMrM7uLyGR+yXzMFYuAOjEdtbmcE3A2pVUKm/R2pnICyZFYvN+pWB5vnqevS3qedX7IxTANhvk2is/5Ww24Ji4jwzCJKapqfw29fsUW4i4o1kRDB9utpruyikeylN97fJrHzAmbYgJXUvkLOXjKD18yLhDFMQHwgMSfUQpkTGiLO2vNEYWOB6Y4EflUF6aNrKjfb1KoS2aJiY+394Rn4Eiy3ZG22ImlsgGlCQVmEaGDuyCXrb4/wLaAd71hYLItmF+eV2i/uxRksW35fwTd7KHWs/Rld+yeqn4YM/cUQ4e3d3CoJT8bCYyaLEPjzM83+QlcMukrlxF1Nh6IButTtHxI/jdbAXlaDvwygVAZU= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: ad961dd7-915f-40c6-e3d6-08d801a6d1c2 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 May 2020 18:58:46.7475 (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: s6MRdKNIO6PYgqNcBbFnlAe9ylx86LL4V7oRUHJjvGF7fkrTjdyoOK4d2+QboXJM5l4XMJVNJJxcu6MgOg5ADaAWfHcZvzbe6mK7h/qM0sQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4009 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 20.08 1/9] app/test-bbdev: support python3 only X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Kilheeney, Louise : > Sent: Friday, May 22, 2020 6:23 AM > To: dev@dpdk.org > Cc: Kilheeney, Louise ; Chautru, Nicolas > > Subject: [PATCH 20.08 1/9] app/test-bbdev: support python3 only >=20 > Changed script to explicitly use python3 only. >=20 > Cc: Nicolas Chautru >=20 > Signed-off-by: Louise Kilheeney > --- > app/test-bbdev/test-bbdev.py | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) >=20 > diff --git a/app/test-bbdev/test-bbdev.py b/app/test-bbdev/test-bbdev.py > index 0194be046..50add4580 100755 > --- a/app/test-bbdev/test-bbdev.py > +++ b/app/test-bbdev/test-bbdev.py > @@ -1,5 +1,4 @@ > -#!/usr/bin/env python > - > +#!/usr/bin/env python3 > # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel > Corporation >=20 > @@ -12,7 +11,7 @@ > from threading import Timer >=20 > def kill(process): > - print "ERROR: Test app timed out" > + print ("ERROR: Test app timed out") > process.kill() >=20 > if "RTE_SDK" in os.environ: > @@ -66,7 +65,7 @@ def kill(process): > args =3D parser.parse_args() >=20 > if not os.path.exists(args.testapp_path): > - print "No such file: " + args.testapp_path > + print ("No such file: " + args.testapp_path) > sys.exit(1) >=20 > params =3D [args.testapp_path] > -- > 2.17.1 I double checked locally, fine with me. Thanks.=20 Acked-by: Nic Chautru