-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
coder/coder
#19174Labels
Description
=== FAIL: agent/agentssh TestSSHServer_ClosesStdin (1.50s)
t.go:106: 2025-08-04 20:54:37.550 [info] started serving listener listen_addr=127.0.0.1:50599
t.go:106: 2025-08-04 20:54:37.554 [info] started serving ssh connection remote_addr=127.0.0.1:50600 local_addr=127.0.0.1:50599 listen_addr=127.0.0.1:50599
t.go:106: 2025-08-04 20:54:37.661 [info] handling ssh session remote_addr=127.0.0.1:50600 local_addr=127.0.0.1:50599 id=8d275501-206c-45b3-bc20-c8b11e13b9b3
agentssh_test.go:480:
Error Trace: /Users/runner/work/coder/coder/agent/agentssh/agentssh_test.go:480
Error: Not equal:
expected: "read exit code: 1\n"
actual : ""
Diff:
--- Expected
+++ Actual
@@ -1,2 +1 @@
-read exit code: 1
Test: TestSSHServer_ClosesStdin
t.go:106: 2025-08-04 20:54:37.751 [debu] closing server
t.go:106: 2025-08-04 20:54:37.751 [debu] closing all active listeners count=1
t.go:106: 2025-08-04 20:54:37.751 [debu] closing all active sessions count=1
t.go:106: 2025-08-04 20:54:37.751 [debu] closing all active connections count=1
t.go:106: 2025-08-04 20:54:37.751 [debu] cmdCancel: sending SIGHUP to process and children pid=3037
t.go:106: 2025-08-04 20:54:37.751 [debu] closing SSH server
t.go:106: 2025-08-04 20:54:37.751 [debu] closing X11 forwarding
t.go:106: 2025-08-04 20:54:37.751 [debu] waiting for all goroutines to exit
t.go:106: 2025-08-04 20:54:37.751 [info] stopped serving listener listen_addr=127.0.0.1:50599 error="accept tcp 127.0.0.1:50599: use of closed network connection"
t.go:106: 2025-08-04 20:54:37.751 [info] ssh connection complete remote_addr=127.0.0.1:50600 local_addr=127.0.0.1:50599 error="read tcp 127.0.0.1:50599->127.0.0.1:50600: use of closed network connection"
t.go:106: 2025-08-04 20:54:37.755 [info] ssh session returned remote_addr=127.0.0.1:50600 local_addr=127.0.0.1:50599 id=8d275501-206c-45b3-bc20-c8b11e13b9b3 error="signal: hangup" process_exit_code=-1 exit_code=255
t.go:106: 2025-08-04 20:54:37.755 [debu] closing server done
t.go:106: 2025-08-04 20:54:37.755 [debu] closing server
t.go:106: 2025-08-04 20:54:37.755 [debu] closing all active listeners count=0
t.go:106: 2025-08-04 20:54:37.755 [debu] closing all active sessions count=0
t.go:106: 2025-08-04 20:54:37.755 [debu] closing all active connections count=0
t.go:106: 2025-08-04 20:54:37.755 [debu] closing SSH server
t.go:106: 2025-08-04 20:54:37.755 [debu] closing X11 forwarding
t.go:106: 2025-08-04 20:54:37.755 [debu] waiting for all goroutines to exit
t.go:106: 2025-08-04 20:54:37.755 [debu] closing server done
seen here: https://github.com/coder/coder/actions/runs/16733965476/job/47368487264