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

Run netkit test in separate network namespace #1577

Open
ti-mo opened this issue Oct 3, 2024 · 1 comment
Open

Run netkit test in separate network namespace #1577

ti-mo opened this issue Oct 3, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ti-mo
Copy link
Collaborator

ti-mo commented Oct 3, 2024

This blew up on my machine today:

--- FAIL: TestNetkitAnchor (0.00s)
    quicktest.go:12:
        error:
          got non-nil value
        got:
          e"netlink receive: file exists"
        stack:
          /home/timo/github/cilium/ebpf/link/netkit_test.go:95
            qt.Assert(tb, qt.IsNil(err))
          /home/timo/github/cilium/ebpf/link/netkit_test.go:32
            linkA, ifIndex := mustAttachNetkit(t, a, ebpf.AttachNetkitPrimary)

FAIL

This test should be running in a new netns so it doesn't interfere with the host's network stack.

@ti-mo ti-mo added bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed labels Oct 3, 2024
@mingdaoy
Copy link

mingdaoy commented Nov 5, 2024

Hi @ti-mo I'd like to take a crack at this one. Let me know if it's still up for grabs!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
Status: No status
Development

No branches or pull requests

2 participants