Skip to content

Commit

Permalink
Merge pull request #714 from SUSE/kiwi_skip_fips
Browse files Browse the repository at this point in the history
Skip kiwi tests on fips-enforcing hosts
  • Loading branch information
dcermak authored Jan 6, 2025
2 parents 51291e7 + fd23edd commit 166db73
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_kiwi.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from pytest_container.runtime import LOCALHOST

from bci_tester.data import KIWI_CONTAINERS
from bci_tester.fips import host_fips_enabled
from bci_tester.runtime_choice import PODMAN_SELECTED
from bci_tester.selinux import selinux_status

Expand Down Expand Up @@ -53,6 +54,10 @@ def test_kiwi_installation(auto_container):
LOCALHOST.system_info.arch != "x86_64",
reason="test is atm x86_64 specific",
)
@pytest.mark.skipif(
host_fips_enabled(),
reason="https://github.com/OSInside/kiwi/issues/2696",
)
@pytest.mark.skipif(
PODMAN_SELECTED and os.geteuid() != 0,
# https://github.com/containers/podman/issues/17715#issuecomment-1460227771
Expand Down

0 comments on commit 166db73

Please sign in to comment.