[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
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
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
@@ -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)