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: TestLookupNonLDH also fails on linux/amd64 #17623

slrz opened this issue Oct 26, 2016 · 1 comment

net: TestLookupNonLDH also fails on linux/amd64 #17623

slrz opened this issue Oct 26, 2016 · 1 comment


Copy link

@slrz slrz commented Oct 26, 2016

The new test (from CL 31468) fails on at least some Linux systems. The Plan 9 version of this bug is #17568.

This is on current tip (go version devel +31f50643c36b Wed Oct 26 22:35:07 2016 +0000 linux/amd64), using the cgo resolver (glibc-2.24-3.fc25.x86_64, i.e. 2.24 plus whatever patches Fedora adds to it).

Output of go test -run=NonLDH net:

=== RUN   TestLookupNonLDH
--- FAIL: TestLookupNonLDH (0.00s)
    lookup_test.go:734: lookup error = lookup !!!.###.bogus..domain.: No address associated with hostname, want no such host
FAIL    net 0.004s

And indeed, the test receives EAI_NODATA/-5 from gai:

getaddrinfo("!!!.###.bogus..domain.", nil, 0xc42007d0e0, 0xc42009e098) = -5
gai_strerror(-5)                                                       = "No address associated with hostn"...

How do we deal with it?

@mikioh mikioh added this to the Go1.8 milestone Oct 28, 2016
Copy link

@gopherbot gopherbot commented Oct 28, 2016

CL mentions this issue.

@gopherbot gopherbot closed this in 69b7fe1 Oct 28, 2016
@golang golang locked and limited conversation to collaborators Oct 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants