Improve E2E tests performance #56127
.NET Result Analysis
Details
Tip
To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.
Known Infrastructure Errors
Build Failures
aspnetcore-ci / Build / Tests: Helix x64
[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]-
❌The job running on agent NetCore-Public 67 ran longer than the maximum time of 240 minutes. For more information, see https://go.microsoft.com/fwlink/?linkid=2077134
aspnetcore-quarantined-pr / Tests: Helix
[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]-
❌The job running on agent NetCore-Public 110 ran longer than the maximum time of 120 minutes. For more information, see https://go.microsoft.com/fwlink/?linkid=2077134
Test Failures (18 tests failed)
🔹 [All failing tests from aspnetcore-ci]
- Exception Message
System.Threading.Tasks.TaskCanceledException : The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. ---- System.TimeoutException : A task was canceled. -------- System.Threading.Tasks.TaskCanceledException : A task was canceled.
- CallStack
at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at Microsoft.AspNetCore.Mvc.FunctionalTests.ComponentRenderingFunctionalTests.Redirects_Navigation_Component() in /_/src/Mvc/test/Mvc.FunctionalTests/ComponentRenderingFunctionalTests.cs:line 64 --- End of stack trace from previous location --- ----- Inner Stack Trace -----
----- Inner Stack Trace -----
at Microsoft.AspNetCore.TestHost.ResponseBodyReaderStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken) in /_/src/Hosting/TestHost/src/ResponseBodyReaderStream.cs:line 84
at System.IO.Stream.<CopyToAsync>g__Core|27_0(Stream source, Stream destination, Int32 bufferSize, CancellationToken cancellationToken)
at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)- Exception Message
System.Threading.Tasks.TaskCanceledException : The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. ---- System.TimeoutException : A task was canceled. -------- System.Threading.Tasks.TaskCanceledException : A task was canceled.
- CallStack
at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at Microsoft.AspNetCore.Mvc.FunctionalTests.RoutingAcrossPipelineBranchesTests.LinkGenerationStillWorksAcrossBranches() in /_/src/Mvc/test/Mvc.FunctionalTests/RoutingAcrossPipelineBranchesTest.cs:line 105 --- End of stack trace from previous location --- ----- Inner Stack Trace -----
----- Inner Stack Trace -----
at Microsoft.AspNetCore.TestHost.ResponseBodyReaderStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken) in /_/src/Hosting/TestHost/src/ResponseBodyReaderStream.cs:line 84
at System.IO.Stream.<CopyToAsync>g__Core|27_0(Stream source, Stream destination, Int32 bufferSize, CancellationToken cancellationToken)
at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)- Exception Message
System.Threading.Tasks.TaskCanceledException : The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. ---- System.TimeoutException : A task was canceled. -------- System.Threading.Tasks.TaskCanceledException : A task was canceled.
- CallStack
at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at Microsoft.AspNetCore.Mvc.FunctionalTests.RoutingGroupsTests.MatchesPagesGroupAndGeneratesValidLink() in /_/src/Mvc/test/Mvc.FunctionalTests/RoutingGroupsTest.cs:line 46 --- End of stack trace from previous location --- ----- Inner Stack Trace -----
----- Inner Stack Trace -----
at Microsoft.AspNetCore.TestHost.ResponseBodyReaderStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken) in /_/src/Hosting/TestHost/src/ResponseBodyReaderStream.cs:line 84
at System.IO.Stream.<CopyToAsync>g__Core|27_0(Stream source, Stream destination, Int32 bufferSize, CancellationToken cancellationToken)
at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
❌ Microsoft.AspNetCore.Mvc.FunctionalTests.ComponentRenderingFunctionalTests.Redirects_Navigation_Component [Console] [Details] [Artifacts] [0.44% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
❌ Microsoft.AspNetCore.Mvc.FunctionalTests.RoutingAcrossPipelineBranchesTests.LinkGenerationStillWorksAcrossBranches [Console] [Details] [Artifacts] [0.19% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
❌ Microsoft.AspNetCore.Mvc.FunctionalTests.RoutingGroupsTests.MatchesPagesGroupAndGeneratesValidLink [Console] [Details] [Artifacts] [0.37% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
🔹 [All failing tests from aspnetcore-quarantined-pr]
- Data Driven SubResults
- Exception Message
System.IO.IOException : The request was aborted. ---- System.IO.IOException : Unable to write data to the transport connection: Broken pipe. -------- System.Net.Sockets.SocketException : Broken pipe
- Stack Trace
at System.Net.Http.Http2Connection.ThrowRequestAborted(Exception innerException) at System.Net.Http.Http2Connection.Http2Stream.CheckResponseBodyState() at System.Net.Http.Http2Connection.Http2Stream.TryReadFromBuffer(Span`1 buffer, Boolean partOfSyncRead) at System.Net.Http.Http2Connection.Http2Stream.ReadDataAsync(Memory`1 buffer, HttpResponseMessage responseMessage, CancellationToken cancellationToken) at Interop.FunctionalTests.Http2.Http2RequestTests.StartLongRunningRequestAsync(ILogger logger, IHost host, HttpMessageInvoker client) in /_/src/Servers/Kestrel/test/Interop.FunctionalTests/Http2/Http2RequestTests.cs:line 244 at Interop.FunctionalTests.Http2.Http2RequestTests.StartLongRunningRequestAsync(ILogger logger, IHost host, HttpMessageInvoker client) in /_/src/Servers/Kestrel/test/Interop.FunctionalTests/Http2/Http2RequestTests.cs:line 254 at Microsoft.AspNetCore.InternalTesting.TaskExtensions.TimeoutAfter[T](Task`1 task, TimeSpan timeout, String filePath, Int32 lineNumber) in /_/src/Shared/TaskExtensions.cs:line 88 at Interop.FunctionalTests.Http2.Http2RequestTests.GET_RequestReturnsLargeData_GracefulShutdownDuringRequest_RequestGracefullyCompletes(Boolean hasTrailers) in /_/src/Servers/Kestrel/test/Interop.FunctionalTests/Http2/Http2RequestTests.cs:line 214 --- End of stack trace from previous location --- ----- Inner Stack Trace ----- at System.Net.Http.Http2Connection.FlushOutgoingBytesAsync() ----- Inner Stack Trace ----- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.SendAsyncForNetworkStream(Socket socket, CancellationToken cancellationToken) at System.Net.Sockets.Socket.SendAsyncForNetworkStream(ReadOnlyMemory`1 buffer, SocketFlags socketFlags, CancellationToken cancellationToken) at System.Net.Sockets.NetworkStream.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken) at System.Net.Http.Http2Connection.FlushOutgoingBytesAsync() at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at System.Net.Http.Http2Connection.FlushOutgoingBytesAsync() at System.Net.Http.Http2Connection.ProcessOutgoingFramesAsync() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback() --- End of stack trace from previous location ---
- Data Driven SubResults
- Exception Message
Assert.IsType() Failure Expected: Microsoft.AspNetCore.Connections.ConnectionAbortedException Actual: System.Net.Quic.QuicException
- Stack Trace
at Interop.FunctionalTests.Http3.Http3RequestTests.GET_GracefulServerShutdown_AbortRequestsAfterHostTimeout(HttpProtocols protocol) in /_/src/Servers/Kestrel/test/Interop.FunctionalTests/Http3/Http3RequestTests.cs:line 1940 --- End of stack trace from previous location ---
❌ Interop.FunctionalTests.Http2.Http2RequestTests.GET_RequestReturnsLargeData_GracefulShutdownDuringRequest_RequestGracefullyCompletes [Console] [Details] [Artifacts] [37.39% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configurations (2)
-
❌ Interop.FunctionalTests.Http2.Http2RequestTests.GET_RequestReturnsLargeData_GracefulShutdownDuringRequest_RequestGracefullyCompletes(hasTrailers: True)
❌ Interop.FunctionalTests.Http3.Http3RequestTests.GET_GracefulServerShutdown_AbortRequestsAfterHostTimeout [Console] [Details] [Artifacts] [18.44% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
-
❌ Interop.FunctionalTests.Http3.Http3RequestTests.GET_GracefulServerShutdown_AbortRequestsAfterHostTimeout(protocol: Http3)