=== RUN TestLinuxClientLinkModes
=== RUN TestLinuxClientLinkModes/OK
client_linux_test.go:292: unexpected link mode (-want +got):
[]*ethtool.LinkMode{
&{
Interface: {Index: 1, Name: "eth0"},
SpeedMegabits: 1000,
Ours: []ethtool.AdvertisedLinkMode{
- {Index: 4, Name: "1000baseT/Half"},
+ {Index: 28, Name: "56000baseCR4/Full"},
- {Index: 5, Name: "1000baseT/Full"},
+ {Index: 29, Name: "56000baseSR4/Full"},
},
Peer: nil,
Duplex: s"Half",
},
&{
Interface: {Index: 2, Name: "eth1"},
SpeedMegabits: 10000,
Ours: []ethtool.AdvertisedLinkMode{
- {Index: 10, Name: "FIBRE"},
+ {Index: 18, Name: "10000baseKX4/Full"},
- {Index: 12, Name: "10000baseT/Full"},
+ {Index: 20, Name: "10000baseR/FEC"},
},
Peer: nil,
Duplex: s"Full",
},
}
--- FAIL: TestLinuxClientLinkModes (0.00s)
--- FAIL: TestLinuxClientLinkModes/OK (0.00s)
s390x is big-endian, so possibly this is an endian decode issue.
Another test that fails on Debian CI infrastructure (s390x):
s390x is big-endian, so possibly this is an endian decode issue.