netlink icon indicating copy to clipboard operation
netlink copied to clipboard

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

Open aaaaaaaalex opened this issue 1 year ago • 1 comments

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 :thinking:

Thanks for any help.

aaaaaaaalex avatar Nov 15 '23 15:11 aaaaaaaalex

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

byteocean avatar Jan 24 '24 13:01 byteocean