Skip to content

x/build/cmd/golangbuild: TryBot fails with "no packages to test" if an x/ repo contains a module with only an OS-specific package #52287

Open
@bcmills

Description

@bcmills

The non-Windows TryBots are failing on CL 399834 due to the winfsnotify package, which is build-constrained to only exist on Windows.

The package has always been build-constrained to only exist on WIndows, but up until that CL it was not the only package in its module. Once it is carved out, go test ./... within that module fails with the message no packages to test (added in CL 5495055).

Since the package and module are being deleted entirely in a subsequent CL, for now we can probably just accept and ignore one CL of builder failures. (It's not ideal, but I can filter out a single broken commit during builder triage pretty easily.)

In the longer term, this might be good to fix alongside #51455 (CC @golang/release).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Buildersx/build issues (builders, bots, dashboards)NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    Status

    Planned

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions