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 75732A04B0; Fri, 14 Aug 2020 10:35:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 512BE1C0CD; Fri, 14 Aug 2020 10:35:22 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 301D61C0C5 for ; Fri, 14 Aug 2020 10:35:20 +0200 (CEST) IronPort-SDR: OmSroAr5MIvRbtvmn3zT1SfwVEgmFZCc5mochtZst8vX7TxNLAt38aTEDafBzGSltOZVjXeFB+ tMHN5PSDyhtg== X-IronPort-AV: E=McAfee;i="6000,8403,9712"; a="151788490" X-IronPort-AV: E=Sophos;i="5.76,311,1592895600"; d="scan'208";a="151788490" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2020 01:35:19 -0700 IronPort-SDR: jEDdi03tdlY8GTUomExfy3yoplVw3MX0bTpg1N17mtU4Y1gm6gMgMOFttgrR24tCKU2TU3v2ny TQ6AZYBcROjQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,311,1592895600"; d="scan'208";a="291676080" Received: from unknown (HELO fmsmsx606.amr.corp.intel.com) ([10.18.84.216]) by orsmga003.jf.intel.com with ESMTP; 14 Aug 2020 01:35:18 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) 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.1713.5; Fri, 14 Aug 2020 01:35:18 -0700 Received: from fmsmsx106.amr.corp.intel.com (10.18.124.204) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 14 Aug 2020 01:35:18 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 14 Aug 2020 01:35:17 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.174) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 14 Aug 2020 01:35:17 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZYeaftEiRHy6VpJYroQfOYBo/tuzCLlIOLrP785gXgvgjDfuIlWteHfHZuzJnHTTVW4GqAM8Ec1YVbi201kGgdQQX77UXxnwICK2Orv1JS2VmlrNx121PWnZ/ELTDDKMAgqdD9dY4My3YAKSYfW5ACoWsphxNVn+zykjvcvHlOwlgeS/xJXmHr1jMo+a32l5xaHOmGcBMxUfTsgIpR1rGfa9h7tc9p6iSFHrGmqdGHup7AIl7v5OpWbH8AQdOnpnHAgpjMiLOKPTO7GHqODRXDct6cmam0Q5y6Vd+TiEkRotAHllgbiV9qhaunLgLmLte2NPfADtRWPlKq86J4QNvA== 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=r8XNB5tS7vI2NYh86EjUQOml9ja06uy/OrNQ53g5FhY=; b=A1jeKdeJsU2ES64/r7ik23pB4eEncevFfFnO6Qx6qgN2u2sy/rW4IKC0kQdpJdsbdrCKMsNTMRH79dNidnZ2SxRLhCDKzmeeA/QuTDMMjs8S6ycK46+Gy3E1m2P28mlKhWaa/3dqh4T/1OxB3i9TO9oWMCG53aG9oErhlWaNrlIEaoogAi2mkeKrivKMnSWta13s+4ArkX+HiOlwMiLqJW1yFBEP+hP65QEsM+5YxV++52MnSgh2lpx6mLmPGcdIFmTfObLbp875T7Z8Y9DmDhl9tlBRPCBHzqW4DhVBRX1KHbo4X2q+h1eI/CvMSfLqSuL+K7++pqcdf9E0iExD1A== 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=r8XNB5tS7vI2NYh86EjUQOml9ja06uy/OrNQ53g5FhY=; b=cBuGo1Ke5euZncnBuQlNSuarbEGdPufZE2+OkPSlZBtO0zRMHPA0XpUUPy+sK4CkfzwOrbLpKa+iEF/ybxLZekDSQ0/0OPlJkWaN5T4Zig7i+iVjGawJ88E5SvksYp/xAKXSRlXwHWWRhNjS45zPmxIrwGkZAlgb90XszlkkVO4= Received: from MWHPR1101MB2254.namprd11.prod.outlook.com (2603:10b6:301:58::11) by MWHPR11MB1727.namprd11.prod.outlook.com (2603:10b6:300:1f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.18; Fri, 14 Aug 2020 08:35:16 +0000 Received: from MWHPR1101MB2254.namprd11.prod.outlook.com ([fe80::206d:f3f3:b571:41ee]) by MWHPR1101MB2254.namprd11.prod.outlook.com ([fe80::206d:f3f3:b571:41ee%11]) with mapi id 15.20.3283.016; Fri, 14 Aug 2020 08:35:15 +0000 From: "Xiao, QimaiX" To: "dts@dpdk.org" Thread-Topic: [dts][PATCH V1]framework/pmd_output: set base dir for session on dut to start testpmd Thread-Index: AQHWcgDSFRRbzyXPUki6AL+1l5ehBKk3R5PQ Date: Fri, 14 Aug 2020 08:35:15 +0000 Message-ID: References: <20200814053947.59681-1-qimaix.xiao@intel.com> In-Reply-To: <20200814053947.59681-1-qimaix.xiao@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.36] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8cb74f29-08c5-4234-f1ea-08d8402cf81e x-ms-traffictypediagnostic: MWHPR11MB1727: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:203; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +DGS+H1f0tG27OcbXj1SlbnUyNscRWcCLUexWsCxi8BpzyHaPujOnTU02jXzHn0lYMJqnWh7bs40vm7qXzUS8ML9mH3816X9+IcmrUU/6s8/Gb28ZGj/ivD2t6Msv5rtXsiNnQEe5msLTLDvtP8KxBxrOQ70uOfm51AYdPYANnK4Yb7yLpe3DXoKBtYqZ3lhdAqmIgS/+7EQTNrog5BV9xTqD5gPWAfuMJdYZywhs3utp9KbUAxq8mpm5jeWyWMr0wd2XINiJWMDfnVLWO223N86UlBpDW6nyXHlxVS47FnEw6QMpEuRjxdFVy4Uwmq4aVm7JvnsuualdHIaq+Y0qA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR1101MB2254.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(366004)(396003)(346002)(39860400002)(136003)(64756008)(5660300002)(66946007)(8676002)(66446008)(71200400001)(6506007)(186003)(8936002)(26005)(2906002)(76116006)(53546011)(66476007)(66556008)(9686003)(83380400001)(52536014)(33656002)(316002)(86362001)(6916009)(4744005)(478600001)(7696005)(55016002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: MemFusqKbxQbEgpoS54+T0pb6cHQQAo44jWeTSgleOGFcb9KyLqnqeERci5LnrlseAImkchjwJfse41ngeYP7ESLPXXnqQl+VgXjn5nsNF2aUNznYg4q+1S62izmKJwazQ3OU7C8P/ZOOhaSMH9ioo56++yq7nkryOcuEKujVrlh7F6XXsTMZrqEdfuZ4DP81f/vpbr52XBSBozIwzQpDGWOTCxshqHdkqxegVERwWjXLAbFHUHm5+rO96EiIh09JfiNqEM4rcn0kD8FvBUmuBjYmmmsM/mt7z41qWq5JpiexR1vDiAzbjeHmoCcsOlPQ/ONj/sm4Bl/4npfO4PjIs/eI9auqi/F8OydofXfvGy06oaCI+RWK1AcAPnAOfarYJBNwYcwCwfBa+FQQ40/8D/Qs9a1k2/F1LL9ixZxWfRcZ3MhfaLgZfA2Nnlk96t0WNMuLq1G5E9Qfu7EYGnsbAWJVc4aVak77LxWCZ/ryY/xulgM0f5a4MG74wqAFj+d9OKQyImMm/fViqvtWxy1eg6fa3WiJUjlyZwi4odYtQWa05iOAY2uaropQhHntLVMNx5GdNNDlOyGOh4QmBglKK2FdRdkIhR6RT9FqBd2FjPo3YHJIKjCXSTD7VuY61t9WWx4R/++INcf1kV+6RjYww== x-ms-exchange-transport-forked: True 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: MWHPR1101MB2254.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8cb74f29-08c5-4234-f1ea-08d8402cf81e X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Aug 2020 08:35:15.6532 (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: vB6ca/Z0ofEKJFq80VVfgjZvV65KAKGcrHIJSLTAaOct/7nR2Btvet9Hj+aD/Mzcf3kNtMMyxqCIpBuxBxW2mw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1727 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V1]framework/pmd_output: set base dir for session on dut to start testpmd X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" Tested-by: Xiao, QimaiX Regards, Xiao Qimai > -----Original Message----- > From: Xiao, QimaiX > Sent: Friday, August 14, 2020 1:40 PM > To: dts@dpdk.org > Cc: Xiao, QimaiX > Subject: [dts][PATCH V1]framework/pmd_output: set base dir for session on > dut to start testpmd >=20 > Signed-off-by: Xiao Qimai > --- > framework/pmd_output.py | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/framework/pmd_output.py b/framework/pmd_output.py index > bba7676..08c0b5c 100644 > --- a/framework/pmd_output.py > +++ b/framework/pmd_output.py > @@ -180,6 +180,8 @@ class PmdOutput(): >=20 > app_name =3D self.dut.apps_name['test-pmd'] > command =3D app_name + " %s -- -i %s" % (all_eal_param, param) > + if self.session !=3D self.dut: > + self.session.send_expect("cd %s" % self.dut.base_dir, "# ") > out =3D self.session.send_expect(command, "testpmd> ", 120) > self.command =3D command > # wait 10s to ensure links getting up before test start. > -- > 2.25.1