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 E3F42A00C5; Fri, 29 May 2020 10:41:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BA6341DC2D; Fri, 29 May 2020 10:41:13 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 3DEC11DB47 for ; Fri, 29 May 2020 10:41:11 +0200 (CEST) IronPort-SDR: 5afAaT58MgzCDtoF8RtYKT7slsSTliWpAQadJ6hEsjROa41g+W68SZS0CC1zyTlazNtB4/nVvn IDS25sTr7QLQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 May 2020 01:41:10 -0700 IronPort-SDR: DG5PuFb7MFR3emjoKFzBj/8augI+w+ua2aNx/cvcXBkOi7dNcFOnJK3ar5kwm1RA/loTdSDuqA ZHM+VK7Xa6ZA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,447,1583222400"; d="scan'208";a="311184569" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by FMSMGA003.fm.intel.com with ESMTP; 29 May 2020 01:41:09 -0700 Received: from fmsmsx104.amr.corp.intel.com (10.18.124.202) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 29 May 2020 01:41:09 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 29 May 2020 01:41:09 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.178]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.232]) with mapi id 14.03.0439.000; Fri, 29 May 2020 16:41:06 +0800 From: "Tu, Lijuan" To: "Chen, BoX C" , "dts@dpdk.org" CC: "Chen, BoX C" Thread-Topic: [dts] [PATCH V1] tests/ddp_l2tpv3: adapted scapy tool running in python3 Thread-Index: AQHWLoxcVVSaGpI0MkKl6s6SYRbZOqi+zJHQ Date: Fri, 29 May 2020 08:41:05 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC46A7F@SHSMSX101.ccr.corp.intel.com> References: <20200520095129.23037-1-box.c.chen@intel.com> In-Reply-To: <20200520095129.23037-1-box.c.chen@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-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/ddp_l2tpv3: adapted scapy tool running in python3 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 failed, please rework it. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of ChenBo > Sent: Wednesday, May 20, 2020 5:51 PM > To: dts@dpdk.org > Cc: Chen, BoX C > Subject: [dts] [PATCH V1] tests/ddp_l2tpv3: adapted scapy tool running in > python3 >=20 > adapted scapy tool running in python3 >=20 > Signed-off-by: ChenBo > --- > tests/TestSuite_ddp_l2tpv3.py | 108 +++++++++++++++++----------------- > 1 file changed, 54 insertions(+), 54 deletions(-) >=20 > diff --git a/tests/TestSuite_ddp_l2tpv3.py b/tests/TestSuite_ddp_l2tpv3.p= y > index 552232b..da734f3 100644 > --- a/tests/TestSuite_ddp_l2tpv3.py > +++ b/tests/TestSuite_ddp_l2tpv3.py > @@ -99,78 +99,78 @@ class TestDdpL2tpv3(TestCase): > pkt =3D [] > if keyword is not 'def': > if keyword is "l2tpv3oipv4": > - pkt.append("Ether()/IP(proto=3D115)/Raw('\\x00\\x00\\x03= \\xe9')") > - pkt.append("Ether()/IP(proto=3D115)/Raw('\\x00\\x00\\x03= \\fe9')") > + pkt.append("Ether()/IP(proto=3D115)/Raw(b'\\x00\\x00\\x0= 3\\xe9')") > + > + pkt.append("Ether()/IP(proto=3D115)/Raw(b'\\x00\\x00\\x03\\fe9')") > if keyword is "l2tpv3oipv4_dst": > - > pkt.append("Ether()/IP(dst=3D\"8.8.8.8\",proto=3D115)/Raw('\\x00\\x00\\x0= 3\\x > e9')") > - > pkt.append("Ether()/IP(dst=3D\"8.8.8.8\",proto=3D115)/Raw('\\x00\\x00\\x0= 3\\x > b9')") > - > pkt.append("Ether()/IP(dst=3D\"88.8.8.8\",proto=3D115)/Raw('\\x00\\x00\\x= 03\\ > xe9')") > + > pkt.append("Ether()/IP(dst=3D\"8.8.8.8\",proto=3D115)/Raw(b'\\x00\\x00\\x= 03\\ > xe9')") > + > pkt.append("Ether()/IP(dst=3D\"8.8.8.8\",proto=3D115)/Raw(b'\\x00\\x00\\x= 03\\ > xb9')") > + > + pkt.append("Ether()/IP(dst=3D\"88.8.8.8\",proto=3D115)/Raw(b'\\x00\\x00= \\x > + 03\\xe9')") > if keyword is "l2tpv3oipv4_src": > - > pkt.append("Ether()/IP(src=3D\"1.1.1.1\",proto=3D115)/Raw('\\x00\\x00\\x0= 3\\x > e9')") > - > pkt.append("Ether()/IP(src=3D\"1.1.1.1\",proto=3D115)/Raw('\\x00\\x00\\x0= 3\\x > a9')") > - > pkt.append("Ether()/IP(src=3D\"11.1.1.1\",proto=3D115)/Raw('\\x00\\x00\\x= 03\\ > xe9')") > + > pkt.append("Ether()/IP(src=3D\"1.1.1.1\",proto=3D115)/Raw(b'\\x00\\x00\\x= 03\\ > xe9')") > + > pkt.append("Ether()/IP(src=3D\"1.1.1.1\",proto=3D115)/Raw(b'\\x00\\x00\\x= 03\\ > xa9')") > + > + pkt.append("Ether()/IP(src=3D\"11.1.1.1\",proto=3D115)/Raw(b'\\x00\\x00= \\x > + 03\\xe9')") > if keyword is "l2tpv3oipv4_src_dst": > - > pkt.append("Ether()/IP(src=3D\"5.5.5.5\",dst=3D\"2.2.2.2\",proto=3D115)/R= aw('\\x0 > 0\\x00\\x03\\xe9')") > - > pkt.append("Ether()/IP(src=3D\"5.5.5.5\",dst=3D\"2.2.2.2\",proto=3D115)/R= aw('\\x0 > 0\\x00\\x03\\xf9')") > - > pkt.append("Ether()/IP(src=3D\"55.5.5.5\",dst=3D\"2.2.2.2\",proto=3D115)/= Raw('\\x > 00\\x00\\x03\\xe9')") > - > pkt.append("Ether()/IP(src=3D\"5.5.5.5\",dst=3D\"22.2.2.2\",proto=3D115)/= Raw('\\x > 00\\x00\\x03\\xe9')") > + > pkt.append("Ether()/IP(src=3D\"5.5.5.5\",dst=3D\"2.2.2.2\",proto=3D115)/R= aw(b'\\x > 00\\x00\\x03\\xe9')") > + > pkt.append("Ether()/IP(src=3D\"5.5.5.5\",dst=3D\"2.2.2.2\",proto=3D115)/R= aw(b'\\x > 00\\x00\\x03\\xf9')") > + > pkt.append("Ether()/IP(src=3D\"55.5.5.5\",dst=3D\"2.2.2.2\",proto=3D115)/= Raw(b'\\ > x00\\x00\\x03\\xe9')") > + > + pkt.append("Ether()/IP(src=3D\"5.5.5.5\",dst=3D\"22.2.2.2\",proto=3D115= )/Raw > + (b'\\x00\\x00\\x03\\xe9')") > if keyword is "l2tpv3oipv6": > - pkt.append("Ether()/IPv6(nh=3D115)/Raw('\\x00\\x00\\x03\= \xe9')") > - pkt.append("Ether()/IPv6(nh=3D115)/Raw('\\x00\\x00\\x03\= \xc9')") > + pkt.append("Ether()/IPv6(nh=3D115)/Raw(b'\\x00\\x00\\x03= \\xe9')") > + > + pkt.append("Ether()/IPv6(nh=3D115)/Raw(b'\\x00\\x00\\x03\\xc9')") > if keyword is "l2tpv3oipv6_dst": > - > pkt.append("Ether()/IPv6(dst=3D\"8:7:6:5:4:3:2:1\",nh=3D115)/Raw('\\x00\\= x00\\ > x03\\xe9')") > - > pkt.append("Ether()/IPv6(dst=3D\"8:7:6:5:4:3:2:1\",nh=3D115)/Raw('\\x00\\= x00\\ > x03\\xd9')") > - > pkt.append("Ether()/IPv6(dst=3D\"8888:7:6:5:4:3:2:1\",nh=3D115)/Raw('\\x0= 0\\x > 00\\x03\\xe9')") > + > pkt.append("Ether()/IPv6(dst=3D\"8:7:6:5:4:3:2:1\",nh=3D115)/Raw(b'\\x00\= \x00\ > \x03\\xe9')") > + > pkt.append("Ether()/IPv6(dst=3D\"8:7:6:5:4:3:2:1\",nh=3D115)/Raw(b'\\x00\= \x00\ > \x03\\xd9')") > + > + pkt.append("Ether()/IPv6(dst=3D\"8888:7:6:5:4:3:2:1\",nh=3D115)/Raw(b'\= \x0 > + 0\\x00\\x03\\xe9')") > if keyword is "l2tpv3oipv6_src": > - > pkt.append("Ether()/IPv6(src=3D\"1:2:3:4:5:6:7:8\",nh=3D115)/Raw('\\x00\\= x00\\ > x03\\xe9')") > - > pkt.append("Ether()/IPv6(src=3D\"1:2:3:4:5:6:7:8\",nh=3D115)/Raw('\\x00\\= x00\\ > x03\\xf9')") > - > pkt.append("Ether()/IPv6(src=3D\"1111:2:3:4:5:6:7:8\",nh=3D115)/Raw('\\x0= 0\\x0 > 0\\x03\\xe9')") > + > pkt.append("Ether()/IPv6(src=3D\"1:2:3:4:5:6:7:8\",nh=3D115)/Raw(b'\\x00\= \x00\ > \x03\\xe9')") > + > pkt.append("Ether()/IPv6(src=3D\"1:2:3:4:5:6:7:8\",nh=3D115)/Raw(b'\\x00\= \x00\ > \x03\\xf9')") > + > + pkt.append("Ether()/IPv6(src=3D\"1111:2:3:4:5:6:7:8\",nh=3D115)/Raw(b'\= \x0 > + 0\\x00\\x03\\xe9')") > if keyword is "l2tpv3oipv6_src_dst": > pkt.append( > - > "Ether()/IPv6(src=3D\"2:3:4:5:6:7:8:9\",dst=3D\"6:5:4:3:2:1:8:9\",nh=3D11= 5)/Raw('\\ > x00\\x00\\x03\\xe9')") > + > + "Ether()/IPv6(src=3D\"2:3:4:5:6:7:8:9\",dst=3D\"6:5:4:3:2:1:8:9\",nh=3D= 115)/ > + Raw(b'\\x00\\x00\\x03\\xe9')") > pkt.append( > - > "Ether()/IPv6(src=3D\"2:3:4:5:6:7:8:9\",dst=3D\"6:5:4:3:2:1:8:9\",nh=3D11= 5)/Raw('\\ > x00\\x00\\x03\\xf9')") > + > + "Ether()/IPv6(src=3D\"2:3:4:5:6:7:8:9\",dst=3D\"6:5:4:3:2:1:8:9\",nh=3D= 115)/ > + Raw(b'\\x00\\x00\\x03\\xf9')") > pkt.append( > - > "Ether()/IPv6(src=3D\"2222:3:4:5:6:7:8:9\",dst=3D\"6:5:4:3:2:1:8:9\",nh= =3D115)/Raw > ('\\x00\\x00\\x03\\xe9')") > + > + "Ether()/IPv6(src=3D\"2222:3:4:5:6:7:8:9\",dst=3D\"6:5:4:3:2:1:8:9\",nh= =3D11 > + 5)/Raw(b'\\x00\\x00\\x03\\xe9')") > pkt.append( > - > "Ether()/IPv6(src=3D\"2:3:4:5:6:7:8:9\",dst=3D\"6666:5:4:3:2:1:8:9\",nh= =3D115)/Raw > ('\\x00\\x00\\x03\\xe9')") > + > + "Ether()/IPv6(src=3D\"2:3:4:5:6:7:8:9\",dst=3D\"6666:5:4:3:2:1:8:9\",nh= =3D11 > + 5)/Raw(b'\\x00\\x00\\x03\\xe9')") > if keyword is "l2tpv3_ipv4_ipv6": > - pkt.append("Ether()/IP(proto=3D115)/Raw('\\x00\\x00\\x03= \\xe9')") > - pkt.append("Ether()/IP(proto=3D115)/Raw('\\x00\\x00\\x03= \\xf9')") > - pkt.append("Ether()/IPv6(nh=3D115)/Raw('\\x00\\x00\\x03\= \xe9')") > - pkt.append("Ether()/IPv6(nh=3D115)/Raw('\\x00\\x00\\x03\= \xf9')") > + pkt.append("Ether()/IP(proto=3D115)/Raw(b'\\x00\\x00\\x0= 3\\xe9')") > + pkt.append("Ether()/IP(proto=3D115)/Raw(b'\\x00\\x00\\x0= 3\\xf9')") > + pkt.append("Ether()/IPv6(nh=3D115)/Raw(b'\\x00\\x00\\x03= \\xe9')") > + > + pkt.append("Ether()/IPv6(nh=3D115)/Raw(b'\\x00\\x00\\x03\\xf9')") > if keyword is "l2tpv3oip_v4src_v6src": > - > pkt.append("Ether()/IP(src=3D\"1.3.5.7\",proto=3D115)/Raw('\\x00\\x00\\x0= 3\\x > e9')") > - > pkt.append("Ether()/IP(src=3D\"1.3.5.7\",proto=3D115)/Raw('\\x00\\x00\\x0= 3\\x > a9')") > - > pkt.append("Ether()/IP(src=3D\"11.3.5.7\",proto=3D115)/Raw('\\x00\\x00\\x= 03\\ > xe9')") > - > pkt.append("Ether()/IPv6(src=3D\"1:3:5:7:9:2:4:6\",nh=3D115)/Raw('\\x00\\= x00\\ > x03\\xe9')") > - > pkt.append("Ether()/IPv6(src=3D\"1:3:5:7:9:2:4:6\",nh=3D115)/Raw('\\x00\\= x00\\ > x03\\xf9')") > - > pkt.append("Ether()/IPv6(src=3D\"1111:3:5:7:9:2:4:6\",nh=3D115)/Raw('\\x0= 0\\x0 > 0\\x03\\xe9')") > + > pkt.append("Ether()/IP(src=3D\"1.3.5.7\",proto=3D115)/Raw(b'\\x00\\x00\\x= 03\\ > xe9')") > + > pkt.append("Ether()/IP(src=3D\"1.3.5.7\",proto=3D115)/Raw(b'\\x00\\x00\\x= 03\\ > xa9')") > + > pkt.append("Ether()/IP(src=3D\"11.3.5.7\",proto=3D115)/Raw(b'\\x00\\x00\\= x03\ > \xe9')") > + > pkt.append("Ether()/IPv6(src=3D\"1:3:5:7:9:2:4:6\",nh=3D115)/Raw(b'\\x00\= \x00\ > \x03\\xe9')") > + > pkt.append("Ether()/IPv6(src=3D\"1:3:5:7:9:2:4:6\",nh=3D115)/Raw(b'\\x00\= \x00\ > \x03\\xf9')") > + > + pkt.append("Ether()/IPv6(src=3D\"1111:3:5:7:9:2:4:6\",nh=3D115)/Raw(b'\= \x0 > + 0\\x00\\x03\\xe9')") > if keyword is "l2tpv3oip_v4dst_v6dst": > - > pkt.append("Ether()/IP(dst=3D\"9.7.5.3\",proto=3D115)/Raw('\\x00\\x00\\x0= 3\\x > e9')") > - > pkt.append("Ether()/IP(dst=3D\"9.7.5.3\",proto=3D115)/Raw('\\x00\\x00\\x0= 3\\x > b9')") > - > pkt.append("Ether()/IP(dst=3D\"99.7.5.3\",proto=3D115)/Raw('\\x00\\x00\\x= 03\\ > xe9')") > - > pkt.append("Ether()/IPv6(dst=3D\"2:4:6:8:1:3:5:7\",nh=3D115)/Raw('\\x00\\= x00\\ > x03\\xe9')") > - > pkt.append("Ether()/IPv6(dst=3D\"2:4:6:8:1:3:5:7\",nh=3D115)/Raw('\\x00\\= x00\\ > x03\\xd9')") > - > pkt.append("Ether()/IPv6(dst=3D\"2222:4:6:8:1:3:5:7\",nh=3D115)/Raw('\\x0= 0\\x > 00\\x03\\xe9')") > + > pkt.append("Ether()/IP(dst=3D\"9.7.5.3\",proto=3D115)/Raw(b'\\x00\\x00\\x= 03\\ > xe9')") > + > pkt.append("Ether()/IP(dst=3D\"9.7.5.3\",proto=3D115)/Raw(b'\\x00\\x00\\x= 03\\ > xb9')") > + > pkt.append("Ether()/IP(dst=3D\"99.7.5.3\",proto=3D115)/Raw(b'\\x00\\x00\\= x03\ > \xe9')") > + > pkt.append("Ether()/IPv6(dst=3D\"2:4:6:8:1:3:5:7\",nh=3D115)/Raw(b'\\x00\= \x00\ > \x03\\xe9')") > + > pkt.append("Ether()/IPv6(dst=3D\"2:4:6:8:1:3:5:7\",nh=3D115)/Raw(b'\\x00\= \x00\ > \x03\\xd9')") > + > + pkt.append("Ether()/IPv6(dst=3D\"2222:4:6:8:1:3:5:7\",nh=3D115)/Raw(b'\= \x0 > + 0\\x00\\x03\\xe9')") > if keyword is "l2tpv3oip_v4srcdst_v6srcdst": > - > pkt.append("Ether()/IP(src=3D\"9.8.7.6\",dst=3D\"4.5.6.7\",proto=3D115)/R= aw('\\x0 > 0\\x00\\x03\\xe9')") > - > pkt.append("Ether()/IP(src=3D\"9.8.7.6\",dst=3D\"4.5.6.7\",proto=3D115)/R= aw('\\x0 > 0\\x00\\x03\\xf9')") > - > pkt.append("Ether()/IP(src=3D\"99.8.7.6\",dst=3D\"4.5.6.7\",proto=3D115)/= Raw('\\x > 00\\x00\\x03\\xe9')") > - > pkt.append("Ether()/IP(src=3D\"9.8.7.6\",dst=3D\"44.5.6.7\",proto=3D115)/= Raw('\\x > 00\\x00\\x03\\xe9')") > + > pkt.append("Ether()/IP(src=3D\"9.8.7.6\",dst=3D\"4.5.6.7\",proto=3D115)/R= aw(b'\\x > 00\\x00\\x03\\xe9')") > + > pkt.append("Ether()/IP(src=3D\"9.8.7.6\",dst=3D\"4.5.6.7\",proto=3D115)/R= aw(b'\\x > 00\\x00\\x03\\xf9')") > + > pkt.append("Ether()/IP(src=3D\"99.8.7.6\",dst=3D\"4.5.6.7\",proto=3D115)/= Raw(b'\\ > x00\\x00\\x03\\xe9')") > + > + pkt.append("Ether()/IP(src=3D\"9.8.7.6\",dst=3D\"44.5.6.7\",proto=3D115= )/Raw > + (b'\\x00\\x00\\x03\\xe9')") > pkt.append( > - > "Ether()/IPv6(src=3D\"1:2:3:4:5:6:7:8\",dst=3D\"9:8:7:6:5:4:3:2\",nh=3D11= 5)/Raw('\\ > x00\\x00\\x03\\xe9')") > + > + "Ether()/IPv6(src=3D\"1:2:3:4:5:6:7:8\",dst=3D\"9:8:7:6:5:4:3:2\",nh=3D= 115)/ > + Raw(b'\\x00\\x00\\x03\\xe9')") > pkt.append( > - > "Ether()/IPv6(src=3D\"1:2:3:4:5:6:7:8\",dst=3D\"9:8:7:6:5:4:3:2\",nh=3D11= 5)/Raw('\\ > x00\\x00\\x03\\xf9')") > + > + "Ether()/IPv6(src=3D\"1:2:3:4:5:6:7:8\",dst=3D\"9:8:7:6:5:4:3:2\",nh=3D= 115)/ > + Raw(b'\\x00\\x00\\x03\\xf9')") > pkt.append( > - > "Ether()/IPv6(src=3D\"1111:2:3:4:5:6:7:8\",dst=3D\"9:8:7:6:5:4:3:2\",nh= =3D115)/Raw > ('\\x00\\x00\\x03\\xe9')") > + > + "Ether()/IPv6(src=3D\"1111:2:3:4:5:6:7:8\",dst=3D\"9:8:7:6:5:4:3:2\",nh= =3D11 > + 5)/Raw(b'\\x00\\x00\\x03\\xe9')") > pkt.append( > - > "Ether()/IPv6(src=3D\"1:2:3:4:5:6:7:8\",dst=3D\"9999:8:7:6:5:4:3:2\",nh= =3D115)/Raw > ('\\x00\\x00\\x03\\xe9')") > + > + "Ether()/IPv6(src=3D\"1:2:3:4:5:6:7:8\",dst=3D\"9999:8:7:6:5:4:3:2\",nh= =3D11 > + 5)/Raw(b'\\x00\\x00\\x03\\xe9')") > if keyword is "l2tpv3oip_v4_v6_udp": > - > pkt.append("Ether()/IP(dst=3D\"9.7.5.3\",proto=3D115)/Raw('\\x00\\x00\\x0= 3\\x > e9')") > - > pkt.append("Ether()/IP(dst=3D\"9.7.5.3\",proto=3D115)/Raw('\\x00\\x00\\x0= 3\\x > b9')") > - > pkt.append("Ether()/IPv6(dst=3D\"2:4:6:8:1:3:5:7\",nh=3D115)/Raw('\\x00\\= x00\\ > x03\\xe9')") > - > pkt.append("Ether()/IPv6(dst=3D\"2:4:6:8:1:3:5:7\",nh=3D115)/Raw('\\x00\\= x00\\ > x03\\xd9')") > + > pkt.append("Ether()/IP(dst=3D\"9.7.5.3\",proto=3D115)/Raw(b'\\x00\\x00\\x= 03\\ > xe9')") > + > pkt.append("Ether()/IP(dst=3D\"9.7.5.3\",proto=3D115)/Raw(b'\\x00\\x00\\x= 03\\ > xb9')") > + > pkt.append("Ether()/IPv6(dst=3D\"2:4:6:8:1:3:5:7\",nh=3D115)/Raw(b'\\x00\= \x00\ > \x03\\xe9')") > + > + pkt.append("Ether()/IPv6(dst=3D\"2:4:6:8:1:3:5:7\",nh=3D115)/Raw(b'\\x0= 0\\ > + x00\\x03\\xd9')") > pkt.append("Ether()/IP()/UDP()") > return pkt >=20 > @@ -209,7 +209,7 @@ class TestDdpL2tpv3(TestCase): > qdef =3D [] > qnum =3D self.send_and_verify(keyword) > for i in range(len(qnum)): > - self.verify(qnum[i] =3D=3D 0, "Receive packet from wrong que= ue!!!") > + self.verify(qnum[i] =3D=3D 0, "Receive packet from wrong > + queue{}!!!".format(qnum[i])) >=20 > queue =3D random.randint(1, self.PF_QUEUE - 1) >=20 > @@ -356,7 +356,7 @@ class TestDdpL2tpv3(TestCase): >=20 > qnum =3D self.send_and_verify(keyword) > for i in range(len(qdef)): > - self.verify(qdef[i] =3D=3D qnum[i], "Receive packet from wro= ng queue!!!") > + self.verify(qdef[i] =3D=3D qnum[i], "Receive packet from wro= ng > + queue{}_{}!!!".format(qdef[i],qnum[i])) > self.dut_testpmd.execute_cmd("flow flush 0") # Delete all the f= low > director rules >=20 > def test_l2tpv3oipv4(self): > -- > 2.17.1