Add package NVR information into VirtualTopic.eng.cki.ready_for_test UMB messages
Hello,
we (Kernel PerfQE) started to trigger our tests for kernel ELN based on /topic/VirtualTopic.eng.cki.ready_for_test
topic (CKI UMB messages).
Right now, there is no package NVR information in the message and we currently must parse it from build_info.*.kernel_package_url
.
It would be beneficial to add a separate field for package NVR into build_info
.
Example message:
Suggested change with package_nvr
:
...
"build_info": [
{
"package_nvr": "kernel-6.6.0-0.rc5.40.eln131.aarch64",
"architecture": "aarch64",
"build_id": "redhat:koji-107318001-aarch64-kernel",
"debug_kernel": false,
"kernel_package_url": "https://s3.amazonaws.com/arr-cki-prod-trusted-artifacts/trusted-artifacts/1032354366/publish_aarch64/5263528576/artifacts/repo/6.6.0-0.rc5.40.eln131.aarch64/"
},
{
"package_nvr": "kernel-6.6.0-0.rc5.40.eln131.x86_64",
"architecture": "x86_64",
"build_id": "redhat:koji-107318001-x86_64-kernel",
"debug_kernel": false,
"kernel_package_url": "https://s3.amazonaws.com/arr-cki-prod-trusted-artifacts/trusted-artifacts/1032354366/publish_x86_64/5263528567/artifacts/repo/6.6.0-0.rc5.40.eln131.x86_64/"
},
{
"package_nvr": "kernel-6.6.0-0.rc5.40.eln131.ppc64le",
"architecture": "ppc64le",
"build_id": "redhat:koji-107318001-ppc64le-kernel",
"debug_kernel": false,
"kernel_package_url": "https://s3.amazonaws.com/arr-cki-prod-trusted-artifacts/trusted-artifacts/1032354366/publish_ppc64le/5263528572/artifacts/repo/6.6.0-0.rc5.40.eln131.ppc64le/"
},
{
"package_nvr": "kernel-6.6.0-0.rc5.40.eln131.s390x",
"architecture": "s390x",
"build_id": "redhat:koji-107318001-s390x-kernel",
"debug_kernel": false,
"kernel_package_url": "https://s3.amazonaws.com/arr-cki-prod-trusted-artifacts/trusted-artifacts/1032354366/publish_s390x/5263528581/artifacts/repo/6.6.0-0.rc5.40.eln131.s390x/"
}
],
...
Thanks.
AC:
-
proper package version/release fields got added to the schema -
these fields now get set in the kcidb data in the CKI pipelines -
DataWarehouse support for (de)serializing them: datawarehouse!883 (merged) -
CKI UMB messages should include these fields
Edited by Michael Hofmann