-
Notifications
You must be signed in to change notification settings - Fork 18k
net/http: deadlock in TestMissingStatusNoPanic on release-branch.go1.15 branch #45358
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
@cagedmantis I think this is the wrong test. While the error occurs on TestCancelRquestWhenSharing after a few seconds, the moire obvious one is TestMissingStatusNoPanice which has been stuck for 14m.
|
Change https://golang.org/cl/319275 mentions this issue: |
Also https://storage.googleapis.com/go-build-log/5200af43/windows-amd64-longtest_e8416262.log (a TryBot on CL 319709). |
All of the failures are due to TestMissingStatusNoPanic so far. My fix above will just expose the real issue which we currently aren't seeing. |
If the client request never makes it to the server, the outstanding accept is never broken. Change the test to always close the listening socket when the client request completes. Updates #45358 Change-Id: I744a91dfa11704e7e528163d7669c394e90456dc Reviewed-on: https://go-review.googlesource.com/c/go/+/319275 Trust: Heschi Kreinick <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]>
Change https://golang.org/cl/320189 mentions this issue: |
Change https://golang.org/cl/320190 mentions this issue: |
On the plus side, we now see the actual issue(s) in Go 1.15 failures. |
I see at least one of the issues and may be the actual problem....
|
The above is incorrect, the testcase is fine. There is also this https://go.googlesource.com/benchmarks/+/refs/heads/master/http/http.go#42 |
Closed by merging e3c9537 to release-branch.go1.15. |
…ssingStatusNoPanic If the client request never makes it to the server, the outstanding accept is never broken. Change the test to always close the listening socket when the client request completes. Updates #45358 Change-Id: I744a91dfa11704e7e528163d7669c394e90456dc Reviewed-on: https://go-review.googlesource.com/c/go/+/319275 Trust: Heschi Kreinick <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> (cherry picked from commit c0a7ecf) Reviewed-on: https://go-review.googlesource.com/c/go/+/320189 Reviewed-by: Damien Neil <[email protected]> Run-TryBot: Bryan C. Mills <[email protected]> Run-TryBot: Damien Neil <[email protected]> TryBot-Result: Go Bot <[email protected]>
…ssingStatusNoPanic If the client request never makes it to the server, the outstanding accept is never broken. Change the test to always close the listening socket when the client request completes. Updates #45358 Change-Id: I744a91dfa11704e7e528163d7669c394e90456dc Reviewed-on: https://go-review.googlesource.com/c/go/+/319275 Trust: Heschi Kreinick <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]> (cherry picked from commit c0a7ecf) Reviewed-on: https://go-review.googlesource.com/c/go/+/320190 Reviewed-by: Damien Neil <[email protected]> Run-TryBot: Bryan C. Mills <[email protected]> TryBot-Result: Go Bot <[email protected]>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
The root cause of the failures is port exhaustion, which hasn't been addressed, but the deadlock in I haven't been able to reproduce the port exhaustion failures manually after running |
I think it might be the combination of things. One test that didn't finish, holding up others than haven't done their cleanup. |
The port exhaustion issue is now also fixed (by CL 339829). The
I think it was an unfortunate coincidence to do with runtime scheduling. On 1.15 the |
2505e26/windows-amd64-longtest
1035bb9/windows-amd64-longtest
b35c38a/windows-amd64-longtest
636a6d14/windows-amd64-longtest
May be related to ##42942
CC CC @alexbrainman @fraenkel @neild @bradfitz @golang/release
The text was updated successfully, but these errors were encountered: