Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add testing support for OpenSUSE Tumbleweed #21335

Draft
wants to merge 59 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
e0f2280
spec: Allow building cockpit for tumbleweed testing
Nykseli May 27, 2024
ab4302e
test: Set opensuse specific cockpit.pam file
SludgeGirl Nov 13, 2024
4cc003e
.gitignore: Ignore test results
SludgeGirl May 29, 2024
eecfb6a
test: Add helper function for system admin user
SludgeGirl Nov 13, 2024
0a8d287
test: fix existing RUF031: Avoid parentheses for tuples in subscripts
SludgeGirl Nov 26, 2024
ec698d4
test: Add SUSE to package cases
SludgeGirl May 29, 2024
0924383
test: Set the lease path to /run/dnsmasq due to apparmour policy on TW
SludgeGirl May 30, 2024
5c1232f
test: Update sshd_path logic to be global
SludgeGirl May 30, 2024
d1dcb7f
system: Add support for suse platforms
SludgeGirl May 30, 2024
575f84b
test: Add support for suse to cpu migitgation tests
SludgeGirl May 30, 2024
d1089ae
test: Add in login.defs path for tumbleweed
SludgeGirl May 30, 2024
8523738
test: Remove password access for all users in sudoers for SUSE
SludgeGirl Jun 3, 2024
bf240b5
test: Add suse specific configuration for pam test
SludgeGirl Jun 3, 2024
8b21fe4
storage: fallback to starting multipathd if mpathconf doesn't exist
SludgeGirl Jun 3, 2024
4d8c106
test: Skip a few unsupported tests
SludgeGirl Jun 3, 2024
9be58b2
test: Exclude suse images from sos report tests
SludgeGirl Jun 4, 2024
2517341
test: Overwrite default tumbleweed cgroup and memoryaccounting settings
SludgeGirl Jun 4, 2024
796b087
test: Skip selinux tests for suse
SludgeGirl Jun 4, 2024
36eee2b
test: run this without superuser since tw assumes it as su
SludgeGirl Jun 5, 2024
d7ec9fd
test: Add check docs case for Tumbleweed
SludgeGirl Jun 6, 2024
8bd5ad4
tests: Tumbleweed doesn't have sshd.socket
SludgeGirl Jun 7, 2024
6e78bd5
test: ChallengeResponseAuthentication to no on tumbleweed otherwise pam
SludgeGirl Jun 7, 2024
e71a3e2
test: Don't run tlog tests on Tumbleweed
SludgeGirl Jun 7, 2024
ec0b8ef
test: set useradd defaults on suse images
Nykseli Jun 10, 2024
8797635
test: temporarily unlock root on suse images
Nykseli Jun 10, 2024
3a04ac5
test: SUSE Images have different path for password complexity require…
SludgeGirl Jun 11, 2024
b1f4327
test: Add faillock configuration for SUSE images
SludgeGirl Jun 11, 2024
d4fcabb
test: Make lastlog silent to prevent unexpected journal messages
SludgeGirl Jun 11, 2024
adc139a
test: SUSE images use a different path for default pam files
SludgeGirl Jun 11, 2024
e531951
test: ignore missing btmp file journal messages
Nykseli Jun 11, 2024
89abe03
tests: add specific login logic for tumbleweed
Nykseli Jun 19, 2024
37ed3bd
test: Skip TestAD for suse images
Nykseli Jun 19, 2024
d43386d
test: Parse comments out of os-release file
Nykseli Jun 19, 2024
fd91467
tests: Check right image on suse images
Nykseli Jun 19, 2024
bc781e4
test: Check the right shell indicator on suse images
Nykseli Jun 19, 2024
78beade
test: prefix values with = so comments don't get matched
SludgeGirl Jun 11, 2024
a55f6f4
firewall: Improve handling of service retrieval for Tumbleweed
SludgeGirl Jun 18, 2024
1cee618
test: Amend mapping for Tumbleweed as 50000 is mrt
SludgeGirl Jun 18, 2024
e8408c3
cockpitconf: Always check against system config directories
SludgeGirl Jun 26, 2024
7c04921
test: Add Tumbleweed workaround for passwordless ssh
SludgeGirl Jun 26, 2024
e57f1fb
test: Add kdump support for tumbleweed
SludgeGirl Jun 26, 2024
dba53de
test: Add Tumbleweeds redis target
SludgeGirl Jun 26, 2024
6703137
test: Update Tumbleweeds pam path
SludgeGirl Jun 26, 2024
d722fbc
test: Update config path for Tumbleweed
SludgeGirl Jun 26, 2024
6b79abd
test: Update suse images to use valkey
SludgeGirl Jul 18, 2024
fa069fa
test: Exclude SUSE images from stratis tests
SludgeGirl Jul 19, 2024
916efb9
test: Resolve default tumbleweed repos to lo
SludgeGirl Jul 19, 2024
cd30555
test: Add in handling for package cases using zypper backend
SludgeGirl Jul 19, 2024
c878e1e
test: Update the correct path for suse's pam
SludgeGirl Jul 23, 2024
4ed8264
test: Add support for suse's valkey.target
SludgeGirl Jul 25, 2024
80e8852
test: Tumbleweed lacks kpatch
SludgeGirl Jul 25, 2024
6b8f564
test: Skip Kerberos tests as suse lacks ipa-client-install util
SludgeGirl Jul 26, 2024
4c242ee
test: Skip testConfiguration since SUSE has it's own test for this
SludgeGirl Jul 26, 2024
832c835
test: Skip TestIPA on tumbleweed due to missing ipa-client-install util
SludgeGirl Jul 29, 2024
20bb19e
test: Add support for TW valkey.target
SludgeGirl Jul 30, 2024
17c5595
test: Only add user group if it doesn't already exist
SludgeGirl Jul 30, 2024
58e6d98
test: Exclude tumbleweed from running auto update test install
SludgeGirl Jul 30, 2024
64ec395
test: Multihost is enabled in tumbleweed by default
SludgeGirl Oct 23, 2024
05fc7c8
test: Skip tests that are unsupported on Tumbleweed
SludgeGirl Nov 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion test/verify/check-system-realms
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,11 @@ fi
ipa-getkeytab -p HTTP/x0.cockpit.lan -k %(keytab)s

# HACK: due to sudo's "last rule wins", our /etc/sudoers rule becomes trumped by sssd's, so swap the order
sed -i '/^sudoers:/ s/files sss/sss files/' /etc/nsswitch.conf
if [ -f /etc/nsswitch.conf ]; then
sed -i '/^sudoers:/ s/files sss/sss files/' /etc/nsswitch.conf
else
sed -i '/^sudoers:/ s/files sss/sss files/' /usr/etc/nsswitch.conf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You know the pattern by now 😁

fi
"""

# This is here because our test framework can't run ipa VM's twice
Expand Down