bazel icon indicating copy to clipboard operation
bazel copied to clipboard

Bazel remote execution fails to end early on first test failure, but exits early on local execution with `--notest_keep_going`

Open Ryang20718 opened this issue 6 months ago • 1 comments

Description of the bug:

(18:16:05) FAIL: 
(18:23:00) [97,869 / 97,901] 1594 / 1671 tests, 1 failed; Testing 
(18:27:48) [97,904 / 97,905] 1627 / 1671 tests, 1 failed; Testing 

On remote execution

Which category does this issue belong to?

Remote Execution

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

To repro,

have a test fail

bazel coverage //... --notest_keep_going

and remote execution with buildbarn will run all tests until failure

Which operating system are you running Bazel on?

Linux

What is the output of bazel info release?

7.4.1

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse HEAD ?


If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

Ryang20718 avatar Jun 11 '25 14:06 Ryang20718

bazel isn't terminating properly https://github.com/buildbarn/bb-remote-execution/issues/172

Ryang20718 avatar Jun 13 '25 00:06 Ryang20718