Project

General

Profile

Actions

action #166613

open

Yast default selected LSM changes from Apparmor to SELinux, existing openQA test fails in first_boot

Added by cahu 7 months ago. Updated 24 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Bugs in existing tests
Target version:
-
Start date:
2024-10-21
Due date:
% Done:

84%

Estimated time:
(Total: 41.00 h)
Difficulty:

Description

The test failure in Staging:D (see below) is caused because we changed the default LSM selected in Yast from AppArmor to
SELinux, so this needs to be adapted in the openQA tests.
I started working on a fix, which fixes the concrete test case currently:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/20125
However, as @dimstar mentioned upgrade scenarios are not covered and since I am not a openQA test developer,
I struggle to understand which tests needs further adaptation.

Could you have a look and show me which test cases need changes or create a fix?
Thanks a lot :)

Test failure report:

Observation

openQA test in scenario opensuse-Staging:D-Staging-DVD-x86_64-textmode@64bit fails in
first_boot

Test suite description

Installation in textmode and selecting the textmode "desktop" during installation.

Reproducible

Fails since (at least) Build D.630.1 (current job)

Expected result

Last good: D.629.1 (or more recent)

Further details

Always latest result in this scenario: latest


Subtasks 23 (4 open19 closed)

action #167662: [security][tumbleweed] test fails in aa_enforce: audit 4.0 changes need adaptionResolvedamanzini

Actions
action #168445: [security][tumbleweed] audit 4: test fails in ausearch and aulastlogResolvedFSzekely

Actions
action #168571: [security][tumbleweed] test fails in aa_status aa_enforce usr_sbin_smbd settings_disable_enable_apparmor yast2_apparmorWorkable2024-10-21

Actions
action #168574: [security] test fails in selinux_setupResolvedamanzini2024-10-21

Actions
Containers and images - action #168577: [containers] test fails in kubectl helm_K3S - missing k3s-selinux or container-selinuxResolvedrbranco2024-10-21

Actions
action #168583: [qe-core] test fails in yast2_snapper_ncurses - test needs to use a directory in selinux directoryResolvedrfan12024-10-21

Actions
action #168586: [qe-core] test fails in SysctlWorkabledzedro2024-10-21

Actions
action #168589: [qe-core] test fails in wireguardResolvedrfan12024-10-21

Actions
Containers and images - action #168682: [Containers] Establish AppArmor and SELinux test runs on TumbleweedResolvedrbranco2024-10-22

Actions
action #169591: [qe-core] Introduce selinux_* methods in version_utilsResolvedvkatkalov2024-11-08

Actions
action #170461: test fails in wpa_supplicantIn Progresscvidot2024-11-28

Actions
action #170467: [qe-core] test fails in vsftpdResolvedXiaojing_liu2024-11-28

Actions
action #173638: [security][tumbleweed] Test also 'targeted' selinux policy on TumbleweedResolvedfavogt

Actions
action #175320: [security][tumbleweed] sestatus does not use has_selinux and fails on selinux enabled tumbleweed buildResolvedfavogt

Actions
action #175329: test fails in openqa_bootstrapResolved2025-01-13

Actions
action #175338: [security] test fails in quotaResolvedtjyrinki_suse2025-01-13

Actions
action #175401: test fails in muttRejected2025-01-14

Actions
Containers and images - action #175419: [MinimalVM] Prepare for switch to SELinux as default MAC in TumbleweedClosed2025-01-14

Actions
action #175497: test fails in boot_into_snapshotResolvedfavogt2025-01-15

Actions
action #175839: test fails in cifsResolvedfavogt2025-01-20

Actions
action #175890: test fails in rsync_clientResolvedfavogt2025-01-21

Actions
action #175965: test fails in vnc_two_passwordsResolvedfavogt2025-01-22

Actions
action #176667: delete test yast2_nfs_clientBlockedcvidot2025-02-06

Actions

Related issues 1 (0 open1 closed)

Related to Containers and images - action #168703: [MinimalVM] Ensure SELinux status is checkedResolvedrmarliere2024-10-22

Actions
Actions

Also available in: Atom PDF