-
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
RBE Action Failures Don't show Error Message #15206
Comments
cc: @coeuvre Is this fixed in 5.1.1? |
You're right... I missed the boat that 5.1.1 was latest. All good. |
I am still observing the missing error messages in 5.2.0 |
I am also observing this missing error in 5.3.1 E.g
|
Printing the missing error is expected if the declared outputs are not created. The problem for this issue was the underlying error message from the action's |
Description of the bug:
In Bazel 5.0.0, when an action fails, its stdout/stderr is shown in the terminal. In Bazel 5.1.0, there is an error message instead:
Invalid action cache entry c0a87968c7fcdb0db0f4eadbf63f2b2162b9591e18dc1891360bef4a9e77c7fa: expected output <file> does not exist.
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
BUILD:
bazel build //package:failing_rule
Under 5.0.0:
Under 5.1.0:
Which operating system are you running Bazel on?
darwin arm64
What is the output of
bazel info release
?release 5.1.0
Any other information, logs, or outputs that you want to share?
#15085 seems to have modified the code generating the error message in RemoteExecutionService.java:1027. The comments on that method imply that this should only happen in --remote_download_minimal, however it happens for me in any of --remote_download_outputs={all/toplevel/minimal}. Even if intended, this makes debugging failed actions very tedious.
cc @brentleyjones
The text was updated successfully, but these errors were encountered: