[V1] tests/power_telemetry: update client socket path

Message ID 20230309173443.34221-1-tadhg.kearney@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/power_telemetry: update client socket path |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-suite-test warning SKIPPED

Commit Message

Tadhg Kearney March 9, 2023, 5:34 p.m. UTC
  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(-)
  

Comments

Tu, Lijuan March 28, 2023, 12:54 a.m. UTC | #1
On Thu,  9 Mar 2023 17:34:43 +0000, Tadhg Kearney <tadhg.kearney@intel.com> wrote:
> 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>


Applied, thanks
  

Patch

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)