-
Notifications
You must be signed in to change notification settings - Fork 18k
misc/cgo/test: TestParallelSleep is still flaky #45586
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
Comments
Very odd that this would have suddenly occurred on three different platforms. Assuming that the original bug was not recurred, this is basically testing how long it takes to start a new goroutine. Very hard to believe that it would take half a second when nothing else should be going on. |
2021-11-04T07:05:31-2622235/windows-amd64-2012 |
One more today. This test failure seems potentially relevant to #44343, too.
|
|
Marking as release-blocker for Go 1.19. (If this isn't a priority to fix for 1.19, we should skip the test so that it doesn't continue to add noise to the builders.) |
For reference, this test was added for issue #1560. It starts two parallel 1 second sleeps and checks that they overlap by at least 500 ms. I'm not surprised this is flaky because it's fundamentally sensitive to timing and scheduling. It also takes a second to run. I'm inclined to just delete this test. I think it's doing more harm than good. |
I'll replace with a test for the same problem that is not timing dependent. |
Change https://go.dev/cl/400194 mentions this issue: |
2021-04-15T12:38:13-7ad496b/windows-amd64-2012
2021-04-14T00:25:33-8dcc071/linux-ppc64le-buildlet
2020-04-19T03:12:32-a32262d/netbsd-amd64-9_0
See previously #6636, #5638, #5480, #4008, #3964.
CC @ianlancetaylor
The text was updated successfully, but these errors were encountered: