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

Move SELinux debugging to the end #9876

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ Feature: Sanity checks
And socket "tftp" is active on "server"
And service "tomcat" is enabled on "server"
And service "tomcat" is active on "server"
And files on container volumes should all have the proper SELinux label

@proxy
Scenario: The proxy is healthy
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2025 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Sanity checks
In order for the server to behave correctly after a reboot
I want to be sure that there is no wrong SELinux label

Scenario: No previous operation has created wrong SELinux label
Then files on container volumes should all have the proper SELinux label
1 change: 0 additions & 1 deletion testsuite/features/core/allcli_sanity.feature
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ Feature: Sanity checks
And socket "tftp" is active on "server"
And service "tomcat" is enabled on "server"
And service "tomcat" is active on "server"
And files on container volumes should all have the proper SELinux label

@proxy
Scenario: The proxy is healthy
Expand Down
9 changes: 9 additions & 0 deletions testsuite/features/finishing/srv_selinux.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2025 SUSE LLC
# Licensed under the terms of the MIT license.

Feature: Sanity checks
In order for the server to behave correctly after a reboot
I want to be sure that there is no wrong SELinux label

Scenario: No previous operation has created wrong SELinux label
Then files on container volumes should all have the proper SELinux label
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# IMMUTABLE ORDER

# these features are needed for gathering log/debug info
- features/build_validation/finishing/srv_selinux.feature
- features/build_validation/finishing/srv_debug.feature
- features/build_validation/finishing/allcli_debug.feature

Expand Down
1 change: 1 addition & 0 deletions testsuite/run_sets/finishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

# IMMUTABLE ORDER
# these features are needed for gathering log/debug info
- features/finishing/srv_selinux.feature
- features/finishing/srv_debug.feature
- features/finishing/allcli_debug.feature
- features/finishing/srv_count_scc_access.feature
Expand Down
4 changes: 2 additions & 2 deletions testsuite/run_sets/secondary_finishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

## Finishing Secondary features BEGIN ##

# this feature is disruptive for other features, so it is better at the end
# these features are disruptive for other features, so they are better at the end
- features/secondary/srv_rename_hostname.feature
- features/finishing/srv_smdba.feature
- features/secondary/srv_smdba.feature

## Finishing Secondary features END ##