Enable backward compat tests #2747
Labels
blocked
Blocked on another issue that must be done first
enhancement
New feature or request
P1
tests
triaged
Discussed in a triage meeting
Milestone
Describe the feature you'd like supported
To ensure eBPF platform is backward compatible, we need to enable tests for backward compatibility. Currently xdp-for-windows uses the test binaries from a previous release to execute on the latest bits, to ensure there is no regression.
We cannot do the same as most of our tests are unit_tests, which means they statically compile with the ebpfcore, api, etc. So there is no way to run the older tests against new binaries.
Currently there is a minimal test which loads a 0.9 native driver using latest drivers.
Proposed solution
The solution has basically 2 parts:
Part 1
We currently have some kernel tests. Automate the existing kernel tests for regression tests -- test binaries from previous releases should pass using the latest eBPF binaries. This can possibly be run as scheduled task.
Part 2
Refactor all the unit tests which use public eBPF APIs so that they can be compiled both for unit tests and for kernel tests.
Once this is done, automate these new kernel tests also for regression tests.
Additional context
No response
The text was updated successfully, but these errors were encountered: