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 52078A04E6; Thu, 19 Nov 2020 20:34:50 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A26DB37B1; Thu, 19 Nov 2020 20:34:48 +0100 (CET) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) by dpdk.org (Postfix) with ESMTP id B10ECF3E for ; Thu, 19 Nov 2020 20:34:46 +0100 (CET) Received: by mail-lj1-f174.google.com with SMTP id 11so7526775ljf.2 for ; Thu, 19 Nov 2020 11:34:46 -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=+ZFhjD1lGoCrjDmG4ZlsN/BaypZVUcLNGGAVULEmzjA=; b=OHJKoldF7pin/cyxICn6reRXNhfnClTPg+jj/4a+RA/wlIYZs4yeP+XB+bXFHkewkg rv3GayKEzy3F6UJA3vMm5lRs18WiaGodTWqCv/IuS00FQOeo5UvO6pHnPWncMKks1PSp xqqaxZrlf2NKsnWlCI869XdawRm/YWqIbE9fc= 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=+ZFhjD1lGoCrjDmG4ZlsN/BaypZVUcLNGGAVULEmzjA=; b=UHGmPqjtf3gtwySOrn4Nbep6d8PiMx69/HH+9RFrKo9uaWkaWUAJ3r3U/p0put34X7 vpsfBIW37RS0qIbi0wWbLclhI4wPh+Hukl1B6ix31KDZpn5NQLVelogu356q9pWDh8MH 3aOtba2CjEH0PBW9RZ+UM7OsQqCavAvhg+L4wFxw/BBnQUi+wpD4J9xCI/RKDmOe8gy8 FV1DSfAilRYOaRFEFB6BFqBUBJ7VVbG3I9OZ1RYQ4P3vu+BsJxEVzh9O17Xw3sem2yMF DW0J7QXAGYsQ4W5gHB8g48MOMO1weWFr5WnMKMPUnycI3fW22rYMSxdOS70tzmXooJRj 4VJg== X-Gm-Message-State: AOAM533CgeekX8Z+jZKyvdiwOErcwk/zFPC1xruJzuFsdAYIdwouv70S H6OGkWA5rZ5LtjXQLNx7Ia6jw642+57TCc2IA/yY4Q== X-Google-Smtp-Source: ABdhPJxllOfPJZU+7t6nqJ0kYkACubou0ehjU0CZ9kD23mr0j8Q4U2HfqBCnpm54/w1IoR/uGeU+KFj91UF6mIuMLSI= X-Received: by 2002:a2e:9d8d:: with SMTP id c13mr6310172ljj.160.1605814484490; Thu, 19 Nov 2020 11:34:44 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: David Liu Date: Thu, 19 Nov 2020 14:34:08 -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, The DTS started without error but the nic single core test failed on a "connection timeout - no response from TRex server" when I tried to run it on an intel nic. This happens when DTS uses arm-dell (traffic generator) to send packets to arm-gigabyte (DUT) using the Intel nic {Ethernet Controller XL710 for 40GbE QSFP+} I wonder if you have any clue on this issue? 19/11/2020 19:05:55 TestNicSingleCorePerf: Test Case test_perf_nic_single_core Result ERROR: Traceback (most recent call last): File "/opt/dts/framework/test_case.py", line 319, in _execute_test_case case_obj() File "tests/TestSuite_nic_single_core_perf.py", line 200, in test_perf_nic_single_core self.perf_test(self.nb_ports) File "tests/TestSuite_nic_single_core_perf.py", line 274, in perf_test _, packets_received =3D self.tester.pktgen.measure_throughput(stream_ids=3Dstreams, options=3Dtraffic_opt) File "/opt/dts/framework/pktgen_base.py", line 245, in measure_throughput self._prepare_transmission(stream_ids=3Dstream_ids) File "/opt/dts/framework/pktgen_trex.py", line 778, in _prepare_transmission self._conn.reset(ports=3Dself._ports) File "/opt/trex-v2.85/automation/trex_control_plane/interactive/trex/common/trex= _api_annotators.py", line 51, in wrap2 ret =3D f(*args, **kwargs) File "/opt/trex-v2.85/automation/trex_control_plane/interactive/trex/stl/trex_st= l_client.py", line 339, in reset self.clear_stats(ports) File "/opt/trex-v2.85/automation/trex_control_plane/interactive/trex/common/trex= _api_annotators.py", line 51, in wrap2 ret =3D f(*args, **kwargs) File "/opt/trex-v2.85/automation/trex_control_plane/interactive/trex/stl/trex_st= l_client.py", line 1492, in clear_stats self._clear_stats_common(ports, clear_global, clear_xstats) File "/opt/trex-v2.85/automation/trex_control_plane/interactive/trex/common/trex= _client.py", line 2876, in _clear_stats_common raise TRexError(rc) trex.common.trex_exceptions.TRexError: ^[[1m*** [RPC] - Failed to get server response from tcp://172.18.0.40:4501^[[22m 19/11/2020 19:05:55 dts: TEST SUITE ENDED: TestNicSingleCorePerf 19/11/2020 19:06:11 TestNicSingleCorePerf: tear_down_all failed: Traceback (most recent call last): File "/opt/dts/framework/test_case.py", line 430, in execute_tear_downall self.tear_down_all() File "tests/TestSuite_nic_single_core_perf.py", line 405, in tear_down_al= l self.dut.build_install_dpdk(self.target) File "/opt/dts/framework/project_dpdk.py", line 283, in build_install_dpd= k build_install_dpdk(target, extra_options) File "/opt/dts/framework/project_dpdk.py", line 316, in build_install_dpdk_linux_meson self.send_expect("rm -rf " + target, "#") File "/opt/dts/framework/crb.py", line 93, in send_expect return self.session.send_expect(cmds, expected, timeout, verify) File "/opt/dts/framework/ssh_connection.py", line 64, in send_expect out =3D self.session.send_expect(cmds, expected, timeout, verify) File "/opt/dts/framework/ssh_pexpect.py", line 103, in send_expect raise(e) File "/opt/dts/framework/ssh_pexpect.py", line 90, in send_expect ret =3D self.send_expect_base(command, expected, timeout) File "/opt/dts/framework/ssh_pexpect.py", line 81, in send_expect_base self.__prompt(command, timeout) File "/opt/dts/framework/ssh_pexpect.py", line 149, in __prompt raise TimeoutException(command, self.get_output_all()) from None exception.TimeoutException: TIMEOUT on rm -rf x86_64-native-linuxapp-gcc Thanks, David On Thu, Nov 19, 2020 at 12:56 PM David Liu wrote: > 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 throug= h. >> >> 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 >> >