mirror of
https://github.com/ansible/ansible.git
synced 2026-08-02 00:22:14 +02:00
Skip podman rootful tests on RHEL10 (#86785)
This commit is contained in:
@@ -192,9 +192,11 @@ def get_test_scenarios() -> list[TestScenario]:
|
|||||||
]
|
]
|
||||||
|
|
||||||
if engine == 'podman':
|
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 is not supported by all systems
|
||||||
# rootfull podman networking stopped working on Fedora 43 hosts when docker is installed
|
# 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))
|
user_scenarios.append(UserScenario(ssh=ROOT_USER))
|
||||||
|
|
||||||
# TODO: test podman remote on Alpine and Ubuntu hosts
|
# 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'):
|
if os_release.id not in ('alpine', 'ubuntu'):
|
||||||
user_scenarios.append(UserScenario(remote=unprivileged_user))
|
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 is not supported by all systems
|
||||||
# rootfull podman networking stopped working on Fedora 43 hosts when docker is installed
|
# 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())
|
user_scenarios.append(UserScenario())
|
||||||
|
|
||||||
for user_scenario in user_scenarios:
|
for user_scenario in user_scenarios:
|
||||||
|
|||||||
Reference in New Issue
Block a user