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

kola: Add checks for SELinux AVC messages #572

Draft
wants to merge 4 commits into
base: flatcar-master
Choose a base branch
from

Conversation

krnowak
Copy link
Member

@krnowak krnowak commented Jan 7, 2025

This adds a check for SELinux AVC messages in the kola test suite with an option of skipping it.

Kola does some checks after every test run. They are just regexps,
that will cause the test to fail if they match. The regexps are being
run over the contents of the console output and journal. We add
another check to match the AVC denial line ("avc: denied { … } …").
There is a flag to skip the check in case a test wants to actually
generate an AVC and check for it itself.
These start off with an old version of Flatcar and get updated to a
new one.
@krnowak krnowak force-pushed the krnowak/avc-check branch from b3dd673 to 1b7b540 Compare January 8, 2025 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant