Skip to content
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

x/build/cmd/runqemubuildlet: qemu failed to find an available port: address already in use #58361

Open
prattmic opened this issue Feb 6, 2023 · 1 comment
Assignees
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

Comments

@prattmic
Copy link
Member

prattmic commented Feb 6, 2023

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.

@prattmic prattmic added OS-Darwin NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Feb 6, 2023
@prattmic prattmic added this to the Unreleased milestone Feb 6, 2023
@prattmic prattmic self-assigned this Feb 6, 2023
@gopherbot gopherbot added the Builders x/build issues (builders, bots, dashboards) label Feb 6, 2023
@dmitshur
Copy link
Contributor

CC @golang/release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants