From patchwork Thu Mar 9 17:34:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tadhg Kearney X-Patchwork-Id: 124909 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2915941E21; Thu, 9 Mar 2023 18:34:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2230140ED7; Thu, 9 Mar 2023 18:34:54 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 5F85640695 for ; Thu, 9 Mar 2023 18:34:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678383292; x=1709919292; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=e8fASxO4OUjIBDKGHNMUAwJKkzta3WD4Ia0qStg0/ck=; b=NYFRPp24MhqxvkAMjyZYAm0u49OzYlZlitjOvSUz3rKvEtBhDYZWHoac fYQj5vRUT0+7rGlQkCsQho7BkkudV90bl5iJiZ91QDWAJTC6lDWT5Av0t AfZ7yqL/z+7capCzdcPClgtkORpphlJ+HBuxUYiTEULcHwJB37lVvhkTR BqZN1lYb7MLdt3ZyQ2oKUgfu82bZGaz4mnUxownGG4TBIbrc+EUFU1Gxt XR01G5Zfobu4k2Yv0KT4Y7Tno10ywrWWG/N179LqIeyUV7T8thuZK9ktd YeLRbT9Xz++d0A35VlDc6e2XmlP6m+6ql+CkuTiljezZX5UsFGp8+ExvM g==; X-IronPort-AV: E=McAfee;i="6500,9779,10644"; a="364156991" X-IronPort-AV: E=Sophos;i="5.98,247,1673942400"; d="scan'208";a="364156991" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Mar 2023 09:34:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10644"; a="627446879" X-IronPort-AV: E=Sophos;i="5.98,247,1673942400"; d="scan'208";a="627446879" Received: from silpixa00401183.ir.intel.com ([10.55.128.41]) by orsmga003.jf.intel.com with ESMTP; 09 Mar 2023 09:34:48 -0800 From: Tadhg Kearney To: dts@dpdk.org Cc: reshma.pattan@intel.com, Tadhg Kearney Subject: [dts][PATCH V1] tests/power_telemetry: update client socket path Date: Thu, 9 Mar 2023 17:34:43 +0000 Message-Id: <20230309173443.34221-1-tadhg.kearney@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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 Usertool dpdk-telemetry-client has been updated in DPDK 23.03 to use dynamically build runpath instead of using default values. This breaks telemetry test that makes use of this tool. Patch added to address this. Signed-off-by: Tadhg Kearney --- tests/TestSuite_power_telemetry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_power_telemetry.py b/tests/TestSuite_power_telemetry.py index 9c0be5ea..c2f65273 100644 --- a/tests/TestSuite_power_telemetry.py +++ b/tests/TestSuite_power_telemetry.py @@ -219,7 +219,7 @@ class TestPowerTelemetry(TestCase): def telemetry_query(self): json_name = "telemetry_data.json" json_file = os.path.join(self.target_dir, json_name) - pipe = "/var/run/some_client" + pipe = "/var/run/dpdk/default_client" cmd = "{0} -j {1} -f {2}".format(self.query_tool, json_file, pipe) output = self.d_a_con(cmd) msg = "failed to query metric data" @@ -246,7 +246,7 @@ class TestPowerTelemetry(TestCase): def telemetry_query_on_traffic(self): json_name = "telemetry_data_on_traffic.json" json_file = os.path.join(self.target_dir, json_name) - pipe = "/var/run/some_client" + pipe = "/var/run/dpdk/default_client" cmd = "{0} -j {1} -f {2}".format(self.query_tool, json_file, pipe) output = self.d_a_con(cmd) dst_file = os.path.join(self.output_path, json_name)