From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id CED8B5A44 for ; Fri, 12 May 2017 09:43:13 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP; 12 May 2017 00:43:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,328,1491289200"; d="scan'208";a="85928941" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by orsmga002.jf.intel.com with ESMTP; 12 May 2017 00:43:12 -0700 From: "xu,huilong" To: dts@dpdk.org Cc: "xu,huilong" Date: Fri, 12 May 2017 15:44:26 +0800 Message-Id: <1494575072-44798-6-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1494575072-44798-1-git-send-email-huilongx.xu@intel.com> References: <1494575072-44798-1-git-send-email-huilongx.xu@intel.com> Subject: [dts] [PATCH V2] fix timeout when setup dpdk app 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: , X-List-Received-Date: Fri, 12 May 2017 07:43:14 -0000 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 --- 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