[PATCH v2] app/test: rewrite telemetry test in python
Thomas Monjalon
thomas at monjalon.net
Thu Nov 19 02:26:55 CET 2026
12/08/2026 21:01, Stephen Hemminger:
> The test_telemetry.sh was failing with test timeout.
> This was caused by the overhead of spawning a fresh dpdk-telemetry.py
> for every command it walked. With every endpoint queried three times,
> that is several hundred Python interpreter startups per run.
>
> Replace the shell script with a python test that opens the telemetry
> socket once and issues every command over that single connection.
>
> Each reply is parsed as JSON and checked directly in Python.
> This also drops the jq dependency.
>
> Bugzilla ID: 1972
> Fixes: 9da71dc4f96e ("test: add test case for scripted telemetry commands")
> Cc: stable at dpdk.org
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Applied, thanks.
More information about the dev
mailing list