[teregen] template generator - make sure to skip SUSE:Updates:openSUSE-* release targets for test report generation
Starting with 15.3, openSUSE Leap uses identical binary packages as SLES if the source is shared, both for installation and updates.
Starting 2021-06-24 a change was put in place how these binary packages are channeled to the openSUSE 15.3 update repositories. From that date on, the incident project configuration (project.xml) for SLE updates might contain sections like this:
<repository name="SUSE_Updates_openSUSE-SLE_15.3"> <releasetarget project="SUSE:Updates:openSUSE-SLE:15.3" repository="update" trigger="maintenance"/> <path project="SUSE:Updates:openSUSE-SLE:15.3" repository="update"/> <arch>i586</arch> <arch>x86_64</arch> <arch>s390x</arch> <arch>ppc64le</arch> <arch>aarch64</arch> </repository>
Since we don't want to manually re-validate SLE updates on openSUSE outside of openQA, we need to make sure that the template generator is skipping over such releasetarget definitions and doesn't try to create a product definition or a list of reference test machines from it.
Currently, we got 1 error and 1 warning from the template generator on such incidents:
2021/06/23 18:01:30 W SUSE:Maintenance:20182:243591 QAM.TeReGen.Input.OBS: Ignoring "SUSE:Updates:openSUSE-SLE:15.3" - not representing any known product 2021/06/23 18:01:30 E SUSE:Maintenance:20182:243591 QAM.TeReGen.Input.OBS: Cannot parse version from SUSE_Updates_openSUSE-SLE_15.3
The test reports currently generated and look good, e.g. https://qam.suse.de/testreports/SUSE:Maintenance:20182:243591/log
However, we need to make sure for the future that the release target SUSE:Updates:openSUSE-SLE:15.3 is excluded more gracefully / intentionally by the template generator.
- Due date set to 2021-08-31
- Status changed from New to Feedback
- Assignee set to jbaier_cz
- Priority changed from Normal to Low
jbaier_cz we tried to estimate the ticket in the team but found it unfeasible to do so without you :) Please help us to refine the ticket so that we can estimate it together.
If I am not mistaken, we just need to introduces two fixes. One for legacy code (https://gitlab.suse.de/qa-maintenance/templates-management/-/blob/master/qam-teregen/lib/QAM/TeReGen/Processing/TestPlatforms.pm#L93) and one for new code (https://gitlab.suse.de/qa-maintenance/templates-management/-/blob/master/qam-teregen/lib/QAM/TeReGen/Processing/TestPlatformsNG.pm#L9) to entirely ignore the new "product". There might be some other minor changes where product list is evaluated (so some more filtering and exceptions might need to be added). Overall, seems like a small ticket as no additional changes (except ignoring the product) are requested.