-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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's execution log should include remote cache timeouts #7084
Comments
I understand that you expected the action to run remotely but it fell back to local execution for some reason? If so, this is probably a bug for the remote execution team. |
Note that I'm not using remote execution, only remote caching. I expected the action to be downloaded from the cache since I knew it was fully cached (I've been debugging cache misses so this was a re-run of a build that had been fully cached). I am guessing that the remote cache took too long to reply and the bazel client decided to run the action locally, but I don't know. Having some information about why bazel decided to run the action locally (like for instance mentioning that the remote cache timed out or had an error) would be really useful. |
I'm facing the same issue. @ob any recommendations? |
I ended up debugging this by a combination of logging in the remote cache and sniffing the protocol... definitively not ideal. |
Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 1 years. It will be closed in the next 14 days unless any other activity occurs or one of the following labels is added: "not stale", "awaiting-bazeler". Please reach out to the triage team ( |
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please reach out to the triage team ( |
When debugging remote cache misses, the ability to compare two executions following the instructions in this page is invaluable. Unfortunately, I've seen cases where the only difference is that an action that in a fully-cached execution is this:
This doesn't tell me why Bazel chose to run the action locally instead of fetching it from the remote cache. I know it's in the remote cache so I suspect it was due to a timeout, network error, or something like that.
Bazel should add the reason why it chose to run the action locally to the execution log.
The text was updated successfully, but these errors were encountered: