cilium: CI: LVH VM provisioning failed (kex_exchange_identification: read: Connection reset by peer)
CI failure
Hit a few times, for instance: https://github.com/cilium/cilium/actions/runs/5200516663/jobs/9379487447
Run ssh -p 2222 -o "StrictHostKeyChecking=no" root@localhost << EOF
Pseudo-terminal will not be allocated because stdin is not a terminal.
kex_exchange_identification: read: Connection reset by peer
Connection reset by 127.0.0.1 port 2222
My guess is that this is due to a race condition, with the Set DNS resolver step attempting to connect through ssh while the ssh server in the VM has not yet fully started.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 19 (17 by maintainers)
Commits related to this issue
- action: Add watch on console log file for sshd status This commit updates the GHA action to watch for sshd status within the VM's console log file. Success and failure messages for sshd are continual... — committed to learnitall/little-vm-helper by learnitall a year ago
- action: Add watch on console log file for sshd status This commit updates the GHA action to watch for sshd status within the VM's console log file. Success and failure messages for sshd are continual... — committed to learnitall/little-vm-helper by learnitall a year ago
- action: add watch on console log file for sshd status This commit updates the GHA action to watch for sshd status within the VM's console log file. Success and failure messages for sshd are continual... — committed to learnitall/little-vm-helper by learnitall a year ago
- action: add watch on console log file for sshd status This commit updates the GHA action to watch for sshd status within the VM's console log file. Success and failure messages for sshd are continual... — committed to learnitall/little-vm-helper by learnitall a year ago
- action: add watch on console log file for sshd status This commit updates the GHA action to watch for sshd status within the VM's console log file. Success and failure messages for sshd are continual... — committed to learnitall/little-vm-helper by learnitall a year ago
- action: add watch on console log file for sshd status This commit updates the GHA action to watch for sshd status within the VM's console log file. Success and failure messages for sshd are continual... — committed to learnitall/little-vm-helper by learnitall a year ago
- action: add watch on console log file for sshd status This commit updates the GHA action to watch for sshd status within the VM's console log file. Success and failure messages for sshd are continual... — committed to learnitall/little-vm-helper by learnitall a year ago
- action: add watch on console log file for sshd status This commit updates the GHA action to watch for sshd status within the VM's console log file. Success and failure messages for sshd are continual... — committed to cilium/little-vm-helper by learnitall a year ago
Observed here again: https://github.com/cilium/cilium/actions/runs/5589813647/jobs/10218698894
dmesg output:
logs_1728891.zip
I have submitted a PR to LVH that should prevent the race condition with SSH server startup. https://github.com/cilium/little-vm-helper/pull/75