microsoft / microsoft/aspire

[Failing test]: Aspire.Cli.EndToEnd.Tests.DockerDeploymentTests.CreateAndDeployToDockerComposeInteractive

Open
#15,871 2 comments 0 reactions 0 assignees View on GitHub
area-cli disabled-tests failing-test triage:bot-seen
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/23963979582
Build error leg or test failing: Aspire.Cli.EndToEnd.Tests.DockerDeploymentTests.CreateAndDeployToDockerComposeInteractive
Artifact: [logs-Cli.EndToEnd-ubuntu-latest](https://github.com/microsoft/aspire/actions/runs/23963979582/artifacts/6266437434)

### 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": "Hex1b.Automation.Hex1bAutomationException : Step 11 of 11 failed \u2014 WaitUntil(\u0022template selection list (\u003E Starter App)\u0022)",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
```

### Error details

Error details (86 lines)

```yml
Error Message: Hex1b.Automation.Hex1bAutomationException : Step 11 of 11 failed — WaitUntil("template selection list (> Starter App)")
Timed out after 00:01:00 waiting for: template selection list (> Starter App)
at Hex1bAutomatorTestHelpers.cs:176

Completed steps (10 of 11):
[1] WaitUntil("initial bash prompt") — 316ms ✓ (CliE2EAutomatorHelpers.cs:112)
[2] Wait(500ms) — 506ms ✓ (CliE2EAutomatorHelpers.cs:116)
[3] Type("CMDCOUNT=0; PROMPT_COMMAND=...") — 0ms ✓ (CliE2EAutomatorHelpers.cs:119)
[4] Key(Enter) — 0ms ✓ (CliE2EAutomatorHelpers.cs:120)
[5] WaitUntil("success prompt [1 OK] $") — 282ms ✓ (Hex1bAutomatorTestHelpers.cs:25)
[6] Type("cd /tmp/Aspire.Cli.Tests/Te...") — 1ms ✓ (CliE2EAutomatorHelpers.cs:123)
[7] Key(Enter) — 0ms ✓ (CliE2EAutomatorHelpers.cs:124)
[8] WaitUntil("success prompt [2 OK] $") — 3ms ✓ (Hex1bAutomatorTestHelpers.cs:25)
[9] Type("aspire new") — 0ms ✓ (Hex1bAutomatorTestHelpers.cs:174)
[10] Key(Enter) — 0ms ✓ (Hex1bAutomatorTestHelpers.cs:175)
[11] WaitUntil("template selection list (> Starter App)") — FAILED after 1:00.158

Total elapsed: 1:01.269

Terminal snapshot at failure (160x48, cursor at 14,4, normal screen):
bash-5.2$ CMDCOUNT=0; PROMPT_COMMAND='s=$?;((CMDCOUNT++));PS1="[$CMDCOUNT $([ $s -eq 0 ] && echo OK || echo ERR:$s)] \$ "'
[1 OK] $ cd /tmp/Aspire.Cli.Tests/TemporaryWorkspaces/14261859-d1a1-491b-8861-12ea3b71019e
[2 OK] $ aspire new
bash: aspire: command not found
[3 ERR:127] $











































---- Hex1b.Automation.WaitUntilTimeoutException : WaitUntil timed out after 00:01:00 waiting for: template selection list (> Starter App)
at Hex1bTerminalAutomator.cs:110
Terminal (160x48, cursor at 14,4, normal screen):
bash-5.2$ CMDCOUNT=0; PROMPT_COMMAND='s=$?;((CMDCOUNT++));PS1="[$CMDCOUNT $([ $s -eq 0 ] && echo OK || echo ERR:$s)] \$ "'
[1 OK] $ cd /tmp/Aspire.Cli.Tests/TemporaryWorkspaces/14261859-d1a1-491b-8861-12ea3b71019e
[2 OK] $ aspire new
bash: aspire: command not found
[3 ERR:127] $
Stack Trace:
at Hex1b.Automation.Hex1bTerminalAutomator.RunAndRecordAsync(Hex1bTerminalInputSequence sequence, String description, CancellationToken ct, String callerFilePath, Int32 callerLineNumber) in /home/runner/work/hex1b/hex1b/src/Hex1b/Automation/Hex1bTerminalAutomator.cs:line 665
at Hex1b.Automation.Hex1bTerminalAutomator.WaitUntilAsync(Func`2 predicate, Nullable`1 timeout, String description, String predicateExpression, String callerFilePath, Int32 callerLineNumber) in /home/runner/work/hex1b/hex1b/src/Hex1b/Automation/Hex1bTerminalAutomator.cs:line 113
at Aspire.Tests.Shared.Hex1bAutomatorTestHelpers.AspireNewAsync(Hex1bTerminalAutomator auto, String projectName, SequenceCounter counter, AspireTemplate template, Boolean useRedisCache) in /_/tests/Shared/Hex1bAutomatorTestHelpers.cs:line 176
at Aspire.Cli.EndToEnd.Tests.DockerDeploymentTests.CreateAndDeployToDockerComposeInteractive() in /_/tests/Aspire.Cli.EndToEnd.Tests/DockerDeploymentTests.cs:line 170
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
at Hex1b.Automation.WaitUntilStep.ExecuteAsync(Hex1bTerminal terminal, Hex1bTerminalInputSequenceOptions options, CancellationToken ct) in /home/runner/work/hex1b/hex1b/src/Hex1b/Automation/WaitUntilStep.cs:line 39
at Hex1b.Automation.Hex1bTerminalInputSequence.ApplyAsync(Hex1bTerminal terminal, CancellationToken ct) in /home/runner/work/hex1b/hex1b/src/Hex1b/Automation/Hex1bTerminalInputSequence.cs:line 41
at Hex1b.Automation.Hex1bTerminalAutomator.RunAndRecordAsync(Hex1bTerminalInputSequence sequence, String description, CancellationToken ct, String callerFilePath, Int32 callerLineNumber) in /home/runner/work/hex1b/hex1b/src/Hex1b/Automation/Hex1bTerminalAutomator.cs:line 652
```

Standard Output

```yml
Temporary workspace created at: /tmp/Aspire.Cli.Tests/TemporaryWorkspaces/14261859-d1a1-491b-8861-12ea3b71019e

```

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

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.