-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
team-Local-ExecIssues and PRs for the Execution (Local) teamIssues and PRs for the Execution (Local) teamtype: buguntriaged
Description
Description of the bug:
When I bazel test
a (failing) test without using --experimental_use_hermetic_linux_sandbox
, I see "sandbox debug output" and then also various commands given with:
Run this command to start an interactive shell in an identical sandboxed environment:
Such that I'd be able to re run the test inside the sandboxed environment. When I use --experimental_use_hermetic_linux_sandbox
, however, these commands are not shown.
HardlinkedSandboxedSpawn
does not override getInteractiveDebugInstructions()
.
Which category does this issue belong to?
Local Execution
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Running any test with --sandbox_debug
--experimental_use_hermetic_linux_sandbox
will quickly reproduce the issue.
Which operating system are you running Bazel on?
alma 9.5
What is the output of bazel info release
?
release 8.3.1
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 HEAD
?
If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
PR #26437 will be very helpful in making use of these instructions to avoid the src/main/tools/linux-sandbox-pid1.cc:78: "open": File exists
errors.
Metadata
Metadata
Assignees
Labels
team-Local-ExecIssues and PRs for the Execution (Local) teamIssues and PRs for the Execution (Local) teamtype: buguntriaged