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: TestDialAddrError failure on Windows XP #15291

Closed
alexbrainman opened this issue Apr 14, 2016 · 6 comments
Closed

net: TestDialAddrError failure on Windows XP #15291

alexbrainman opened this issue Apr 14, 2016 · 6 comments
Milestone

Comments

@alexbrainman
Copy link
Member

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

go version devel +ae98045 Thu Apr 14 00:41:29 2016 +0000 windows/386

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

I use Windows XP.

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-build795879670=/tmp/go-build -gno-record-gcc-switches
set CXX=g++
set CGO_ENABLED=1

  1. What did you do?

I run go test -short net command.

  1. What did you expect to see?

I expected no failing tests.

  1. What did you see instead?

C:>go test -short net
--- FAIL: TestDialAddrError (0.00s)
error_test.go:245: tcp6 ""/0123456789abcdef:0: should be AddrError: dial tcp6 0123456789abcdef:0: socket: An address incompatible with the requested protocol was used.
FAIL
FAIL net 23.328s

Alex

@mikioh mikioh added this to the Go1.7 milestone Apr 14, 2016
@mikioh
Copy link
Contributor

mikioh commented Apr 14, 2016

Does the node under test support IPv6?

@alexbrainman
Copy link
Member Author

Does the node under test support IPv6?

How can I tell?

Alex

@mikioh
Copy link
Contributor

mikioh commented Apr 14, 2016

How can I tell?

What's the value of supportsIPv6 in net package on the node?

@alexbrainman
Copy link
Member Author

What's the value of supportsIPv6 in net package on the node?

supportsIPv6 variable is false.

Alex

@mikioh
Copy link
Contributor

mikioh commented Apr 14, 2016

J'ai compris.

@gopherbot
Copy link

CL https://golang.org/cl/22077 mentions this issue.

@golang golang locked and limited conversation to collaborators Apr 14, 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