Triggering CKI tests for scratch builds
Goal
By default, scratch builds in Koji/Brew are not tested by CKI.
CKI testing for scratch builds can be triggered on a build-by-build basis by
including a special string in the BUILDID
.
Steps
-
Determine the test set that you want to invoke from the
sets
key in the kpet-dbindex.yaml
. Alternatively, install kpet and get the available test sets viakpet set list
By default, the same test set as for other Koji/Brew builds (
kt1
) is used. -
Optionally, check that the expected tests are included in the test set
{SET}
for e.g. RHEL 8 by runningkpet test list --tree rhel8 --sets {SET}
-
Submit the build to Koji/Brew for CKI testing. To use the default test set, include the string
.test.cki
in theBUILDID
after the release. A specific test set{SET}
can be tested by using.test.cki.{SET}
.As an example, using the Makefile from kernel-ark derived repositories, the default CKI test set can be triggered via
make BUILDID=".test.cki" dist-srpm
You should receive emails about the progress of the testing pipeline once your Koji/Brew build completes.