test/others: Test compression benchmark tooling

Benchmark output can look credible even when command construction,
configuration recovery, archive inspection, accounting, or cleanup has
drifted. Full Podman and model-serving trials are too expensive for
focused checks of those helpers.

Add fast tests that load both serving frontends against their shared
implementation while keeping their mutable state separate. Cover CRIU
option isolation, explicit automatic decompression, port-derived URLs,
inventory validation, runc.conf locking and crash recovery, metadata
preservation, secret redaction, container failure detection, response
integrity, signal handling, and cleanup.

Also verify deterministic workload generation, report normalization,
cache-control failures, and the pagemap evidence required by the
region-cache benchmark. Add the compression benchmark tree to ruff and
provide a dedicated unit target.

Assisted-by: Codex:GPT-5
Assisted-by: Claude:claude-fable-5
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
Radostin Stoyanov 2026-07-12 14:32:46 +01:00
parent 2d1335b755
commit ce933af777
3 changed files with 1086 additions and 1 deletions

View file

@ -468,7 +468,8 @@ ruff:
coredump/ coredump/coredump \
scripts/github-indent-warnings.py \
contrib/criu-service-client/test/*.py \
contrib/compression-benchmark/
contrib/compression-benchmark/ \
test/others/compression/
shellcheck:
shellcheck --version

View file

@ -0,0 +1,3 @@
unit:
python3 ./test_config.py
.PHONY: unit

File diff suppressed because it is too large Load diff