-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
testing: TestRaceDuringParallelFailsAllSubtests failures #66098
Comments
Found new dashboard test flakes for:
2024-03-04 17:32 gotip-linux-amd64-longtest-race go@c2734187 testing.TestRaceDuringParallelFailsAllSubtests (log)
|
@golang/compiler, this looks like a false-negative from the race detector. (I don't see any way that the test in question could fail to produce the intended race.) |
Interesting, I'm not sure what we can do about that. The race detector, IIUC, is always potentially going to have false negatives. Perhaps someone who's familiar with the race detector internals could help. CC @dvyukov maybe? |
Positive race tests are executed with GOMAXPROCS=1 for this reason. Do testing package tests do it? Another option is to repeat positive tests multiple tests, if it fails at least once (on N/M times), that's good enough. |
Found new dashboard test flakes for:
2024-11-01 20:11 gotip-linux-arm64-race go@47cd14f2 testing.TestRaceDuringParallelFailsAllSubtests (log)
|
Issue created automatically to collect these failures.
Example (log):
— watchflakes
The text was updated successfully, but these errors were encountered: