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

--experimental_remote_download_outputs breaks symlink outputs #8581

Closed
Tracked by #12665
philwo opened this issue Jun 7, 2019 · 3 comments
Closed
Tracked by #12665

--experimental_remote_download_outputs breaks symlink outputs #8581

philwo opened this issue Jun 7, 2019 · 3 comments
Assignees
Labels
P2 We'll consider working on this in future. (Assignee optional) team-Remote-Exec Issues and PRs for the Execution (Remote) team type: bug

Comments

@philwo
Copy link
Member

philwo commented Jun 7, 2019

Description of the problem / feature request:

When using --experimental_remote_download_outputs no matter whether =minimal or =toplevel, Bazel fails to build rules_go with these errors:

(13:01:33) ERROR: /workdir/tests/core/go_path/BUILD.bazel:5:2: output 'tests/core/go_path/link_path/pkg/linux_amd64/example.com/repo/cmd/bin.a' is a dangling symbolic link
(13:01:33) ERROR: /workdir/tests/core/go_path/BUILD.bazel:5:2: output 'tests/core/go_path/link_path/pkg/plan9_arm/example.com/repo/cmd/bin.a' is a dangling symbolic link
(13:01:33) ERROR: /workdir/tests/core/go_path/BUILD.bazel:5:2: output 'tests/core/go_path/link_path/pkg/linux_amd64/example.com/repo/pkg/lib.a' is a dangling symbolic link
(13:01:33) ERROR: /workdir/tests/core/go_path/BUILD.bazel:5:2: Couldn't build file tests/core/go_path/link_path/src/example.com/repo/cmd/bin/bin.go: not all outputs were created or valid

Failing build with the flag: https://buildkite.com/bazel-testing/rules-go-golang/builds/181
Working build without the flag: https://buildkite.com/bazel-testing/rules-go-golang/builds/182

What operating system are you running Bazel on?

Fails on Linux and macOS.

What's the output of bazel info release?

Bazel 0.26.1

@jin jin added team-Remote-Exec Issues and PRs for the Execution (Remote) team untriaged labels Jun 10, 2019
@philwo
Copy link
Member Author

philwo commented Jun 19, 2019

@buchgr Friendly ping. This is blocking the „remote builds without bytes“ rollout on CI.

@coeuvre coeuvre added P2 We'll consider working on this in future. (Assignee optional) and removed untriaged labels Dec 9, 2020
@coeuvre
Copy link
Member

coeuvre commented Dec 9, 2020

Is this still an issue today?

@tjgq
Copy link
Contributor

tjgq commented Oct 21, 2022

I ran the downstream pipeline with --remote_download_minimal (which includes an RBE build of rules_go) and there were no failures, so I'll consider this one fixed.

@tjgq tjgq closed this as completed Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We'll consider working on this in future. (Assignee optional) team-Remote-Exec Issues and PRs for the Execution (Remote) team type: bug
Projects
None yet
Development

No branches or pull requests

6 participants