You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What operating system and processor architecture are you using (go env)?
set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=c:\users\alex\dev
set GORACE=
set GOROOT=c:\users\alex\dev\go1.7
set GOTOOLDIR=c:\users\alex\dev\go1.7\pkg\tool\windows_amd64
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\Alex\AppData\Local\Temp\go-build434466894=/tmp/go-build -gno-record-gcc-switches
set CXX=g++
set CGO_ENABLED=1
What did you do?
I run:
go test -v -run=TestHostKeyCert golang.org/x/crypto/ssh
What did you expect to see?
I expect test pass.
What did you see instead?
Test fails:
=== RUN TestHostKeyCert
--- FAIL: TestHostKeyCert (0.00s)
certs_test.go:184: netPipe: dial tcp [::]:54283: connectex: The requested address is not val
id in its context.
FAIL
exit status 1
FAIL golang.org/x/crypto/ssh 0.674s
kevinburke
changed the title
x/crypto/ssh: TestHostKeyCert fails with: netPipe: dial tcp [::]:54283: connectex: The requested address is not val id in its context.
x/crypto/ssh: TestHostKeyCert fails with: netPipe: dial tcp [::]:54283: connectex: The requested address is not valid in its context.
Apr 16, 2017
What version of Go are you using (
go version
)?go version go1.7 windows/amd64
What operating system and processor architecture are you using (
go env
)?set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=c:\users\alex\dev
set GORACE=
set GOROOT=c:\users\alex\dev\go1.7
set GOTOOLDIR=c:\users\alex\dev\go1.7\pkg\tool\windows_amd64
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\Alex\AppData\Local\Temp\go-build434466894=/tmp/go-build -gno-record-gcc-switches
set CXX=g++
set CGO_ENABLED=1
What did you do?
I run:
What did you expect to see?
I expect test pass.
What did you see instead?
Test fails:
The code
seems to do what documentation recomends - see https://golang.org/pkg/net/#Dial
So I do not know how to fix this.
Discovered while investigating failed build of crypto release-branch.go1.7 on openbsd, plan9 and windows:
https://build.golang.org/log/2e657fbd75f7b1ca0e52e551af2c90bf56c1b3b9
https://build.golang.org/log/ea5b593440872582438c912aa7c4d5ecdfe32f5c
https://build.golang.org/log/e086a54ad3c3ff1c7dc65d4803e48850253720c5
Alex
The text was updated successfully, but these errors were encountered: