Skip to content

[Failing test]: Aspire.Cli.EndToEnd.Tests.DockerDeploymentTests.CreateAndDeployToDockerCompose #15882

@radical

Description

@radical

Build information

Build: https://github.com/microsoft/aspire/actions/runs/23963979582
Build error leg or test failing: Aspire.Cli.EndToEnd.Tests.DockerDeploymentTests.CreateAndDeployToDockerCompose
Artifact: logs-Cli.EndToEnd-ubuntu-latest

Fill in the error message template

Error Message

Fill the error message using step by step known issues guidance.

{
  "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)
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") — 264ms ✓ (CliE2EAutomatorHelpers.cs:112)
  [2] Wait(500ms) — 551ms ✓ (CliE2EAutomatorHelpers.cs:116)
  [3] Type("CMDCOUNT=0; PROMPT_COMMAND=...") — 2ms ✓ (CliE2EAutomatorHelpers.cs:119)
  [4] Key(Enter) — 2ms ✓ (CliE2EAutomatorHelpers.cs:120)
  [5] WaitUntil("success prompt [1 OK] $") — 0ms ✓ (Hex1bAutomatorTestHelpers.cs:25)
  [6] Type("cd /tmp/Aspire.Cli.Tests/Te...") — 0ms ✓ (CliE2EAutomatorHelpers.cs:123)
  [7] Key(Enter) — 0ms ✓ (CliE2EAutomatorHelpers.cs:124)
  [8] WaitUntil("success prompt [2 OK] $") — 2ms ✓ (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.228

Total elapsed: 1:01.052

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/245798ed-89ab-4c95-82d4-6ed3e7f71952                                                                      
[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/245798ed-89ab-4c95-82d4-6ed3e7f71952                                                                      
[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.CreateAndDeployToDockerCompose() in /_/tests/Aspire.Cli.EndToEnd.Tests/DockerDeploymentTests.cs:line 48
--- 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
Temporary workspace created at: /tmp/Aspire.Cli.Tests/TemporaryWorkspaces/245798ed-89ab-4c95-82d4-6ed3e7f71952

📊 View CI Failure Report

Metadata

Metadata

Assignees

No one assigned

    Labels

    failing-testneeds-area-labelAn area label is needed to ensure this gets routed to the appropriate area ownersquarantined-testQuarantined tests that run only in the Outerloop Tests workflow

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions