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

Comments

@fhs
Copy link
Contributor

@fhs 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
Copy link

@gopherbot gopherbot commented Jun 29, 2020

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

@gopherbot gopherbot closed this in 4b28f5d Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

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