-
Notifications
You must be signed in to change notification settings - Fork 156
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
Build fails on Bazel 7.0 when remote_download_toplevel flag is enabled #730
Comments
Are there any relevant errors or warnings in the bazel-remote log when this occurs? |
Today when one of our jobs failed, I got this error log in the job. Does this help in any way to debug this issue?
|
I don't know bazel internals, but this stack trace looks like this is failing when trying to execute the action on the client side. Have you tried reporting this error to the bazel project? |
Also, I think the bazel-remote logs would be important to check here- are there any warnings or errors there? |
We are seeing these failures on our scheduled pipelines and most of the time these jobs fail during night, and the next day I have a hard time collecting logs from bazel-remote because it keeps logging every event to the log file so by the time I check there are a lot of logs & couldn't figure out the ones specific to these jobs. Is there a quick way to get logs associated with a particular job? |
Also we are still on version 2.3.9. Have we added any fixes related to Bazel 7 in the latest releases? |
I think it depends a bit on the logging options that you are using. If you have timestamps enabled you can jump to a time just before the error and scan from there. Alternatively if you have access logs enabled you might be able to search for a blob or ActionResult hash from the error (if you have something like that in the bazel logs). Or maybe you could just grep the bazel-remote logs for "error" or "warning" (ignoring case) and see if there's anything interesting.
The releases page has a high-level changelog: https://github.com/buchgr/bazel-remote/releases - but I don't think there are any changes specifically related to bazel 7. |
Currently we have many bazel 7.0.0 |
After upgrading to Bazel 7.0.0 and enabling
remote_download_toplevel
flag we are noticing our builds are failing intermittently while downloading cached artifacts from remote Cache.2 errors we get are:
There are no other details in the log. Other things we noticed are :
The text was updated successfully, but these errors were encountered: