Closed
Description
Seen here:
- https://gist.github.com/johnstcn/6a4df695936601bbf2ec7a2474ac7443
- https://gist.github.com/johnstcn/ba3c102b00536935750824e4f028dc3e
Excerpt:
t.go:99: 2024-03-25 16:29:01.183 [debu] coderd: GET host=localhost:33747 path=/api/v2/workspaces/4df758ea-1590-4922-a520-2580da559987 proto=HTTP/1.1 remote_addr=127.0.0.1 start="2024-03-25T16:29:01.098658353Z" took=84.411994ms status_code=200 latency_ms=84 request_id=6c67e79d-950c-43d1-b94d-91bf5ad29c1d
coderdtest.go:1039: agent example not connected yet
t.go:102: 2024-03-25 16:29:01.236 [erro] cli: command exit ...
error= fetch:
github.com/coder/coder/v2/cli/cliui.Agent
/home/runner/actions-runner/_work/coder/coder/cli/cliui/agent.go:112
- context deadline exceeded
ssh_test.go:125:
Error Trace: /home/runner/actions-runner/_work/coder/coder/cli/ssh_test.go:125
/home/runner/actions-runner/_work/coder/coder/cli/ssh_test.go:1487
/opt/hostedtoolcache/go/1.21.5/x64/src/runtime/asm_amd64.s:1650
Error: Received unexpected error:
running command "coder ssh": fetch:
github.com/coder/coder/v2/cli/cliui.Agent
/home/runner /actions-runner/_work/coder/coder/cli/cliui/agent.go:112
- context deadline exceeded
Test:
t.go:99: 2024-03-25 16:29:01.415 [debu] coderd: GET host=localhost:33747 path=/api/v2/workspaces/4df758ea-1590-4922-a520-2580da559987 proto=HTTP/1.1 remote_addr=127.0.0.1 start="2024-03-25T16:29:01.348050036Z" took=67.253481ms status_code=200 latency_ms=67 request_id=ddae6a4d-5cdf-4a01-9da2-3ddf71fccf4f
coderdtest.go:1039: agent example not connected yet
t.go:99: 2024-03-25 16:29:01.648 [debu] coderd: GET host=localhost:33747 path=/api/v2/workspaces/4df758ea-1590-4922-a520-2580da559987 proto=HTTP/1.1 remote_addr=127.0.0.1 start="2024-03-25T16:29:01.598167571Z" took=50.811557ms status_code=200 latency_ms=50 request_id=20f22c89-30a0-4659-9885-be6bed4d8509
coderdtest.go:1039: agent example not connected yet
t.go:99: 2024-03-25 16:29:01.945 [debu] coderd: GET host=localhost:33747 path=/api/v2/workspaces/4df758ea-1590-4922-a520-2580da559987 proto=HTTP/1.1 remote_addr=127.0.0.1 start="2024-03-25T16:29:01.847768913Z" took=98.029072ms status_code=200 latency_ms=98 request_id=4f62782b-25b0-4a1c-af82-744126511dcb
coderdtest.go:1039: agent example not connected yet
coderdtest.go:963:
Error Trace: /home/runner/actions-runner/_work/coder/coder/coderd/coderdtest/coderdtest.go:1017
/home/runner/actions-runner/_work/coder/coder/coderd/coderdtest/coderdtest.go:963
/home/runner/actions-runner/_work/coder/coder/cli/ssh_test.go:131
Error: Condition never satisfied
Test: TestSSH/StartStoppedWorkspace
In both of the above instances, the workspace build job appears to be completing successfully:
t.go:99: 2024-03-25 12:59:26.117 [debu] coderd.inmem-provisionerd-test: stage CompleteJob done job_id=f624de6d-dfaa-4aed-9f0a-2ae1d8930ff6
t.go:99: 2024-03-25 16:28:37.984 [debu] coderd.inmem-provisionerd-test: stage CompleteJob done job_id=24c32742-f0bb-4dc2-9afb-088b35876c13