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

Comments

Projects
None yet
3 participants
@alexbrainman
Copy link
Member

commented Apr 14, 2016

  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

This comment has been minimized.

Copy link
Contributor

commented Apr 14, 2016

Does the node under test support IPv6?

@alexbrainman

This comment has been minimized.

Copy link
Member Author

commented Apr 14, 2016

Does the node under test support IPv6?

How can I tell?

Alex

@mikioh

This comment has been minimized.

Copy link
Contributor

commented Apr 14, 2016

How can I tell?

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

@alexbrainman

This comment has been minimized.

Copy link
Member Author

commented Apr 14, 2016

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

supportsIPv6 variable is false.

Alex

@mikioh

This comment has been minimized.

Copy link
Contributor

commented Apr 14, 2016

J'ai compris.

@gopherbot

This comment has been minimized.

Copy link

commented Apr 14, 2016

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

@gopherbot gopherbot closed this in 285e786 Apr 14, 2016

@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.
You can’t perform that action at this time.