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: TestDialerLocalAddr failing on Plan 9 #39931

Closed
fhs opened this issue Jun 29, 2020 · 1 comment
Closed

net: TestDialerLocalAddr failing on Plan 9 #39931

fhs opened this issue Jun 29, 2020 · 1 comment
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. OS-Plan9

Comments

@fhs
Copy link
Contributor

fhs commented Jun 29, 2020

After recent change (my fault), TestDialerLocalAddr is failing:

--- FAIL: TestDialerLocalAddr (0.19s)
    dial_test.go:665: tcp4 0.0.0.0:0->127.0.0.1: got dial tcp4 0.0.0.0:0->127.0.0.1:35970: write /net/tcp/clone: not a local IP address; want <nil>
    dial_test.go:665: tcp4 0.0.0.0:0->127.0.0.1: got dial tcp4 0.0.0.0:0->127.0.0.1:35970: write /net/tcp/clone: not a local IP address; want <nil>
    dial_test.go:665: tcp6 0.0.0.0:0->::1: got dial tcp6 0.0.0.0:0->[::1]:54007: write /net/tcp/clone: not a local IP address; want <nil>
    dial_test.go:665: tcp6 0.0.0.0:0->::1: got dial tcp6 0.0.0.0:0->[::1]:54007: write /net/tcp/clone: not a local IP address; want <nil>
    dial_test.go:665: tcp6 [::]:0->::1: got dial tcp6 [::]:0->[::1]:54007: write /net/tcp/clone: not a local IP address; want <nil>
    dial_test.go:665: tcp 0.0.0.0:0->127.0.0.1: got dial tcp 0.0.0.0:0->127.0.0.1:35970: write /net/tcp/clone: not a local IP address; want <nil>
    dial_test.go:665: tcp 0.0.0.0:0->127.0.0.1: got dial tcp 0.0.0.0:0->127.0.0.1:35970: write /net/tcp/clone: not a local IP address; want <nil>
    dial_test.go:665: tcp 0.0.0.0:0->::1: got dial tcp 0.0.0.0:0->[::1]:54007: write /net/tcp/clone: not a local IP address; want <nil>
    dial_test.go:665: tcp 0.0.0.0:0->::1: got dial tcp 0.0.0.0:0->[::1]:54007: write /net/tcp/clone: not a local IP address; want <nil>
    dial_test.go:665: tcp [::]:0->::1: got dial tcp [::]:0->[::1]:54007: write /net/tcp/clone: not a local IP address; want <nil>
    dial_test.go:665: tcp [::]:0->127.0.0.1: got dial tcp [::]:0->127.0.0.1:35970: write /net/tcp/clone: not a local IP address; want <nil>
FAIL
exit status: 'net.test 1446: 1'
FAIL	net	15.973s

Apparently this test doesn't get run if you don't have IPv6, and none of the plan9 builders have IPv6 enabled either. The test fails after adding the IPv6 loopback device:

ip/ipconfig -P loopback /dev/null ::1 /128

@0intro Can we enable IPv6 in at least one of the builder?

@gopherbot add labels OS-Plan9, NeedsFix

@gopherbot gopherbot added NeedsFix The path to resolution is known, but the work has not been done. OS-Plan9 labels Jun 29, 2020
@gopherbot
Copy link

Change https://golang.org/cl/240464 mentions this issue: net: fix TestDialerLocalAddr on Plan 9

@golang golang locked and limited conversation to collaborators Jun 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. OS-Plan9
Projects
None yet
Development

No branches or pull requests

2 participants