You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bazel reports build success when it was not successful #7115
In the interpreter, we throw an exception for this. It is properly reported one level up: package contains errors: e2e/output_runner. But later, something swallows the error. I don't know what happens, I suspect it's related to --keep_going, so assigning to core team to investigate.
Activity
laurentlb commentedon Jan 14, 2019
In the interpreter, we throw an exception for this. It is properly reported one level up:
package contains errors: e2e/output_runner. But later, something swallows the error. I don't know what happens, I suspect it's related to--keep_going, so assigning to core team to investigate.laurentlb commentedon Jan 14, 2019
Repro:
If one package cannot be loaded, but all other tests pass, Bazel returns 0.
laurentlb commentedon Jan 14, 2019
In the repro above: if
sub/BUILDdeclares at least one target, the exit code is properly set to 1.cc @ericfelly who should own this?
ericfelly commentedon Jan 14, 2019
Nathan, can you take a look?
haxorz commentedon Jan 14, 2019
is this really P1?
jin commentedon Jan 14, 2019
@haxorz if it's not a P1 according to the definitions, please reassign the correct priority. thanks!
meteorcloudy commentedon Jan 15, 2019
If we don't fix this issue, Bazel users (including us) could miss potential failures in the build, I think it's a pretty serious issue (P1).
laurentlb commentedon Jan 15, 2019
I had a quick look yesterday. This issue also affects Google (Blaze) and has been around for at least a year. I'm surprised it didn't come up before.
haxorz commentedon Jan 15, 2019
ok, i will look into this today
meteorcloudy commentedon Jan 15, 2019
Thank you!
Fix long-standing bug with Blaze's exit code in --keep_going mode whe…