-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed as not planned
Labels
FrozenDueToAgecompiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Description
Go version
go version go1.21.6 linux/amd64
Output of go env in your module/workspace:
GO111MODULE='on'
GOARCH='amd64'
GOBIN=''
GOCACHE='/root/.cache/go-build'
GOENV='/root/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS='-buildvcs=false'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOMODCACHE='/home/testwill/test/pkg/mod'
GONOPROXY='x.x.x.x'
GONOSUMDB='x.x.x.x'
GOOS='linux'
GOPATH='/home/testwill/test'
GOPRIVATE='x.x.x.x'
GOPROXY='https://goproxy.cn,direct'
GOROOT='/usr/local/go/'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.6'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/usr/local/go/src/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build98824346=/tmp/go-build -gno-record-gcc-switches'What did you do?
go test ./...
What did you see happen?
--- FAIL: TestStack (0.01s)
stack_test.go:73: found GOROOT "/usr/local/go/" from environment; checking embedded GOROOT value
stack_test.go:115: in line "\t/usr/local/go/src/runtime/debug/stack.go:24 +0x5e", expected prefix "\t/usr/local/go//src/runtime/debug/stack.go"
stack_test.go:116: in line "\t/usr/local/go/src/runtime/debug/stack_test.go:31", expected prefix "\t/usr/local/go//src/runtime/debug/stack_test.go"
stack_test.go:117: in line "\t/usr/local/go/src/runtime/debug/stack_test.go:34", expected prefix "\t/usr/local/go//src/runtime/debug/stack_test.go"
stack_test.go:118: in line "\t/usr/local/go/src/runtime/debug/stack_test.go:56 +0x2c", expected prefix "\t/usr/local/go//src/runtime/debug/stack_test.go"
stack_test.go:119: in line "\t/usr/local/go/src/testing/testing.go:1595 +0xff", expected prefix "\t/usr/local/go//src/testing/testing.go"
FAIL
FAIL runtime/debug 0.099s
What did you expect to see?
ok runtime/debug 0.116s
Metadata
Metadata
Assignees
Labels
FrozenDueToAgecompiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.