Skip to content

rteval: Test suite fixes and improvements

John Kacur linux-rt-users 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10rteval: Update E2E tests to cover multiple recent changestests/e2e/measurement.t+7 -70 replies
2/10rteval: Default make to help and make test-all run every test suiteMakefile tests/run_tests.sh+23 -260 replies
3/10rteval: Make the unit test harness fail on test failuresMakefile tests/run_tests.sh tests/unittest-legacy.py+16 -20 replies
4/10rteval: Fix stale malformed-data log patterns in regression teststests/regression/test-cyclictest-error-handling.sh tests/regression/test-timerlat-error-handling.sh+30 -110 replies
5/10rteval: Fix rteval-cmd path detection in cpuset testtests/cpusets/test-cpusets.sh+5 -10 replies
6/10rteval: Ignore *.log test artifacts.gitignore+1 -00 replies
7/10rteval: Fix expected partition type in cpuset teststests/cpusets/test-cpusets.sh+6 -60 replies
8/10rteval: Do not use set -e in the cpuset test suitetests/cpusets/test-cpusets.sh+6 -20 replies
9/10rteval: Temporarily skip cpuset tests pending isolated-partition decisiontests/cpusets/test-cpusets.sh+35 -00 replies
10/10rteval: Write test artifacts to tests/logs/ instead of the repo root.gitignore Makefile tests/cpusets/test-cpusets.sh +2 more+24 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] rteval: Test suite fixes and improvements

This series collects a number of fixes and improvements to the rteval test suite.

Tomas Glozar's patch updates the E2E measurement tests to cover several recent changes. The remaining patches make the test tooling more robust:
the top-level Makefile now defaults to help and gains a test-all target that runs every suite, the unit test harness now fails on test failures instead of masking them, stale malformed-data log patterns in the regression tests are corrected, the cpuset test detects rteval-cmd regardless of the directory it is run from, *.log test artifacts are ignored, and the cpuset tests expect the correct 'isolated' partition type for the measurement cpuset.

The last three patches concern the cpuset and regression suites. 'set -e' is removed from the cpuset suite (it aborted the whole run on the first backgrounded rteval that exited non-zero). Three cpuset tests are temporarily skipped: they exercise an unresolved interaction where an isolated measurement cpuset removes its CPUs from the root cgroup, so taskset-bound loads overlapping the measurement CPUs fail; they are skipped with an explanatory TODO until the design decision on the measurement cpuset partition type / load CPU placement is made. Finally, the cpuset and regression suites now write their logs and work directories under tests/logs/ instead of the repository root, with a new 'test-clean' target to remove them.

John Kacur (9):
rteval: Default make to help and make test-all run every test suite
rteval: Make the unit test harness fail on test failures
rteval: Fix stale malformed-data log patterns in regression tests
rteval: Fix rteval-cmd path detection in cpuset test
rteval: Ignore *.log test artifacts
rteval: Fix expected partition type in cpuset tests
rteval: Do not use set -e in the cpuset test suite
rteval: Temporarily skip cpuset tests pending isolated-partition
decision
rteval: Write test artifacts to tests/logs/ instead of the repo root

Tomas Glozar (1):
rteval: Update E2E tests to cover multiple recent changes

 .gitignore                                    |  2 +
 Makefile                                      | 27 ++++---
 tests/cpusets/test-cpusets.sh                 | 70 +++++++++++++++----
 tests/e2e/measurement.t                       | 14 ++--
 .../test-cyclictest-error-handling.sh         | 26 +++++--
 .../test-timerlat-error-handling.sh           | 29 ++++++--
 tests/run_tests.sh                            | 40 +++++------
 tests/unittest-legacy.py                      |  6 ++
 8 files changed, 153 insertions(+), 61 deletions(-)
Signature · 1 line
2.55.0