Closed
Description
Go1.6rc1 on Windows 7, CGO_ENABLE=0:
--- FAIL: TestInterfaceAddrsWithNetsh (36.29s)
net_windows_test.go:446: VMware Network Adapter VMnet8: unexpected addresses list ["192.168.209.1/24" "fe80::1587:c020:5827:b719"], want []
FAIL
FAIL net 120.223s
The underlying cause is that netsh doesn't print anything when queried for this interface:
> netsh interface ipv4 show address name="VMware Network Adapter VMnet8"
[Nothing, just two blank lines]
But all information is output if not asked for this specific interface:
> netsh interface ipv4 show address
[...snip...]
Configuration for interface "VMware Network Adapter VMnet8"
DHCP enabled: No
IP Address: 192.168.209.1
Subnet Prefix: 192.168.209.0/24 (mask 255.255.255.0)
InterfaceMetric: 20
[...snip...]
If the adapter is disabled this tests passes but then TestInterfaceHardwareAddrWithGetmac fails:
net_windows_test.go:528: getmac lists "VMware Network Adapter VMnet8", but it could not be found among Go interfaces
There might be some problem with this interface on Windows side.