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 BF1E7A0C40; Thu, 10 Jun 2021 13:28:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 55BA74067C; Thu, 10 Jun 2021 13:28:05 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id A51B34003C for ; Thu, 10 Jun 2021 13:28:04 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 72DB6A0C43; Thu, 10 Jun 2021 13:28:04 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Thu, 10 Jun 2021 11:28:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: examples X-Bugzilla-Version: 19.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yux.jiang@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@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 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 Subject: [dpdk-dev] [Bug 731] [dpdk-19.11.9] telemetry: python3 /root/dpdk/usertools/dpdk-telemetry-client.py prompt connection refused X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" https://bugs.dpdk.org/show_bug.cgi?id=3D731 Bug ID: 731 Summary: [dpdk-19.11.9] telemetry: python3 /root/dpdk/usertools/dpdk-telemetry-client.py prompt connection refused Product: DPDK Version: 19.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: examples Assignee: dev@dpdk.org Reporter: yux.jiang@intel.com Target Milestone: --- [Environment] DPDK version: Use make showversion or for a non-released version: git remot= e -v && git show-ref --heads 19.11.9-rc2: bb144e7a1c5e7709c74b3096179f6296e77923da Other software versions: name/version for QEMU, OVS, etc. Repeat as require= d. OS: Ubuntu 18.04.4 Compiler: gcc (GCC) 8.4.1 Hardware platform: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz. NIC hardware: 82599ES 10-Gigabit SFI/SFP+ Network Connection 10fb NIC firmware: 0x61bf0001 driver=EF=BC=9Aixgbe-5.6.1 [Test Setup] Steps to reproduce List the steps to reproduce the issue. 1.bind nic to vfio-pci usertools/dpdk-devbind.py --force --bind=3Dvfio-pci 0000:81:00.0 0000:81:00= .1 2.start pf testpmd x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1,2 -n 4 -w 0000:81:00.0 -w 0000:81:00.1 --file-prefix=3Ddpdk_11234_20210610195821 --telemetry =E2=80= =93 -i=20 3.start 4.modify dpdk-telemetry-client.py #sed -i 's/self.socket.send_fd.connect("\/var\/run\/dpdk\/.*\/telemetry")/self.sock= et.send_fd.connect("\/var\/run\/dpdk\/dpdk_11234_20210610195821\/telemetry"= )/g' /root/dpdk/usertools/dpdk-telemetry-client.py #sed -i 's/self.socket.send_fd.connect("\/var\/run\/dpdk\/.*\/telemetry")/self.sock= et.send_fd.connect("\/var\/run\/dpdk\/dpdk_11234_20210610195821\/telemetry"= )/g' /root/dpdk/dpdk_telemetry_client.py 5.python3 /root/dpdk/usertools/dpdk-telemetry-client.py [Show the output from the previous commands.] Warning - No filepath passed, using default (/var/run/dpdk/default_client). Traceback (most recent call last): File "/root/dpdk/usertools/dpdk-telemetry-client.py", line 134, in client.register() File "/root/dpdk/usertools/dpdk-telemetry-client.py", line 67, in register self.socket.send_fd.connect("/var/run/dpdk/dpdk_12064_20210610203206/teleme= try") ConnectionRefusedError: [Errno 111] Connection refused Error - Client could not be destroyed Error - Sockets could not be closed [Expected Result] test normal.=20 [Regression] Is this issue a regression: (Y/N) Y=20=20=20=20=20 Version the regression was introduced: Specify git id if known. commit 555da24882e1ca836f9532304f5f58034e57ff5e (HEAD) Author: Luc Pelletier Date: Fri May 21 11:49:06 2021 -0400 eal: fix race in control thread creation [ upstream commit 34cc55cce6b180a6c3ee3fcf70a0fd56927f240d ] The creation of control threads uses a pthread barrier for synchronization. This patch fixes a race condition where the pthread barrier could get destroyed while one of the threads has not yet returned from the pthread_barrier_wait function, which could result in undefined behaviour. Fixes: 3a0d465d4c53 ("eal: fix use-after-free on control thread creation") --=20 You are receiving this mail because: You are the assignee for the bug.=