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 44FD4A0613 for ; Wed, 28 Aug 2019 07:56:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2CCF41C1F1; Wed, 28 Aug 2019 07:56:16 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 56D471C1CC for ; Wed, 28 Aug 2019 07:56:14 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Aug 2019 22:56:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,440,1559545200"; d="scan'208";a="197481585" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga001.fm.intel.com with ESMTP; 27 Aug 2019 22:56:13 -0700 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 27 Aug 2019 22:56:12 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx101.amr.corp.intel.com (10.18.124.199) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 27 Aug 2019 22:56:12 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.139]) with mapi id 14.03.0439.000; Wed, 28 Aug 2019 13:56:11 +0800 From: "Tu, Lijuan" To: "Ma, LihongX" , "dts@dpdk.org" CC: "Ma, LihongX" Thread-Topic: [dts] [PATCH V1] tests/vhost_enqueue_interrupt: flush output buffer before launch l3fwd Thread-Index: AQHVUahCLcEIXaTgfUa7NekDRR3Td6cQJ0Cg Date: Wed, 28 Aug 2019 05:56:11 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB0672D@SHSMSX101.ccr.corp.intel.com> References: <1565654340-32091-1-git-send-email-lihongx.ma@intel.com> In-Reply-To: <1565654340-32091-1-git-send-email-lihongx.ma@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTg2OGI3MmUtNzhiMC00NmRkLWE2ZjEtOTYyNjRkMjQ2MmYwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoia1c5Y1ZBcWpwSkJmbjVpcGpSYWxteHQya3FQMmVoN05CRzZNeDd4YlpRaHVlNEdRNFpCK1JVV04yZlBWeGN3eiJ9 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] tests/vhost_enqueue_interrupt: flush output buffer before launch l3fwd 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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lihong > Sent: Tuesday, August 13, 2019 7:59 AM > To: dts@dpdk.org > Cc: Ma, LihongX > Subject: [dts] [PATCH V1] tests/vhost_enqueue_interrupt: flush output > buffer before launch l3fwd >=20 > flush output buffer before launch l3fwd > print logger info after verify successful >=20 > Signed-off-by: lihong > --- > tests/TestSuite_vhost_enqueue_interrupt.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_vhost_enqueue_interrupt.py > b/tests/TestSuite_vhost_enqueue_interrupt.py > index 29c3756..428cf36 100644 > --- a/tests/TestSuite_vhost_enqueue_interrupt.py > +++ b/tests/TestSuite_vhost_enqueue_interrupt.py > @@ -122,6 +122,7 @@ class TestVhostEnqueueInterrupt(TestCase): > command_line_client =3D command_client % ( > self.core_mask_l3fwd, self.mem_channels, > self.queues, config_info) > + self.vhost.get_session_before(timeout=3D2) > self.vhost.send_expect(command_line_client, "POWER", 40) > time.sleep(10) > out =3D self.vhost.get_session_before() @@ -142,8 +143,8 @@ clas= s > TestVhostEnqueueInterrupt(TestCase): > self.verify_info[i]['queue']) > elif status =3D=3D "sleeps": > info =3D "lcore %s sleeps until interrupt triggers" % > self.verify_info[i]["core"] > - self.logger.info(info) > self.verify(info in out, "The CPU status not right for %s" %= info) > + self.logger.info(info) >=20 > def send_and_verify(self): > """ > -- > 2.7.4