Closed DrCHall closed 1 month ago
@DrCHall Can you please try testing Bazel 7.2.1? Which has a number of fixes in this area: https://github.com/bazelbuild/bazel/compare/7.2.0...7.2.1
@meteorcloudy Yes, updating to version 7.2.1 fixed it. Thank you!
Description of the bug:
After upgrading from bazel 6.5.0 to 7.2.0, whenever I run
bazel build
in my project after cleaning the bazel cache the build fails with the following error (some content redacted for privacy):Which category does this issue belong to?
CLI, External Dependency, Python Rules
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Create a build target that has a large external dependency that takes longer than 10 minutes to download, then run
Which operating system are you running Bazel on?
Ubuntu 22.04
What is the output of
bazel info release
?release 7.2.0
If
bazel info release
returnsdevelopment 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.
bazel 6.5.0 did not have this problem, dependencies would download after 15-20 minutes without a "timed out" error
Have you found anything relevant by searching the web?
No useful information was found online. Running
revealed that the only option with a 10 minute default was
--bes_oom_finish_upload_timeout
, but it did not fix my problemAny other information, logs, or outputs that you want to share?
No response