From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 7AB4C1B42F for ; Thu, 2 Aug 2018 07:07:20 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Aug 2018 22:07:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,434,1526367600"; d="scan'208";a="71904790" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 01 Aug 2018 22:07:18 -0700 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 1 Aug 2018 22:07:17 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX157.amr.corp.intel.com (10.18.116.73) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 1 Aug 2018 22:07:17 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.100]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.57]) with mapi id 14.03.0319.002; Thu, 2 Aug 2018 13:07:15 +0800 From: "Liu, Yong" To: "Li, WenjieX A" , "dts@dpdk.org" CC: "Li, WenjieX A" 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: AQHUKg/X8vjTcRmG60ai3bCrKmawfqSr6CUw Date: Thu, 2 Aug 2018 05:07:15 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E63104F11@SHSMSX103.ccr.corp.intel.com> References: <1533180114-110123-1-git-send-email-wenjiex.a.li@intel.com> In-Reply-To: <1533180114-110123-1-git-send-email-wenjiex.a.li@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZGQ4OGQ4YTgtYzg3MS00ZmE1LTllNzItMzA1OWI0NDQ0NGMxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZGJEbGZpd0tROHpGcWFcLzZtN0V3alwvakF0TlZYR1dRejREMCtyRzVKaVpMYUdOWGNYTEdDZVdFSXdNYjJadUpTIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action 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 05:07:21 -0000 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 > 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 Suse1= 2 > the testpmd failed to start when using "LSC event" > 2. wait 5 seconds to ensure that testpmd is ready before the DUT sends > 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 b/tests/TestSuite_short_live.p= y > 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 -- > 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