From 040403821b004bdfc1068b6b6697e0d0e8082916 Mon Sep 17 00:00:00 2001 From: Sebastien Ros Date: Fri, 20 Mar 2026 18:55:02 -0700 Subject: [PATCH 1/3] Disable Kusto emulator tests on Linux - Disabled: KustoEmulator_Starts - Disabled: KustoEmulator_WithDatabase_CanReadIngestedData - Disabled: KustoEmulator_WithDatabaseThatAlreadyExists_ErrorIsIgnored - Disabled: KustoEmulator_WithInvalidDatabase_LogsErrorAndContinues - Disabled: KustoEmulator_WithBindMount_IsUsedForPersistence - Issue: https://github.com/microsoft/aspire/issues/11820 These tests are being disabled on Linux while the Kusto emulator image fails to start due to unsupported CPU instruction set requirements. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../KustoFunctionalTests.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/Aspire.Hosting.Azure.Kusto.Tests/KustoFunctionalTests.cs b/tests/Aspire.Hosting.Azure.Kusto.Tests/KustoFunctionalTests.cs index 814bb7c4814..c5977212877 100644 --- a/tests/Aspire.Hosting.Azure.Kusto.Tests/KustoFunctionalTests.cs +++ b/tests/Aspire.Hosting.Azure.Kusto.Tests/KustoFunctionalTests.cs @@ -40,7 +40,7 @@ public KustoFunctionalTests(ITestOutputHelper testOutputHelper) [Fact] [RequiresFeature(TestFeature.Docker)] - [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))] + [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] public async Task KustoEmulator_Starts() { using var timeout = new CancellationTokenSource(TestConstants.ExtraLongTimeoutTimeSpan); @@ -90,7 +90,7 @@ public async Task KustoEmulator_Starts() [Fact] [RequiresFeature(TestFeature.Docker)] - [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))] + [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] public async Task KustoEmulator_WithDatabase_CanReadIngestedData() { using var timeout = new CancellationTokenSource(TestConstants.ExtraLongTimeoutTimeSpan); @@ -168,7 +168,7 @@ static async Task> ReadDataAsync(ICslQueryProvider client, Cancel [Fact] [RequiresFeature(TestFeature.Docker)] - [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))] + [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] public async Task KustoEmulator_WithDatabaseThatAlreadyExists_ErrorIsIgnored() { using var timeout = new CancellationTokenSource(TestConstants.ExtraLongTimeoutTimeSpan); @@ -195,7 +195,7 @@ public async Task KustoEmulator_WithDatabaseThatAlreadyExists_ErrorIsIgnored() [Fact] [RequiresFeature(TestFeature.Docker)] - [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))] + [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] public async Task KustoEmulator_WithInvalidDatabase_LogsErrorAndContinues() { using var timeout = new CancellationTokenSource(TestConstants.ExtraLongTimeoutTimeSpan); @@ -226,7 +226,7 @@ public async Task KustoEmulator_WithInvalidDatabase_LogsErrorAndContinues() [Fact] [RequiresFeature(TestFeature.Docker)] - [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))] + [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] public async Task KustoEmulator_WithBindMount_IsUsedForPersistence() { using var timeout = new CancellationTokenSource(TestConstants.ExtraLongTimeoutTimeSpan); From e44284bfb1a41f998caf9367395365ae1cbec4db Mon Sep 17 00:00:00 2001 From: Sebastien Ros Date: Fri, 20 Mar 2026 18:59:24 -0700 Subject: [PATCH 2/3] Keep AzDO skip for Kusto tests - Preserved: KustoEmulator_Starts on AzDO - Preserved: KustoEmulator_WithDatabase_CanReadIngestedData on AzDO - Preserved: KustoEmulator_WithDatabaseThatAlreadyExists_ErrorIsIgnored on AzDO - Preserved: KustoEmulator_WithInvalidDatabase_LogsErrorAndContinues on AzDO - Preserved: KustoEmulator_WithBindMount_IsUsedForPersistence on AzDO - Issue: https://github.com/dotnet/aspire/issues/11820 This keeps the existing Azure DevOps skip while also retaining the new Linux-targeted skip. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../Aspire.Hosting.Azure.Kusto.Tests/KustoFunctionalTests.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/Aspire.Hosting.Azure.Kusto.Tests/KustoFunctionalTests.cs b/tests/Aspire.Hosting.Azure.Kusto.Tests/KustoFunctionalTests.cs index c5977212877..0f6350db9ec 100644 --- a/tests/Aspire.Hosting.Azure.Kusto.Tests/KustoFunctionalTests.cs +++ b/tests/Aspire.Hosting.Azure.Kusto.Tests/KustoFunctionalTests.cs @@ -40,6 +40,7 @@ public KustoFunctionalTests(ITestOutputHelper testOutputHelper) [Fact] [RequiresFeature(TestFeature.Docker)] + [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))] [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] public async Task KustoEmulator_Starts() { @@ -90,6 +91,7 @@ public async Task KustoEmulator_Starts() [Fact] [RequiresFeature(TestFeature.Docker)] + [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))] [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] public async Task KustoEmulator_WithDatabase_CanReadIngestedData() { @@ -168,6 +170,7 @@ static async Task> ReadDataAsync(ICslQueryProvider client, Cancel [Fact] [RequiresFeature(TestFeature.Docker)] + [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))] [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] public async Task KustoEmulator_WithDatabaseThatAlreadyExists_ErrorIsIgnored() { @@ -195,6 +198,7 @@ public async Task KustoEmulator_WithDatabaseThatAlreadyExists_ErrorIsIgnored() [Fact] [RequiresFeature(TestFeature.Docker)] + [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))] [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] public async Task KustoEmulator_WithInvalidDatabase_LogsErrorAndContinues() { @@ -226,6 +230,7 @@ public async Task KustoEmulator_WithInvalidDatabase_LogsErrorAndContinues() [Fact] [RequiresFeature(TestFeature.Docker)] + [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))] [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] public async Task KustoEmulator_WithBindMount_IsUsedForPersistence() { From aa738a2c1654d1d3b7393c29e2e797bd8d59b4a8 Mon Sep 17 00:00:00 2001 From: Sebastien Ros Date: Fri, 20 Mar 2026 19:08:19 -0700 Subject: [PATCH 3/3] Link Linux Kusto skips to new issue - Linked: KustoEmulator_Starts Linux skip to https://github.com/microsoft/aspire/issues/15463 - Linked: KustoEmulator_WithDatabase_CanReadIngestedData Linux skip to https://github.com/microsoft/aspire/issues/15463 - Linked: KustoEmulator_WithDatabaseThatAlreadyExists_ErrorIsIgnored Linux skip to https://github.com/microsoft/aspire/issues/15463 - Linked: KustoEmulator_WithInvalidDatabase_LogsErrorAndContinues Linux skip to https://github.com/microsoft/aspire/issues/15463 - Linked: KustoEmulator_WithBindMount_IsUsedForPersistence Linux skip to https://github.com/microsoft/aspire/issues/15463 This keeps the existing Azure DevOps disable on issue #11820 and moves the Linux-only disable to the dedicated Kusto emulator issue. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../KustoFunctionalTests.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/Aspire.Hosting.Azure.Kusto.Tests/KustoFunctionalTests.cs b/tests/Aspire.Hosting.Azure.Kusto.Tests/KustoFunctionalTests.cs index 0f6350db9ec..9eb1fbdeb3e 100644 --- a/tests/Aspire.Hosting.Azure.Kusto.Tests/KustoFunctionalTests.cs +++ b/tests/Aspire.Hosting.Azure.Kusto.Tests/KustoFunctionalTests.cs @@ -41,7 +41,7 @@ public KustoFunctionalTests(ITestOutputHelper testOutputHelper) [Fact] [RequiresFeature(TestFeature.Docker)] [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))] - [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] + [ActiveIssue("https://github.com/microsoft/aspire/issues/15463", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] public async Task KustoEmulator_Starts() { using var timeout = new CancellationTokenSource(TestConstants.ExtraLongTimeoutTimeSpan); @@ -92,7 +92,7 @@ public async Task KustoEmulator_Starts() [Fact] [RequiresFeature(TestFeature.Docker)] [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))] - [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] + [ActiveIssue("https://github.com/microsoft/aspire/issues/15463", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] public async Task KustoEmulator_WithDatabase_CanReadIngestedData() { using var timeout = new CancellationTokenSource(TestConstants.ExtraLongTimeoutTimeSpan); @@ -171,7 +171,7 @@ static async Task> ReadDataAsync(ICslQueryProvider client, Cancel [Fact] [RequiresFeature(TestFeature.Docker)] [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))] - [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] + [ActiveIssue("https://github.com/microsoft/aspire/issues/15463", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] public async Task KustoEmulator_WithDatabaseThatAlreadyExists_ErrorIsIgnored() { using var timeout = new CancellationTokenSource(TestConstants.ExtraLongTimeoutTimeSpan); @@ -199,7 +199,7 @@ public async Task KustoEmulator_WithDatabaseThatAlreadyExists_ErrorIsIgnored() [Fact] [RequiresFeature(TestFeature.Docker)] [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))] - [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] + [ActiveIssue("https://github.com/microsoft/aspire/issues/15463", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] public async Task KustoEmulator_WithInvalidDatabase_LogsErrorAndContinues() { using var timeout = new CancellationTokenSource(TestConstants.ExtraLongTimeoutTimeSpan); @@ -231,7 +231,7 @@ public async Task KustoEmulator_WithInvalidDatabase_LogsErrorAndContinues() [Fact] [RequiresFeature(TestFeature.Docker)] [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsRunningFromAzdo))] - [ActiveIssue("https://github.com/dotnet/aspire/issues/11820", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] + [ActiveIssue("https://github.com/microsoft/aspire/issues/15463", typeof(PlatformDetection), nameof(PlatformDetection.IsLinux))] public async Task KustoEmulator_WithBindMount_IsUsedForPersistence() { using var timeout = new CancellationTokenSource(TestConstants.ExtraLongTimeoutTimeSpan);