Skip to content

Some tests fail on ARM64 #425

Description

@rscampos

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions