-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
context: BenchmarkWithTimeout/concurrency tests hang if -test.timeout=30m used on linux/{amd64,ppc64le,...} #42402
Comments
I got this test to hang on one system without setting the timeout option. |
This is just the same issue with #42237 |
This probably has the same root cause as #42424. |
This is not happening for me with the latest master on ppc64le. |
@laboger, thanks for verifying! |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Does not hang in go 11.5.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
cd context
go test -test.bench=Timeout -test.timeout=30m -test.count=100
What did you expect to see?
Benchmarks complete with benchmark timing output.
What did you see instead?
One of the Timeout benchmarks hangs and the benchmarks do not finish.
go test -test.bench=Timeout -test.timeout=30m -test.count=100
goos: linux
goarch: ppc64le
pkg: context
BenchmarkWithTimeout/concurrency=40-16 317062 3244 ns/op
BenchmarkWithTimeout/concurrency=40-16 318670 3236 ns/op
BenchmarkWithTimeout/concurrency=40-16 383541 3008 ns/op
BenchmarkWithTimeout/concurrency=40-16 372940 3123 ns/op
BenchmarkWithTimeout/concurrency=40-16 (stops here.... )
Same behavior on amd64.
Trying some earlier commits, I found one from early September that does not hang but more experiments needed.
The text was updated successfully, but these errors were encountered: