Skip podman rootful tests on RHEL10 (#86785)

2-22-bump
sivel / Matt Martz 1 month ago committed by GitHub
parent 260fcabb79
commit 9ade959713
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -192,9 +192,11 @@ def get_test_scenarios() -> list[TestScenario]:
]
if engine == 'podman':
if os_release.id not in ('ubuntu', 'fedora'):
if os_release.id not in ('ubuntu', 'fedora') \
and not (os_release.id == 'rhel' and os_release.version_id.startswith('10.')):
# rootfull podman is not supported by all systems
# rootfull podman networking stopped working on Fedora 43 hosts when docker is installed
# RHEL >= 10 is also excluded due to https://github.com/containers/crun/issues/2059
user_scenarios.append(UserScenario(ssh=ROOT_USER))
# TODO: test podman remote on Alpine and Ubuntu hosts
@ -202,9 +204,11 @@ def get_test_scenarios() -> list[TestScenario]:
if os_release.id not in ('alpine', 'ubuntu'):
user_scenarios.append(UserScenario(remote=unprivileged_user))
if LOGINUID_MISMATCH and os_release.id not in ('ubuntu', 'fedora'):
if LOGINUID_MISMATCH and os_release.id not in ('ubuntu', 'fedora') \
and not (os_release.id == 'rhel' and os_release.version_id.startswith('10.')):
# rootfull podman is not supported by all systems
# rootfull podman networking stopped working on Fedora 43 hosts when docker is installed
# RHEL >= 10 is also excluded due to https://github.com/containers/crun/issues/2059
user_scenarios.append(UserScenario())
for user_scenario in user_scenarios:

Loading…
Cancel
Save