Description
The test should not be quarantined, it's under observation. It has a PR that tries to fix it and requires more investigation: #62662.
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1090989
Build error leg or test failing: Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.RedirectionTest.NavigationException_InAsyncContext_DoesNotBecomeUnobservedTaskException
Pull request: #62602
Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
<h1>Hello, world!</h1><p id="unobserved-exceptions-count">4</p><h2>Unobserved Exceptions (for debugging):</h2>
<ul><li>System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Cannot access a disposed object.
Object name: 'IServiceProvider'.)
---> System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'IServiceProvider'.
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ThrowHelper.ThrowObjectDisposedException()
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at Microsoft.AspNetCore.Components.Server.Circuits.CircuitPersistenceManager.PauseCircuitAsync(CircuitHost circuit, Boolean saveStateToClient, CancellationToken cancellation) in /home/vsts/work/1/s/src/Components/Server/src/Circuits/CircuitPersistenceManager.cs:line 25
at Microsoft.AspNetCore.Components.Server.Circuits.CircuitRegistry.PauseAndDisposeCircuitHost(CircuitHost circuitHost, Boolean saveStateToClient) in /home/vsts/work/1/s/src/Components/Server/src/Circuits/CircuitRegistry.cs:line 312
--- End of inner exception stack trace ---</li><li>
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1090989
Error message validated: [A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.
]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/11/2025 10:21:55 AM UTC
Report
Build | Definition | Step Name | Console log | Pull Request |
---|---|---|---|---|
1092536 | dotnet/aspnetcore | Run E2E tests | Log | |
1092274 | dotnet/aspnetcore | Run E2E tests | Log | #62490 |
1092231 | dotnet/aspnetcore | Run E2E tests | Log | #62680 |
1090989 | dotnet/aspnetcore | Run E2E tests | Log | #62602 |
Summary
24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
---|---|---|
3 | 4 | 4 |