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

flake: TestMapIteratorAllocations #1449

Open
lmb opened this issue Apr 26, 2024 · 0 comments
Open

flake: TestMapIteratorAllocations #1449

lmb opened this issue Apr 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lmb
Copy link
Collaborator

lmb commented Apr 26, 2024

Describe the bug

Seems like TestMapIteratorAllocations is flaky.

=== FAIL: . TestMapIteratorAllocations (0.03s)
    quicktest.go:12: 
        error:
          values are not equal
        got:
          float64(1)
        want:
          float64(0)
        stack:
          /home/runner/work/ebpf/ebpf/map_test.go:1124
            qt.Assert(t, qt.Equals(allocs, float64(0)))

How to reproduce

$ go test -exec sudo -run TestMapIteratorAllocations -count 10000 .
--- FAIL: TestMapIteratorAllocations (0.00s)
    quicktest.go:12: 
        error:
          values are not equal
        got:
          float64(1)
        want:
          float64(0)
        stack:
          /home/lorenz/dev/ebpf/map_test.go:1124
            qt.Assert(t, qt.Equals(allocs, float64(0)))
        
--- FAIL: TestMapIteratorAllocations (0.00s)
    quicktest.go:12: 
        error:
          values are not equal
        got:
          float64(1)
        want:
          float64(0)
        stack:
          /home/lorenz/dev/ebpf/map_test.go:1124
            qt.Assert(t, qt.Equals(allocs, float64(0)))
        
FAIL
FAIL	github.com/cilium/ebpf	0.532s
FAIL

Version information

main

@lmb lmb added the bug Something isn't working label Apr 26, 2024
@lmb lmb changed the title flake: flake: TestMapIteratorAllocations Apr 26, 2024
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

1 participant