Skip to content
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

Some tests fail on ARM64 #425

Open
rscampos opened this issue Apr 16, 2024 · 1 comment
Open

Some tests fail on ARM64 #425

rscampos opened this issue Apr 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@rscampos
Copy link
Collaborator

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?
@geyslan geyslan added the bug Something isn't working label Apr 16, 2024
@geyslan geyslan added this to the next-bug-fixes-milestone milestone Apr 16, 2024
@geyslan
Copy link
Member

geyslan commented Apr 16, 2024

Thanks for diving into it, @rscampos.

I would proceed by disabling tests for arm64 and adding this arch into the github workflow, just as you suggested. The latter would help us detect breaks in that arch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants