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: TestIgnoreLameReferrals failure #16718

Closed
gfoxiii opened this issue Aug 16, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@gfoxiii
Copy link

commented Aug 16, 2016

Please answer these questions before submitting your issue. Thanks!

  1. What version of Go are you using (go version)?
    go version go1.6 darwin/amd64
  2. What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN="/Users/rex/workspace/github/go/1.6/bin"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/rex/workspace/go"
GORACE=""
GOROOT="/Users/rex/workspace/github/go/1.6"
GOTOOLDIR="/Users/rex/workspace/github/go/1.6/pkg/tool/darwin_amd64"
GO15VENDOREXPERIMENT="1"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1"
  1. What did you do?

~/workspace/github/go/1.7/go/src$ ./all.bash

--- FAIL: TestIgnoreLameReferrals (0.00s)
    dnsclient_unix_test.go:589: got address 220.255.2.153, want 192.0.2.1
FAIL
FAIL    net 2.239s

  1. What did you expect to see?

go version go1.6 darwin/amd64 -> go version go1.7 darwin/amd64

  1. What did you see instead?

nothing else !

@bradfitz bradfitz changed the title TestIgnoreLameReferrals net: TestIgnoreLameReferrals failure Aug 16, 2016

@mdempsky

This comment has been minimized.

Copy link
Member

commented Aug 17, 2016

Does go test -run TestIgnoreLameReferrals net reliably fail for you?

If so, can you run the process under strace (or whatever OS X has) and/or tcpdump to see what's going on? That test should be self-contained and not talk to the network at all. It's puzzling where 220.255.2.153 would come from.

Oh, do you have www.golang.org in your /etc/hosts by any chance?

@gfoxiii

This comment has been minimized.

Copy link
Author

commented Aug 18, 2016

/etc/hosts

# 220.255.2.153 www.golang.org

go version

go version go1.7 darwin/amd64

Thx!

@gfoxiii gfoxiii closed this Aug 18, 2016

@golang golang locked and limited conversation to collaborators Aug 18, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.