[CI Failure] Aspire.Cli.Tests (ubuntu-latest) job fails with generic exit code 2, unrelated to PR changes
- 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/34740434278
Build error leg: Tests / No-package tests (regular, Infrastructure.Tests, Infrastructure, Infrastructure, tests/Infrastruc... / Infrastructure (ubuntu-latest)
Pull request: #20020
## Error Message
```
Process completed with exit code 2. (Run tests (Linux/macOS) step failed; job logs unavailable: 'Failed to fetch logs for job'). No TRX test failures extracted. PR only modifies extension/ files, unrelated to Aspire.Cli.Tests.
```
## Description
Aspire.Cli.Tests (ubuntu-latest) job fails with generic exit code 2, unrelated to PR changes
**Type**: flaky-test
## Occurrences
| Date | Build | Job | PR |
|------|-------|-----|----|
| 2026-09-13 | [34740434278](https://github.com/microsoft/aspire/actions/runs/34740434278) | Tests / No-package tests (regular, Infrastructure.Tests, Infrastructure, Infrastructure, tests/Infrastruc... / Infrastructure (ubuntu-latest) | #20020 |
| 2026-09-14 | [34791816809](https://github.com/microsoft/aspire/actions/runs/34791816809) | Tests / No-package tests (regular, Aspire.Cli.Tests, Cli, Cli, tests/Aspire.Cli.Tests/Aspire.Cli.Tests.cs... / Cli (macos-latest) | #20099 |
Contributor guide
Research direction
Start with build 34740434278 and the failing Tests / No-package tests job for Aspire.Cli.Tests on ubuntu-latest; compare it with the listed macOS occurrence and inspect the available job context. The issue is done when the unrelated exit-code-2 failure is explained and the affected CI test job no longer flakes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, github-actions
- Domain
- ci-cd, cli, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100