update kcov merge task to run as part of pipeline and not beaker job
Currently the kcov/merge task runs as part of beaker recipeSet and it merge the gcov results for all recipes.
This works well with skt pipeline where all tests are run in a single job, but upt
create 1 job per recipeSet, therefore in this case the merge doesn't work.
We need to run the merge job in the pipeline directly after upt completes.
The files that need to be merge should already be available in the artifacts.
each recipeSet should contain the the last task the following file ` kcov.combined.info`
-
install lcov
. Example: https://gitlab.com/cki-project/kernel-tests/-/blob/main/kcov/include/include.sh#L68 we want the version withHIERARCHICAL
support. -
merge all kcov.combined.info
files. Example is: https://gitlab.com/cki-project/kernel-tests/-/blob/main/kcov/merge/runtest.sh#L189 -
generate the results in html format: https://gitlab.com/cki-project/kernel-tests/-/blob/main/kcov/merge/runtest.sh#L196
Edited by Bruno Goncalves