cilium/ebpf

CI: TestMapBatch/Hash is flaky (arm64?)

lmb opened this issue · 2 comments

lmb commented

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

lmb commented

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)?

lmb commented

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