Project

General

Profile

Actions

action #168682

closed

openQA Tests (public) - action #166613: Yast default selected LSM changes from Apparmor to SELinux, existing openQA test fails in first_boot

[Containers] Establish AppArmor and SELinux test runs on Tumbleweed

Added by cahu 2 months ago. Updated 10 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
2024-10-22
Due date:
% Done:

0%

Estimated time:

Description

In Tumbleweed currently the container test runs only run with AppArmor. However https://bugzilla.suse.com/show_bug.cgi?id=1230118 showed us that we need to also run the container test runs with SELinux enabled.

This ticket is about establishing test scenarios for podman and for docker using SELinux and AppArmor, where AppArmor should be used right now for the test runs.

The result should be dedicated scenarios for each security framework, e.g. containers_host_podman_SELinux and containers_host_podman_AppArmor.

Acceptance criteria

  • AC1 Tumbleweed test runs for the podman engine are being tested with SELinux and with AppArmor in separate test scenarios
  • AC2 Tumbleweed test runs for the docker engine are being tested with SELinux and with AppArmor in separate test scenarios
Actions #1

Updated by cahu 2 months ago

could also be the case here:

but i am not 100% sure, it is tricky for me to understand the test case fully

Actions #2

Updated by cahu 2 months ago

just a quick note: for the verification runs you can create an iso as described here:
https://bugzilla.suse.com/show_bug.cgi?id=1230118#c7

Actions #3

Updated by cahu about 1 month ago

  • Parent task set to #166613
Actions #4

Updated by cahu 29 days ago

  • Tags set to bugbusters
Actions #5

Updated by szarate 28 days ago

  • Assignee set to ph03nix
Actions #6

Updated by szarate 28 days ago

reassigning to qe-c

Actions #7

Updated by ph03nix 24 days ago

  • Project changed from openQA Tests (public) to Containers and images
  • Category deleted (Bugs in existing tests)
Actions #8

Updated by ph03nix 24 days ago

  • Subject changed from test fails in runc-root_tap to [Containers] Establish AppArmor and SELinux test runs on Tumbleweed
  • Description updated (diff)
  • Status changed from New to Workable
  • Assignee deleted (ph03nix)
Actions #9

Updated by ph03nix 24 days ago

Refined, ready to pick-up.

Actions #10

Updated by ph03nix 24 days ago

For test runs like containers_host_podman_runc we likely also need to make two scenarios out of them (SELinux and AppArmor).

Actions #11

Updated by rbranco 16 days ago

  • Assignee set to rbranco
Actions #12

Updated by rbranco 14 days ago

  • Status changed from Workable to In Progress
Actions #13

Updated by rbranco 11 days ago

  • Tags changed from bugbusters to bugbusters, containers
Actions #14

Updated by rbranco 10 days ago

Enabling on x86_64 & aarch64 for now:
https://github.com/os-autoinst/opensuse-jobgroups/pull/574

Actions #15

Updated by rbranco 10 days ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF