Skip to content

Don't crash the pipeline if there is no tests entry

Veronika Kabátová requested to merge veruu/pipeline-definition:fixes into main

In cases when kpet matches no tests (e.g. a combination of a specific test set and an unsupported tree), the test plan is not empty - there is NO test plan, i.e. there is no "tests" list entry in the kcidb file.

Handle this situation gracefully, without crashing the pipeline. Luckily we're not on RHEL6 in the setup stage and can thus use the ? syntax is jq.

Signed-off-by: Veronika Kabatova vkabatov@redhat.com

Merge request reports