-
Notifications
You must be signed in to change notification settings - Fork 4.4k
remote_download_toplevel doesn't download binary after testing #11834
Copy link
Copy link
Closed
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)team-Remote-ExecIssues and PRs for the Execution (Remote) teamIssues and PRs for the Execution (Remote) teamtype: bug
Description
Description of the problem / feature request:
When --remote_download_toplevel is specified,
bazel test --remote_download_toplevel //test/...
bazel build --remote_download_toplevel <some_binary>
doesn't download <some_binary> while downloading binary is expected.
Running build first or clean some artifacts before build will be workaround.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
From envoy master, do test //test/exe/... and build //source/exe:envoy-static
What operating system are you running Bazel on?
Ubuntu 18.04
What's the output of bazel info release?
3.4.1
Any other information, logs, or outputs that you want to share?
It is possible because the test targets has the binary in its dependency so somehow bazel treated it is already downloaded, while test with --remote_download_toplevel does't download the binary itself.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)team-Remote-ExecIssues and PRs for the Execution (Remote) teamIssues and PRs for the Execution (Remote) teamtype: bug