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

sync: TestPoolChain occasionally fails on linux-arm64 #32265

Closed
erifan opened this issue May 27, 2019 · 3 comments
Closed

sync: TestPoolChain occasionally fails on linux-arm64 #32265

erifan opened this issue May 27, 2019 · 3 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@erifan
Copy link

erifan commented May 27, 2019

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

$ go version
go version devel +d97bd5d07a Sat May 25 22:38:01 2019 +0000 linux/arm64

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
GOARCH="arm64"
GOBIN=""
GOCACHE="/home/hostname/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/hostname/gopath"
GOPROXY=""
GORACE=""
GOROOT="/home/hostname/go1.12"
GOTMPDIR=""
GOTOOLDIR="/home/hostname/go1.12/pkg/tool/linux_arm64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/hostname/go-master/src/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build909981503=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Run all.bash

What did you expect to see?

ALL TESTS PASSED

What did you see instead?

--- FAIL: TestPoolChain (0.00s)
pool_test.go:242: popHead never succeeded
FAIL
FAIL sync 1.312s

The test was first added in https://go-review.googlesource.com/c/go/+/166957, and a comment said that "In theory it's possible in a valid schedule for popHead to never succeed, but in practice it almost always succeeds, so this is unlikely to flake". But this test occasionally fails on two of our machines. On one of these two machines, the frequency of this error is not small, it occurred six times in our last 11 runs.
\cc @aclements

@erifan
Copy link
Author

erifan commented May 27, 2019

This error can also be seen in the Go Dashboard:
https://build.golang.org/log/fb59b25c744918866a47130551b6c7cf09bf384e

@julieqiu
Copy link
Member

/cc @aclements @dvyukov

@julieqiu julieqiu added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label May 28, 2019
@bradfitz
Copy link
Contributor

Dup of #31422

@golang golang locked and limited conversation to collaborators May 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

4 participants