Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide better sandboxfs errors (e.g. when FUSE isn't available). #5369

Closed
PiotrSikora opened this issue Jun 11, 2018 · 3 comments
Closed

Provide better sandboxfs errors (e.g. when FUSE isn't available). #5369

PiotrSikora opened this issue Jun 11, 2018 · 3 comments
Assignees
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-Local-Exec Issues and PRs for the Execution (Local) team type: feature request
Milestone

Comments

@PiotrSikora
Copy link
Contributor

Description of the problem / feature request:

sandboxfs doesn't provide helpful errors (e.g. when FUSE isn't available) and returns generic sandboxfs failed to start error.

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

$ sudo mv /bin/fusermount /tmp/; bazel build --experimental_use_sandboxfs //...; sudo mv /tmp/fusermount /bin
INFO: Mounting sandboxfs instance on <redacted>/sandbox/sandboxfs
ERROR: Failed to initialize sandbox: sandboxfs failed to start
INFO: Elapsed time: 0.204s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)

What operating system are you running Bazel on?

$ uname -a
Linux buildbox 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux
$ cat /etc/debian_version
9.4

What's the output of bazel info release?

$ bazel info release
release 0.14.1
@jmmv
Copy link
Contributor

jmmv commented Jun 12, 2018

Just to pile onto the bug because this is related: depending on how sandboxfs fails, Blaze may even report that "sandboxed" is an unknown strategy. I think this happens when the sandboxfs binary cannot be found, but I forget now.

@jmmv jmmv added this to the sandboxfs milestone Mar 14, 2019
@jin jin added team-Local-Exec Issues and PRs for the Execution (Local) team untriaged and removed category: sandboxing labels Apr 30, 2020
@jmmv jmmv added P3 We're not considering working on this, but happy to review a PR. (No assignee) and removed untriaged labels May 14, 2020
@github-actions
Copy link

Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 2.5 years. It will be closed in the next 14 days unless any other activity occurs or one of the following labels is added: "not stale", "awaiting-bazeler". Please reach out to the triage team (@bazelbuild/triage) if you think this issue is still relevant or you are interested in getting the issue resolved.

@github-actions github-actions bot added the stale Issues or PRs that are stale (no activity for 30 days) label Mar 16, 2023
@github-actions
Copy link

github-actions bot commented Apr 1, 2023

This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please reach out to the triage team (@bazelbuild/triage). Thanks!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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-Local-Exec Issues and PRs for the Execution (Local) team type: feature request
Projects
None yet
Development

No branches or pull requests

4 participants