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
P2We'll consider working on this in future. (Assignee optional)team-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: bug
meisterT
added
team-OSS
Issues for the Bazel OSS team: installation, release processBazel packaging, website
and removed
team-Local-Exec
Issues and PRs for the Execution (Local) team
labels
Aug 31, 2021
The error message is probably being removed by some shell outputs.
Bazel returns 1 but the error mesage is not printed in the console
bazel test --nobuild //some/test/targets/... fails when attempting to execute the test binaries that were not build beforehand.
However having this working could be quite useful.
Consider the use case to assert analysisphase for test targets only (with --build_tests_only) bazel test --nobuild //... could be used to prefetch some externals and seperate that in a retry mechanism to catch flaky infrastructure issues.
However bazel build --nobuild //... evaluates to a greater closure which can cause side-effects where select(...)'s are evaluated and can possibly fail.
It would also make the use case of failure testing with analysistests simpler where failing units-under-test would need to be tagged with '"manual"' or excluded otherwise for it to not fail with bazel test --build_tests_only //...
P2We'll consider working on this in future. (Assignee optional)team-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: bug
Description of the problem / feature request:
When adding
color=no
to abazel test --nobuild
command, Bazel returns the following error message:Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
As far as I know this should be reproducible on any bazel project, e.g. the bazel examples.
First run without disabling color to see the expected result:
Then run with color disabled to see the bug:
What operating system are you running Bazel on?
Ubuntu 20.04
What's the output of
bazel info release
?release 4.1.0
The text was updated successfully, but these errors were encountered: