From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id B62C91B452 for ; Thu, 2 Aug 2018 10:37:55 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Aug 2018 01:37:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,434,1526367600"; d="scan'208";a="245366909" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga005.jf.intel.com with ESMTP; 02 Aug 2018 01:37:54 -0700 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 2 Aug 2018 01:37:54 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 2 Aug 2018 01:37:53 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.100]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.173]) with mapi id 14.03.0319.002; Thu, 2 Aug 2018 16:37:39 +0800 From: "Li, WenjieX A" To: "Liu, Yong" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V1] short_live/clean_up_with_signal_testpmd: the expected return value of send_expect is incorrect on Suse12 Thread-Index: AQHUKh6tP8L5Y62LlEqRohI2Hubdz6SsIvxw Date: Thu, 2 Aug 2018 08:37:38 +0000 Message-ID: <8688172CD5C0B74590FAE19D9579F94B53567E92@SHSMSX103.ccr.corp.intel.com> References: <1533180114-110123-1-git-send-email-wenjiex.a.li@intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E63104F11@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <86228AFD5BCD8E4EBFD2B90117B5E81E63104F11@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 V1] short_live/clean_up_with_signal_testpmd: the expected return value of send_expect is incorrect on Suse12 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: Thu, 02 Aug 2018 08:37:56 -0000 After change the dpdk driver name to "igb_uio" on Suse12, the return value = is correct . So please ignore this patch. Thank you! -----Original Message----- From: Liu, Yong=20 Sent: Thursday, August 2, 2018 1:07 PM To: Li, WenjieX A ; dts@dpdk.org Cc: Li, WenjieX A Subject: RE: [dts] [PATCH V1] short_live/clean_up_with_signal_testpmd: the = expected return value of send_expect is incorrect on Suse12 Hi Wenjie, I think there maybe one issue on Suse12, LSC event should be available for = all OSs. Could you please explain that what happened on Suse12?=20 Thanks, Marvin > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of wenjieli > Sent: Thursday, August 02, 2018 11:22 AM > To: dts@dpdk.org > Cc: Li, WenjieX A > Subject: [dts] [PATCH V1] short_live/clean_up_with_signal_testpmd: the=20 > expected return value of send_expect is incorrect on Suse12 >=20 > In test_clean_up_with_signal_testpmd(): > 1. change the return value from "LSC event" to "testpmd>", since on=20 > Suse12 the testpmd failed to start when using "LSC event" > 2. wait 5 seconds to ensure that testpmd is ready before the DUT sends=20 > packets >=20 > Signed-off-by: wenjieli > --- > tests/TestSuite_short_live.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_short_live.py=20 > b/tests/TestSuite_short_live.py index 238e3ab..d65dc6b 100644 > --- a/tests/TestSuite_short_live.py > +++ b/tests/TestSuite_short_live.py > @@ -151,10 +151,11 @@ class TestShortLiveApp(TestCase): > for i in range(repeat_time): > #dpdk start > print "clean_up_with_signal_testpmd round %d" % (i + 1) > - self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 -- -i -- > portmask=3D0x3" % self.target, "LSC event", 120) > + self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 -- -i=20 > + -- > portmask=3D0x3" % self.target, "testpmd>", 120) > self.dut.send_expect("set fwd mac", "testpmd>") > self.dut.send_expect("set promisc all off", "testpmd>") > self.dut.send_expect("start", "testpmd>") > + time.sleep(5) > self.check_forwarding([0, 1], self.nic) >=20 > # kill with differen Signal > -- > 1.9.3