microsoft / microsoft/aspire

[CI Failure] Flaky: AzureKubernetesInfrastructureTests DestroyPipeline tests time out on windows-latest

Open
#19,982 1 comment 0 reactions 0 assignees View on GitHub
ci-failure-cause test-failure
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

## Build Information

Build: https://github.com/microsoft/aspire/actions/runs/34240101007
Build error leg or test failing: Tests / No-package tests (regular, Aspire.Hosting.JavaScript.Tests, ...) / Hosting.JavaScript (windows-latest) / `Aspire.Hosting.Azure.Tests.AzureKubernetesInfrastructureTests.DestroyPipelineUsesPersistedAksResourceIdWhenScopeIsAbsent`
Pull request: #19386

## Error Message

```
System.TimeoutException : The operation has timed out. at Aspire.Hosting.Azure.Tests.AzureKubernetesInfrastructureTests.DestroyPipelineUsesPersistedAksResourceIdWhenScopeIsAbsent()/DestroyPipelineUsesPersistedAksOutputAndScopeWithoutProvisioning() in AzureKubernetesInfrastructureTests.cs
```

## Description

Flaky: AzureKubernetesInfrastructureTests DestroyPipeline tests time out on windows-latest

**Type**: flaky-test

## Occurrences

| Date | Build | Job | PR |
|------|-------|-----|----|
| 2026-09-08 | [34240101007](https://github.com/microsoft/aspire/actions/runs/34240101007) | Tests / No-package tests (regular, Aspire.Hosting.JavaScript.Tests, ...) / Hosting.JavaScript (windows-latest) | #19386 |
| 2026-09-08 | [34279845105](https://github.com/microsoft/aspire/actions/runs/34279845105) | Tests / No-package tests (regular, Infrastructure.Tests, ...) / Infrastructure (ubuntu-latest) | #19990 |
| 2026-09-09 | [34296511200](https://github.com/microsoft/aspire/actions/runs/34296511200) | Tests / No-package tests (regular, Aspire.Hosting.Azure.Kubernetes.Tests, Hosting.Azure.Kubernetes, ...) / Hosting.Azure.Kubernetes (windows-latest) | #19969 |
| 2026-09-09 | [34401953654](https://github.com/microsoft/aspire/actions/runs/34401953654) | Tests / No-package tests (regular, Aspire.Hosting.CodeGeneration.Java.Tests, Hosting.CodeGeneration.Java,... / Hosting.CodeGeneration.Java (ubuntu-latest) | #19994 |
| 2026-09-10 | [34480468710](https://github.com/microsoft/aspire/actions/runs/34480468710) | Tests / No-package tests (regular, Aspire.Hosting.Azure.Kubernetes.Tests, Hosting.Azure.Kubernetes, Hosti... / Hosting.Azure.Kubernetes (windows-latest) | #20016 |

Contributor guide

Open the contributing guide

Research direction

Start with AzureKubernetesInfrastructureTests.cs and the DestroyPipelineUsesPersistedAksResourceIdWhenScopeIsAbsent test named in the failure. Reproduce it in the affected Windows CI job and compare the listed occurrences, including the related DestroyPipeline test. Done means the DestroyPipeline tests complete without timing out on the reported jobs.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, github-actions, kubernetes
Domain
ci-cd, cloud, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.