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 and drivers_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:
-
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:
Second iteration
Ideas
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!
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-openanddrivers_testfunctions. 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-opento validate the drivers build and bpf verifiersSecond iteration
drivers_testexecutable instead ofscap-opento 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!