-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
✔️ Resolution: Won't FixResolved because we decided not to change the behavior reported in this issue.Resolved because we decided not to change the behavior reported in this issue.Status: Resolvedarea-identityIncludes: Identity and providersIncludes: Identity and providerstest-failure
Milestone
Description
Failing Test(s)
Microsoft.AspNetCore.Identity.Test.IdentityUIScriptsTestclass
Error Message
The details here and below are all extracted from the Helix console log. Build logs only show that the work item timed out on the Helix agent. That's because we have a RetryHandler that attempts to download multiple resources from a CDN multiple times with the standard (100 second) HttpClient timeout.
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.
Stacktrace
at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Identity.Test.IdentityUIScriptsTest.IdentityUI_ScriptTags_FallbackSourceContent_Matches_CDNContent(ScriptTag scriptTag) in /_/src/Identity/test/Identity.Test/IdentityUIScriptsTest.cs:line 86
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
----- Inner Stack Trace -----
at Microsoft.AspNetCore.Identity.Test.RetryHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /_/src/Identity/test/Identity.Test/RetryHandler.cs:line 56
at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(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 Microsoft.AspNetCore.Identity.Test.RetryHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /_/src/Identity/test/Identity.Test/RetryHandler.cs:line 40
Logs
Failed Microsoft.AspNetCore.Identity.Test.IdentityUIScriptsTest.IdentityUI_ScriptTags_FallbackSourceContent_Matches_CDNContent(scriptTag: https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js) [1 m 40 s]
...
Standard Output Messages:
Sending request 'GET - https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js' 1 attempt.
Request 'GET - https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js' failed with System.Threading.Tasks.TaskCanceledException: A task was canceled.
Build
build 20211118.5 of #38427. Also saw similar failures in other moves to use macOS 10.15 e.g. #38536.
Metadata
Metadata
Assignees
Labels
✔️ Resolution: Won't FixResolved because we decided not to change the behavior reported in this issue.Resolved because we decided not to change the behavior reported in this issue.Status: Resolvedarea-identityIncludes: Identity and providersIncludes: Identity and providerstest-failure