Skip to content

BEP referenced local file (Is a directory) warning with --nozip_undeclared_test_outputs #19847

@tjgq

Description

@tjgq

When running a test with remote execution, BEP enabled, and --nozip_undeclared_test_outputs, an error like this is produced:

WARNING: Uploading BEP referenced local file /home/runner/.cache/bazel/_bazel_runner/6bc610921f14939de4c55cf170d55a62/execroot/jazzer/bazel-out/k8-opt/testlogs/sanitizers/src/test/java/com/example/XPathInjection/test.outputs: /home/runner/.cache/bazel/_bazel_runner/6bc610921f14939de4c55cf170d55a62/execroot/jazzer/bazel-out/k8-opt/testlogs/sanitizers/src/test/java/com/example/XPathInjection/test.outputs (Is a directory)

It's unclear why this happens; I initially thought it was because the (unzipped) undeclared outputs directory isn't declared as a tree artifact, but that's in fact the case, and according to the test case added in a5b2780, we already handle tree artifacts correctly elsewhere. Need to look into it.

Metadata

Metadata

Assignees

Labels

team-Remote-ExecIssues and PRs for the Execution (Remote) team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions