[v3,0/3] Add metric value validation test

Message ID 20230614203824.2895333-1-weilin.wang@intel.com
Headers
Series Add metric value validation test |

Message

Wang, Weilin June 14, 2023, 8:38 p.m. UTC
  This is the third version of metric value validation tests.

We made the following changes from v2 to v3:
 - Add explicit data type casting to float when parsing perf json output [Ian]
 - Add an limit of rerun up to 20 failed metrics  

v2: https://lore.kernel.org/lkml/20230609162625.100897-1-weilin.wang@intel.com/ 

Weilin Wang (3):
  perf test: Add metric value validation test
  perf test: Add skip list for metrics known would fail
  perf test: Rerun failed metrics with longer workload

 .../tests/shell/lib/perf_metric_validation.py | 574 ++++++++++++++++++
 .../lib/perf_metric_validation_rules.json     | 398 ++++++++++++
 tools/perf/tests/shell/stat_metrics_values.sh |  30 +
 3 files changed, 1002 insertions(+)
 create mode 100644 tools/perf/tests/shell/lib/perf_metric_validation.py
 create mode 100644 tools/perf/tests/shell/lib/perf_metric_validation_rules.json
 create mode 100755 tools/perf/tests/shell/stat_metrics_values.sh


base-commit: 7cdda6998ee55140e64894e25048df7157344fc9