From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id B878F5A52 for ; Tue, 16 Aug 2016 08:36:30 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 15 Aug 2016 23:36:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,529,1464678000"; d="scan'208";a="1041863260" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 15 Aug 2016 23:36:03 -0700 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 15 Aug 2016 23:36:02 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 15 Aug 2016 23:36:02 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.181]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.150]) with mapi id 14.03.0248.002; Tue, 16 Aug 2016 14:36:00 +0800 From: "Lin, Xueqin" To: "Liu, Yong" , xueqin.lin , "dts@dpdk.org" Thread-Topic: [dts][PATCH] tests_ftag: fix expected output time when striping port glort ID Thread-Index: AQHR94V4I718/mu7z0+My/Mmv04F3qBKlqaAgACGZvA= Date: Tue, 16 Aug 2016 06:35:59 +0000 Message-ID: <0D300480287911409D9FF92C1FA2A3351A7C3C15@SHSMSX103.ccr.corp.intel.com> References: <1471328009-15507-1-git-send-email-xlin15@shecgisg005.sh.intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E2226F0AA@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <86228AFD5BCD8E4EBFD2B90117B5E81E2226F0AA@SHSMSX103.ccr.corp.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH] tests_ftag: fix expected output time when striping port glort ID 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: , X-List-Received-Date: Tue, 16 Aug 2016 06:36:31 -0000 Hi Marvin, This patch has merged for RubyRapid card, fixed file is rrc.py. Another patch is new and for BoulderRapid card, file is br.py. Best regards, Xueqin > -----Original Message----- > From: Liu, Yong > Sent: Tuesday, August 16, 2016 2:18 PM > To: xueqin.lin; dts@dpdk.org > Cc: Lin, Xueqin > Subject: RE: [dts][PATCH] tests_ftag: fix expected output time when strip= ing > port glort ID >=20 > Hi Qin, your patch hasn't been merged, so you need to send out patch with= all > the changes. >=20 > > -----Original Message----- > > From: xueqin.lin [mailto:xlin15@ecsmtp.sh.intel.com] > > Sent: Tuesday, August 16, 2016 2:13 PM > > To: Liu, Yong; dts@dpdk.org > > Cc: Lin, Xueqin > > Subject: [dts][PATCH] tests_ftag: fix expected output time when stripin= g > > port glort ID > > > > From: Xueqin Lin > > > > It is impossible to wait some long time for expected output, just fix a= s > > default value. > > > > > > diff --git a/nics/rrc.py b/nics/rrc.py > > index 62dc8d2..a6ac175 100644 > > --- a/nics/rrc.py > > +++ b/nics/rrc.py > > @@ -259,7 +259,7 @@ class RedRockCanyou(NetDevice): > > return None > > else: > > port_value =3D res.group(2) > > - out =3D self.ctrl_crb.send_expect("show stacking logical-port = all", > > "<0>%",10000) > > + out =3D self.ctrl_crb.send_expect("show stacking logical-port = all", > > "<0>%") > > pattern =3D r"([0-9a-z]{6})+(\s)+(%s)+" %port_value > > s =3D re.compile(pattern) > > res =3D s.search(out) > > -- > > 2.5.5