Skip to content

test flake: vpn TestTunnel_StartStop #253

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 Dec 13, 2024 · 2 comments · Fixed by coder/coder#15863
Closed

test flake: vpn TestTunnel_StartStop #253

johnstcn opened this issue Dec 13, 2024 · 2 comments · Fixed by coder/coder#15863
Assignees
Labels

Comments

@johnstcn
Copy link
Member

Seen here: https://github.com/coder/coder/actions/runs/12314972781/job/34372223365?pr=15860

=== Failed
=== FAIL: vpn TestTunnel_StartStop (0.00s)
    t.go:106: 2024-12-13 11:45:10.546 [debu]  manager: wrote out header
    t.go:106: 2024-12-13 11:45:10.546 [debu]  manager: write ok
    t.go:106: 2024-12-13 11:45:10.547 [debu]  manager: got newline header delimiter
    t.go:106: 2024-12-13 11:45:10.547 [debu]  manager: read ok
    t.go:106: 2024-12-13 11:45:10.547 [debu]  manager: handshake read/write complete  their_header="codervpn tunnel 1.0"
    t.go:106: 2024-12-13 11:45:10.547 [debu]  manager: handshake validated  common_version={"major":1,"minor":0}
    t.go:106: 2024-12-13 11:45:10.547 [debu]  tunnel.vpn: wrote out header
    t.go:106: 2024-12-13 11:45:10.547 [debu]  tunnel.vpn: write ok
    t.go:106: 2024-12-13 11:45:10.547 [debu]  tunnel.vpn: got newline header delimiter
    t.go:106: 2024-12-13 11:45:10.547 [debu]  tunnel.vpn: read ok
    t.go:106: 2024-12-13 11:45:10.547 [debu]  tunnel.vpn: handshake read/write complete  their_header="codervpn manager 1.0"
    t.go:106: 2024-12-13 11:45:10.547 [debu]  tunnel.vpn: handshake validated  common_version={"major":1,"minor":0}
    t.go:106: 2024-12-13 11:45:10.547 [debu]  tunnel.vpn.serdes: starting recvLoop
    t.go:106: 2024-12-13 11:45:10.547 [debu]  manager.serdes: starting recvLoop
    t.go:106: 2024-12-13 11:45:10.547 [debu]  manager.serdes: starting sendLoop
    t.go:106: 2024-12-13 11:45:10.547 [debu]  tunnel.vpn.serdes: starting sendLoop
    t.go:106: 2024-12-13 11:45:10.547 [debu]  tunnel.vpn.serdes: about to read message  length=46
    t.go:106: 2024-12-13 11:45:10.547 [debu]  tunnel.vpn.serdes: passed received message to speaker
    t.go:106: 2024-12-13 11:45:10.547 [debu]  manager: sent rpc request  msg_id=1  req="rpc:{msg_id:1}  start:{tunnel_file_descriptor:2  coder_url:\"[https://coder.example.com\](https://coder.example.com/)"  api_token:\"fakeToken\"}"
    t.go:106: 2024-12-13 11:45:10.547 [info]  tunnel.vpn: starting CoderVPN tunnel  url=https://coder.example.com/  tunnel_fd=2
    t.go:106: 2024-12-13 11:45:10.547 [debu]  manager.serdes: about to read message  length=8
    t.go:106: 2024-12-13 11:45:10.547 [debu]  manager.serdes: passed received message to speaker
    t.go:106: 2024-12-13 11:45:10.547 [debu]  manager: got response  msg_id=1  resp="rpc:{response_to:1}  start:{success:true}"
    t.go:106: 2024-12-13 11:45:10.548 [debu]  tunnel.vpn.serdes: about to read message  length=6
    t.go:106: 2024-12-13 11:45:10.548 [debu]  tunnel.vpn.serdes: passed received message to speaker
    t.go:106: 2024-12-13 11:45:10.548 [info]  tunnel.vpn: stopping CoderVPN tunnel
    t.go:106: 2024-12-13 11:45:10.548 [info]  tunnel.vpn: coderVPN tunnel stopped
    t.go:106: 2024-12-13 11:45:10.548 [debu]  manager.serdes: about to read message  length=8
    t.go:106: 2024-12-13 11:45:10.548 [debu]  manager.serdes: passed received message to speaker
    t.go:106: 2024-12-13 11:45:10.548 [debu]  tunnel.vpn.serdes: sendCh closed
    t.go:106: 2024-12-13 11:45:10.548 [info]  tunnel.vpn.serdes: closed connection
    t.go:106: 2024-12-13 11:45:10.548 [debu]  tunnel.vpn.serdes: failed to read length  error="io: read/write on closed pipe"
    t.go:106: 2024-12-13 11:45:10.548 [debu]  tunnel.vpn: recvCh is closed
    t.go:106: 2024-12-13 11:45:10.548 [debu]  manager.serdes: failed to read length  error=EOF
    t.go:106: 2024-12-13 11:45:10.548 [info]  manager.serdes: closed connection
    t.go:106: 2024-12-13 11:45:10.548 [debu]  manager: recvCh is closed
    t.go:106: 2024-12-13 11:45:10.547 [debu]  manager: sent rpc request  msg_id=2  req="rpc:{msg_id:2}  stop:{}"
    t.go:106: 2024-12-13 11:45:10.548 [debu]  manager: recvLoopDone while waiting for response  msg_id=2
    tunnel_internal_test.go:129: 
        	Error Trace:	/home/runner/work/coder/coder/vpn/tunnel_internal_test.go:129
        	Error:      	Received unexpected error:
        	            	unexpected EOF
        	Test:       	TestTunnel_StartStop
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.

2 participants