x/build/cmd/runqemubuildlet: qemu failed to find an available port: address already in use #58361
Labels
Builders
x/build issues (builders, bots, dashboards)
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Darwin
Milestone
Occasionally the Darwin builders get stuck in a loop unable to start guests due to an "address already in use" error (for the VNC server port, presumably).
The immediate cause is that there is another instance of QEMU still running which is using that port. Manually killing that QEMU instance gets things unstuck.
My best guess is that this extra instance of QEMU was hung and runqemubuildlet's heartbeat timed out, but something is wrong with the heartbeat cancellation, which thus didn't actually fully kill the stuck QEMU.
The text was updated successfully, but these errors were encountered: