-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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: timeouts in TestResponseControllerSetPastReadDeadline #59447
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Comments
bcmills
added
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
Apr 5, 2023
Found new dashboard test flakes for:
2023-04-04 03:37 darwin-amd64-11_0 go@ad87a124 net/http (log)
|
(CC @neild) |
Change https://go.dev/cl/482935 mentions this issue: |
gopherbot
pushed a commit
that referenced
this issue
Apr 6, 2023
…eadline A test flake in #59447 seems to indicate that this test got stuck waiting for the test handler to close the readc channel. If the handler returns early due to an unexpected error, it might fail to close this channel. Add a second channel to act as a signal that the handler has given up and the test should stop. This won't fix whatever happened in the flake, but might help us debug it if it happens again. For #59447 Change-Id: I05d84c6176aa938887d93126a6f3bb4dc941c90d Reviewed-on: https://go-review.googlesource.com/c/go/+/482935 Reviewed-by: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Damien Neil <[email protected]> Run-TryBot: Damien Neil <[email protected]>
Change https://go.dev/cl/483036 mentions this issue: |
Found new dashboard test flakes for:
2023-04-07 11:34 linux-mips64-rtrk go@949fdd9f net/http.TestResponseControllerSetPastReadDeadline (log)
|
gopherbot
pushed a commit
that referenced
this issue
Apr 7, 2023
If the Write goroutine is delayed for long enough after its first Write, the handler may have closed both the readc and donec channels by the time it selects over them, and the donec case may be randomly chosen. Handle that case by explicitly checking readc as well. This fixes a race accidentally introduced in CL 482935 and observed in https://build.golang.org/log/fa684750994d1fda409722f144b90c65b4c52cf9. For #59447. Change-Id: I5c87a599910cf8c1d037e5bbce68bf35afd55d61 Reviewed-on: https://go-review.googlesource.com/c/go/+/483036 TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Bryan Mills <[email protected]> Reviewed-by: Damien Neil <[email protected]> Run-TryBot: Bryan Mills <[email protected]>
Found new dashboard test flakes for:
2023-09-12 17:45 plan9-arm go@36024659 net/http (log)
|
Found new dashboard test flakes for:
2024-04-03 15:35 android-386-emu go@d8392e69 net/http (log)
2024-04-03 18:01 android-386-emu go@74501172 net/http (log)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
The text was updated successfully, but these errors were encountered: