Skip to content

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

@prattmic

Description

@prattmic

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Buildersx/build issues (builders, bots, dashboards)NeedsFixThe path to resolution is known, but the work has not been done.OS-Darwin

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions