test suite reviews and discussions
 help / color / mirror / Atom feed
From: "xu,huilong" <huilongx.xu@intel.com>
To: dts@dpdk.org
Cc: "xu,huilong" <huilongx.xu@intel.com>
Subject: [dts] [PATCH V2] fix timeout when setup dpdk app
Date: Fri, 12 May 2017 15:44:26 +0800	[thread overview]
Message-ID: <1494575072-44798-6-git-send-email-huilongx.xu@intel.com> (raw)
In-Reply-To: <1494575072-44798-1-git-send-email-huilongx.xu@intel.com>

dpdk setup info update in dpdk17.05, so must changed check info in test case
now in this change, need update  ipfrag/ip_ressembly/kni/quota_watermak example

Signed-off-by: xu,huilong <huilongx.xu@intel.com>
---
 tests/TestSuite_ipfrag.py          | 2 +-
 tests/TestSuite_ipv4_reassembly.py | 2 +-
 tests/TestSuite_kni.py             | 2 +-
 tests/TestSuite_quota_watermark.py | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/TestSuite_ipfrag.py b/tests/TestSuite_ipfrag.py
index d2a1dbb..f23dbe1 100644
--- a/tests/TestSuite_ipfrag.py
+++ b/tests/TestSuite_ipfrag.py
@@ -133,7 +133,7 @@ l3fwd_ipv4_route_array[] = {\\\n"
 
         # run ipv4_frag
         self.dut.send_expect("examples/ip_fragmentation/build/ip_fragmentation -c %s -n %d -- -p %s -q %s" % (
-            coremask, self.dut.get_memory_channels(), portmask, numPortThread), "IP_FRAG:", 120)
+            coremask, self.dut.get_memory_channels(), portmask, numPortThread), "Link Up", 120)
 
         time.sleep(2)
         self.txItf = self.tester.get_interface(self.tester.get_local_port(P0))
diff --git a/tests/TestSuite_ipv4_reassembly.py b/tests/TestSuite_ipv4_reassembly.py
index 8f28823..c730fd6 100644
--- a/tests/TestSuite_ipv4_reassembly.py
+++ b/tests/TestSuite_ipv4_reassembly.py
@@ -128,7 +128,7 @@ class TestIpReassembly(TestCase):
         command = ('./examples/ip_reassembly/build/ip_reassembly -c {core_mask} ' +
                    '-n {memory_channels} --  -p {dut_port_mask} ' +
                    '--maxflows={maxflows} --flowttl={flowttl} {extra_args}')
-        self.dut.send_expect(command.format(**self.test_config.__dict__), 'IP_RSMBL: ')
+        self.dut.send_expect(command.format(**self.test_config.__dict__), 'Link Up')
 
     def tcp_ipv4_fragments(self, src_ip, identifier):
         """
diff --git a/tests/TestSuite_kni.py b/tests/TestSuite_kni.py
index 0825903..acd6230 100644
--- a/tests/TestSuite_kni.py
+++ b/tests/TestSuite_kni.py
@@ -307,7 +307,7 @@ class TestKni(TestCase):
         out_kni = self.dut.send_expect(
             './examples/kni/build/app/kni -c %s -n %d -- -P -p %s %s &' %
             (core_mask, self.dut.get_memory_channels(), port_mask, config_param),
-            "APP: Lcore [0-9]+ is reading from port [0-9]+", 20)
+            "Link Up", 20)
 
         time.sleep(5)
         if kthread_mode == 'single':
diff --git a/tests/TestSuite_quota_watermark.py b/tests/TestSuite_quota_watermark.py
index 94957e2..72556ab 100644
--- a/tests/TestSuite_quota_watermark.py
+++ b/tests/TestSuite_quota_watermark.py
@@ -146,7 +146,7 @@ class TestQuotaWatermark(TestCase, IxiaPacketGenerator):
         # file
         time.sleep(15)
         result = self.dut.send_expect('cat output.log', '# ')
-        self.verify('USER1: receive_stage() started' in result,
+        self.verify('probe driver:' in result,
                     'qw app failed to execute')
         self.execute_qwctl_app(memory_channels)
 
-- 
1.9.3

  parent reply	other threads:[~2017-05-12  7:43 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-12  7:44 [dts] [PATCH V2] add filter lldp in sniff model xu,huilong
2017-05-12  7:44 ` [dts] [PATCH V2] add fortville 25G NIC for this case xu,huilong
2017-05-12  8:47   ` Liu, Yong
2017-05-12  7:44 ` [dts] [PATCH 1/2] add link bonding rss dynamic config test plane xu,huilong
2017-05-15  2:30   ` Liu, Yong
2017-05-12  7:44 ` [dts] [PATCH] fix check packet failure by lldp have different packet size xu,huilong
2017-05-15  2:54   ` Liu, Yong
2017-05-12  7:44 ` [dts] [PATCH V2] fix test app compile error xu,huilong
2017-05-12  8:57   ` Liu, Yong
2017-05-12  7:44 ` xu,huilong [this message]
2017-05-12  9:01   ` [dts] [PATCH V2] fix timeout when setup dpdk app Liu, Yong
2017-05-12  7:44 ` [dts] [PATCH V2] fix user space ethtool failed case xu,huilong
2017-05-12  9:07   ` Liu, Yong
2017-05-15  1:27     ` Xu, HuilongX
2017-05-12  7:44 ` [dts] [PATCH] remove --crc-strip parameter in testpmd xu,huilong
2017-05-12  9:10   ` Liu, Yong
2017-05-12  7:44 ` [dts] [PATCH 1/2] update fdir test case xu,huilong
2017-05-15  2:19   ` Liu, Yong
2017-05-12  7:44 ` [dts] [PATCH V2] update testpmd path in dpdk xu,huilong
2017-05-12  9:12   ` Liu, Yong
2017-05-12  7:44 ` [dts] [PATCH 2/2] add link bond slave dynamic config test case xu,huilong
2017-05-12  8:53   ` Liu, Yong
2017-05-15  1:08     ` Xu, HuilongX
2017-05-12  7:44 ` [dts] [PATCH 2/2] update fdir test plane xu,huilong
2017-05-15  2:16   ` Liu, Yong
2017-05-12  8:45 ` [dts] [PATCH V2] add filter lldp in sniff model Liu, Yong

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=1494575072-44798-6-git-send-email-huilongx.xu@intel.com \
    --to=huilongx.xu@intel.com \
    --cc=dts@dpdk.org \
    /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).