From the linux-ppc64le-power9osu builder (https://build.golang.org/log/8415a2011de6d02d89ecb3587ca3ac2735d86b3d):
# go run run.go -- fixedbugs/issue21576.go
exit status 1
2019/10/10 03:23:05 Unmatched error message "fatal error: all goroutines are asleep - deadlock!":
in
exit status 1
FAIL fixedbugs/issue21576.go 8.596s
In #21576 (comment), @odeke-em notes:
Too low of a deadline and it could become a flake during tests, too high of
a deadline and it could stall building the Go tree and running other tests.
5seconds is a heuristic that I thought was a decently good enough time for
go run to have successfully started.
Does that explain this failure?
Would it be possible to code the test in a way that does not depend on timing? (What is the harm in having a higher timeout, assuming that the test has not regressed?)
From the
linux-ppc64le-power9osubuilder (https://build.golang.org/log/8415a2011de6d02d89ecb3587ca3ac2735d86b3d):In #21576 (comment), @odeke-em notes:
Does that explain this failure?
Would it be possible to code the test in a way that does not depend on timing? (What is the harm in having a higher timeout, assuming that the test has not regressed?)