-
Notifications
You must be signed in to change notification settings - Fork 524
Flaky Test: Kestrel.FunctionalTests sometimes fails with "unable to communicate with test host process" or assert #1616
Comments
This is fixed with 58284bd |
Nope, I can still reproduce it. |
As described today by @halter73 this is happening because of a race between when the connection closes and when the libuv connections are walked during shutdown. Normally, the shutting down the server waits a for a certain amount of time before ending all connections, but since we made the change to immediately abort the connection on on a FIN, we lose track of that connection even though we may still be in the process of setting up the
|
Hit same error just now, but stack trace came from Frame.ProduceEnd. |
@natemcmaster Can you paste it? |
sadly I don't have it anymore. Was about to copy/paste it when the dialogue box window was closed due to testhost.exe dying. |
The RequestTests.LargeUpload test just triggered this failure. Stack trace matched the one Mike shared in original post. It didn't include Produce.End this time. |
http://aspnetci/viewLog.html?buildId=204841&buildTypeId=CoreCLR_Linux&tab=buildLog#_focus=38604
|
Should be fixed by #1707. I'll reopen if we see this kind of failure again. |
Kestrel.FunctionalTests sometimes fails with "unable to communicate with test host process" (on netcoreapp2.0) or an assert (net46). A workaround is to use release instead of debug (
build.cmd /p:Configuration=Release
).Assert
CI Build Failure
http://aspnetci/viewLog.html?buildId=197746&tab=buildLog&buildTypeId=XPlat_Linux_UbuntuUniverseCoreCLR&logTab=tree&filter=important&consoleStyle=true#_focus=93201
The text was updated successfully, but these errors were encountered: