Skip to content

x/build: allow passwordless sudo for powermetrics on darwin-amd64 builders (for gomote) #73026

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

Open
prattmic opened this issue Mar 25, 2025 · 0 comments
Labels
Builders x/build issues (builders, bots, dashboards) NeedsFix The path to resolution is known, but the work has not been done. OS-Darwin
Milestone

Comments

@prattmic
Copy link
Member

In #49679, I am investigating an issue with idle wakeups. powermetrics is a built-in macOS command that can display various process-level metrics such as wakeups. It is particularly useful on a gomote where I cannot see the Activity Monitor.

Unfortunately, it must be run as a superuser, and our builders do not allow sudo. It turns out that the darwin-arm64 builders are already configured to allow just powermetrics with passwordless sudo. We should do the same for the amd64 builders (and arm64 when we migrate to the same infra as amd64).

@gopherbot gopherbot added the Builders x/build issues (builders, bots, dashboards) label Mar 25, 2025
@gopherbot gopherbot added this to the Unreleased milestone Mar 25, 2025
@dmitshur dmitshur added the NeedsFix The path to resolution is known, but the work has not been done. label Mar 25, 2025
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) NeedsFix The path to resolution is known, but the work has not been done. OS-Darwin
Projects
Status: No status
Development

No branches or pull requests

3 participants