| Message ID | 20260703070042.3221380-1-sivakumar.bs@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | libarchive: skip fuzz tests in ptest run | expand |
diff --git a/meta/recipes-extended/libarchive/libarchive/run-ptest b/meta/recipes-extended/libarchive/libarchive/run-ptest index 6a6eb0748b..d6b4c3f934 100755 --- a/meta/recipes-extended/libarchive/libarchive/run-ptest +++ b/meta/recipes-extended/libarchive/libarchive/run-ptest @@ -1,5 +1,11 @@ #!/bin/sh +# The fuzz tests run 1000 randomised iterations per archive format and are +# meant for dedicated fuzzing infrastructure, not routine ptest runs. They +# regularly time out in the time/memory constrained autobuilder QEMU targets +# (e.g. test_fuzz_iso9660). Skip them via the upstream escape hatch. +export SKIP_TEST_FUZZ=1 + for t in libarchive_test bsdtar_test bsdcpio_test bsdcat_test bsdunzip_test; do ./$t if [ $? -eq 0 ]; then
The libarchive fuzz tests (test_fuzz_ar, test_fuzz_cab, test_fuzz_cpio, test_fuzz_iso9660, ...) run 1000 randomised iterations per archive format and are intended for dedicated fuzzing infrastructure rather than routine ptest execution. On the time and memory constrained autobuilder QEMU targets they regularly time out, e.g.: 158: test_fuzz_iso9660 Timeout! System state: Upstream provides the SKIP_TEST_FUZZ environment variable to skip these tests. Export it from run-ptest so the fuzz tests are skipped rather than run, while the rest of the test suite continues to execute normally. [YOCTO #16340] Signed-off-by: Siva Balasubramanian <sivakumar.bs@gmail.com> --- meta/recipes-extended/libarchive/libarchive/run-ptest | 6 ++++++ 1 file changed, 6 insertions(+)