action #168583
openaction #166613: Yast default selected LSM changes from Apparmor to SELinux, existing openQA test fails in first_boot
[qe-core] test fails in yast2_snapper_ncurses - test needs to use a directory in selinux directory
0%
Description
Tumbleweed iso test with SELinux enabled by default, see context:
https://bugzilla.suse.com/show_bug.cgi?id=1230118
also see: https://progress.opensuse.org/issues/166613
we only allow certain snapshots to be labeled snapperd_data_t, so if the test will use /test, the files are not labeled correctly
so either the test case will need to relabel /test manually or it should use a standard snapshot directory, e.g. something from that list:
https://github.com/openSUSE/selinux-policy/blob/13ccc20ff8436e65846543af843778ae32d5389e/policy/modules/contrib/snapper.fc#L12
Observation¶
openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-yast2_ncurses@64bit fails in
yast2_snapper_ncurses
Test suite description¶
Maintainer: qsf-y Test for yast2 UI, ncurses only. Running on created gnome images which provides both text console for ncurses UI tests as well as the gnome environment for the GUI tests.
riafarov set TIMEOUT_SCALE to improve stability of the test.
Reproducible¶
Fails since (at least) Build 20241008-SELinux (current job)
Expected result¶
Last good: 20241009 (or more recent)
Further details¶
Always latest result in this scenario: latest