From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 239CCA0C41; Mon, 12 Apr 2021 03:54:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 08C3F14147E; Mon, 12 Apr 2021 03:54:03 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id BB3BC4069D for ; Mon, 12 Apr 2021 03:54:01 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 93F22A0C49; Mon, 12 Apr 2021 03:54:01 +0200 (CEST) From: bugzilla@dpdk.org To: dts@dpdk.org Date: Mon, 12 Apr 2021 01:54:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DTS X-Bugzilla-Component: tests X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lijuan.tu@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dts@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dts] [Bug 670] Exception occurs when running nic_single_core_perf with latest DTS version X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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" https://bugs.dpdk.org/show_bug.cgi?id=3D670 Lijuan Tu (lijuan.tu@intel.com) changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lijuan.tu@intel.com --- Comment #5 from Lijuan Tu (lijuan.tu@intel.com) --- (In reply to dliu from comment #4) > (In reply to Ali Alnubani from comment #2) > > The exceptions don't reproduce when updating TRex to v2.87 and running > with: > > """ > > export PYTHONPATH=3D/opt/trex-core-2.87/external_libs/scapy-2.4.3 > > ./dts > > """ > >=20 > > However, I can't update TRex to this version in production due to a > > regression unrelated to DTS that I'm facing with it. >=20 > For I understand of DTS, it will use the scapy from the Trex rather than = the > system scapy. That's why you need to repoint the scapy folder. >=20 > Since trex-core-2.59 have scapy version of 2.3.1. DTS could be using > something in scapy 2.4.3(Trex v2.88) that does not exist in scapy 2.3.1(T= rex > 2.59). agree with David, scapy 2.3.1 doesn't have SCTP, but DTS take it as a basic protocol. I have a workaround you may try: 1, download sctp from https://github.com/secdev/scapy/blob/master/scapy/layers/sctp.py to dts/dep/scapy_modules/ 2, apply the following patch: diff --git a/framework/packet.py b/framework/packet.py index 6d9bf24..92bbd2c 100644 --- a/framework/packet.py +++ b/framework/packet.py @@ -58,6 +58,7 @@ scapy_modules_required =3D {'gtp': ['GTP_U_Header', 'GTPPDUSessionContainer'], 'nsh': ['NSH'], 'igmp': ['IGMP'], 'mpls': ['MPLS'], + 'sctp': ['SCTP'], } local_modules =3D [m[:-3] for m in os.listdir(DEP_FOLDER + '/scapy_modules= ') if (m.endswith('.py') and not m.startswith('__'))] Now DTS will import SCTP from local module: dts/dep/scapy_modules/sctp.py --=20 You are receiving this mail because: You are the assignee for the bug.=