Skip to content

Conversation

@halter73
Copy link
Member

@halter73 halter73 commented Oct 7, 2022

#44415

OutputFlowControl_ConnectionAndRequestAborted_NoException induced a deadlock that caused the entire InMemory.FunctionalTests Helix work item to hang.

I share my analysis in the issue. I think this deadlock can only happen in our tests. We could try doing less inline in Kestrel's in-memory HTTP/2 tests which would be more real-world, but it would require fixing our tests in reaction to new possible delays. It would be moving the opposite direction I was trying to go in with #41181, but maybe that's a lost cause. @JamesNK @davidfowl

@dougbu @wtgodbe Is quarantining the right move for a test that can rarely lead to deadlocks? Not much has changed in this area in the last few months. This is the only test I've seen it happen with, but there could be others.

@halter73 halter73 requested review from a team and davidfowl October 7, 2022 18:33
@ghost ghost added the area-runtime label Oct 7, 2022
@wtgodbe
Copy link
Member

wtgodbe commented Oct 7, 2022

How often does the deadlock occur? If it's not very frequent, I think quarantining is fine, otherwise I'd lean towards disabling the test entirely.

@halter73
Copy link
Member Author

halter73 commented Oct 7, 2022

This is my first time seeing it, but it's not like I'm always looking at test hangs on helix.

@halter73 halter73 merged commit 3b5400a into main Oct 7, 2022
@halter73 halter73 deleted the halter73/44415 branch October 7, 2022 22:18
@ghost ghost added this to the 8.0-preview1 milestone Oct 7, 2022
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants