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 8890FA0559; Mon, 16 Mar 2020 06:31:52 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4FE3025D9; Mon, 16 Mar 2020 06:31:52 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 59A051AFF for ; Mon, 16 Mar 2020 06:31:50 +0100 (CET) IronPort-SDR: R9GZzIumpxGNeQ6Qa/XGAapruH+emjhlo+SCevPW0leJ9V3AIadxVOb/l4k4VyZRcW9eHmMPyu yUZTraeDSz/A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2020 22:31:48 -0700 IronPort-SDR: sOkNy79MVVZ7VxxgHN0eYqQXY03jJsTDXI58tx6YgR3GbzoD/UB2s4T5gR4W3NPp9KzTd7cMLB RlBlEMr+rkyw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,559,1574150400"; d="scan'208";a="290604309" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by FMSMGA003.fm.intel.com with ESMTP; 15 Mar 2020 22:31:48 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 15 Mar 2020 22:31:47 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 15 Mar 2020 22:31:47 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.43]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.155]) with mapi id 14.03.0439.000; Mon, 16 Mar 2020 13:31:45 +0800 From: "Tu, Lijuan" To: "Xiao, QimaiX" , "dts@dpdk.org" CC: "Xiao, QimaiX" Thread-Topic: [dts] [PATCH V1]tests/TestSuite_vhost_multi_queue_qemu: fix teardown fail caused lost case result Thread-Index: AQHV+GCMYHVGyIfpMEO50KWDpG0bzahKt41g Date: Mon, 16 Mar 2020 05:31:44 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBED2F8@SHSMSX101.ccr.corp.intel.com> References: <1584011747-198122-1-git-send-email-qimaix.xiao@intel.com> <1584011747-198122-2-git-send-email-qimaix.xiao@intel.com> In-Reply-To: <1584011747-198122-2-git-send-email-qimaix.xiao@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-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/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" > -----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 >=20 > *. fix lost case result >=20 > Signed-off-by: Xiao Qimai > --- > tests/TestSuite_vhost_multi_queue_qemu.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > 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 TCs > """ > - self.vm.stop() > + is hasattr(self, "vm"): [Lijuan] is should be if > + self.vm.stop() > self.dut.kill_all() > time.sleep(2) >=20 > -- > 1.8.3.1