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

Bazel is hanging when outputs got evicted from remote execution cache with --remote_download_toplevel enabled #16422

Closed
k1nkreet opened this issue Oct 7, 2022 · 0 comments
Labels
team-Remote-Exec Issues and PRs for the Execution (Remote) team type: bug untriaged

Comments

@k1nkreet
Copy link

k1nkreet commented Oct 7, 2022

Description of the bug:

Since 5.3, Bazel is hanging infinitely when something got evicted from remote execution cache with Build without Bytes enabled. Before 5.3 it was raising FileNotFoundException and there is a PR trying to use this behavior to overcome this issue of BwoB

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

I've created a repo with workspace and scenario reproducing this issue: https://github.com/k1nkreet/bazel-bwob-hanging-issue

Which operating system are you running Bazel on?

Linux archlinux 5.18.7-arch1-1

What is the output of bazel info release?

release 5.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 master; git rev-parse HEAD ?

No response

Have you found anything relevant by searching the web?

No response

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

No response

@ShreeM01 ShreeM01 added type: bug untriaged team-Remote-Exec Issues and PRs for the Execution (Remote) team labels Oct 7, 2022
coeuvre added a commit to coeuvre/bazel that referenced this issue Nov 22, 2022
Fixes bazelbuild#16422.

Closes bazelbuild#16423.
Closes bazelbuild#16445.

Closes bazelbuild#16464.

PiperOrigin-RevId: 480896881
Change-Id: I33019dbe8a088410280759465100a512a0f61bc1
ShreeM01 pushed a commit that referenced this issue Nov 22, 2022
Fixes #16422.

Closes #16423.
Closes #16445.

Closes #16464.

PiperOrigin-RevId: 480896881
Change-Id: I33019dbe8a088410280759465100a512a0f61bc1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Remote-Exec Issues and PRs for the Execution (Remote) team type: bug untriaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants