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

Open
bcmills opened this issue Dec 8, 2020 · 2 comments
Open

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

bcmills opened this issue Dec 8, 2020 · 2 comments
Labels
arch-s390x Issues solely affecting the s390x architecture. Builders x/build issues (builders, bots, dashboards) NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented Dec 8, 2020

2020-12-08T01:46:45-9c91cab/linux-s390x-ibm

panic: test timed out after 3m0s

goroutine 39 [running]:
testing.(*M).startAlarm.func1()
	/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
testing.runTests.func1(0xc000001200)
	/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
main.main()
	_testmain.go:373 +0x142

goroutine 30 [chan receive]:
testing.(*T).Parallel(0xc000149980)
	/data/golang/workdir/go/src/testing/testing.go:1061 +0x104
time_test.TestParseYday(0xc000149980)
	/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]:
time_test.TestAfterFunc(0xc000082300)
	/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.

@bcmills bcmills added Builders x/build issues (builders, bots, dashboards) NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. arch-s390x Issues solely affecting the s390x architecture. labels Dec 8, 2020
@bcmills bcmills added this to the Backlog milestone Dec 8, 2020
@jonathan-albrecht-ibm
Copy link
Contributor

@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.

@prattmic
Copy link
Member

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
Labels
arch-s390x Issues solely affecting the s390x architecture. Builders x/build issues (builders, bots, dashboards) 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

3 participants