Skip to content

TestHaveProgramType/Extension fails on kernels >6.7 #1451

@lmb

Description

@lmb

Describe the bug

Running the testsuite against new kernels results in an error:

--- FAIL: TestHaveProgramType (0.07s)
    --- FAIL: TestHaveProgramType/Extension (0.00s)
        feature.go:30: Feature 'Extension' isn't supported even though kernel is newer than v5.6
FAIL
FAIL	github.com/cilium/ebpf/features	0.670s
FAIL

How to reproduce

Using newest vimto:

vimto -kernel :stable-selftests -- go test -short -count 1 ./features

Version information

main

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions