microsoft / microsoft/aspire

[CI Failure] Aspire.Cli.Tests (macos-latest) job fails with generic exit code 2, unrelated to PR changes

Open
#20,101 0 comments 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/34790579218
Build error leg or test failing: Tests / No-package tests (regular, Aspire.Cli.Tests, Cli, Cli, tests/Aspire.Cli.Tests/Aspire.Cli.Tests.cs... / Cli (macos-latest) / `N/A`
Pull request: #20079

## 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 src/Aspire.Dashboard files, unrelated to Aspire.Cli.Tests.
```

## Description

Aspire.Cli.Tests (macos-latest) job fails with generic exit code 2, unrelated to PR changes

**Type**: flaky-test

## Occurrences

| Date | Build | Job | PR |
|------|-------|-----|----|
| 2026-09-14 | [34790579218](https://github.com/microsoft/aspire/actions/runs/34790579218) | Tests / No-package tests (regular, Aspire.Cli.Tests, Cli, Cli, tests/Aspire.Cli.Tests/Aspire.Cli.Tests.cs... / Cli (macos-latest) | #20079 |
| 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

Open the contributing guide

Research direction

Start with the failed macos-latest job for Aspire.Cli.Tests in builds 34790579218 and 34791816809, then rerun the relevant CI test job while investigating why the logs are unavailable. Determine the cause of the generic exit code 2 and verify that the job completes reliably without failures unrelated to the pull request.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
ci-cd, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.