From 63e8c38a7a73e78463e9a40b55bffcc1817e4e48 Mon Sep 17 00:00:00 2001 From: Gabriela Cervantes Date: Mon, 18 Sep 2023 16:32:11 +0000 Subject: [PATCH] metrics: Enable parallel bandwidth iperf limit This PR enables the parallel bandwidth iperf limit for kata metrics. Fixes #7989 Signed-off-by: Gabriela Cervantes (cherry picked from commit af59d4bf4a3fe42881e364707ee1b2fb123ee2d5) --- .../checkmetrics-json-clh-kata-metric8.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tests/metrics/cmd/checkmetrics/ci_worker/checkmetrics-json-clh-kata-metric8.toml b/tests/metrics/cmd/checkmetrics/ci_worker/checkmetrics-json-clh-kata-metric8.toml index 15e6f75450..6e0dff6da7 100644 --- a/tests/metrics/cmd/checkmetrics/ci_worker/checkmetrics-json-clh-kata-metric8.toml +++ b/tests/metrics/cmd/checkmetrics/ci_worker/checkmetrics-json-clh-kata-metric8.toml @@ -124,6 +124,19 @@ midval = 61176889941.19 minpercent = 20.0 maxpercent = 20.0 +[[metric]] +name = "network-iperf3" +type = "json" +description = "measure container parallel bandwidth using iperf3" +# Min and Max values to set a 'range' that +# the median of the CSV Results data must fall +# within (inclusive) +checkvar = ".\"network-iperf3\".Results | .[] | .parallel.Result" +checktype = "mean" +midval = 61176889941.0 +minpercent = 20.0 +maxpercent = 20.0 + [[metric]] name = "network-iperf3" type = "json"