-
Notifications
You must be signed in to change notification settings - Fork 18k
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
net/http/cgi: TestCopyError failures due to unexpected child process #57369
Comments
Found new dashboard test flakes for:
2022-12-08 18:29 darwin-amd64-12_0 go@f368abb4 net/http/cgi.TestCopyError (log)
|
Found new dashboard test flakes for:
2023-02-15 21:52 darwin-amd64-12_0 go@7b398b1f net/http/cgi.TestCopyError (log)
|
Found new dashboard test flakes for:
2023-04-27 22:26 darwin-amd64-13 go@afe2d222 net/http/cgi.TestCopyError (log)
|
Found new dashboard test flakes for:
2023-05-11 19:07 darwin-amd64-13 go@a2737b1a net/http/cgi.TestCopyError (log)
|
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This looks like another instance of #63937. |
Change https://go.dev/cl/554075 mentions this issue: |
Hmm, maybe not. The test can also also fail spuriously if the CGI process's PID is quickly reused by another long-running process (such as another test running in parallel). |
…ne instead of a running PID Previously, the test could fail spuriously if the CGI process's PID happened to be reused in between checks. That sort of reuse is highly unlikely on platforms that cycle through the PID space sequentially (such as Linux), but plausible on platforms that use randomized PIDs (such as OpenBSD). Also unskip the test on Windows, since it no longer relies on being able to send signal 0 to an arbitrary PID. Also change the expected failure mode of the test to a timeout instead of a call to t.Fatalf, so that on failure we get a useful goroutine dump for debugging instead of a non-actionable failure message. Fixes golang#57369 (maybe). Change-Id: Ib7e3fff556450b48cb5e6ea120fdf4d53547479b Reviewed-on: https://go-review.googlesource.com/c/go/+/554075 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Bryan Mills <bcmills@google.com> Reviewed-by: Damien Neil <dneil@google.com>
Issue created automatically to collect these failures.
Example (log):
— watchflakes
The text was updated successfully, but these errors were encountered: