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

fix: fix e2e test with extensions and SELinux #9803

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dsseng
Copy link
Member

@dsseng dsseng commented Nov 26, 2024

Skip SELinux test when system extensions are active, we'll work on that in a bit. Also elaborate more on SELinux test errors.

Signed-off-by: Dmitry Sharshakov dmitry.sharshakov@siderolabs.com

Skip SELinux test when system extensions are active, we'll work on that in a bit. Also elaborate more on SELinux test errors.

Signed-off-by: Dmitry Sharshakov <dmitry.sharshakov@siderolabs.com>
@@ -152,6 +153,13 @@ func (suite *SELinuxSuite) checkFileLabels(nodes []string, expectedLabels map[st
suite.T().Skip("skipping SELinux test since SELinux is disabled")
}

// TODO: do not skip the test if system extensions are enabled
Copy link
Member

Choose a reason for hiding this comment

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

probably easier to check if either extensions.qemu or extensions.nvidia is set

Copy link
Member Author

Choose a reason for hiding this comment

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

But what if we just run locally? Well, for CI that'd suffice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants