Skip to content

test flake: TestRun/RPTY: timeout waiting for read to finish #234

Open
@johnstcn

Description

@johnstcn

Seen here: https://github.com/coder/coder/actions/runs/12107437257/job/33754360065?pr=15688#step:7:1133

    t.go:106: 2024-12-01 17:15:17.273 [debu]  coderd: GET  host=localhost:41799  path=/api/v2/workspaceagents/566a6b78-5b9b-4394-965e-7fd046624f88/pty  proto=HTTP/1.1  remote_addr=127.0.0.1  start="2024-12-01T17:14:41.77262628Z"  took=35.500672343s  status_code=101  latency_ms=35500  request_id=93f4b4a5-2873-4c76-bafa-14cc73501b62
    run_test.go:119: 
        	Error Trace:	/home/runner/work/coder/coder/scaletest/workspacetraffic/run_test.go:119
        	            				/opt/hostedtoolcache/go/1.22.8/x64/src/runtime/asm_amd64.s:1695
        	Error:      	Received unexpected error:
        	            	timeout waiting for read to finish:
        	            	    github.com/coder/coder/v2/scaletest/workspacetraffic.(*rptyConn).Close
        	            	        /home/runner/work/coder/coder/scaletest/workspacetraffic/conn.go:138
        	Test:       	TestRun/RPTY
        	Messages:   	RUN LOGS:
        	            	2024-12-01 17:14:41.772 [debu]  config  agent_id=566a6b78-5b9b-4394-965e-7fd046624f88  reconnecting_pty_id=bb354f21-4465-4364-838a-54ae43605c24  height=25  width=80  tick_interval=1s  bytes_per_tick=1024
        	            	2024-12-01 17:14:41.772 [debu]  connect to workspace agent  agent_id=566a6b78-5b9b-4394-965e-7fd046624f88
        	            	2024-12-01 17:14:41.772 [info]  connecting to workspace agent  agent_id=566a6b78-5b9b-4394-965e-7fd046624f88  method=reconnectingpty
        	            	2024-12-01 17:14:41.774 [debu]  writing to agent  agent_id=566a6b78-5b9b-4394-965e-7fd046624f88
        	            	2024-12-01 17:14:41.774 [debu]  reading from agent  agent_id=566a6b78-5b9b-4394-965e-7fd046624f88
        	            	2024-12-01 17:14:47.774 [debu]  done writing to agent  agent_id=566a6b78-5b9b-4394-965e-7fd046624f88
        	            	2024-12-01 17:15:17.273 [debu]  done reading from agent  agent_id=566a6b78-5b9b-4394-965e-7fd046624f88
        	            	2024-12-01 17:15:17.273 [erro]  close agent connection  agent_id=566a6b78-5b9b-4394-965e-7fd046624f88 ...
        	            	    error= timeout waiting for read to finish:
        	            	               github.com/coder/coder/v2/scaletest/workspacetraffic.(*rptyConn).Close
        	            	                   /home/runner/work/coder/coder/scaletest/workspacetraffic/conn.go:138
        	            	
        	            	END RUN LOGS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions