net: test fails - TestLookupDotsWithLocalSource #15881
Comments
apparently this does not present itself in version 1.5.4 just to be sure I then checked out 1.6.2 again and git cleaned fdx, ran all.bash and it fails on the same test again. so for now, i'm stuck with 1.5.4 |
What does your (For what it's worth, this test failure is not all that serious. At the point of the failure your Go build is installed and working.) |
Oh, I didn't know it was still working fine. I'll recompile 1.6.2 then. /etc/hosts
dig
|
This is probably related to your circumstances. Can you show us the following:
|
resolv.conf
nsswitch.conf
passwd: files publickey: files hosts: files mdns_minimal [NOTFOUND=return] dns myhostname protocols: files netgroup: files # End /etc/nsswitch.conf i'm not sure what you mean by the second point. what else could be setting this? |
Ah, you are using telus, that's enough for investigation, thanks. Probably we should skip TestLookupDotsWithLocalSource in short-mode on non-buildbots/trybots for avoiding complicated testing. |
For the record, this might happen when the node under test uses a) some agent software that touches/modifies the local database file /etc/hosts, and b) some full resolver that provides local-data/local-zone-like RR caches. From go1.6, the check on /etc/hosts runs every 5 secs, not every 5 mins. My dumb hypothesis is that;
|
FYI: this stopped happening with go 1.6.2, and the test continues to pass in go 1.7rc2 as well |
go version: 1.6.2 - also present when testing master branch
linux/amd64
trying to run all.bash eventually fails on testing packages.
--- FAIL: TestLookupDotsWithLocalSource (0.02s) lookup_test.go:457: netgo: got localhost.; want localhost FAIL FAIL net 1.958s
I saw issue #14050 but my /etc/hosts does not contain any trailing dots.
The text was updated successfully, but these errors were encountered: