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

time: test timeout in TestAfterFunc on linux-s390x-ibm builder #43067

bcmills opened this issue Dec 8, 2020 · 2 comments

time: test timeout in TestAfterFunc on linux-s390x-ibm builder #43067

bcmills opened this issue Dec 8, 2020 · 2 comments


Copy link

@bcmills bcmills commented Dec 8, 2020


panic: test timed out after 3m0s

goroutine 39 [running]:
	/data/golang/workdir/go/src/testing/testing.go:1702 +0xda
created by time.goFunc
	/data/golang/workdir/go/src/time/sleep.go:169 +0x42

goroutine 1 [chan receive]:
testing.(*T).Run(0xc000082300, 0x1ed080, 0xd, 0x264e18, 0x1000000000f426a)
	/data/golang/workdir/go/src/testing/testing.go:1241 +0x2b6
	/data/golang/workdir/go/src/testing/testing.go:1513 +0x7e
testing.tRunner(0xc000001200, 0xc000051dd0)
	/data/golang/workdir/go/src/testing/testing.go:1195 +0xd8
testing.runTests(0xc00000c510, 0x392a20, 0x6d, 0x6d, 0xbfebd562060a492f, 0x29e8e0786a, 0x396180, 0x28dbd6)
	/data/golang/workdir/go/src/testing/testing.go:1511 +0x2e6
testing.(*M).Run(0xc000140000, 0x0)
	/data/golang/workdir/go/src/testing/testing.go:1419 +0x1d8
	_testmain.go:373 +0x142

goroutine 30 [chan receive]:
	/data/golang/workdir/go/src/testing/testing.go:1061 +0x104
	/data/golang/workdir/go/src/time/format_test.go:762 +0x30
testing.tRunner(0xc000149980, 0x2650b8)
	/data/golang/workdir/go/src/testing/testing.go:1195 +0xd8
created by testing.(*T).Run
	/data/golang/workdir/go/src/testing/testing.go:1240 +0x296

goroutine 49 [chan receive]:
	/data/golang/workdir/go/src/time/sleep_test.go:62 +0x108
testing.tRunner(0xc000082300, 0x264e18)
	/data/golang/workdir/go/src/testing/testing.go:1195 +0xd8
created by testing.(*T).Run
	/data/golang/workdir/go/src/testing/testing.go:1240 +0x296
FAIL	time	180.003s

This is the only one of these failures I've seen, so I'm not sure whether it's just a slow builder (CC @ruixin-bao @rajaskakodkar), another runtime timer bug (CC @prattmic @ianlancetaylor), or perhaps some other recently-added slow test pushing the running time over the limit.

Copy link

@jonathan-albrecht-ibm jonathan-albrecht-ibm commented Dec 11, 2020

@bcmills, I had a look at the linux-s390x-ibm builders this morning.
There are two hosts and on each of them I checked out and built the latest go master (commit e508c1c).
I ran the 'time' tests with go test -count=10 time 3 times (30 runs total) on each host and got 6.3s/run consistently.

I don't think it looks like a slow builder but let me know if I'm missing something or if I can try anything else. I'm new so any pointers are appreciated.

Copy link

@prattmic prattmic commented Dec 11, 2020

A timeout in time test is quite similar to #42515, so it could be another timer bug, though probably not the exact same one, as that one seems to be netbsd-specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants