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

runtime: TestGcSys fails on linux/amd64 #28574

Open
tmthrgd opened this Issue Nov 3, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@tmthrgd
Contributor

tmthrgd commented Nov 3, 2018

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

$ go version
go version devel +1645dfa23f Fri Nov 2 23:22:57 2018 +0000 linux/amd64

Does this issue reproduce with the latest release?

It reproduces at master.

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

go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/tom/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/tom/go"
GOPROXY=""
GORACE=""
GOROOT="/home/tom/go/dev-go"
GOTMPDIR=""
GOTOOLDIR="/home/tom/go/dev-go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
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 -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build842792331=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Tried to build go at master with ./all.bash.

What did you expect to see?

Test passing with:

ok  	runtime XX.XXXs

What did you see instead?

Test failed with:

--- FAIL: TestGcSys (0.05s)
    gc_test.go:33: expected "OK\n", but got "using too much memory: 70877184 bytes\n"
FAIL
FAIL	runtime	18.959s

This is the same issue as #27636 and #27156, but for linux/amd64 under Fedora 29.

@agnivade

This comment has been minimized.

Member

agnivade commented Nov 3, 2018

I am unable to reproduce this. Does this happen to you consistently ?

@tmthrgd

This comment has been minimized.

Contributor

tmthrgd commented Nov 3, 2018

@agnivade It's only happened once, and I don't seem to be able to reproduce it.

@bcmills

This comment has been minimized.

Member

bcmills commented Dec 3, 2018

I just caught one in a local all.bash run on my workstation. Not much to go on, though.

--- FAIL: TestGcSys (0.03s)
    gc_test.go:33: expected "OK\n", but got "using too much memory: 70813696 bytes\n"
FAIL
FAIL    runtime 26.806s

@bcmills bcmills added the Testing label Dec 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment