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 7587FA0579; Thu, 8 Apr 2021 16:13:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6D1781410A4; Thu, 8 Apr 2021 16:13:34 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 428CB40138 for ; Thu, 8 Apr 2021 14:22:04 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 275CFA0A0C; Thu, 8 Apr 2021 14:22:04 +0200 (CEST) From: bugzilla@dpdk.org To: dts@dpdk.org Date: Thu, 08 Apr 2021 12:22:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: alialnu@nvidia.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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: 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 X-Mailman-Approved-At: Thu, 08 Apr 2021 16:13:33 +0200 Subject: [dts] [Bug 670] Exception occurs with 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 Bug ID: 670 Summary: Exception occurs with running nic_single_core_perf with latest DTS version Product: DTS Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: tests Assignee: dts@dpdk.org Reporter: alialnu@nvidia.com Target Milestone: --- Created attachment 154 --> https://bugs.dpdk.org/attachment.cgi?id=3D154&action=3Dedit DTS log with scapy 2.4.4 When running the test 'nic_single_core_perf' on latest DTS version (082321a2 test_plans/vm2vm_virtio_net_perf_test_plan.rst), the following exception occurs: """ File "/path/to/venv/lib/python3.6/site-packages/scapy/packet.py", line 16= 00, in getfield_and_val raise AttributeError(attr) AttributeError: _offset """ Followed by the following exception: """ exception.TimeoutException: TIMEOUT on rm -rf x86_64-native-linux-gcc """ See full log in attached file. The previous exceptions happen when using the scapy version defined in requirements.txt (scapy 2.4.4). Forcing DTS to use TRex's scapy (2.3.1) causes another exception: """ $ PYTHONPATH=3D/opt/trex-core-2.59/external_libs/scapy-2.3.1/python3 ./dts module 'scapy.contrib.gtp' has no attribute 'GTPPDUSessionContainer' No module named 'scapy.contrib.lldp' No module named 'scapy.contrib.pfcp' No module named 'scapy.contrib.nsh' Traceback (most recent call last): File "./main.py", line 50, in import dts File "/path/to/dts/framework/dts.py", line 47, in from tester import Tester File "/path/to/dts/framework/tester.py", line 52, in from packet import SCAPY_IMP_CMD File "/path/to/dts/framework/packet.py", line 129, in class scapy(object): File "/path/to/dts/framework/packet.py", line 144, in scapy 'sctp': SCTP(), NameError: name 'SCTP' is not defined """ Configuration files: """ $ cat conf/crbs.cfg [HOSTNAME] dut_ip=3DHOSTNAME dut_user=3Droot dut_passwd=3D os=3Dlinux dut_arch=3D tester_ip=3D127.0.0.1 tester_passwd=3D ixia_group=3D pktgen_group=3DTREX channels=3D4 bypass_core0=3DTrue dut_cores=3D snapshot_load_side=3Dtester $ cat conf/nic_single_core_perf.cfg [suite] update_expected =3D True test_parameters =3D {'1C/1T': {64: [256], 512: [256]}} rx_desc_16byte =3D 'y' test_duration =3D 60 accepted_tolerance =3D 1 expected_throughput =3D {'ConnectX5_MT4121': {'1C/1T': {64: {256: 0.0}, 512: {256: 0.0}}}} $ cat conf/pktgen.cfg [TREX] trex_root_path=3D/opt/trex-core-2.59 trex_lib_path=3D/opt/trex-core-2.59/automation/trex_control_plane/interacti= ve config_file=3D/etc/trex_cfg.yaml server=3D127.0.0.1 pcap_file=3D/opt/trex-core-2.59/stl/sample.pcap core_num=3D14 start_trex=3Dyes $ cat conf/ports.cfg [HOSTNAME] ports =3D pci=3D0000:82:00.0,peer=3DTREX:0; pci=3D0000:82:00.1,peer=3DTREX:1; $ cat execution.cfg [Execution1] crbs=3DHOSTNAME drivername=3Dmlx5_core build_type=3Dmeson test_suites=3D nic_single_core_perf, targets=3D x86_64-native-linux-gcc parameters=3Dnic_type=3Dcfg:perf=3Dtrue """ OS: Ubuntu 18.04.2 Python: 3.6.9 --=20 You are receiving this mail because: You are the assignee for the bug.=