Open rbeasley-avgo opened 2 months ago
@rbeasley-avgo is this reproducible without dynamic execution? My theory at the moment is that the write happens after the remote branch gets canceled (because we're not propagating the cancellation to the write thread properly).
@rbeasley-avgo is this reproducible without dynamic execution? My theory at the moment is that the write happens after the remote branch gets canceled (because we're not propagating the cancellation to the write thread properly).
@tjgq I'll try it out and get back to you.
@tjgq In order to establish a baseline, I updated one of our canary pipelines to reenable --remote_cache_compression
while still using dynamic execution. I was hoping to encounter the failure described by this issue, after which I'd switch off dynamic execution and re-observe. However, I haven't seen these failures. (FWIW, they coincided with a window where our RBE instance was unhealthy. Brief summary of that here: https://github.com/bazelbuild/bazel/issues/22854#issuecomment-2256166384.)
Unless anyone else can corroborate this, I guess we'll just need to close as not planned. :(
Description of the bug:
We're observing sporadic build failures where the Bazel daemon crashes with the following:
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.
No response
Which operating system are you running Bazel on?
Linux
What is the output of
bazel info release
?release 7.2.0-vmware
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
?No response
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?
No. I couldn't find any matches for "closed outputstream".
Any other information, logs, or outputs that you want to share?
We're using dynamic RBE (impl: bazelbuild/bazel-buildfarm) and remote cache compression.