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: TestResolveIPAddr and TestLookupPort_Minimal fails #17175

Closed
alexbrainman opened this issue Sep 21, 2016 · 2 comments
Closed

net: TestResolveIPAddr and TestLookupPort_Minimal fails #17175

alexbrainman opened this issue Sep 21, 2016 · 2 comments
Milestone

Comments

@alexbrainman
Copy link
Member

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version devel +35d22af Wed Sep 21 01:25:29 2016 +0000 windows/386

What operating system and processor architecture are you using (go env)?

set GOARCH=386
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=386
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=c:\dev
set GORACE=
set GOROOT=c:\dev\go
set GOTOOLDIR=c:\dev\go\pkg\tool\windows_386
set CC=gcc
set GOGCCFLAGS=-m32 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\DOCUME1\brainman\LOCALS1\Temp\go-build716372902=/tmp/go-build -gno-record-gcc-switches
set CXX=g++
set CGO_ENABLED=1

What did you do?

I run go test -short net command.

What did you expect to see?

I expect command to PASS.

What did you see instead?

--- FAIL: TestResolveIPAddr (0.00s)
        iprawsock_test.go:60: #6: lookup IPv6-ICMP: getprotobyname: The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for.
--- FAIL: TestLookupPort_Minimal (0.00s)
        lookup_test.go:693: LookupPort("tcp", "ssh") = 0, lookup tcp/ssh: getaddrinfow: The specified class was not found.; want 22, error=nil
FAIL
FAIL    net     23.362s

Alex

@bradfitz
Copy link
Contributor

Yet it works fine on our builders, so perhaps you can tell us what's different about your system? Like, what version of Windows do you have?

That said, this is a regression I introduced and I know where it is.

@bradfitz bradfitz self-assigned this Sep 21, 2016
@bradfitz bradfitz added this to the Go1.8 milestone Sep 21, 2016
@alexbrainman
Copy link
Member Author

what version of Windows do you have?

C:\>systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name:                   Microsoft Windows XP Professional
OS Version:                5.1.2600 Service Pack 3 Build 2600

But all broken tests are network related. I don't know what to print for these.

Alex

@golang golang locked and limited conversation to collaborators Sep 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants