Skip to content

test flake: cliui/TestAgent missing lines #10408

Closed
@johnstcn

Description

@johnstcn

Seen here: https://github.com/coder/coder/actions/runs/6662837992/job/18107813676?pr=10350

Logs:

=== Failed
=== FAIL: cli/cliui TestAgent/Error_during_fetch (0.02s)
    clitest.go:246: command "" exited with error: running command "": fetch:
            github.com/coder/coder/v2/cli/cliui.Agent
                /home/runner/actions-runner/_work/coder/coder/cli/cliui/agent.go:81
          - fetch workspace agent:
            github.com/coder/coder/v2/cli/cliui.Agent.func2
                /home/runner/actions-runner/_work/coder/coder/cli/cliui/agent.go:59
          - bad:
            github.com/coder/coder/v2/cli/cliui_test.TestAgent.func17
                /home/runner/actions-runner/_work/coder/coder/cli/cliui/agent_test.go:281
    agent_test.go:383: 
        	Error Trace:	/home/runner/actions-runner/_work/coder/coder/cli/cliui/agent_test.go:383
        	Error:      	missing lines: ⧗ Waiting for the workspace agent to connect
        	Test:       	TestAgent/Error_during_fetch

=== FAIL: cli/cliui TestAgent/Disconnected (0.02s)
    clitest.go:246: command "" exited with error: <nil>
    agent_test.go:383: 
        	Error Trace:	/home/runner/actions-runner/_work/coder/coder/cli/cliui/agent_test.go:383
        	Error:      	missing lines: ⧗ The workspace agent lost connection, Wait for it to reconnect or restart your workspace., For more information and troubleshooting, see, ✔ The workspace agent lost connection
        	Test:       	TestAgent/Disconnected

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions