test suite reviews and discussions
 help / color / mirror / Atom feed
From: Tadhg Kearney <tadhg.kearney@intel.com>
To: dts@dpdk.org
Cc: reshma.pattan@intel.com, Tadhg Kearney <tadhg.kearney@intel.com>
Subject: [dts][PATCH V1] tests/power_telemetry: update client socket path
Date: Thu,  9 Mar 2023 17:34:43 +0000	[thread overview]
Message-ID: <20230309173443.34221-1-tadhg.kearney@intel.com> (raw)

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 <tadhg.kearney@intel.com>
---
 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)
-- 
2.34.1


             reply	other threads:[~2023-03-09 17:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-09 17:34 Tadhg Kearney [this message]
2023-03-28  0:54 ` lijuan.tu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230309173443.34221-1-tadhg.kearney@intel.com \
    --to=tadhg.kearney@intel.com \
    --cc=dts@dpdk.org \
    --cc=reshma.pattan@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).