--experimental_remote_cache_async
hangs forever when using a HTTP remote cache
#19273
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-Remote-Exec
Issues and PRs for the Execution (Remote) team
type: bug
Description of the bug:
When combining
--experimental_remote_cache_async
with a HTTP remote cache, Bazel sometimes hangs after the build is finished with the outputThe output is still updating (so it's not completely hanging), but there is no observable progress.
While the example below reproduces the issue for a
bazel test
invocation, the same issue also occurs forbazel build
.The issue does not appear if:
bazel clean --expunge
right before thetest
invocation.Which category does this issue belong to?
Remote Execution
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
The bug is not deterministic, so it might need a couple of tries.
The following script usually reproduces the hang after 2-5 iterations of the
for
loop. Execute it in a newly created, empty directoryWhich operating system are you running Bazel on?
Linux
What is the output of
bazel info release
?release 6.3.2
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?not inside any git repository
Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
afaict, not a regression
Have you found anything relevant by searching the web?
The text was updated successfully, but these errors were encountered: