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 057C8A053A for ; Tue, 4 Aug 2020 18:16:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BA0E329D2; Tue, 4 Aug 2020 18:16:45 +0200 (CEST) Received: from mail-il1-f193.google.com (mail-il1-f193.google.com [209.85.166.193]) by dpdk.org (Postfix) with ESMTP id 87294F04 for ; Tue, 4 Aug 2020 18:16:44 +0200 (CEST) Received: by mail-il1-f193.google.com with SMTP id z17so19592246ill.6 for ; Tue, 04 Aug 2020 09:16:44 -0700 (PDT) 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=8pCl3TG1sQoyOz/Jh2ovWtvMyLm2BXbgPI67XT5rSWk=; b=ggASdBDxeHZV9OgvOFAOr9WWEibL0djhr3wLVdT+tT/wuXnzi2xJjDlRndBIgwDfQv W4iRNxuw0D1kvM20jgUTAwfzPkVA3okxrfMksqb1lVGQIUECsqtLB/pXESROiLn7aV65 MpAn5QRKysnz7vWN0DpYf0xyp4WuY48103vFY= 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=8pCl3TG1sQoyOz/Jh2ovWtvMyLm2BXbgPI67XT5rSWk=; b=U6TPYYi44thdGFRP0Rkq3gfi8PkyR4kV4mTL/ghUxjx04i1eO5hnbBWqR6w2FCXovm i3n3rM7s0SIWX2yCjMO6lF/pHfYfbHDl2dOIViUt9uY4S1rb+r0iScHWFw0ID1xNEAkS pSTGxdA0gjeOyUqlJgPk7sFXN1iMAr05EfpxaI2a2hZlNSlUAg8CKP7vmWfQPcz1rPfE M//KuaLRPwlJgg7dlskwtlFjhhEoCiEVpWKT/poMlWi9UNhvMQfhPzIHwIrp4jw2WcHD cJpSHhS1cKSqLAs0BlffBg2dKzldQ/vfFJW4tGJuAsenLK+ASoGaT/hg4qRF+0I1nE4y Q3fw== X-Gm-Message-State: AOAM531JEGshQ/RPxDZgNc5uOhXEm28II0pHDXTktwEWFp9YaYZQLIja d+bp9CZiz3HDXh7FMmSr50Aj+Mkk7MjvmGSuxr+hZQ== X-Google-Smtp-Source: ABdhPJzZuOwIU2o7SCs8R9Q011N8UF/cnlliHZhb32h84tY7r32YV/VUrnP3WanuWmzoSrh7BPs2R2NdIf+xr0FZ898= X-Received: by 2002:a92:340d:: with SMTP id b13mr5937831ila.78.1596557803792; Tue, 04 Aug 2020 09:16:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Brandon Lo Date: Tue, 4 Aug 2020 12:16:09 -0400 Message-ID: To: Ajit Khaparde Cc: ci@dpdk.org, dpdklab Content-Type: multipart/alternative; boundary="000000000000c247c305ac0f9498" 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" --000000000000c247c305ac0f9498 Content-Type: text/plain; charset="UTF-8" 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 --000000000000c247c305ac0f9498 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Ajit,

I'm running=C2= =A0into a problem with trying to run nic_single_core_perf on the new NIC.
The current configuration uses trex version v2.82.
Howev= er, I'm running into an error when it tries to actually=C2=A0do a test = case in the nic_single_core_perf.

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

TestNicSingleCo= rePerf: 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.r= hea: ./x86_64-native-linuxapp-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--portmask=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: st= art
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0TestNicSingleCorePerf: Test Case t= est_perf_nic_single_core Result ERROR: Traceback (most recent call last):=C2=A0 File "/opt/dts/framework/test_case.py", line 316, in _ex= ecute_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 "tests/TestSuite_nic_single_core_perf.py", li= ne 198, in test_perf_nic_single_core
=C2=A0 =C2=A0 self.perf_test(self.n= b_ports)
=C2=A0 File "tests/TestSuite_nic_single_core_perf.py"= , line 259, in perf_test
=C2=A0 =C2=A0 _, packets_received =3D self.test= er.pktgen.measure_throughput(stream_ids=3Dstreams, options=3Dtraffic_opt)=C2=A0 File "/opt/dts/framework/pktgen_base.py", line 245, in m= easure_throughput
=C2=A0 =C2=A0 self._prepare_transmission(stream_ids=3D= stream_ids)
=C2=A0 File "/opt/dts/framework/pktgen_trex.py", l= ine 779, in _prepare_transmission
=C2=A0 =C2=A0 self._conn.reset(ports= =3Dself._ports)
=C2=A0 File "/opt/v2.82/automation/trex_control_pla= ne/interactive/trex/common/trex_api_annotators.py", line 51, in wrap2<= br>=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/tre= x_control_plane/interactive/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/auto= mation/trex_control_plane/interactive/trex/common/trex_api_annotators.py&qu= ot;, 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/interactive/trex/stl/trex_stl_clie= nt.py", line 1467, in clear_stats
=C2=A0 =C2=A0 self._clear_stats_c= ommon(ports, clear_global, clear_xstats)
=C2=A0 File "/opt/v2.82/au= tomation/trex_control_plane/interactive/trex/common/trex_client.py", l= ine 2840, in _clear_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 ser= ver response from tcp://127.0.0.1:4501

Have you ran into this issue before?

=
Thanks,
Brandon
=
--000000000000c247c305ac0f9498--