bazel test cannot have both --experimental_sandbox_base=/dev/shm and --sandbox_tmpfs_path=/dev/shm #5051
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
stale
Issues or PRs that are stale (no activity for 30 days)
team-Documentation
Documentation improvements that cannot be directly linked to other team labels
team-Local-Exec
Issues and PRs for the Execution (Local) team
type: documentation (cleanup)
Description of the problem / feature request:
Configuring both
--experimental_sandbox_base=/dev/shm
and--sandbox_tmpfs_path=/dev/shm
causes the following error:Feature requests: what underlying problem are you trying to solve with this feature?
I am trying to improve sandboxing performance by using
--experimental_sandbox_base=/dev/shm
, but then realized I also have--sandbox_tmpfs_path
pointing at the same place.My understanding is that
--experimental_sandbox_base
is for the build host, while--sandbox_tmpfs_path
is relative to the sandboxBugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Sample workspace attached.
sandbox_example.tar.gz
What operating system are you running Bazel on?
Ubuntu 16.04.4 LTS
What's the output of
bazel info release
?Happens in both:
If
bazel info release
returns "development version" or "(@non-git)", tell us how you built Bazel.N/A
What's the output of
git remote get-url origin ; git rev-parse master ; git rev-parse HEAD
?N/A
Have you found anything relevant by searching the web?
No
Any other information, logs, or outputs that you want to share?
The text was updated successfully, but these errors were encountered: