From: "Zhao, XinfengX" <xinfengx.zhao@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Cc: "Xiao, QimaiX" <qimaix.xiao@intel.com>
Subject: Re: [dts] [PATCH V1]short_live: enhance script for misc packets and system interfere
Date: Fri, 17 Apr 2020 06:40:03 +0000 [thread overview]
Message-ID: <9aa215a403b44649a3ba90da695870ea@intel.com> (raw)
In-Reply-To: <1586864271-395-1-git-send-email-qimaix.xiao@intel.com>
Discard this patch
-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xiao Qimai
Sent: Tuesday, April 14, 2020 7:38 PM
To: dts@dpdk.org
Cc: Xiao, QimaiX <qimaix.xiao@intel.com>
Subject: [dts] [PATCH V1]short_live: enhance script for misc packets and system interfere
*. case script enhancement
Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
---
tests/TestSuite_short_live.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_short_live.py b/tests/TestSuite_short_live.py index 50c4db1..dffe4af 100644
--- a/tests/TestSuite_short_live.py
+++ b/tests/TestSuite_short_live.py
@@ -102,7 +102,7 @@ class TestShortLiveApp(TestCase):
if (txPort == rxPort):
count = 2
- filter_list = [{'layer': 'ether', 'config': {'type': 'not IPv6'}}]
+ filter_list = [{'layer': 'ether', 'config': {'type': 'not
+ IPv6'}}, {'layer': 'userdefined', 'config': {'pcap-filter': 'not
+ udp'}}]
inst = self.tester.tcpdump_sniff_packets(rxitf, count=count,filters=filter_list)
pktlen = pktSize - 14
@@ -124,7 +124,9 @@ class TestShortLiveApp(TestCase):
delay = 0
while delay < delay_max:
process = self.dut.send_expect("lsof %s | wc -l" % process_file, "#")
- if process != '0':
+ # as FUSE filesystem may not be accessible for root, so the output might include some warning info
+ res = process.splitlines()[-1]
+ if res != '0':
time.sleep(1)
delay = delay + 1
else:
--
1.8.3.1
prev parent reply other threads:[~2020-04-17 6:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-14 11:37 Xiao Qimai
2020-04-16 8:05 ` Ma, LihongX
2020-04-17 3:15 ` Zhao, XinfengX
2020-04-17 6:40 ` Zhao, XinfengX [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9aa215a403b44649a3ba90da695870ea@intel.com \
--to=xinfengx.zhao@intel.com \
--cc=dts@dpdk.org \
--cc=qimaix.xiao@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).