action #104613
Enable ltp known issues on o3
0%
Description
Enable ltp known issues on o3. External repository for data was created https://github.com/openSUSE/kernel-qe/.
History
#1
Updated by pvorel 4 months ago
Repository has ustat0[12] as a start. We should add
LTP_KNOWN_ISSUES=https://raw.githubusercontent.com/openSUSE/kernel-qe/main/ltp_known_issues.yaml
to relevant medium types, at least for DISTRI: opensuse, FLAVOR: DVD and JeOS-for-kvm-and-xen.
#3
Updated by okurz 4 months ago
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
#4
Updated by pvorel 4 months ago
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.
#5
Updated by pvorel 4 months ago
PR which adds YAML file parsing & save
https://github.com/os-autoinst/os-autoinst/pull/1904
#6
Updated by pvorel 4 months ago
In the end implemented here (PR merged now)
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/13975
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