-
Notifications
You must be signed in to change notification settings - Fork 174
Kernel Version Testing Framework CI implementation #1191
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
Comments
Note: points 1-3 are partially solved by https://github.com/alacuku/e2e-falco-tests, a PoC repo created for this very same reason. So, in the near future (ie: this week and the next one) the aim is to provide new images to be tested and implement the new Ansible tasks to build drivers and
We will need to:
|
See the donation proposal for @alacuku repo: falcosecurity/evolution#282 |
Status update: we were able to test on both x86 and aarch64 metal nodes the current https://github.com/alacuku/e2e-falco-tests implementation; it works fine. With this, what we still need is to add a github action self-hosted runner on our nodes, and build the CI. |
/assign @FedeDP |
Hey since friday, we have github pages support for the kernel test matrix :) I am going to move all the CI + gh pages stuff to libs |
I will move remaining tasks to a new tracking issue! |
See #1224 |
This issue will serve as a tracker for the implementation of the "Kernel Version Testing" framework for the Falco libs.
The framework aims to test the compatibility of the drivers (kmod, bpf, and the modern bpf) across different kernels and distributions by running
scap-open
anddrivers_test
functions. The testing environment will leverage Firecracker microVMs with OCI artifacts for storing kernels and images.The entire testing process will be orchestrated using an Ansible playbook, and the output will be a Markdown matrix detailing the test results.
It is, for all intents and purposes, an implementation of the detailed proposal merged ~ a week ago: https://github.com/falcosecurity/libs/blob/master/proposals/20230530-driver-kernel-testing-framework.md
Tasks
Set up Firecracker microVMs:
Implement OCI artifact storage:
falcosecurity/drivers_testing_{kernel,rootfs}
)Design and implement the Ansible playbook:
Generate the Markdown matrix:
Integration with CI/CD pipeline:
First Impl (ETA end of July)
Given all of the above, first implementation should be considered done when:
scap-open
to validate the drivers build and bpf verifiersSecond iteration
drivers_test
executable instead ofscap-open
to also verify drivers correct behaviorIdeas
Additional Notes
Please use this issue to track the progress of individual tasks related to the implementation of the Kernel Version Testing framework.
Update the task checkboxes as you make progress, and provide relevant details, code snippets, or documentation in the comments.
Feel free to ask any questions or seek clarification regarding the tasks!
The text was updated successfully, but these errors were encountered: