"test" exec_group is not present on starlark defined rules #13986
Labels
P2
We'll consider working on this in future. (Assignee optional)
team-Configurability
platforms, toolchains, cquery, select(), config transitions
type: bug
Description of the problem / feature request:
The "test" exec_group added in 0b3a5aa does not work for starlark defined rules. It appears to only work for native rules.
Feature requests: what underlying problem are you trying to solve with this feature?
All TestRunner actions should have the "test" exec_group
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
An example repo where I have been playing with remote exec & exec_groups is https://github.com/djmarcin/bazel-remote-exec, but the easiest way to reproduce the bug is to attempt to set the "test" exec group on a
rust_test
rule directly and observe the following error:What operating system are you running Bazel on?
Linux, macOS
What's the output of
bazel info release
?release 4.2.1
or
release 5.0.0-pre.20210831.2
If
bazel info release
returns "development version" or "(@non-git)", tell us how you built Bazel.n/a
What's the output of
git remote get-url origin ; git rev-parse master ; git rev-parse HEAD
?n/a
Have you found anything relevant by searching the web?
The bazel documentation seems to indicate that this ought to work https://docs.bazel.build/versions/main/exec-groups.html#execution-groups-for-native-rules
Any other information, logs, or outputs that you want to share?
Issue filed as a result of discussion at #13110 (comment)
@katre
The text was updated successfully, but these errors were encountered: