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.
When running a test with remote execution, BEP enabled, and
--nozip_undeclared_test_outputs, an error like this is produced: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.