1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-07-25 11:45:43 +00:00

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 <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger 2025-04-30 13:33:31 +02:00
parent cf4a9b76e4
commit 72b5d8d262
No known key found for this signature in database
GPG Key ID: EB145DD938A3CAF2

View File

@ -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;