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 6282DA04DD; Thu, 19 Nov 2020 18:56:56 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1EB27F90; Thu, 19 Nov 2020 18:56:54 +0100 (CET) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by dpdk.org (Postfix) with ESMTP id CFCCBF3E for ; Thu, 19 Nov 2020 18:56:52 +0100 (CET) Received: by mail-lf1-f45.google.com with SMTP id 74so9533524lfo.5 for ; Thu, 19 Nov 2020 09:56:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RnhraKB8KH79MztJB+JkkLADMqWPcWKTKDkn4Fgg9uk=; b=ICCaAnoykMfso6RV1foOyB1s3qju8Yau1ML+5WLO1ZjXGFjRmUgtU1rHBqmcAotjsT O9dqZzDl81fnVibHhGTdCXeSPw97/s4zyFsC3t3+HZW5PgqZTql+tYlZ3dDREwjA2ypS O1Qh1063ZFMXnLBBjtc6XKEcdUJYPWWxGdZzU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RnhraKB8KH79MztJB+JkkLADMqWPcWKTKDkn4Fgg9uk=; b=nlwDt+b0Ehp4+RYzTrwSnaAJIRdUKRXBUKDy/5SqpczF6IvhhgJrgbyUS/FQYB7pSy mpw8fOEta6lw+ccp6meJI2T5chnM73VdUL+UeatvrZsm/07zHIN9ACxQ/TvJa812bU4D CVoM4GmcD1pCB/xyFMyXnYej2wpvNT6tlKxpZcNtUJkd65rnGgmZ1EXHSA4Z7cX/m3fN u5UZj8TA0cKw9eR+7OB1NuCLWUBurAC2G0Je4maj3J3cqdkZPZhxS7VWT97khds4tIVt uhza9iGi+NgKANmPYwZsVjErPVvdhi/qXD/LWuLURDuCK5nVfK6Ieg5sDQjy4SZmMH0x W3Uw== X-Gm-Message-State: AOAM530534FHyn96ANzSoIqvi7ZubtT67CymPNPPHliHFbl6l7Wf/KJE EZqkYaKlG5nt5FUoAXr68jYPjv6TGmV03T+GrJEWTA== X-Google-Smtp-Source: ABdhPJzw6bV/KhdAaMPBUKj4NwrL1T6V10RpdIxU5BG/SD4o6Z2njNnmQScafZ4sY/1pL5yT3cdqcf9tUFVERpbIjFw= X-Received: by 2002:a05:6512:1050:: with SMTP id c16mr6027280lfb.597.1605808611078; Thu, 19 Nov 2020 09:56:51 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: David Liu Date: Thu, 19 Nov 2020 12:56:15 -0500 Message-ID: To: "Tu, Lijuan" Cc: dpdk-dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] DTS Test Nic Single Core Perf Scapy Naming Conflict X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Lijuan, Thank you for the help. I can run DTS without that error now, Thanks, David On Tue, Nov 17, 2020 at 9:12 PM Tu, Lijuan wrote: > Hi David, > > > > Snice some protocols are only supported by scapy 2.4.4, it's recemented > that scapy 2.4.4 as major version for DTS. > > However perf users might not care these advanced protocols, to be > compatible with trex, dts captured these exceptions and let it go through= . > > Fix was contained in the latest DTS. Could you update it. > > > > commit 362ae41844e1992163b4eed53a721729985644be > > Author: Chen, BoX C > > Date: Wed Nov 4 10:52:09 2020 +0800 > > > > framework: fix Trex mode not working > > DTS requires Trex compatible scapy, modify package loading mode and > scapy version verification rules > > > > Signed-off-by: Chen, BoX C > > > > > > *From:* David Liu > *Sent:* 2020=E5=B9=B411=E6=9C=8818=E6=97=A5 4:24 > *To:* Tu, Lijuan > *Cc:* dpdk-dev > *Subject:* DTS Test Nic Single Core Perf Scapy Naming Conflict > > > > Hi Lijuan, > > > > I currently have issues with running the Nic Single-Core Perf Test. > > I believe this is the scapy naming conflict issue, so I follow the > solution > > mentioned on the website to replace system scapy with trex scapy. > > Then I got into another error that I wasn't able to get pass: > > > > root@arm-dell:/opt/dts# ./dts > Traceback (most recent call last): > File "./main.py", line 50, in > import dts > File "/opt/dts/framework/dts.py", line 47, in > from tester import Tester > File "/opt/dts/framework/tester.py", line 52, in > from packet import SCAPY_IMP_CMD > File "/opt/dts/framework/packet.py", line 72, in > locals().update({clazz: getattr(module, clazz)}) > AttributeError: module 'scapy.contrib.gtp' has no attribute > 'GTPPDUSessionContainer' > > > > Do you have any clue how to fix this? > > > > Thanks. > > David >