chore: pin ubuntu:latest for gh runners / trigger magic_write event #4455
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1. Explain what the PR does
9e6e4d4 chore(test): use more cmd to trigger magic_write event
e442ebd Revert "chore(GH): pin ubuntu (22.04) version for gh runners"
e442ebd Revert "chore(GH): pin ubuntu (22.04) version for gh runners"
2. Explain how to test it
3. Other comments
The GitHub runner currently uses ubuntu:latest (Ubuntu 24.04 LTS), which includes kernel 6.8. Initially, the version of the Ubuntu runner was pinned because Tracee needed to be tested with kernel 6.8.
After conducting tests on kernel 6.8 and confirming that everything worked as expected, the pinning was reverted.
The reason for pinning and later reverting the version was due to two failing integration tests. These tests relied on the command
cp /etc/netconfig /tmp/netconfig
to generate amagic_write
event. However, starting from kernel 6.8, this command no longer triggers amagic_write
event. Instead, the tests were updated to use themore
command, which works as expected with kernel 6.8.