cilium / ebpf

ebpf-go is a pure-Go library to read, modify and load eBPF programs and attach them to various hooks in the Linux kernel.

Home Page:https://ebpf-go.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CI: TestMapBatch/Hash is flaky (arm64?)

lmb opened this issue · comments

Describe the bug

TestMapBatch/Hash fails due to ENOSPC on arm64.

=== Failed
=== FAIL: . TestMapBatch/Hash (0.01s)
    quicktest.go:12: 
        error:
          got non-nil value
        got:
          e"no space left on device"
        stack:
          /home/runner/actions-runner/_work/ebpf/ebpf/map_test.go:167
            qt.Assert(t, qt.IsNil(err))
        

=== FAIL: . TestMapBatch (0.01s)

https://github.com/cilium/ebpf/actions/runs/8388876993/job/22973993334?pr=1366#step:5:311

How to reproduce

Unclear.

Version information

main

Thinking out loud: maybe we're only seeing this on arm64 since that runner has more cores than the VM based tests (which only have two cpus)?

Just hit this on 6.6 / amd64:

 === FAIL: . TestMapBatch/Hash (0.01s)
    quicktest.go:12: 
        error:
          got non-nil value
        got:
          e"no space left on device"
        stack:
          /home/runner/work/ebpf/ebpf/map_test.go:167
            qt.Assert(t, qt.IsNil(err))

https://github.com/cilium/ebpf/actions/runs/9448347532/job/26022255052?pr=1477#step:8:247