Closed coryan closed 1 year ago
Thanks for reporting the issue. I think the error is from upstream and we cannot easily fix it. However, I do understand it's annoying to see this transient error.
I am proposing to add this error and a retriable HTTP error so that Bazel can automatically resend the network request in this case. I don't know the security implications of retrying a SSL error so I am going to wait for a few days before I am actually working on the fix. Please speak up if you don't agree.
Retrying sounds like a great idea in this case.
FWIW, it seems to affect Windows too:
https://github.com/googleapis/google-cloud-cpp/actions/runs/5696264275/job/15441037965
A fix for this issue has been included in Bazel 6.4.0 RC1. Please test out the release candidate and report any issues as soon as possible. Thanks!
Description of the bug:
We use GCS as a remote cache. Our builds on macOS (and only macOS so far) fail from time to time with errors such as:
https://github.com/googleapis/google-cloud-cpp/actions/runs/5582043990/jobs/10200901653
Running the build again succeeds.
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
I do not have any simple repro.
Which operating system are you running Bazel on?
macOS 12.6.6 21G646
What is the output of
bazel info release
?release 6.2.1
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.N/A
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?No response
Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
N/A
Have you found anything relevant by searching the web?
I found a previous report:
https://github.com/bazelbuild/bazel/issues/15142
It was closed because (I think) the original bug requested an upgrade of
netty
, and that was done, but the motivation (fixing this bug) remained.I also found:
https://github.com/netty/netty/issues/11815
Any other information, logs, or outputs that you want to share?
https://github.com/googleapis/google-cloud-cpp/actions/runs/5582043990/jobs/10200901653 may be handy, though I think it will expire in 90d or so.