You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CI checks for build are failing intermittently because of AspNetCore instrumentation unit tests failing with System.InvalidOperationException : Unable to build IHost
These are usually only observed for IncomingRequestsCollectionsIsAccordingToTheSpecTests.
Error Message:
System.InvalidOperationException : Unable to build IHost
Stack Trace:
at Microsoft.Extensions.Hosting.HostFactoryResolver.HostingListener.CreateHost()
at Microsoft.Extensions.Hosting.HostFactoryResolver.<>c__DisplayClass8_0.<ResolveHostFactory>b__0(String[] args)
at Microsoft.AspNetCore.Mvc.Testing.DeferredHostBuilder.Build()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.DelegatedWebApplicationFactory.CreateHost(IHostBuilder builder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.ConfigureHostBuilder(IHostBuilder hostBuilder)
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.EnsureServer()
at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
These tests are nearly identical except for inspecting different attributes (Old vs New).
These were split into different classes because they were having concurrency issues when in the same class.
This is the exact same call stack as was reported here: dotnet/runtime#60891 which was described as a timeout issue.
CI checks for build are failing intermittently because of AspNetCore instrumentation unit tests failing with
System.InvalidOperationException : Unable to build IHost
These are usually only observed for
IncomingRequestsCollectionsIsAccordingToTheSpecTests
.Here are few sample PR runs:
The text was updated successfully, but these errors were encountered: