Project

General

Profile

Actions

action #104613

closed

Enable ltp known issues on o3

Added by pcervinka almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
QE Kernel - QE Kernel Done
Start date:
2022-01-04
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:

Description

Enable ltp known issues on o3. External repository for data was created https://github.com/openSUSE/kernel-qe/.

Actions #1

Updated by pvorel almost 3 years 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.

Actions #2

Updated by pvorel almost 3 years ago

  • Project changed from 178 to openQA Tests
  • Status changed from New to In Progress
Actions #3

Updated by okurz almost 3 years 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

Actions #4

Updated by pvorel almost 3 years 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.

Actions #5

Updated by pvorel almost 3 years ago

PR which adds YAML file parsing & save
https://github.com/os-autoinst/os-autoinst/pull/1904

Actions #6

Updated by pvorel almost 3 years 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
Actions #7

Updated by pvorel almost 3 years ago

  • Status changed from In Progress to Resolved
Actions #8

Updated by pvorel almost 3 years ago

  • Target version changed from 640 to QE Kernel Done
Actions

Also available in: Atom PDF