{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/2763","repository_url":"https://api.github.com/repos/aspnet/KestrelHttpServer","labels_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/2763/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/2763/comments","events_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/2763/events","html_url":"https://github.com/aspnet/KestrelHttpServer/issues/2763","id":345405958,"node_id":"MDU6SXNzdWUzNDU0MDU5NTg=","number":2763,"title":"Flaky test: ThrowsOnReadAfterConnectionError","user":{"login":"ryanbrandenburg","id":14987221,"node_id":"MDQ6VXNlcjE0OTg3MjIx","avatar_url":"https://avatars0.githubusercontent.com/u/14987221?v=4","gravatar_id":"","url":"https://api.github.com/users/ryanbrandenburg","html_url":"https://github.com/ryanbrandenburg","followers_url":"https://api.github.com/users/ryanbrandenburg/followers","following_url":"https://api.github.com/users/ryanbrandenburg/following{/other_user}","gists_url":"https://api.github.com/users/ryanbrandenburg/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanbrandenburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanbrandenburg/subscriptions","organizations_url":"https://api.github.com/users/ryanbrandenburg/orgs","repos_url":"https://api.github.com/users/ryanbrandenburg/repos","events_url":"https://api.github.com/users/ryanbrandenburg/events{/privacy}","received_events_url":"https://api.github.com/users/ryanbrandenburg/received_events","type":"User","site_admin":false},"labels":[{"id":1003917794,"node_id":"MDU6TGFiZWwxMDAzOTE3Nzk0","url":"https://api.github.com/repos/aspnet/KestrelHttpServer/labels/Flaky","name":"Flaky","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2018-07-28T01:28:03Z","updated_at":"2018-07-30T01:10:12Z","closed_at":null,"author_association":"MEMBER","body":"This test [fails](http://aspnetci/viewLog.html?buildId=517557&buildTypeId=XPlat_Mac_MacUniverseCoreCLR) occasionally with the following error:\r\n```\r\nAssert.True() Failure\r\nExpected: True\r\nActual:   False\r\n   at Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.RequestTests.ThrowsOnReadAfterConnectionError() in /_/test/Kestrel.FunctionalTests/RequestTests.cs:line 510\r\n--- End of stack trace from previous location where exception was thrown ---\r\n------- Stdout: -------\r\n| [0.004s] TestLifetime Information: Starting test ThrowsOnReadAfterConnectionError at 2018-07-28T01:16:12\r\n| [0.032s] Microsoft.AspNetCore.Hosting.Internal.WebHost Debug: Hosting starting\r\n| [0.052s] Microsoft.AspNetCore.Hosting.Internal.WebHost Debug: Hosting started\r\n| [0.053s] Microsoft.AspNetCore.Hosting.Internal.WebHost Debug: Loaded hosting startup assembly Libuv.FunctionalTests\r\n| [0.056s] Microsoft.AspNetCore.Server.Kestrel Debug: Connection id \"0HLFK4TJPI61V\" started.\r\n| [0.058s] Microsoft.AspNetCore.Hosting.Internal.WebHost Information: Request starting HTTP/1.1 GET http:///  1\r\n| [0.071s] Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv Debug: Connection id \"0HLFK4TJPI61V\" reset.\r\n| [0.071s] Microsoft.AspNetCore.Server.Kestrel Debug: Connection id \"0HLFK4TJPI61V\" disconnecting.\r\n| [0.072s] Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv Debug: Connection id \"0HLFK4TJPI61V\" sending FIN.\r\n| [0.073s] Microsoft.AspNetCore.Server.Kestrel Debug: Connection id \"0HLFK4TJPI61V\", Request id \"0HLFK4TJPI61V:00000001\": done reading request body.\r\n| [0.074s] Microsoft.AspNetCore.Server.Kestrel Error: Connection id \"0HLFK4TJPI61V\", Request id \"0HLFK4TJPI61V:00000001\": An unhandled exception was thrown by the application.\r\n| System.Threading.Tasks.TaskCanceledException: The request was aborted ---> Microsoft.AspNetCore.Connections.ConnectionAbortedException: The connection was aborted\r\n|    at System.IO.Pipelines.PipeCompletion.ThrowLatchedException()\r\n|    at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result)\r\n|    at System.IO.Pipelines.Pipe.ReadAsync(CancellationToken token)\r\n|    at System.IO.Pipelines.Pipe.DefaultPipeReader.ReadAsync(CancellationToken cancellationToken)\r\n|    at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Http1MessageBody.PumpAsync() in /_/src/Kestrel.Core/Internal/Http/Http1MessageBody.cs:line 36\r\n|    at System.IO.Pipelines.PipeCompletion.ThrowLatchedException()\r\n|    at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result)\r\n|    at System.IO.Pipelines.Pipe.ReadAsync(CancellationToken token)\r\n|    at System.IO.Pipelines.Pipe.DefaultPipeReader.ReadAsync(CancellationToken cancellationToken)\r\n|    at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.MessageBody.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken) in /_/src/Kestrel.Core/Internal/Http/MessageBody.cs:line 45\r\n|    at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpRequestStream.ReadAsyncInternal(Memory`1 buffer, CancellationToken cancellationToken) in /_/src/Kestrel.Core/Internal/Http/HttpRequestStream.cs:line 129\r\n|    --- End of inner exception stack trace ---\r\n|    at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpRequestStream.ReadAsyncInternal(Memory`1 buffer, CancellationToken cancellationToken) in /_/src/Kestrel.Core/Internal/Http/HttpRequestStream.cs:line 133\r\n|    at Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.RequestTests.<>c__DisplayClass14_0.<<ThrowsOnReadAfterConnectionError>b__1>d.MoveNext() in /_/test/Kestrel.FunctionalTests/RequestTests.cs:line 485\r\n| --- End of stack trace from previous location where exception was thrown ---\r\n|    at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application) in /_/src/Kestrel.Core/Internal/Http/HttpProtocol.cs:line 554\r\n| [0.078s] Microsoft.AspNetCore.Hosting.Internal.WebHost Information: Request finished in 19.525ms 0 \r\n| [0.078s] Microsoft.AspNetCore.Server.Kestrel Debug: Connection id \"0HLFK4TJPI61V\" stopped.\r\n| [2.703s] Microsoft.AspNetCore.Hosting.Internal.WebHost Debug: Hosting shutdown\r\n| [2.707s] TestLifetime Information: Finished test ThrowsOnReadAfterConnectionError in 2.70312s\r\n```\r\nOther tests within that build may have failed with a similar message, but they are not listed here. Check the link above for more info.\r\n\r\nCC @Eilon,@muratg,@mkArtakMSFT\n\nThis issue was made automatically. If there is a problem contact @ryanbrandenburg."},"comment":{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/comments/408720303","html_url":"https://github.com/aspnet/KestrelHttpServer/issues/2763#issuecomment-408720303","issue_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/2763","id":408720303,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODcyMDMwMw==","user":{"login":"ryanbrandenburg","id":14987221,"node_id":"MDQ6VXNlcjE0OTg3MjIx","avatar_url":"https://avatars0.githubusercontent.com/u/14987221?v=4","gravatar_id":"","url":"https://api.github.com/users/ryanbrandenburg","html_url":"https://github.com/ryanbrandenburg","followers_url":"https://api.github.com/users/ryanbrandenburg/followers","following_url":"https://api.github.com/users/ryanbrandenburg/following{/other_user}","gists_url":"https://api.github.com/users/ryanbrandenburg/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanbrandenburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanbrandenburg/subscriptions","organizations_url":"https://api.github.com/users/ryanbrandenburg/orgs","repos_url":"https://api.github.com/users/ryanbrandenburg/repos","events_url":"https://api.github.com/users/ryanbrandenburg/events{/privacy}","received_events_url":"https://api.github.com/users/ryanbrandenburg/received_events","type":"User","site_admin":false},"created_at":"2018-07-30T01:10:12Z","updated_at":"2018-07-30T01:10:12Z","author_association":"MEMBER","body":"ThrowsOnReadAfterConnectionError [failed again](http://aspnetci/viewLog.html?buildId=518373&buildTypeId=XPlat_Windows_Win10Universe).\n\nThis comment was made automatically. If there is a problem contact @ryanbrandenburg."}}
{"actor":{"display_login":"ryanbrandenburg"}}