Skip to content

x/build/cmd/coordinator: build key file is created as directory sometimes #12104

@adg

Description

@adg

The coordinator starts the watcher in a docker container. To provide the build key to the watcher, the coordinator creates a file in /tmp/watcher.buildkey and exposes that to the docker container.

For an unknown reason, sometimes /tmp/watcher.buildkey is created as a directory instead of a file, causing the watchers to fail (they try to os.Open the directory). It's not clear to me how this is possible.

The purpose of this bug is to track down that reason.

cc @bradfitz

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions