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/coordinator: build key file is created as directory sometimes #12104

Closed
adg opened this issue Aug 11, 2015 · 1 comment
Closed

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

adg opened this issue Aug 11, 2015 · 1 comment
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge
Milestone

Comments

@adg
Copy link
Contributor

adg commented Aug 11, 2015

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

@rsc rsc added this to the Unreleased milestone Oct 23, 2015
@bradfitz bradfitz added the Builders x/build issues (builders, bots, dashboards) label Nov 12, 2015
@bradfitz
Copy link
Contributor

As of today, we no longer run the watcher in a Docker container on the same host. It now runs on Kubernetes.

@golang golang locked and limited conversation to collaborators Feb 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

4 participants