-
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
runtime/pprof: TestCPUProfileWithFork failures with stuck writerDescriptor
goroutines
#59995
Comments
Found new dashboard test flakes for:
2023-05-04 17:28 darwin-amd64-race go@60c724c5 runtime/pprof.TestCPUProfileWithFork (log)
|
Found new dashboard test flakes for:
2023-05-10 14:30 darwin-amd64-race go@8e8303e1 runtime/pprof.TestCPUProfileWithFork (log)
|
Found new dashboard test flakes for:
2023-05-10 21:44 darwin-amd64-race go@3f9521b2 runtime/pprof.TestCPUProfileWithFork (log)
|
Darwin's fork is weird, so this might be related to that? |
Found new dashboard test flakes for:
2023-05-23 17:16 darwin-amd64-race go@4e679e26 runtime/pprof.TestCPUProfileWithFork (log)
|
writerDescriptor
goroutines
These hangs seem possibly similar to #60365. |
Looking more closely at these stack traces, there are some really weird things. One of them makes it look like No luck in reproducing in a gomote so far. |
Found new dashboard test flakes for:
2023-06-21 19:47 darwin-amd64-race go@b23cae80 runtime/pprof.TestCPUProfileWithFork (log)
|
These are all on |
We could confirm or refute that with SIGQUIT stack traces. Should be easy enough with |
Change https://go.dev/cl/507356 mentions this issue: |
This comment was marked as resolved.
This comment was marked as resolved.
Looking more closely at the test, the child process doesn't run I think the
|
To me this is looking like a dup of #60108, combined with some kind of scheduler deadlock that causes |
If the test is about to time out, testenv.Command sends SIGQUIT to the child process. The runtime's SIGQUIT goroutine dump should help us to determine whether the hangs observed in TestCPUProfileWithFork are a symptom of #60108 or a separate bug. For #59995. Updates #60108. Change-Id: I26342ca262b2b0772795c8be142cfcad8d90db30 Reviewed-on: https://go-review.googlesource.com/c/go/+/507356 Run-TryBot: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Cherry Mui <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Auto-Submit: Bryan Mills <[email protected]>
Found new dashboard test flakes for:
2023-08-01 17:16 darwin-amd64-race go@b6898dde runtime/pprof.TestCPUProfileWithFork (log)
|
Found new dashboard test flakes for:
2023-07-19 21:06 darwin-amd64-race go@03c7e96b runtime/pprof.TestCPUProfileWithFork (log)
|
This comment was marked as off-topic.
This comment was marked as off-topic.
That last one is a different failure mode (#59679). Updated the |
As of the resolution of #61768, I think this is also fixed. gopherbot will reopen it if not true, but we haven't seen any issues in a couple weeks. |
Issue created automatically to collect these failures.
Example (log):
— watchflakes
The text was updated successfully, but these errors were encountered: