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 49BF0A0559; Tue, 17 Mar 2020 07:49:25 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F0BBB2BF9; Tue, 17 Mar 2020 07:49:24 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id E9F37CF3 for ; Tue, 17 Mar 2020 07:49:22 +0100 (CET) IronPort-SDR: 4c6EIazo/8dyAD87EObT+AJgle12XUEu2hdF+Rshrs9kEmVihGP8zfDQ0iFoVoyZpBI6+JbIAU DyJSouSdUt4A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2020 23:49:21 -0700 IronPort-SDR: g2TkbzDzua85JqzvvZ2CbsuyLvwh80wRchVLVUyQ6LZlOjU1YqXUWb9C46aJMemz0mDTIax9p7 VeqNdQI6UCnA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,563,1574150400"; d="scan'208";a="323740856" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 16 Mar 2020 23:49:21 -0700 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 16 Mar 2020 23:49:21 -0700 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by SHSMSX602.ccr.corp.intel.com (10.109.6.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 17 Mar 2020 14:49:18 +0800 Received: from shsmsx606.ccr.corp.intel.com ([10.109.6.216]) by SHSMSX606.ccr.corp.intel.com ([10.109.6.216]) with mapi id 15.01.1713.004; Tue, 17 Mar 2020 14:49:18 +0800 From: "Xiao, QimaiX" To: "Tu, Lijuan" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V1]tests/TestSuite_vhost_multi_queue_qemu: fix teardown fail caused lost case result Thread-Index: AQHV+1QurXPOi6hCN0itfKfVReHCvKhMWXZg Date: Tue, 17 Mar 2020 06:49:18 +0000 Message-ID: <61b01aacec734b0282937980111e6827@intel.com> References: <1584011747-198122-1-git-send-email-qimaix.xiao@intel.com> <1584011747-198122-2-git-send-email-qimaix.xiao@intel.com> <8CE3E05A3F976642AAB0F4675D0AD20E0BBED2F8@SHSMSX101.ccr.corp.intel.com> In-Reply-To: <8CE3E05A3F976642AAB0F4675D0AD20E0BBED2F8@SHSMSX101.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1]tests/TestSuite_vhost_multi_queue_qemu: fix teardown fail caused lost case result 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" Thanks Lijuan, I'll submit patch version2 Regards, Xiao Qimai > -----Original Message----- > From: Tu, Lijuan > Sent: Monday, March 16, 2020 1:32 PM > To: Xiao, QimaiX ; dts@dpdk.org > Cc: Xiao, QimaiX > Subject: RE: [dts] [PATCH V1]tests/TestSuite_vhost_multi_queue_qemu: fix > teardown fail caused lost case result >=20 >=20 >=20 > > -----Original Message----- > > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xiao Qimai > > Sent: Thursday, March 12, 2020 7:16 PM > > To: dts@dpdk.org > > Cc: Xiao, QimaiX > > Subject: [dts] [PATCH V1]tests/TestSuite_vhost_multi_queue_qemu: fix > > teardown fail caused lost case result > > > > *. fix lost case result > > > > Signed-off-by: Xiao Qimai > > --- > > tests/TestSuite_vhost_multi_queue_qemu.py | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/tests/TestSuite_vhost_multi_queue_qemu.py > > b/tests/TestSuite_vhost_multi_queue_qemu.py > > index c98b4ea..7dcb18c 100644 > > --- a/tests/TestSuite_vhost_multi_queue_qemu.py > > +++ b/tests/TestSuite_vhost_multi_queue_qemu.py > > @@ -326,7 +326,8 @@ class TestVhostMultiQueueQemu(TestCase): > > Run after each test case. > > Clear vhost-switch and qemu to avoid blocking the following TC= s > > """ > > - self.vm.stop() > > + is hasattr(self, "vm"): > [Lijuan] is should be if > > + self.vm.stop() > > self.dut.kill_all() > > time.sleep(2) > > > > -- > > 1.8.3.1