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 0B939A0471 for ; Wed, 14 Aug 2019 04:43:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 027611BE8F; Wed, 14 Aug 2019 04:43:25 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 9FCF71BE89 for ; Wed, 14 Aug 2019 04:43:22 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Aug 2019 19:43:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,383,1559545200"; d="scan'208";a="177984697" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga007.fm.intel.com with ESMTP; 13 Aug 2019 19:43:20 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 13 Aug 2019 19:43:20 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 13 Aug 2019 19:43:20 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.112]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.65]) with mapi id 14.03.0439.000; Wed, 14 Aug 2019 10:43:18 +0800 From: "Wang, Yinan" 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: AQHVUahCo2J+4tJICk2HHzieqFrj6ab58Lgw Date: Wed, 14 Aug 2019 02:43:18 +0000 Message-ID: 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: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNmQ4NDBjMzYtMjlkYi00ZmU5LWJmYjctZWZmYTFiMjExYjQ2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoidzVWbFNDWVN6MmY1NEtubnZCZVlkbmxFRWJLcXZkVm95aVJkWVdyY2RnK2hXZkpNRDZkVmRNYjYzSFhvUVl3TyJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="iso-2022-jp" 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" Acked-by: Wang, Yinan > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lihong > Sent: 2019=1B$BG/=1B(B8=1B$B7n=1B(B13=1B$BF|=1B(B 7:59 > To: dts@dpdk.org > Cc: Ma, LihongX > Subject: [dts] [PATCH V1] tests/vhost_enqueue_interrupt: flush output buf= fer > 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