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

(5.15.0-82-generic) Test failures for github.com/vishvananda/netlink #926

Open
aaaaaaaalex opened this issue Nov 15, 2023 · 1 comment
Open

Comments

@aaaaaaaalex
Copy link
Contributor

Hi, just wondering do I need to configure my machine a certain way before running tests...

Running sudo -E $(which go) test . leads to failures in the following:

--- FAIL: TestAddrAdd (0.00s)
    addr_test.go:92: Address flags not set properly, got=128, expected=132
--- FAIL: TestAddrReplace (0.00s)
    addr_test.go:92: Address flags not set properly, got=128, expected=132
--- FAIL: TestConntrackTableList (0.02s)
    conntrack_test.go:165: Found only 0 flows over 5
--- FAIL: TestConntrackTableFlush (0.03s)
    conntrack_test.go:220: Found only 0 flows over 5
--- FAIL: TestConntrackTableDelete (0.02s)
    conntrack_test.go:301: Flow creation issue groupA:0, groupB:0
--- FAIL: TestNetNsIdByFd (0.00s)
    netns_test.go:38: GetNetNsIdByFd returned 0, want 3636723712
--- FAIL: TestNetNsIdByPid (0.00s)
    netns_test.go:77: GetNetNsIdByPid returned 0, want 3637968896
--- FAIL: TestSEG6RouteAddDel (0.01s)
    route_test.go:1551: Invalid Type. SEG6_IPTUN_MODE_INLINE routes not added properly
2023/11/15 15:41:46 lookup localhost: Temporary failure in name resolution
FAIL    github.com/vishvananda/netlink  23.238s
FAIL

Im trying this on main branch, HEAD pointing at 95ab6696a5e09cbb11acd23e76a25c82e68f8868

In particular I'm hoping to get the conntrack tests working - not sure if Conntrack flows actually exist and are simply not bubbling up, or if theyre not being created at all 🤔

Thanks for any help.

@byteocean
Copy link
Contributor

it fails on my side as well. I think either the tests or the corresponding functionality needs to be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants