test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] tests/power_telemetry: update client socket path
@ 2023-03-09 17:34 Tadhg Kearney
  2023-03-28  0:54 ` lijuan.tu
  0 siblings, 1 reply; 2+ messages in thread
From: Tadhg Kearney @ 2023-03-09 17:34 UTC (permalink / raw)
  To: dts; +Cc: reshma.pattan, Tadhg Kearney

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dts][PATCH V1] tests/power_telemetry: update client socket path
  2023-03-09 17:34 [dts][PATCH V1] tests/power_telemetry: update client socket path Tadhg Kearney
@ 2023-03-28  0:54 ` lijuan.tu
  0 siblings, 0 replies; 2+ messages in thread
From: lijuan.tu @ 2023-03-28  0:54 UTC (permalink / raw)
  To: dts, Tadhg Kearney; +Cc: reshma.pattan, Tadhg Kearney

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-28  0:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-09 17:34 [dts][PATCH V1] tests/power_telemetry: update client socket path Tadhg Kearney
2023-03-28  0:54 ` lijuan.tu

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).