From 72b5d8d262681f81ef46779b26ee8c21c914a327 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Wed, 30 Apr 2025 13:33:31 +0200 Subject: [PATCH] podman: skip failing test on kernel >= 6.15-rc4 We will fix that test upstream but for now skip it to prevent false positives on all future kernel updates. Signed-off-by: Paul Holzinger --- tests/podman.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/podman.pm b/tests/podman.pm index c0b77e50..c753d495 100644 --- a/tests/podman.pm +++ b/tests/podman.pm @@ -25,6 +25,9 @@ sub run { # podman system tests use a relative path for podman-testing by default, # we need to set it to the location where the podman-tests package installs it. assert_script_run 'export PODMAN_TESTING=/usr/bin/podman-testing'; + # Temporary work around to skip test which failed on kernel 6.15.rc4 or newer. + # This should be reverted once the upstream test changes land in fedora. + assert_script_run 'sed -i "/podman run --device-read-bps/a skip \"This test is invalid and needs upstream fixes (https://github.com/containers/podman/pull/26022)\"" /usr/share/podman/test/system/030-run.bats'; # needed so we exit 1 when the bats command fails assert_script_run "set -o pipefail"; assert_script_run "bats --filter-tags distro-integration /usr/share/podman/test/system | tee /tmp/podman-bats.txt", 600;