Skip to content

Flake: TestScaleTestWorkspaceTraffic: copy did not close in time` #265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
johnstcn opened this issue Jan 3, 2025 · 0 comments · Fixed by coder/coder#16033
Closed

Flake: TestScaleTestWorkspaceTraffic: copy did not close in time` #265

johnstcn opened this issue Jan 3, 2025 · 0 comments · Fixed by coder/coder#16033
Assignees
Labels

Comments

@johnstcn
Copy link
Member

johnstcn commented Jan 3, 2025

Seen here: https://github.com/coder/coder/actions/runs/12602331350/job/35125230409?pr=16023

=== Failed
=== FAIL: cli TestScaleTestWorkspaceTraffic (10.34s)
    t.go:106: 2025-01-03 18:44:45.306 [info]  keyrotator: no valid keys detected, inserting new key  feature=workspace_apps_api_key
    t.go:106: 2025-01-03 18:44:45.307 [info]  keyrotator: inserted new key for feature  feature=workspace_apps_api_key
    t.go:106: 2025-01-03 18:44:45.308 [info]  keyrotator: no valid keys detected, inserting new key  feature=oidc_convert
    t.go:106: 2025-01-03 18:44:45.308 [info]  keyrotator: inserted new key for feature  feature=oidc_convert
    t.go:106: 2025-01-03 18:44:45.308 [info]  keyrotator: no valid keys detected, inserting new key  feature=tailnet_resume
    t.go:106: 2025-01-03 18:44:45.308 [info]  keyrotator: inserted new key for feature  feature=tailnet_resume
    t.go:106: 2025-01-03 18:44:45.308 [info]  keyrotator: no valid keys detected, inserting new key  feature=workspace_apps_token
    t.go:106: 2025-01-03 18:44:45.308 [info]  keyrotator: inserted new key for feature  feature=workspace_apps_token
    t.go:106: 2025-01-03 18:44:45.313 [info]  servertailnet: obtained tailnet API v2+ client
    clitest.go:75: invoking command: coder --global-config /tmp/TestScaleTestWorkspaceTraffic662633592/002 exp scaletest workspace-traffic --timeout 1s --bytes-per-tick 1024 --tick-interval 100ms --scaletest-prometheus-address 127.0.0.1:0 --scaletest-prometheus-wait 0s --ssh
    t.go:106: 2025-01-03 18:44:45.428 [debu]  cli: http server listening  addr=127.0.0.1:0  name=prometheus
    ptytest.go:96: 2025-01-03 18:44:45.578: cmd: closing expecter: PTY close
    ptytest.go:101: 2025-01-03 18:44:55.578: cmd: close: copy did not close in time
    ptytest.go:101: 
        	Error Trace:	/home/runner/work/coder/coder/pty/ptytest/ptytest.go:368
        	            				/home/runner/work/coder/coder/pty/ptytest/ptytest.go:101
        	            				/home/runner/work/coder/coder/pty/ptytest/ptytest.go:385
        	            				/opt/hostedtoolcache/go/1.22.8/x64/src/sync/once.go:74
        	            				/opt/hostedtoolcache/go/1.22.8/x64/src/sync/once.go:65
        	            				/home/runner/work/coder/coder/pty/ptytest/ptytest.go:380
        	            				/home/runner/work/coder/coder/pty/ptytest/ptytest.go:40
        	            				/opt/hostedtoolcache/go/1.22.8/x64/src/testing/testing.go:1175
        	            				/opt/hostedtoolcache/go/1.22.8/x64/src/testing/testing.go:1353
        	            				/opt/hostedtoolcache/go/1.22.8/x64/src/testing/testing.go:1683
        	Error:      	close
        	Test:       	TestScaleTestWorkspaceTraffic
        	Messages:   	copy did not close in time
    t.go:106: 2025-01-03 18:44:55.580 [info]  servertailnet: closing server tailnet
    t.go:106: 2025-01-03 18:44:55.580 [debu]  derp: derp: internal: client [IFLoP]: readFrameHeader: io: read/write on closed pipe
    t.go:106: 2025-01-03 18:44:55.580 [info]  servertailnet: closing tailnet Conn
    t.go:106: 2025-01-03 18:44:55.580 [info]  servertailnet: tailnet API v2+ connection lost
    stuntest.go:63: STUN server shutdown
@johnstcn johnstcn added the flake label Jan 3, 2025
@johnstcn johnstcn changed the title Flake: TestSclaeTestWorkspaceTraffic: copy did not close in time` Flake: TestScaleTestWorkspaceTraffic: copy did not close in time` Jan 3, 2025
@johnstcn johnstcn self-assigned this Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant