Skip to content

--remote_download_toplevel --nozip_undeclared_test_outputs does not download any undeclared test outputs for passing tests #17884

@VarunKoyyalagunta

Description

@VarunKoyyalagunta

Description of the bug:

Prior to upgrading to bazel 6.0.0, on a setup with remote execution, with bazel test --remote_download_toplevel --nozip_undeclared_test_outputs I'd see test.outputs populated with files.
On bazel 6.0.0, test.outputs is always empty on passing tests.

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

With remote execution, run bazel test --remote_download_toplevel --nozip_undeclared_test_outputs. Observe that test.outputs is empty on passing tests.

Which operating system are you running Bazel on?

Linux

What is the output of bazel info release?

release 6.0.0

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

If I remove --nozip_undeclared_test_outputs, I see test.outputs/outputs.zip on passing tests too
If I remove --remote_download_toplevel, I see the desired files in test.outputs/* on passing tests too

Adding --experimental_remote_download_regex=".*" didn't help.

Metadata

Metadata

Assignees

Labels

P2We'll consider working on this in future. (Assignee optional)team-Remote-ExecIssues and PRs for the Execution (Remote) teamtype: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions