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 04A06A3160 for ; Sat, 12 Oct 2019 07:56:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C11191BECC; Sat, 12 Oct 2019 07:56:24 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id A126C2986 for ; Sat, 12 Oct 2019 07:56:22 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Oct 2019 22:56:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,286,1566889200"; d="scan'208";a="197793717" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga003.jf.intel.com with ESMTP; 11 Oct 2019 22:56:21 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 11 Oct 2019 22:56:21 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 11 Oct 2019 22:56:21 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.96]) by SHSMSX152.ccr.corp.intel.com ([10.239.6.52]) with mapi id 14.03.0439.000; Sat, 12 Oct 2019 13:56:19 +0800 From: "Tu, Lijuan" To: "Zhang, YanX A" , "dts@dpdk.org" CC: "Zhang, YanX A" Thread-Topic: [dts] [PATCH V1] tests/TestSuite_vm_hotplug:Optimize the tcpdump command Thread-Index: AQHVdQRZPVSdaPAB+UGGk5IuFEGleqdWmXXg Date: Sat, 12 Oct 2019 05:56:19 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB3EBD0@SHSMSX101.ccr.corp.intel.com> References: <1569569200-139992-1-git-send-email-yanx.a.zhang@intel.com> In-Reply-To: <1569569200-139992-1-git-send-email-yanx.a.zhang@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTdkOGM3ZTAtZTdiZC00MmZmLWFjYmEtZDg0YjUyZDQ5YjM1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiYUNSa3d3U3gwQXAydllZb09lV1YrRDkwYldoc0lVclVBclE0c2RydXBUSUk2ZFI5dzl1blVhbENFK3NBM0tBeSJ9 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_vm_hotplug:Optimize the tcpdump command 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 zhang,yan > Sent: Friday, September 27, 2019 3:27 PM > To: dts@dpdk.org > Cc: Zhang, YanX A > Subject: [dts] [PATCH V1] tests/TestSuite_vm_hotplug:Optimize the tcpdump > command >=20 > Optimize the tcpdump command to improve script stability. >=20 > Signed-off-by: zhang,yan > --- > tests/TestSuite_vm_hotplug.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_vm_hotplug.py b/tests/TestSuite_vm_hotplug.p= y > index 87edad6..d0c75ac 100644 > --- a/tests/TestSuite_vm_hotplug.py > +++ b/tests/TestSuite_vm_hotplug.py > @@ -232,7 +232,7 @@ class TestVmHotplug(TestCase): > def start_tcpdump(self, iface_list): > for iface in iface_list: > self.tester.send_expect("rm -rf tcpdump%s.out" % iface, "#") > - self.tester.send_expect("tcpdump -i %s 2>tcpdump%s.out &" % = (iface, > iface), "#") > + self.tester.send_expect("tcpdump -c 1500 -i %s -vv -n > + 2>tcpdump%s.out &" % (iface, iface), "#") > time.sleep(1) >=20 > def get_tcpdump_package(self, iface_list): > -- > 2.17.2