[dts][PATCH V1] tests/power_telemetry: update client socket path

Tadhg Kearney tadhg.kearney at intel.com
Thu Mar 9 18:34:43 CET 2023


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 at 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



More information about the dts mailing list