Feature/issue 253 add active mq hosting #588
185 passed, 4 failed and 21 skipped
✔️ CommunityToolkit.Aspire.Hosting.ActiveMQ.Tests-net8.0.trx
4 tests were completed in 12s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CommunityToolkit.Aspire.Hosting.ActiveMQ.Tests.ContainerResourceCreationTests | 4✔️ | 213ms |
✔️ CommunityToolkit.Aspire.Hosting.ActiveMQ.Tests.ContainerResourceCreationTests
✔️ AddActiveMqApiBuilderBuilderShouldNotBeNull
✔️ AddActiveMqApiBuilderContainerDetailsSetOnResource
✔️ AddActiveMqApiBuilderNameShouldNotBeNullOrWhiteSpace
✔️ AddActiveMqApiBuilderSchemeShouldNotBeNullOrWhiteSpace
✔️ CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.Tests-net8.0.trx
10 tests were completed in 22s with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.Tests.ContainerResourceCreationTests | 10✔️ | 884ms |
✔️ CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.Tests.ContainerResourceCreationTests
✔️ AddDataAPIBuilderBuilderShouldNotBeNull
✔️ AddDataAPIBuilderContainer_DefaultFile_NoEx
✔️ AddDataAPIBuilderContainer_InvalidFile_ThrowsEx
✔️ AddDataAPIBuilderContainer_InvalidFiles_NoEx
✔️ AddDataAPIBuilderContainer_PortOnly_NoEx
✔️ AddDataAPIBuilderContainer_ValidFile_NoEx
✔️ AddDataAPIBuilderContainer_ValidFiles_NoEx
✔️ AddDataAPIBuilderContainer_ValidFileWithPort_NoEx
✔️ AddDataAPIBuilderContainerDetailsSetOnResource
✔️ AddDataApiBuilderNameShouldNotBeNullOrWhiteSpace
❌ CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests-net8.0.trx
13 tests were completed in 80s with 9 passed, 4 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.ResourceCreationTests | 9✔️ | 1s | ||
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.SwaHostingComponentTests | 4❌ | 4ms |
✔️ CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.ResourceCreationTests
✔️ ApiResource_Can_Be_Set
✔️ ApiResourceWillBeWaitedFor
✔️ AppResource_Can_Be_Set
✔️ AppResourceWillBeWaitedFor
✔️ Port_Will_Be_An_Arg
✔️ Start_Will_Be_An_Arg
✔️ SwaResourceHasHealthCheck
✔️ TargetPort_Can_Be_Overridden
✔️ TargetPort_Defaults_to_4280
❌ CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.SwaHostingComponentTests
❌ CanAccessApiSuccessfully
Polly.Timeout.TimeoutRejectedException : The operation didn't complete within the allowed timeout of '00:00:10'.
---- System.Threading.Tasks.TaskCanceledException : A task was canceled.
❌ CanAccessApiSuccessfully
[Test Class Cleanup Failure (CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.SwaHostingComponentTests)]: System.AggregateException : One or more errors occurred. (The operation didn't complete within the allowed timeout of '00:00:10'.)
---- Polly.Timeout.TimeoutRejectedException : The operation didn't complete within the allowed timeout of '00:00:10'.
-------- System.Threading.Tasks.TaskCanceledException : A task was canceled.
❌ CanAccessFrontendSuccessfully
[Test Class Cleanup Failure (CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.SwaHostingComponentTests)]: System.AggregateException : One or more errors occurred. (The operation didn't complete within the allowed timeout of '00:00:10'.)
---- Polly.Timeout.TimeoutRejectedException : The operation didn't complete within the allowed timeout of '00:00:10'.
-------- System.Threading.Tasks.TaskCanceledException : A task was canceled.
❌ CanAccessFrontendSuccessfully
Polly.Timeout.TimeoutRejectedException : The operation didn't complete within the allowed timeout of '00:00:10'.
---- System.Threading.Tasks.TaskCanceledException : A task was canceled.
✔️ CommunityToolkit.Aspire.Hosting.Bun.Tests-net8.0.trx
11 tests were completed in 15s with 11 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CommunityToolkit.Aspire.Hosting.Bun.Tests.AddBunAppTests | 10✔️ | 161ms | ||
CommunityToolkit.Aspire.Hosting.Bun.Tests.AppHostTests | 1✔️ | 255ms |
✔️ CommunityToolkit.Aspire.Hosting.Bun.Tests.AddBunAppTests
✔️ AddBunEmptyEntryPointThrows
✔️ AddBunEmptyNameThrows
✔️ AddBunNullBuilderThrows
✔️ AddBunNullEntryPointThrows
✔️ AddBunNullNameThrows
✔️ BunAppDefaultArgs
✔️ BunAppUsesBunCommand
✔️ BunAppWatchArgs
✔️ BunAppWithCustomEntryPoint
✔️ BunAppWithWorkingDirectory
✔️ CommunityToolkit.Aspire.Hosting.Bun.Tests.AppHostTests
✔️ ResourceStartsAndRespondsOk
✔️ CommunityToolkit.Aspire.Hosting.Deno.Tests-net8.0.trx
4 tests were completed in 25s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CommunityToolkit.Aspire.Hosting.Deno.Tests.AppHostTests | 2✔️ | 3s | ||
CommunityToolkit.Aspire.Hosting.Deno.Tests.ResourceCreationTests | 2✔️ | 165ms |
✔️ CommunityToolkit.Aspire.Hosting.Deno.Tests.AppHostTests
✔️ ApiResourceStartsAndRespondsOk
✔️ ResourceStartsAndRespondsOk
✔️ CommunityToolkit.Aspire.Hosting.Deno.Tests.ResourceCreationTests
✔️ DenoAppUsesDenoCommand
✔️ DenoTaskUsesDenoCommand
✔️ CommunityToolkit.Aspire.Hosting.Golang.Tests-net8.0.trx
2 tests were completed in 142s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CommunityToolkit.Aspire.Hosting.Golang.Extensions.Tests.ResourceCreationTests | 1✔️ | 208ms | ||
CommunityToolkit.Aspire.Hosting.Golang.Tests.AppHostTests | 1✔️ | 90s |
✔️ CommunityToolkit.Aspire.Hosting.Golang.Extensions.Tests.ResourceCreationTests
✔️ DefaultGolangApp
✔️ CommunityToolkit.Aspire.Hosting.Golang.Tests.AppHostTests
✔️ ResourceStartsAndRespondsOk
✔️ CommunityToolkit.Aspire.Hosting.Java.Tests-net8.0.trx
16 tests were completed in 31s with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CommunityToolkit.Aspire.Hosting.Java.Tests.ContainerResourceCreationTests | 8✔️ | 463ms | ||
CommunityToolkit.Aspire.Hosting.Java.Tests.ExecutableResourceCreationTests | 8✔️ | 534ms |
✔️ CommunityToolkit.Aspire.Hosting.Java.Tests.ContainerResourceCreationTests
✔️ AddJavaAppBuilderShouldNotBeNull
✔️ AddJavaAppContainerDetailsSetOnResource
✔️ AddJavaAppContainerImageNameShouldNotBeNullOrWhiteSpace
✔️ AddJavaAppContainerResourceOptionsShouldNotBeNull
✔️ AddJavaAppNameShouldNotBeNullOrWhiteSpace
✔️ AddSpringAppBuilderShouldNotBeNull
✔️ AddSpringAppContainerResourceOptionsShouldNotBeNull
✔️ AddSpringAppNameShouldNotBeNullOrWhiteSpace
✔️ CommunityToolkit.Aspire.Hosting.Java.Tests.ExecutableResourceCreationTests
✔️ AddJavaAppBuilderShouldNotBeNull
✔️ AddJavaAppContainerDetailsSetOnResource
✔️ AddJavaAppExecutableResourceOptionsShouldNotBeNull
✔️ AddJavaAppNameShouldNotBeNullOrWhiteSpace
✔️ AddJavaAppWorkingDirectoryShouldNotBeNullOrWhiteSpace
✔️ AddSpringAppBuilderShouldNotBeNull
✔️ AddSpringAppContainerResourceOptionsShouldNotBeNull
✔️ AddSpringAppNameShouldNotBeNullOrWhiteSpace
✔️ CommunityToolkit.Aspire.Hosting.Meilisearch.Tests-net8.0.trx
10 tests were completed in 11s with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CommunityToolkit.Aspire.Hosting.Meilisearch.Tests.AddMeilisearchTests | 3✔️ | 155ms | ||
CommunityToolkit.Aspire.Hosting.Meilisearch.Tests.MeilisearchPublicApiTests | 7✔️ | 75ms |
✔️ CommunityToolkit.Aspire.Hosting.Meilisearch.Tests.AddMeilisearchTests
✔️ AddMeilisearchContainerAddsAnnotationMetadata
✔️ AddMeilisearchContainerWithDefaultsAddsAnnotationMetadata
✔️ MeilisearchCreatesConnectionString
✔️ CommunityToolkit.Aspire.Hosting.Meilisearch.Tests.MeilisearchPublicApiTests
✔️ AddMeilisearchContainerShouldThrowWhenBuilderIsNull
✔️ AddMeilisearchContainerShouldThrowWhenNameIsNull
✔️ CtorMeilisearchResourceShouldThrowWhenMasterKeyIsNull
✔️ CtorMeilisearchResourceShouldThrowWhenNameIsNull
✔️ WithDataBindMountShouldThrowWhenSourceIsNull
✔️ WithDataShouldThrowWhenBuilderIsNull(useVolume: False)
✔️ WithDataShouldThrowWhenBuilderIsNull(useVolume: True)
✔️ CommunityToolkit.Aspire.Hosting.NodeJS.Extensions.Tests-net8.0.trx
12 tests were completed in 88s with 12 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CommunityToolkit.Aspire.Hosting.NodeJS.Extensions.Tests.AppHostTests | 3✔️ | 3s | ||
CommunityToolkit.Aspire.Hosting.NodeJS.Extensions.Tests.ResourceCreationTests | 9✔️ | 609ms |
✔️ CommunityToolkit.Aspire.Hosting.NodeJS.Extensions.Tests.AppHostTests
✔️ ResourceStartsAndRespondsOk(appName: "pnpm-demo")
✔️ ResourceStartsAndRespondsOk(appName: "vite-demo")
✔️ ResourceStartsAndRespondsOk(appName: "yarn-demo")
✔️ CommunityToolkit.Aspire.Hosting.NodeJS.Extensions.Tests.ResourceCreationTests
✔️ DefaultViteAppUsesNpm
✔️ PnpmAppUsesPnpmCommand
✔️ ViteAppHasExposedExternalHttpEndpoints
✔️ ViteAppHasExposedHttpEndpoints
✔️ ViteAppUsesSpecifiedPackageManager(packageManager: "npm")
✔️ ViteAppUsesSpecifiedPackageManager(packageManager: "pnpm")
✔️ ViteAppUsesSpecifiedPackageManager(packageManager: "yarn")
✔️ ViteAppUsesSpecifiedWorkingDirectory
✔️ YarnAppUsesYarnCommand
✔️ CommunityToolkit.Aspire.Hosting.Ollama.Tests-net8.0.trx
31 tests were completed in 31s with 31 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CommunityToolkit.Aspire.Hosting.Ollama.Tests.AddOllamaTests | 31✔️ | 1s |
✔️ CommunityToolkit.Aspire.Hosting.Ollama.Tests.AddOllamaTests
✔️ CanPersistVolumeOfOpenWebUI(volumeName: "volumeName")
✔️ CanPersistVolumeOfOpenWebUI(volumeName: null)
✔️ CanSetMultpleModels
✔️ CorrectTargetPathOnVolumeMount(volumeName: "data")
✔️ CorrectTargetPathOnVolumeMount(volumeName: null)
✔️ DistributedApplicationBuilderCannotBeNull
✔️ HuggingFaceModel(modelName: "hf.co/bartowski/Llama-3.2-1B-Instruct-GGUF:IQ4_XS")
✔️ HuggingFaceModel(modelName: "hf.co/bartowski/Llama-3.2-1B-Instruct-GGUF:IQ4_XS@"···)
✔️ HuggingFaceModel(modelName: "huggingface.co/bartowski/Llama-3.2-1B-Instruct-GGU"···)
✔️ HuggingFaceModel(modelName: "huggingface.co/bartowski/Llama-3.2-1B-Instruct-GGU"···)
✔️ HuggingFaceModelWithoutDomainPrefixHasItAdded
✔️ ModelNameCannotBeOmmitted
✔️ NoDataVolumeNameGeneratesOne
✔️ OllamaModelResourceCommandsUpdateState(commandType: "Delete")
✔️ OllamaModelResourceCommandsUpdateState(commandType: "ModelInfo")
✔️ OllamaModelResourceCommandsUpdateState(commandType: "Redownload")
✔️ OllamaModelResourceCommandsUpdateState(commandType: "Stop")
✔️ OllamaModelResourceRegistersCustomHealthCheck
✔️ OllamaModelResourceRegistersResourceCommandAnnotations
✔️ OllamaRegistersHttpHealthCheck
✔️ OllamaRegistrationContainsResourceCommandAnnotations
✔️ OllamaResourceCommandsUpdateState(commandType: "ListAllModels")
✔️ OllamaResourceCommandsUpdateState(commandType: "ListRunningModels")
✔️ OpenWebUIConfigured
✔️ ReadOnlyVolumeMount(isReadOnly: False)
✔️ ReadOnlyVolumeMount(isReadOnly: True)
✔️ ResourceNameCannotBeOmitted
✔️ SpecifiedDataVolumeNameIsUsed
✔️ VerifyCustomModel
✔️ VerifyCustomPort
✔️ VerifyDefaultPort
✔️ CommunityToolkit.Aspire.Hosting.Python.Extensions.Tests-net8.0.trx
2 tests were completed in 21s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CommunityToolkit.Aspire.Hosting.Python.Extensions.Tests.AppHostTests | 1✔️ | 7s | ||
CommunityToolkit.Aspire.Hosting.Python.Extensions.Tests.ResourceCreationTests | 1✔️ | 131ms |
✔️ CommunityToolkit.Aspire.Hosting.Python.Extensions.Tests.AppHostTests
✔️ ResourceStartsAndRespondsOk
✔️ CommunityToolkit.Aspire.Hosting.Python.Extensions.Tests.ResourceCreationTests
✔️ DefaultUvicornApp
✔️ CommunityToolkit.Aspire.Hosting.Rust.Tests-net8.0.trx
6 tests were completed in 103s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CommunityToolkit.Aspire.Hosting.Rust.Tests.AddRustAppTests | 2✔️ | 193ms | ||
CommunityToolkit.Aspire.Hosting.Rust.Tests.AppHostTests | 1✔️ | 87s | ||
CommunityToolkit.Aspire.Hosting.Rust.Tests.RustAppPublicApiTests | 3✔️ | 89ms |
✔️ CommunityToolkit.Aspire.Hosting.Rust.Tests.AddRustAppTests
✔️ AddRustAppAddsAnnotationMetadata
✔️ AddRustAppWithArgsAddsAnnotationMetadata
✔️ CommunityToolkit.Aspire.Hosting.Rust.Tests.AppHostTests
✔️ ResourceStartsAndRespondsOk
✔️ CommunityToolkit.Aspire.Hosting.Rust.Tests.RustAppPublicApiTests
✔️ AddRustAppShouldThrowWhenBuilderIsNull
✔️ AddRustAppShouldThrowWhenNameIsNull
✔️ AddRustAppShouldThrowWorkingDirectoryIsNull
✔️ CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests-net8.0.trx
3 tests were completed in 67s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests.AddSqlProjectTests | 3✔️ | 49s |
✔️ CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests.AddSqlProjectTests
✔️ AddSqlProject_WithExplicitPath
✔️ AddSqlProject_WithProjectMetadata
✔️ PublishTo_AddsRequiredServices
✔️ CommunityToolkit.Aspire.Meilisearch.Tests-net8.0.trx
37 tests were completed in 19s with 29 passed, 0 failed and 8 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CommunityToolkit.Aspire.Meilisearch.Tests.AspireMeilisearchClientExtensionsTest | 4✔️ | 178ms | ||
CommunityToolkit.Aspire.Meilisearch.Tests.ConfigurationTests | 3✔️ | 6ms | ||
CommunityToolkit.Aspire.Meilisearch.Tests.ConformanceTests | 16✔️ | 8✖️ | 9s | |
CommunityToolkit.Aspire.Meilisearch.Tests.MeilisearchClientPublicApiTests | 6✔️ | 29ms |
✔️ CommunityToolkit.Aspire.Meilisearch.Tests.AspireMeilisearchClientExtensionsTest
✔️ AddMeilisearchClient_HealthCheckShouldNotBeRegisteredWhenDisabled(useKeyed: False)
✔️ AddMeilisearchClient_HealthCheckShouldNotBeRegisteredWhenDisabled(useKeyed: True)
✔️ CanAddClientFromEncodedConnectionString
✔️ CanAddMultipleKeyedServices
✔️ CommunityToolkit.Aspire.Meilisearch.Tests.ConfigurationTests
✔️ EndpointIsNullByDefault
✔️ HealthChecksEnabledByDefault
✔️ MasterKeyIsNullByDefault
✔️ CommunityToolkit.Aspire.Meilisearch.Tests.ConformanceTests
✔️ CanRegisterMultipleInstancesUsingDifferentKeys
✖️ ConfigurationSchemaInvalidJsonConfigTest
✖️ ConfigurationSchemaValidJsonConfigTest
✔️ ConnectionInformationIsDelayValidated(useKey: False)
✔️ ConnectionInformationIsDelayValidated(useKey: True)
✔️ EachKeyedComponentRegistersItsOwnHealthCheck
✖️ FavorsNamedConfigurationOverTopLevelConfigurationWhenBothProvided_DisableHealthChecks
✖️ FavorsNamedConfigurationOverTopLevelConfigurationWhenBothProvided_DisableTracing
✔️ HealthCheckReportsExpectedStatus(key: "key")
✔️ HealthCheckReportsExpectedStatus(key: null)
✔️ HealthChecksRegistersHealthCheckService(enabled: False)
✔️ HealthChecksRegistersHealthCheckService(enabled: True)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: False, useKey: False)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: False, useKey: True)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: True, useKey: False)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: True, useKey: True)
✖️ MetricsRegistersMeterProvider(enabled: False)
✖️ MetricsRegistersMeterProvider(enabled: True)
✔️ OptionsTypeIsSealed
✔️ ServiceLifetimeIsAsExpected(useKey: False)
✔️ ServiceLifetimeIsAsExpected(useKey: True)
✖️ TracingRegistersTraceProvider(enabled: False)
✖️ TracingRegistersTraceProvider(enabled: True)
✔️ WhenKeyedRegistrationIsUsedThenItsImpossibleToResolveWithoutKey
✔️ CommunityToolkit.Aspire.Meilisearch.Tests.MeilisearchClientPublicApiTests
✔️ AddKeyedMeilisearchClientShouldThrowWhenBuilderIsNull
✔️ AddKeyedMeilisearchClientShouldThrowWhenNameIsEmpty
✔️ AddKeyedMeilisearchClientShouldThrowWhenNameIsNull
✔️ AddMeilisearchClientShouldThrowWhenBuilderIsNull
✔️ AddMeilisearchClientShouldThrowWhenNameIsEmpty
✔️ AddMeilisearchClientShouldThrowWhenNameIsNull
✔️ CommunityToolkit.Aspire.OllamaSharp.Tests-net8.0.trx
49 tests were completed in 20s with 36 passed, 0 failed and 13 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CommunityToolkit.Aspire.OllamaSharp.Tests.ConfigurationTests | 4✔️ | 19ms | ||
CommunityToolkit.Aspire.OllamaSharp.Tests.ConformanceTests | 11✔️ | 13✖️ | 3s | |
CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaApiClientTests | 7✔️ | 280ms | ||
CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaSharpIChatClientTests | 7✔️ | 2s | ||
CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaSharpIEmbeddingGeneratorTests | 7✔️ | 2s |
✔️ CommunityToolkit.Aspire.OllamaSharp.Tests.ConfigurationTests
✔️ EndpointIsNullByDefault
✔️ HealthChecksEnabledByDefault
✔️ ModelsIsEmptyByDefault
✔️ SelectedModelIsNullByDefault
✔️ CommunityToolkit.Aspire.OllamaSharp.Tests.ConformanceTests
✔️ CanRegisterMultipleInstancesUsingDifferentKeys
✖️ ConfigurationSchemaInvalidJsonConfigTest
✖️ ConfigurationSchemaValidJsonConfigTest
✔️ ConnectionInformationIsDelayValidated(useKey: False)
✔️ ConnectionInformationIsDelayValidated(useKey: True)
✖️ EachKeyedComponentRegistersItsOwnHealthCheck
✖️ FavorsNamedConfigurationOverTopLevelConfigurationWhenBothProvided_DisableHealthChecks
✖️ FavorsNamedConfigurationOverTopLevelConfigurationWhenBothProvided_DisableTracing
✖️ HealthCheckReportsExpectedStatus(key: "key")
✖️ HealthCheckReportsExpectedStatus(key: null)
✖️ HealthChecksRegistersHealthCheckService(enabled: False)
✖️ HealthChecksRegistersHealthCheckService(enabled: True)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: False, useKey: False)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: False, useKey: True)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: True, useKey: False)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: True, useKey: True)
✖️ MetricsRegistersMeterProvider(enabled: False)
✖️ MetricsRegistersMeterProvider(enabled: True)
✔️ OptionsTypeIsSealed
✔️ ServiceLifetimeIsAsExpected(useKey: False)
✔️ ServiceLifetimeIsAsExpected(useKey: True)
✖️ TracingRegistersTraceProvider(enabled: False)
✖️ TracingRegistersTraceProvider(enabled: True)
✔️ WhenKeyedRegistrationIsUsedThenItsImpossibleToResolveWithoutKey
✔️ CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaApiClientTests
✔️ CanSetConnectionStringInCode(useKeyed: False)
✔️ CanSetConnectionStringInCode(useKeyed: True)
✔️ CanSetMultipleKeyedClients
✔️ ConnectionStringWinsOverConfigSection(useKeyed: False)
✔️ ConnectionStringWinsOverConfigSection(useKeyed: True)
✔️ ReadsFromConnectionStringCorrectly(useKeyed: False)
✔️ ReadsFromConnectionStringCorrectly(useKeyed: True)
✔️ CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaSharpIChatClientTests
✔️ CanSetConnectionStringInCode(useKeyed: False)
✔️ CanSetConnectionStringInCode(useKeyed: True)
✔️ CanSetMultipleKeyedClients
✔️ ConnectionStringWinsOverConfigSection(useKeyed: False)
✔️ ConnectionStringWinsOverConfigSection(useKeyed: True)
✔️ ReadsFromConnectionStringCorrectly(useKeyed: False)
✔️ ReadsFromConnectionStringCorrectly(useKeyed: True)
✔️ CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaSharpIEmbeddingGeneratorTests
✔️ CanSetConnectionStringInCode(useKeyed: False)
✔️ CanSetConnectionStringInCode(useKeyed: True)
✔️ CanSetMultipleKeyedClients
✔️ ConnectionStringWinsOverConfigSection(useKeyed: False)
✔️ ConnectionStringWinsOverConfigSection(useKeyed: True)
✔️ ReadsFromConnectionStringCorrectly(useKeyed: False)
✔️ ReadsFromConnectionStringCorrectly(useKeyed: True)
Annotations
Check failure on line 0 in CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests-net8.0.trx
github-actions / .NET Test report windows-latest
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.SwaHostingComponentTests ► CanAccessApiSuccessfully
Failed test found in:
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests-net8.0.trx
Error:
Polly.Timeout.TimeoutRejectedException : The operation didn't complete within the allowed timeout of '00:00:10'.
---- System.Threading.Tasks.TaskCanceledException : A task was canceled.
Raw output
Polly.Timeout.TimeoutRejectedException : The operation didn't complete within the allowed timeout of '00:00:10'.
---- System.Threading.Tasks.TaskCanceledException : A task was canceled.
at Polly.Utils.ExceptionUtilities.TrySetStackTrace[T](T exception)
at Polly.Timeout.TimeoutResilienceStrategy.ExecuteCore[TResult,TState](Func`3 callback, ResilienceContext context, TState state)
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.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
at System.Threading.Tasks.Task`1.TrySetResult(TResult result)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result)
at System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetResult(TResult result)
at Polly.Utils.StrategyHelper.<ExecuteCallbackSafeAsync>g__AwaitTask|0_0[TResult,TState,T](ValueTask`1 task, Boolean continueOnCapturedContext)
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.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
at System.Threading.Tasks.Task`1.TrySetResult(TResult result)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result)
at System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetResult(TResult result)
at Polly.ResiliencePipeline.<>c.<<ExecuteAsync>b__3_0>d.MoveNext()
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.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
at System.Threading.Tasks.Task.TrySetCanceled(CancellationToken tokenToRecord, Object cancellationException)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetException(Exception exception, Task`1& taskField)
at Aspire.Hosting.Dcp.ApplicationExecutor.<>c__DisplayClass52_0.<<CreateServicesAsync>b__1>d.MoveNext() in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 898
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 Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 260
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+MoveNext()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
at System.Threading.Tasks.Task.InternalCancel()
at System.Threading.CancellationTokenSource.Invoke(Delegate d, Object state, CancellationTokenSource source)
at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
at System.Threading.TimerQueue.FireNextTimers()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
--- End of stack trace from previous location ---
at Polly.Outcome`1.GetResultOrRethrow()
at Polly.ResiliencePipeline.ExecuteAsync(Func`2 callback, CancellationToken cancellationToken)
at Aspire.Hosting.Dcp.ApplicationExecutor.CreateServicesAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 895
at Aspire.Hosting.Dcp.ApplicationExecutor.RunApplicationAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 141
at Aspire.Hosting.Dcp.DcpHostService.StartAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpHostService.cs:line 75
at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__14_1(IHostedService service, CancellationToken token)
at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>g__LogAndRethrow|14_3(<>c__DisplayClass14_0&)
at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
at Aspire.Hosting.Testing.DistributedApplicationFactory.ObservedHost.StartAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting.Testing/DistributedApplicationFactory.cs:line 450
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Aspire.Hosting.Testing.DistributedApplicationFactory.StartAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting.Testing/DistributedApplicationFactory.cs:line 65
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Aspire.Hosting.DistributedApplication.RunAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/DistributedApplication.cs:line 311
----- Inner Stack Trace -----
at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+MoveNext()
at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 260
at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 260
at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at Aspire.Hosting.Dcp.ApplicationExecutor.<>c__DisplayClass52_0.<<CreateServicesAsync>b__1>d.MoveNext() in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 898
--- End of stack trace from previous location ---
at Aspire.Hosting.Dcp.ApplicationExecutor.<>c__DisplayClass52_0.<<CreateServicesAsync>b__1>d.MoveNext() in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 898
--- End of stack trace from previous location ---
at Polly.ResiliencePipeline.<>c.<<ExecuteAsync>b__3_0>d.MoveNext()
Check failure on line 16 in examples/swa/CommunityToolkit.Aspire.StaticWebApps.AppHost/Program.cs
github-actions / .NET Test report windows-latest
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.SwaHostingComponentTests ► CanAccessApiSuccessfully
Failed test found in:
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests-net8.0.trx
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests-net8.0.trx
Error:
[Test Class Cleanup Failure (CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.SwaHostingComponentTests)]: System.AggregateException : One or more errors occurred. (The operation didn't complete within the allowed timeout of '00:00:10'.)
---- Polly.Timeout.TimeoutRejectedException : The operation didn't complete within the allowed timeout of '00:00:10'.
-------- System.Threading.Tasks.TaskCanceledException : A task was canceled.
Raw output
[Test Class Cleanup Failure (CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.SwaHostingComponentTests)]: System.AggregateException : One or more errors occurred. (The operation didn't complete within the allowed timeout of '00:00:10'.)
---- Polly.Timeout.TimeoutRejectedException : The operation didn't complete within the allowed timeout of '00:00:10'.
-------- System.Threading.Tasks.TaskCanceledException : A task was canceled.
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Aspire.Hosting.DistributedApplication.Run() in /_/src/Aspire.Hosting/DistributedApplication.cs:line 339
at Program.<Main>$(String[] args) in /_/examples/swa/CommunityToolkit.Aspire.StaticWebApps.AppHost/Program.cs:line 16
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
--- End of stack trace from previous location ---
at Aspire.Hosting.Testing.DistributedApplicationFactory.DisposeAsync() in /_/src/Aspire.Hosting.Testing/DistributedApplicationFactory.cs:line 381
at CommunityToolkit.Aspire.Testing.AspireIntegrationTestFixture`1.Xunit.IAsyncLifetime.DisposeAsync() in /_/tests/CommunityToolkit.Aspire.Testing/AspireIntegrationTest.cs:line 36
----- Inner Stack Trace -----
at Polly.Utils.ExceptionUtilities.TrySetStackTrace[T](T exception)
at Polly.Timeout.TimeoutResilienceStrategy.ExecuteCore[TResult,TState](Func`3 callback, ResilienceContext context, TState state)
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.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
at System.Threading.Tasks.Task`1.TrySetResult(TResult result)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result)
at System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetResult(TResult result)
at Polly.Utils.StrategyHelper.<ExecuteCallbackSafeAsync>g__AwaitTask|0_0[TResult,TState,T](ValueTask`1 task, Boolean continueOnCapturedContext)
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.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
at System.Threading.Tasks.Task`1.TrySetResult(TResult result)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result)
at System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetResult(TResult result)
at Polly.ResiliencePipeline.<>c.<<ExecuteAsync>b__3_0>d.MoveNext()
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.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
at System.Threading.Tasks.Task.TrySetCanceled(CancellationToken tokenToRecord, Object cancellationException)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetException(Exception exception, Task`1& taskField)
at Aspire.Hosting.Dcp.ApplicationExecutor.<>c__DisplayClass52_0.<<CreateServicesAsync>b__1>d.MoveNext() in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 898
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 Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 260
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+MoveNext()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
at System.Threading.Tasks.Task.InternalCancel()
at System.Threading.CancellationTokenSource.Invoke(Delegate d, Object state, CancellationTokenSource source)
at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
at System.Threading.TimerQueue.FireNextTimers()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
--- End of stack trace from previous location ---
at Polly.Outcome`1.GetResultOrRethrow()
at Polly.ResiliencePipeline.ExecuteAsync(Func`2 callback, CancellationToken cancellationToken)
at Aspire.Hosting.Dcp.ApplicationExecutor.CreateServicesAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 895
at Aspire.Hosting.Dcp.ApplicationExecutor.RunApplicationAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 141
at Aspire.Hosting.Dcp.DcpHostService.StartAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpHostService.cs:line 75
at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__14_1(IHostedService service, CancellationToken token)
at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>g__LogAndRethrow|14_3(<>c__DisplayClass14_0&)
at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
at Aspire.Hosting.Testing.DistributedApplicationFactory.ObservedHost.StartAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting.Testing/DistributedApplicationFactory.cs:line 450
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Aspire.Hosting.Testing.DistributedApplicationFactory.StartAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting.Testing/DistributedApplicationFactory.cs:line 65
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Aspire.Hosting.DistributedApplication.RunAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/DistributedApplication.cs:line 311
----- Inner Stack Trace -----
at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+MoveNext()
at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 260
at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 260
at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at Aspire.Hosting.Dcp.ApplicationExecutor.<>c__DisplayClass52_0.<<CreateServicesAsync>b__1>d.MoveNext() in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 898
--- End of stack trace from previous location ---
at Aspire.Hosting.Dcp.ApplicationExecutor.<>c__DisplayClass52_0.<<CreateServicesAsync>b__1>d.MoveNext() in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 898
--- End of stack trace from previous location ---
at Polly.ResiliencePipeline.<>c.<<ExecuteAsync>b__3_0>d.MoveNext()
Check failure on line 0 in CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests-net8.0.trx
github-actions / .NET Test report windows-latest
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.SwaHostingComponentTests ► CanAccessFrontendSuccessfully
Failed test found in:
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests-net8.0.trx
Error:
Polly.Timeout.TimeoutRejectedException : The operation didn't complete within the allowed timeout of '00:00:10'.
---- System.Threading.Tasks.TaskCanceledException : A task was canceled.
Raw output
Polly.Timeout.TimeoutRejectedException : The operation didn't complete within the allowed timeout of '00:00:10'.
---- System.Threading.Tasks.TaskCanceledException : A task was canceled.
at Polly.Utils.ExceptionUtilities.TrySetStackTrace[T](T exception)
at Polly.Timeout.TimeoutResilienceStrategy.ExecuteCore[TResult,TState](Func`3 callback, ResilienceContext context, TState state)
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.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
at System.Threading.Tasks.Task`1.TrySetResult(TResult result)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result)
at System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetResult(TResult result)
at Polly.Utils.StrategyHelper.<ExecuteCallbackSafeAsync>g__AwaitTask|0_0[TResult,TState,T](ValueTask`1 task, Boolean continueOnCapturedContext)
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.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
at System.Threading.Tasks.Task`1.TrySetResult(TResult result)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result)
at System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetResult(TResult result)
at Polly.ResiliencePipeline.<>c.<<ExecuteAsync>b__3_0>d.MoveNext()
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.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
at System.Threading.Tasks.Task.TrySetCanceled(CancellationToken tokenToRecord, Object cancellationException)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetException(Exception exception, Task`1& taskField)
at Aspire.Hosting.Dcp.ApplicationExecutor.<>c__DisplayClass52_0.<<CreateServicesAsync>b__1>d.MoveNext() in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 898
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 Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 260
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+MoveNext()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
at System.Threading.Tasks.Task.InternalCancel()
at System.Threading.CancellationTokenSource.Invoke(Delegate d, Object state, CancellationTokenSource source)
at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
at System.Threading.TimerQueue.FireNextTimers()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
--- End of stack trace from previous location ---
at Polly.Outcome`1.GetResultOrRethrow()
at Polly.ResiliencePipeline.ExecuteAsync(Func`2 callback, CancellationToken cancellationToken)
at Aspire.Hosting.Dcp.ApplicationExecutor.CreateServicesAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 895
at Aspire.Hosting.Dcp.ApplicationExecutor.RunApplicationAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 141
at Aspire.Hosting.Dcp.DcpHostService.StartAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpHostService.cs:line 75
at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__14_1(IHostedService service, CancellationToken token)
at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>g__LogAndRethrow|14_3(<>c__DisplayClass14_0&)
at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
at Aspire.Hosting.Testing.DistributedApplicationFactory.ObservedHost.StartAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting.Testing/DistributedApplicationFactory.cs:line 450
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Aspire.Hosting.Testing.DistributedApplicationFactory.StartAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting.Testing/DistributedApplicationFactory.cs:line 65
----- Inner Stack Trace -----
at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+MoveNext()
at k8s.Watcher`1.CreateWatchEventEnumerator(Func`1 streamReaderCreator, Action`1 onError, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 260
at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 260
at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at Aspire.Hosting.Dcp.ApplicationExecutor.<>c__DisplayClass52_0.<<CreateServicesAsync>b__1>d.MoveNext() in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 898
--- End of stack trace from previous location ---
at Aspire.Hosting.Dcp.ApplicationExecutor.<>c__DisplayClass52_0.<<CreateServicesAsync>b__1>d.MoveNext() in /_/src/Aspire.Hosting/Dcp/ApplicationExecutor.cs:line 898
--- End of stack trace from previous location ---
at Polly.ResiliencePipeline.<>c.<<ExecuteAsync>b__3_0>d.MoveNext()