Split debug kernels into a separate pipeline
We have been asked to do testing of all official debug builds, and there were also some (rare) asks for the MR debug builds for other arches. For this, we can either duplicate most of the pipeline to enable the _debug
jobs for all arches, or "just" create a separate pipeline for debug kernel testing which adds the extra variables and the "kernel-debug" package name. Given that the debug results are handled differently by people (e.g. they are not gating, call traces are not considered critical by some subsystems unless they also happen on a regular kernel, ...), having them live in a separate pipeline would make things more straightforward as well.
This is slightly related to cki-tools#59 (closed) -- the debug kernels live in the same arch task as the regular kernels, so the behavior would be consistent by doing the split.
It also makes sense to do it for the upstream testing, as the debug kernel configs do result in a very different build.
TODO LIST:
-
add a new kernel template for the debug pipeline, responsible for builds and setup jobs. we may not want to enable testing here unless asked -
discuss on kernel-info / team leads meeting which arches we want to enable for which trees; submit MRs to the kernel branches to enable the extra pipelines accordingly -
once all kernel pipeline changes are merged, remove the test_debug
from the kernel template for the regular pipelines -
make sure the webhooks for updating the BZ can handle the separate pipeline for debug builds, ideally submitting everything in the same comment so having to wait on both pipelines. TODO discuss what exactly to do with ptalbert / KWF team -
split the upstream pipeline triggers to trigger one pipeline per config instead of using the test_debug
config option -
split the brew triggers to trigger a new pipeline for debug kernels and remove the test_debug
config option; this step is blocked on cki-tools#59 (closed) --> we probably end up with 4 pipelines per brew task (RHEL, RHEL-debug, RT, RT-debug) and that is fine and needs to be handled correctly! -
get rid of test_debug
from the pipeline and docs
AC:
-
c9s/rhel debug pipelines -
kernel-ark debug pipelines -
upstream tar.gz debug pipelines -
brew/koji debug pipelines -
documentation adjusted -
all leftovers cleaned up -
component selection in setup stage cleaned up