<p dir="auto">I am trying to build go on IPv6 only machine and seeing following error:<br>
--- FAIL: TestDialTimeout (0.01s)<br>
dial_test.go:108: got error "dial tcp 127.0.0.1:61521: connection reset by peer"; not a timeout<br>
--- FAIL: TestIPv4MulticastListener (0.00s)<br>
multicast_test.go:55: First ListenMulticastUDP on  failed: listen udp 224.0.0.254: setsockopt: no such device<br>
FAIL<br>
FAIL    net     2.086s</p>
<p dir="auto">Test should check if IPv4/IPv6 addresses assigned on the machine before starting test.</p>
<pre class="notranslate"><a href="http://www.freebsd.org/ipv6/ipv6only.html" rel="nofollow">http://www.freebsd.org/ipv6/ipv6only.html</a>

Sure, it fails, of course.</pre>