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 F2A16A0353; Mon, 4 Nov 2019 03:07:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BA5115B3E; Mon, 4 Nov 2019 03:07:40 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id AF6A234F3 for ; Mon, 4 Nov 2019 03:07:38 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Nov 2019 18:07:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,265,1569308400"; d="scan'208";a="231904365" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 03 Nov 2019 18:07:37 -0800 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 3 Nov 2019 18:07:37 -0800 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 3 Nov 2019 18:07:36 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.213]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.215]) with mapi id 14.03.0439.000; Mon, 4 Nov 2019 10:07:35 +0800 From: "Ma, LihongX" To: "Zeng, XiaoxiaoX" , "dts@dpdk.org" CC: "Zeng, XiaoxiaoX" Thread-Topic: [dts] [PATCH V1] tests/ multiple_pthread: add killall scapy in tear_down Thread-Index: AQHVkGCFAWX79+gkeEOhUi3c5b5eCad6RziQ Date: Mon, 4 Nov 2019 02:07:34 +0000 Message-ID: References: <20191101145956.28773-1-xiaoxiaox.zeng@intel.com> In-Reply-To: <20191101145956.28773-1-xiaoxiaox.zeng@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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/ multiple_pthread: add killall scapy in tear_down 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" Hi, xiaoxiao In this suite, the scapy is called multiple times, so I think you should pu= t the command `self.tester.send_expect("killall scapy", "#", 5)` in tear_d= own instead of tear_down_all And by the way ,after kill the scapy, the session ' self.send_packets_sessi= on' which create by tester should ' destroy_session' too. -----Original Message----- From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xiaoxiao Zeng Sent: Friday, November 1, 2019 11:00 PM To: dts@dpdk.org Cc: Zeng, XiaoxiaoX Subject: [dts] [PATCH V1] tests/ multiple_pthread: add killall scapy in tea= r_down *.This suit not close send_package tool,it make next suit's testpmd get lar= ge rx_pakage when start Signed-off-by: Xiaoxiao Zeng --- tests/TestSuite_multiple_pthread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_multiple_pthread.py b/tests/TestSuite_multiple= _pthread.py index 1ea71a5..f247751 100644 --- a/tests/TestSuite_multiple_pthread.py +++ b/tests/TestSuite_multiple_pthread.py @@ -237,4 +237,4 @@ class TestMultiplePthread(TestCase): """ Run after each test suite. """ - pass + self.tester.send_expect("killall scapy", "#", 5) --=20 2.17.0