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 13DF7A053A for ; Tue, 4 Aug 2020 18:38:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E216929D2; Tue, 4 Aug 2020 18:38:16 +0200 (CEST) Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) by dpdk.org (Postfix) with ESMTP id 0718F2AB for ; Tue, 4 Aug 2020 18:38:14 +0200 (CEST) Received: by mail-ot1-f47.google.com with SMTP id a65so21875240otc.8 for ; Tue, 04 Aug 2020 09:38:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OUsE24zLsBnnDqSNJEPh4BzrxEknJ+JTK8pPKefZRzc=; b=d7VaVigafm+OpeMlgiKG7SCvhaNKfiS/OtXsDCd1Joh8d+zBO/MSzbGlhfaeXdVAPh LHRwojkCbol3/AbUXlrHBB5ol6vkKDMfffipVd6MmABAlo6xhU+UkQdvLw9xy3TzK/Lw 74cdWZNexHn6kguqxkSo24u3gP3/lFfVZDeeg= 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=OUsE24zLsBnnDqSNJEPh4BzrxEknJ+JTK8pPKefZRzc=; b=sr4iFUEwSMZrlpgP+WtfWd9W3xRtKoED+syBpjff1ceypEAECzxdYnsYicMrhuS+dA bJW34wydssz7/lmF/ocN+7d5M2xR25UfE1Zf507jxZFN4GMk7Q4eZ0Hkn9CbLORyFXKh VgG0Q0XT01N3MiRw1nMgPO5IeyZVG3MAfyX9prxKLvGdMiw0UGZvhC8pox6EzQHfoShh SBuS8zayBfX3iyd54NCA2hKJkRk4WqJ+cP+Up4KBBqZS/Fi32d9X3Ox6LKQ0SLg/i4B9 mqA94C4mo2badGp5B89QsTlJ+tiiMiVLEPTkYsREXc4C6CcKWtGvFQZBev4GsW1BHH2u 5/0g== X-Gm-Message-State: AOAM532Vw4PFIk7aagPfv9s0FT4L1kztUhhs2ZbHAal/nA+EICe6Jdw9 AbxV1YLamAffmUL2fOnHZJO5i3/F5JAlWR9CNLgYXQ== X-Google-Smtp-Source: ABdhPJzaLn4K8YcTyLGjFEHwRLMHPIYDS80a1Qh8eUWlfEqm5580oxVlr82Y4cfmtSFYtu3wvGuC6pqneA+pwFg8/ZA= X-Received: by 2002:a9d:8c9:: with SMTP id 67mr3618634otf.154.1596559093997; Tue, 04 Aug 2020 09:38:13 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ajit Khaparde Date: Tue, 4 Aug 2020 09:37:58 -0700 Message-ID: To: Brandon Lo Cc: ci@dpdk.org, dpdklab Content-Type: multipart/alternative; boundary="000000000000a9792705ac0fe17b" Subject: Re: [dpdk-ci] New 100G Broadcom NIC Ubuntu X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ci-bounces@dpdk.org Sender: "ci" --000000000000a9792705ac0fe17b Content-Type: text/plain; charset="UTF-8" Hi Brandon, No, I haven't seen or heard this before. But I will try to have someone run it again. Just to make sure - You are running trex on the 100G NIC and the problem is encountered on that setup? Or is it the system that is running testpmd where you are running into the issue? Thanks Ajit On Tue, Aug 4, 2020 at 9:16 AM Brandon Lo wrote: > Hi Ajit, > > I'm running into a problem with trying to run nic_single_core_perf on the > new NIC. > The current configuration uses trex version v2.82. > However, I'm running into an error when it tries to actually do a test > case in the nic_single_core_perf. > > The output looks like this when it reaches a test case: > > TestNicSingleCorePerf: Test running at parameters: framesize: 64, rxd/txd: >> 512 >> dut.rhea: ./x86_64-native-linuxapp-gcc/app/testpmd >> -l 16,17 -n 4 -w 0000:81:00.0 -w 0000:81:00.1 >> --file-prefix=dpdk_11307_20200804160513 -- -i --portmask=0x3 --txd=512 >> --rxd=512 >> dut.rhea: start >> TestNicSingleCorePerf: Test Case test_perf_nic_single_core >> Result ERROR: Traceback (most recent call last): >> File "/opt/dts/framework/test_case.py", line 316, in _execute_test_case >> case_obj() >> File "tests/TestSuite_nic_single_core_perf.py", line 198, in >> test_perf_nic_single_core >> self.perf_test(self.nb_ports) >> File "tests/TestSuite_nic_single_core_perf.py", line 259, in perf_test >> _, packets_received = >> self.tester.pktgen.measure_throughput(stream_ids=streams, >> options=traffic_opt) >> File "/opt/dts/framework/pktgen_base.py", line 245, in >> measure_throughput >> self._prepare_transmission(stream_ids=stream_ids) >> File "/opt/dts/framework/pktgen_trex.py", line 779, in >> _prepare_transmission >> self._conn.reset(ports=self._ports) >> File >> "/opt/v2.82/automation/trex_control_plane/interactive/trex/common/trex_api_annotators.py", >> line 51, in wrap2 >> ret = f(*args, **kwargs) >> File >> "/opt/v2.82/automation/trex_control_plane/interactive/trex/stl/trex_stl_client.py", >> line 339, in reset >> self.clear_stats(ports) >> File >> "/opt/v2.82/automation/trex_control_plane/interactive/trex/common/trex_api_annotators.py", >> line 51, in wrap2 >> ret = f(*args, **kwargs) >> File >> "/opt/v2.82/automation/trex_control_plane/interactive/trex/stl/trex_stl_client.py", >> line 1467, in clear_stats >> self._clear_stats_common(ports, clear_global, clear_xstats) >> File >> "/opt/v2.82/automation/trex_control_plane/interactive/trex/common/trex_client.py", >> line 2840, in _clear_stats_common >> raise TRexError(rc) >> trex.common.trex_exceptions.TRexError: *** [RPC] - Failed to get server >> response from tcp://127.0.0.1:4501 > > > I have found one similar case on the github repository for trex, but the > solution was vendor-specific: > https://github.com/cisco-system-traffic-generator/trex-core/issues/147. > Have you ran into this issue before? > > Thanks, > Brandon > --000000000000a9792705ac0fe17b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Brandon,
No, I haven't seen or heard this=C2=A0before.
=
= But I will try to have someone=C2=A0run it again.

Just to make sure -
You= are running trex on the 100G NIC and the problem is encountered on that se= tup?
Or is it the system that is running testpmd where you are running into = the issue?

Thanks
Ajit

On Tue, Aug 4, 2020 at 9:16 AM Brandon Lo <= ;blo@iol.unh.edu> wrote:
Hi= Ajit,

I'm running=C2=A0into a problem with tr= ying to run nic_single_core_perf on the new NIC.
The current conf= iguration uses trex version v2.82.
However, I'm running into = an error when it tries to actually=C2=A0do a test case in the nic_single_co= re_perf.

The output looks like this when it reache= s a test case:

TestNicSingleCorePerf: Test running at = parameters: framesize: 64, rxd/txd: 512
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 dut.rhea: ./x86_64-native-lin= uxapp-gcc/app/testpmd -l 16,17 -n 4 -w 0000:81:00.0 -w 0000:81:00.1 =C2=A0-= -file-prefix=3Ddpdk_11307_20200804160513 =C2=A0 =C2=A0-- -i =C2=A0--portmas= k=3D0x3 --txd=3D512 --rxd=3D512
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 dut.rhea: start
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0TestNicSingleCorePerf: Test Case test_perf_nic_single_core= Result ERROR: Traceback (most recent call last):
=C2=A0 File "/opt= /dts/framework/test_case.py", line 316, in _execute_test_case
=C2= =A0 =C2=A0 case_obj() =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
=C2=A0 File &qu= ot;tests/TestSuite_nic_single_core_perf.py", line 198, in test_perf_ni= c_single_core
=C2=A0 =C2=A0 self.perf_test(self.nb_ports)
=C2=A0 File= "tests/TestSuite_nic_single_core_perf.py", line 259, in perf_tes= t
=C2=A0 =C2=A0 _, packets_received =3D self.tester.pktgen.measure_throu= ghput(stream_ids=3Dstreams, options=3Dtraffic_opt)
=C2=A0 File "/op= t/dts/framework/pktgen_base.py", line 245, in measure_throughput
= =C2=A0 =C2=A0 self._prepare_transmission(stream_ids=3Dstream_ids)
=C2=A0= File "/opt/dts/framework/pktgen_trex.py", line 779, in _prepare_= transmission
=C2=A0 =C2=A0 self._conn.reset(ports=3Dself._ports)
=C2= =A0 File "/opt/v2.82/automation/trex_control_plane/interactive/trex/co= mmon/trex_api_annotators.py", line 51, in wrap2
=C2=A0 =C2=A0 ret = =3D f(*args, **kwargs) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0
=C2=A0 File "/opt/v2.82/automation/trex_control_plane/inter= active/trex/stl/trex_stl_client.py", line 339, in reset
=C2=A0 =C2= =A0 self.clear_stats(ports) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0
=C2=A0 File "/opt/v2.82/automation/trex_contro= l_plane/interactive/trex/common/trex_api_annotators.py", line 51, in w= rap2
=C2=A0 =C2=A0 ret =3D f(*args, **kwargs) =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
=C2=A0 File "/opt/v2.82/automat= ion/trex_control_plane/interactive/trex/stl/trex_stl_client.py", line = 1467, in clear_stats
=C2=A0 =C2=A0 self._clear_stats_common(ports, clear= _global, clear_xstats)
=C2=A0 File "/opt/v2.82/automation/trex_cont= rol_plane/interactive/trex/common/trex_client.py", line 2840, in _clea= r_stats_common
=C2=A0 =C2=A0 raise TRexError(rc) =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
trex.common.= trex_exceptions.TRexError: *** [RPC] - Failed to get server response from t= cp://127.0.0.1:4501=

I have found one similar case on th= e github repository for trex, but the solution was vendor-specific:=C2=A0https://github.com/cisco-system-traffic-generator/t= rex-core/issues/147.
Have you ran into this issue before?

Thanks,
Brandon
--000000000000a9792705ac0fe17b--