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

cmd/go: TestMissingCC fails when run at HEAD after make.bash #56888

Closed
bcmills opened this issue Nov 21, 2022 · 2 comments
Closed

cmd/go: TestMissingCC fails when run at HEAD after make.bash #56888

bcmills opened this issue Nov 21, 2022 · 2 comments
Assignees
Labels
FrozenDueToAge GoCommand cmd/go NeedsFix The path to resolution is known, but the work has not been done. release-blocker
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented Nov 21, 2022

~$ gotip version
go version devel go1.20-85a2c19b32 Mon Nov 21 21:14:38 2022 +0000 linux/amd64

~$ gotip env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/usr/local/google/home/bcmills/.cache/go-build"
GOENV="/usr/local/google/home/bcmills/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/usr/local/google/home/bcmills/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/usr/local/google/home/bcmills"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/google/home/bcmills/sdk/gotip"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/google/home/bcmills/sdk/gotip/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="devel go1.20-85a2c19b32 Mon Nov 21 21:14:38 2022 +0000"
GCCGO="/usr/local/google/home/bcmills/bin/gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="c++"
CGO_ENABLED="1"
GOMOD="/dev/null"
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 -fdebug-prefix-map=/tmp/go-build2133074861=/tmp/go-build -gno-record-gcc-switches"

~$ gotip test cmd/go -run=TestMissingCC
--- FAIL: TestMissingCC (0.18s)
    go_test.go:2942: running testgo [list -f {{.Stale}}:{{.StaleReason}} net]
    go_test.go:2942: standard output:
    go_test.go:2942: false:

    go_test.go:2948: running testgo [list -f {{.Stale}}:{{.StaleReason}} net]
    go_test.go:2948: standard output:
    go_test.go:2948: true:build ID mismatch

    go_test.go:2950: clearing "PATH" causes "net" to be stale
FAIL
FAIL    cmd/go  0.250s
FAIL

I am bisecting now. I suspect this was broken by CL 450739, but I have no explanation as to why it is not failing on the build dashboard. 😵‍💫

@bcmills bcmills added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Nov 21, 2022
@bcmills bcmills self-assigned this Nov 21, 2022
@bcmills bcmills added this to the Go1.20 milestone Nov 21, 2022
@bcmills bcmills added the GoCommand cmd/go label Nov 21, 2022
@bcmills
Copy link
Contributor Author

bcmills commented Nov 21, 2022

Indeed, bisected to https://go.dev/cl/450739.

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/452457 mentions this issue: cmd/go: do not install .a files for packages in std

@dmitshur dmitshur added NeedsFix The path to resolution is known, but the work has not been done. and removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Nov 21, 2022
@golang golang locked and limited conversation to collaborators Nov 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge GoCommand cmd/go NeedsFix The path to resolution is known, but the work has not been done. release-blocker
Projects
None yet
Development

No branches or pull requests

3 participants