dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.37k stars 9.99k forks source link

POST_ClientCancellationBidirectional_RequestAbortRaised(protocol: Http2) test failure #38008

Open BrennanConroy opened 2 years ago

BrennanConroy commented 2 years ago

Failing Test(s)

Interop.FunctionalTests.Http3.Http3RequestTests.POST_ClientCancellationBidirectional_RequestAbortRaised(protocol: Http2)

Error Message

System.Net.Http.HttpRequestException : An error occurred while sending the request.
---- System.IO.IOException : The request was aborted.
-------- System.IO.IOException : The decryption operation failed, see inner exception.
------------ System.ComponentModel.Win32Exception : The specified data could not be decrypted.

Stacktrace

```text at System.Net.Http.Http2Connection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at Microsoft.AspNetCore.Testing.TaskExtensions.TimeoutAfter[T](Task`1 task, TimeSpan timeout, String filePath, Int32 lineNumber) in /_/src/Shared/TaskExtensions.cs:line 90 at Interop.FunctionalTests.Http3.Http3RequestTests.POST_ClientCancellationBidirectional_RequestAbortRaised(HttpProtocols protocol) in /_/src/Servers/Kestrel/test/Interop.FunctionalTests/Http3/Http3RequestTests.cs:line 698 --- End of stack trace from previous location --- ----- Inner Stack Trace ----- at System.Net.Http.Http2Connection.ThrowRequestAborted(Exception innerException) at System.Net.Http.Http2Connection.Http2Stream.CheckResponseBodyState() at System.Net.Http.Http2Connection.Http2Stream.TryEnsureHeaders() at System.Net.Http.Http2Connection.Http2Stream.ReadResponseHeadersAsync(CancellationToken cancellationToken) at System.Net.Http.Http2Connection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) ----- Inner Stack Trace ----- at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer) at System.Net.Http.Http2Connection.ProcessIncomingFramesAsync() ----- Inner Stack Trace ----- ```

Logs

Http3RequestTests_POST_ClientCancellationBidirectional_RequestAbortRaised-Http2.log

Build

https://dev.azure.com/dnceng/public/_build/results?buildId=1449703&view=ms.vss-test-web.build-test-results-tab&runId=41737516&resultId=106591&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab

Tratcher commented 2 years ago

@BrennanConroy @halter73 this seems similar to #37943, where the client is getting corrupted or truncated data but this time at the TLS layer.

halter73 commented 2 years ago

This also looks identical to #37913 from six days ago.

ghost commented 2 years ago

Thanks for contacting us.

We're moving this issue to the Next sprint planning milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s). If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues. To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

amcasey commented 11 months ago

37913 was dup'd against https://github.com/dotnet/aspnetcore/issues/35070.

amcasey commented 3 weeks ago

https://dev.azure.com/dnceng-public/public/_build/results?buildId=818974 failed Http3