Skip to content

net: TestUnixConnLocalWindows fails on windows/386 #27943

Closed
@alexbrainman

Description

@alexbrainman

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

go version devel +ef50373983 Sat Sep 29 20:25:24 2018 +0000 windows/386

Does this issue reproduce with the latest release?

It does not reproduce with go1.11.

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

set GOARCH=386
set GOBIN=
set GOCACHE=C:\Users\Alex\AppData\Local\go-build
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=386
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=c:\users\alex\dev
set GOPROXY=
set GORACE=
set GOROOT=c:\users\alex\dev\go
set GOTMPDIR=
set GOTOOLDIR=c:\users\alex\dev\go\pkg\tool\windows_386
set GCCGO=gccgo
set GO386=sse2
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m32 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\Alex\AppData\Local\Temp\go-build163066518=/tmp/go-build -gno-record-gcc-switches

What did you do?

I run

go test -short net

command.

What did you expect to see?

I expected test to PASS.

What did you see instead?

--- FAIL: TestUnixConnLocalWindows (0.00s)
unixsock_windows_test.go:50: listen unix C:\Users\Alex\AppData\Local\Temp\go-nettest923896474: bind: An invalid argument was supplied.
FAIL
FAIL net 6.603s

/cc @mattn
Alex

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions