After run the test make selftest-static-run, 6 tests failed when executed on ARM64. These 6 tests passed on AMD64, but not on ARM64.
Environment:
Kernel version: 5.15.0-92-generic
platform: ARM64
Tests failed:
selftest/module-attach-detach
selftest/tracing
selftest/spinlocks
selftest/multiple-objects
selftest/set-attach
selftest/percpu
All tests that failed uses AttachGeneric() and the eBPF program uses type of probe fentry. As described here, attaching to a fentry program on ARM64 seems not be supported. It's possible to load but not attach.
- Because it's not supported on ARM64, should we disable these tests for ARM64?
- Add ARM64 images in the github workflow for selftests?
After run the test
make selftest-static-run, 6 tests failed when executed on ARM64. These 6 tests passed on AMD64, but not on ARM64.Environment:
Kernel version: 5.15.0-92-generic
platform: ARM64
Tests failed:
All tests that failed uses
AttachGeneric()and the eBPF program uses type of probefentry. As described here, attaching to a fentry program on ARM64 seems not be supported. It's possible to load but not attach.