-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Open
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Description
What version of Go are you using (go version
)?
$ go version go version go1.13 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env
)?
go env
Output
$ go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/Users/cuonglm/Library/Caches/go-build" GOENV="/Users/cuonglm/Library/Application Support/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GONOPROXY="" GONOSUMDB="" GOOS="darwin" GOPATH="/Users/cuonglm/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/Users/cuonglm/sdk/go1.13" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/Users/cuonglm/sdk/go1.13/pkg/tool/darwin_amd64" GCCGO="gccgo" AR="ar" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/y4/hs76ltbn7sb66lw_6934kq4m0000gn/T/go-build839999394=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
$ export GO111MODULE=off
$ go1.13 get -d github.com/loadimpact/k6
$ cd $GOPATH/src/github.com/loadimpact/k6/js
$ go1.13 test -count=1 -race -run=TestVUIntegrationClientCerts/Unauthenticated
--- FAIL: TestVUIntegrationClientCerts (5.16s)
--- FAIL: TestVUIntegrationClientCerts/Unauthenticated (0.56s)
--- FAIL: TestVUIntegrationClientCerts/Unauthenticated/Source (0.11s)
Error Trace: runner_test.go:1168
Error: Error message not equal:
expected: "GoError: Get https://127.0.0.1:51407: remote error: tls: bad certificate"
actual : "GoError: Get https://127.0.0.1:51407: readLoopPeekFailLocked: remote error: tls: bad certificate"
Test: TestVUIntegrationClientCerts/Unauthenticated/Source
--- FAIL: TestVUIntegrationClientCerts/Unauthenticated/Archive (0.11s)
Error Trace: runner_test.go:1168
Error: Error message not equal:
expected: "GoError: Get https://127.0.0.1:51407: remote error: tls: bad certificate"
actual : "GoError: Get https://127.0.0.1:51407: readLoopPeekFailLocked: remote error: tls: bad certificate"
Test: TestVUIntegrationClientCerts/Unauthenticated/Archive
FAIL
exit status 1
FAIL github.com/loadimpact/k6/js 5.344s
What did you expect to see?
Test passed.
What did you see instead?
Test failed.
Note
- The test will pass with go1.11 to go1.12.9 or go1.13 without
-race
. - The problem also occurs in
linux/amd64
.
Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.