From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id DEDF83979 for ; Wed, 18 Nov 2015 09:49:22 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 18 Nov 2015 00:49:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,312,1444719600"; d="scan'208";a="853469528" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by orsmga002.jf.intel.com with ESMTP; 18 Nov 2015 00:49:13 -0800 Message-ID: <564C3BCB.4010104@intel.com> Date: Wed, 18 Nov 2015 16:50:19 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Lijuan Tu , dts@dpdk.org References: <1447295642-15736-1-git-send-email-lijuanx.a.tu@intel.com> In-Reply-To: <1447295642-15736-1-git-send-email-lijuanx.a.tu@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH]vxlan: Start packet forwarding before tester send packet to dut. 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: Wed, 18 Nov 2015 08:49:23 -0000 Hi Lijuan, Seem that not only this suite has the issue. Please fix it in all suites, thanks a lot. On 11/12/2015 10:34 AM, Lijuan Tu wrote: > Signed-off-by: Lijuan Tu > --- > tests/TestSuite_vxlan.py | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py > index 5c994c8..cefe817 100644 > --- a/tests/TestSuite_vxlan.py > +++ b/tests/TestSuite_vxlan.py > @@ -391,10 +391,11 @@ class TestVxlan(TestCase, IxiaPacketGenerator): > # be same > config.outer_mac_dst = self.dut_port_mac > config.create_pcap() > + self.dut.send_expect("start", "testpmd>", 10) > config.send_pcap(self.tester_iface) > > # check whether detect vxlan type > - out = self.dut.send_expect("start", "testpmd>", 10) > + out = self.dut.get_session_output() > self.verify(config.packet_type() in out, "Vxlan Packet not detected") > out = self.dut.send_expect("stop", "testpmd>", 10) > self.dut.send_expect("quit", "#", 10) > @@ -595,8 +596,9 @@ class TestVxlan(TestCase, IxiaPacketGenerator): > > # send vxlan packet > config.create_pcap() > + self.dut.send_expect("start", "testpmd>", 10) > config.send_pcap(self.tester_iface) > - out = self.dut.send_expect("start", "testpmd>", 10) > + out = self.dut.get_session_output() > > queue = -1 > pattern = re.compile("- Receive queue=0x(\d)")