microsoft / microsoft/aspire

[Failing test]: Aspire.Cli.EndToEnd.Tests.StartStopTests.CreateStartAndStopAspireProject

Open
#16,191 3 comments 0 reactions 1 assignee Claimed by @karolz-ms View on GitHub
area-engineering-systems failing-test quarantined-test
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/24430558259
Build error leg or test failing: Aspire.Cli.EndToEnd.Tests.StartStopTests.CreateStartAndStopAspireProject
Logs: [Tests / Cli.EndToEnd-StartStopTests / Cli.EndToEnd-StartStopTests \(ubuntu-latest\)](https://github.com/microsoft/aspire/actions/runs/24430558259/job/71380730171)
Artifact: [All-TestResults](https://github.com/microsoft/aspire/actions/runs/24430558259/artifacts/6442703433)

### Fill in the error message template

## Error Message

Fill the error message using [step by step known issues guidance](https://github.com/dotnet/arcade/blob/main/Documentation/Projects/Build%20Analysis/KnownIssueJsonStepByStep.md).

```json
{
"ErrorMessage": "",
"ErrorPattern": "System.TimeoutException : Timed out after .* waiting for the first output line from .*docker network ls",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
```

### Error details

```yml
Error Message: System.TimeoutException : Timed out after 00:02:00 waiting for the first output line from 'docker network ls --format json | grep -i -- 'StarterApp_d180eb' | wc -l' to contain '0'.
Stack Trace:
at Aspire.Tests.Shared.Hex1bAutomatorTestHelpers.ExecuteCommandUntilOutputAsync(Hex1bTerminalAutomator auto, SequenceCounter counter, String commandText, String desiredOutput, Nullable`1 timeout, Nullable`1 retryInterval) in /_/tests/Shared/Hex1bAutomatorTestHelpers.cs:line 173
at Aspire.Cli.EndToEnd.Tests.StartStopTests.CreateStartAndStopAspireProject() in /_/tests/Aspire.Cli.EndToEnd.Tests/StartStopTests.cs:line 62
--- End of stack trace from previous location ---
```

Standard Output

```yml
Temporary workspace created at: /tmp/Aspire.Cli.Tests/TemporaryWorkspaces/6cfe2341-fe0f-4cee-aad2-3fce299d7848
Creating Docker test terminal:
Test name: CreateStartAndStopAspireProject
Strategy: PullRequest (PR #15995)
Variant: DotNet
Dockerfile: /home/runner/work/aspire/aspire/tests/Shared/Docker/Dockerfile.e2e
Workspace: /tmp/Aspire.Cli.Tests/TemporaryWorkspaces/6cfe2341-fe0f-4cee-aad2-3fce299d7848
Docker socket: True
Dimensions: 160x48
Recording: /home/runner/work/aspire/aspire/testresults/recordings/CreateStartAndStopAspireProject.cast

```

📊 **[View CI Failure Report](https://github.com/microsoft/aspire/issues/16191#issuecomment-4249343086)**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.