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: TestListTemplateContextFunction fail during all.bash #22584

Closed
mewmew opened this issue Nov 5, 2017 · 1 comment
Closed

cmd/go: TestListTemplateContextFunction fail during all.bash #22584

mewmew opened this issue Nov 5, 2017 · 1 comment

Comments

@mewmew
Copy link
Contributor

mewmew commented Nov 5, 2017

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

go version devel +c4b65fa4cc Sun Nov 5 04:18:05 2017 +0000 linux/amd64

Does this issue reproduce with the latest release?

This is the latest release, and the issue is encountered during all.bash.

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

GOARCH="amd64"
GOBIN=""
GOCACHE="/home/u/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/u/goget:/home/u/Desktop/go"
GORACE=""
GOROOT="/home/u/go"
GOTMPDIR=""
GOTOOLDIR="/home/u/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
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 -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build878900111=/tmp/go-build -gno-record-gcc-switches"

What did you do?

If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.

Run all.bash on rev c4b65fa

What did you expect to see?

Successful completion of all.bash with status code 0.

What did you see instead?

u@x220 ~/g/src> time ./all.bash 
Building Go cmd/dist using /home/u/go1.4.
Building Go toolchain1 using /home/u/go1.4.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
Building Go toolchain3 using go_bootstrap and Go toolchain2.
Building packages and commands for linux/amd64.

##### Testing packages.
--- FAIL: TestListTemplateContextFunction (0.00s)
    --- FAIL: TestListTemplateContextFunction/InstallSuffix (0.02s)
    	go_test.go:2715: running testgo [list -f {{context.InstallSuffix}}]
    	go_test.go:2715: standard error:
    	go_test.go:2715: can't load package: package cmd/go: open /home/u/go/src/cmd/go/override.h: no such file or directory
    		
    	go_test.go:2715: go [list -f {{context.InstallSuffix}}] failed unexpectedly: exit status 1
FAIL
FAIL	cmd/go	68.333s
@gopherbot
Copy link

Change https://golang.org/cl/76398 mentions this issue: cmd/go: don't run TestUserOverrideFlags in parallel

@golang golang locked and limited conversation to collaborators Nov 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants