-
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
Remote: Don't check declared outputs for failed action #15151
Conversation
This avoids this issue envoyproxy#20599 and I do not believe we were hit by the original issue that introduced this regression. There is a fix in bazelbuild/bazel#15151 that should get us past this in bazel 5.2+. It seems this warning was just a red herring and actually meant your actions failed. This reverts commit fd92486. Signed-off-by: Keith Smiley <[email protected]>
This avoids this issue #20599 and I do not believe we were hit by the original issue that introduced this regression. There is a fix in bazelbuild/bazel#15151 that should get us past this in bazel 5.2+. It seems this warning was just a red herring and actually meant your actions failed. This reverts commit fd92486. Signed-off-by: Keith Smiley <[email protected]>
@bazel-io fork 5.2 |
@bazel-io fork 5.1.1 |
Fix a bug that Bazel print message ``` Invalid action cache entry ...: expected output ... does not exist. ``` instead of the underlying error message when remote action failed. Closes bazelbuild#15151. PiperOrigin-RevId: 438815494
Fix a bug that Bazel print message ``` Invalid action cache entry ...: expected output ... does not exist. ``` instead of the underlying error message when remote action failed. Closes #15151. PiperOrigin-RevId: 438815494 Co-authored-by: Chi Wang <[email protected]>
Fix a bug that Bazel print message ``` Invalid action cache entry ...: expected output ... does not exist. ``` instead of the underlying error message when remote action failed. Closes bazelbuild#15151. PiperOrigin-RevId: 438815494
This avoids this issue envoyproxy#20599 and I do not believe we were hit by the original issue that introduced this regression. There is a fix in bazelbuild/bazel#15151 that should get us past this in bazel 5.2+. It seems this warning was just a red herring and actually meant your actions failed. This reverts commit fd92486. Signed-off-by: Keith Smiley <[email protected]>
I'm still seeing this behavior in 5.2.0, 5.1.1, and 6.0.0-pre.20220608.2. If I go back to 5.0.0, the error messages work fine. I'm compiling C++ code, FWIW |
I think I figured out my problem. I had an unintentional After fixing that, Bazel 5.2.0 works as expected. |
I see. This check was implemented to intentionally avoid that issue, see #14543. |
Created #15724, with that, the error message will still be printed in this case. |
Fix a bug that Bazel print message
instead of the underlying error message when remote action failed.