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

net: IPv6 tests fail when IPv6 is disabled #10721

Closed
bradfitz opened this issue May 6, 2015 · 2 comments
Closed

net: IPv6 tests fail when IPv6 is disabled #10721

bradfitz opened this issue May 6, 2015 · 2 comments
Milestone

Comments

@bradfitz
Copy link
Contributor

@bradfitz bradfitz commented May 6, 2015

@mikioh, on my home Linux server I had to disable IPv6 yesterday because Comcast stopped routing it for a few hours and made all Google services break (thanks, Comcast), but it also means the net package started failing:

$ go test -short
--- FAIL: TestDualStackTCPListener (0.00s)
        listen_test.go:227: skipping tcp  test
        listen_test.go:227: skipping tcp  test
        listen_test.go:227: skipping tcp 0.0.0.0 test
        listen_test.go:227: skipping tcp  test
        listen_test.go:227: skipping tcp :: test
        listen_test.go:227: skipping tcp 0.0.0.0 test
        listen_test.go:227: skipping tcp :: test
        listen_test.go:227: skipping tcp ::ffff:0.0.0.0 test
        listen_test.go:227: skipping tcp :: test
        listen_test.go:227: skipping tcp4  test
        listen_test.go:227: skipping tcp6  test
        listen_test.go:227: skipping tcp4 0.0.0.0 test
        listen_test.go:227: skipping tcp6 :: test
        listen_test.go:238: no dualstack port available
--- FAIL: TestDualStackUDPListener (0.00s)
        listen_test.go:311: skipping udp  test
        listen_test.go:311: skipping udp  test
        listen_test.go:311: skipping udp 0.0.0.0 test
        listen_test.go:311: skipping udp  test
        listen_test.go:311: skipping udp :: test
        listen_test.go:311: skipping udp 0.0.0.0 test
        listen_test.go:311: skipping udp :: test
        listen_test.go:311: skipping udp ::ffff:0.0.0.0 test
        listen_test.go:311: skipping udp :: test
        listen_test.go:311: skipping udp4  test
        listen_test.go:311: skipping udp6  test
        listen_test.go:311: skipping udp4 0.0.0.0 test
        listen_test.go:311: skipping udp6 :: test
        listen_test.go:322: no dualstack port available

I have sysctl:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.br0.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.docker0.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.lxcbr0.disable_ipv6 = 1
net.ipv6.conf.virbr0.disable_ipv6 = 1
net.ipv6.conf.virbr1.disable_ipv6 = 1
net.ipv6.conf.vnet0.disable_ipv6 = 1
@bradfitz bradfitz added this to the Go1.5 milestone May 6, 2015
@mikioh mikioh added the Testing label May 6, 2015
@mikioh

This comment has been minimized.

Copy link
Contributor

@mikioh mikioh commented May 6, 2015

@gopherbot

This comment has been minimized.

Copy link

@gopherbot gopherbot commented May 7, 2015

CL https://golang.org/cl/9777 mentions this issue.

@mikioh mikioh closed this in f963cb7 May 7, 2015
@mikioh mikioh removed their assignment May 27, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.