Enable ltp known issues on o3
Enable ltp known issues on o3. External repository for data was created https://github.com/openSUSE/kernel-qe/.
Repository has ustat0 as a start. We should add
to relevant medium types, at least for DISTRI: opensuse, FLAVOR: DVD and JeOS-for-kvm-and-xen.
pvorel asked me to comment in the ticket. So:
I suggest instead of putting such variables into openQA settings just add that within os-autoinst-distri-opensuse. openQA settings really only need settings that configure machines and to control test schedules. Everything else should be set by the test distribution itself. Sure it can work to put such settings on the medium types but it's not a good scalable approach. If you still follow your approach eventually the list of settings on medium can become unmaintainable which is making subsequent changes costly and risky. https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/lib/main_common.pm#L171 has some examples
OK, we agree to add LTP setup for o3 into suggested https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/lib/main_common.pm#L171
set_var('LTP_KNOWN_ISSUES', 'https://raw.githubusercontent.com/openSUSE/kernel-qe/main/ltp_known_issues.yaml') if is_opensuse and !get_var('LTP_KNOWN_ISSUES');
But I have overlooked that OpenQA code requires JSON, not YAML.
So I'll have a look how hard is to implement YAML parsing before I just switch to JSON.
PR which adds YAML file parsing & save
In the end implemented here (PR merged now)
I also add BUGZILLA_URL=https://bugzilla.opensuse.org/show_bug.cgi?ctype=xml&id=@BUGID@ into medium types:
- opensuse Tumbleweed JeOS-for-kvm-and-xen on x86_64
- opensuse Tumbleweed DVD on aarch64, ppc64le, x86_64
- openSUSE Tumbleweed AArch64 on aarch64
- openSUSE Leap 15.4 Images
- openSUSE Leap 15.3 Images