setup job should fail if kpet reports error
For example:
$ # 🎰 Generate the test XML using kpet. # collapsed multi-line command
+ /builds/4159953397/software/venv/bin/python3 -m kpet --db /builds/4159953397/software/kpet-db set list
Invalid: Invalid database:
Invalid: Invalid contents of /builds/4159953397/software/kpet-db/index.yaml:
Invalid: Invalid: Invalid type: dict, expecting str
and
Invalid: Invalid test case:
Invalid: Invalid: Invalid contents of /builds/4159953397/software/kpet-db/cases/memory/Fujitsu/swapout-and-procexit/index.yaml:
Invalid: Invalid test case:
Invalid: Member "maintainers" is invalid:
Invalid: Invalid value at index 0:
Invalid: Member "gitlab" is invalid:
Invalid: Invalid type: NoneType, expecting str
and
Invalid: Invalid test case:
Invalid: Invalid type: str, expecting dict
Using kpet tree autosd-rhivos-rt determined from family autosd-rhivos-rt and kernel version 5.14.0-298.261.el9iv
Added cki repo from https://s3.upshift.redhat.com/DH-PROD-CKI/internal/834414894/aarch64/5.14.0-298.261.el9iv.aarch64
cki 1.9 MB/s | 658 kB 00:00
Generated build component regex for kpet: "debuginfo|devel|officialbuild"
+ /builds/4159953397/software/venv/bin/python3 -m kpet --db /builds/4159953397/software/kpet-db arch list -t autosd-rhivos-rt aarch64
Invalid: Invalid database:
Invalid: Invalid contents of /builds/4159953397/software/kpet-db/index.yaml:
Invalid: Invalid: Invalid type: dict, expecting str
and
Invalid: Invalid test case:
Invalid: Invalid: Invalid contents of /builds/4159953397/software/kpet-db/cases/memory/Fujitsu/swapout-and-procexit/index.yaml:
Invalid: Invalid test case:
Invalid: Member "maintainers" is invalid:
Invalid: Invalid value at index 0:
Invalid: Member "gitlab" is invalid:
Invalid: Invalid type: NoneType, expecting str
and
Invalid: Invalid test case:
Invalid: Invalid type: str, expecting dict
aarch64 is not supported for autosd-rhivos-rt
there was a problem on the test xml and kpet failed, but for some reason the job reported pass.
on the other hand, similar job failed as expected...