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

failed: I/O exception during sandboxed execution: No such file or directory #22951

Open
mattyclarkson opened this issue Jul 4, 2024 · 3 comments
Labels
awaiting-user-response Awaiting a response from the author team-Local-Exec Issues and PRs for the Execution (Local) team team-Remote-Exec Issues and PRs for the Execution (Remote) team type: bug

Comments

@mattyclarkson
Copy link
Contributor

Description of the bug:

rules_git, when checking out the working directory into a declare_directory will occasionally report:

ERROR: github-mozilla-deepspeech/BUILD.bazel:3:20: Testing //github-mozilla-deepspeech:checkout failed: I/O exception during sandboxed execution: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/a1208da49aaa9451b147b4d0696a68a7/execroot/_main/bazel-out/k8-fastbuild/bin/external/_main~_repo_rules~github-mozilla-deepspeech-0.9.3/checkout/tensorflow/native_client/ctcdecode/third_party/openfst-1.6.7/src/include/fst/extensions/pdt (No such file or directory)

GitLab CI Log, Buildkite Log.

Which category does this issue belong to?

Local Execution, Remote Execution, Rules API

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

git clone https://git.gitlab.arm.com/bazel/rules_git.git
cd rules_git/e2e
while true; do
    bazelisk clean
    bazelisk test github-mozilla-deepspeech:checkout
done

The bug is flaky, so repeat the test as one sees fit.

Which operating system are you running Bazel on?

Linux

What is the output of bazel info release?

release 7.2.1rc2

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 ?

git@git.gitlab.arm.com:bazel/rules_git.git
0faf7ebb7a3289e337261c50ff916cd1f5acae95

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?

#22151 is a bug in a similar area

Any other information, logs, or outputs that you want to share?

No response

@github-actions github-actions bot added team-Local-Exec Issues and PRs for the Execution (Local) team team-Remote-Exec Issues and PRs for the Execution (Remote) team team-Rules-API API for writing rules/aspects: providers, runfiles, actions, artifacts labels Jul 4, 2024
@comius comius added team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website and removed team-Rules-API API for writing rules/aspects: providers, runfiles, actions, artifacts labels Jul 5, 2024
@meteorcloudy meteorcloudy removed the team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website label Jul 8, 2024
@coeuvre
Copy link
Member

coeuvre commented Jul 9, 2024

Can you rerun with --verbose_failures so we have a stacktrace?

@coeuvre coeuvre added awaiting-user-response Awaiting a response from the author and removed untriaged labels Jul 9, 2024
@amit-mittal
Copy link

I think the error that I am seeing here is also related.

@mattyclarkson
Copy link
Contributor Author

Can you rerun with --verbose_failures so we have a stacktrace?

Attempting to get a stack trace but the conditioning for it triggering are challenging, especially locally. We should catch one soon on the CI and I'll update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-user-response Awaiting a response from the author team-Local-Exec Issues and PRs for the Execution (Local) team team-Remote-Exec Issues and PRs for the Execution (Remote) team type: bug
Projects
None yet
Development

No branches or pull requests

8 participants