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
Labels
FrozenDueToAge Testing An issue that has been verified to require only test changes, not just a test failure.
Milestone

Comments

@bradfitz
Copy link
Contributor

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 An issue that has been verified to require only test changes, not just a test failure. label May 6, 2015
@mikioh
Copy link
Contributor

mikioh commented May 6, 2015

Thanks, sent: https://go-review.googlesource.com/#/c/9777/

@gopherbot
Copy link

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

@mikioh mikioh closed this as completed 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.
Labels
FrozenDueToAge Testing An issue that has been verified to require only test changes, not just a test failure.
Projects
None yet
Development

No branches or pull requests

3 participants