RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1950605 - Define tests, including gating tests, for qemu-kvm
Summary: Define tests, including gating tests, for qemu-kvm
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: qemu-kvm
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Beraldo Leal
QA Contact: Yanan Fu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-17 04:45 UTC by Jeff Nelson
Modified: 2021-12-07 21:24 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-07 21:20:54 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jeff Nelson 2021-04-17 04:45:00 UTC
Problem Description:
Define tests, including gating tests, for qemu-kvm.

Additional Information:
In RHEL-8 and in RHEL AV, the virt module contains the definition of tests to be run whenever any component in the module is changed. In RHEL-9 there is no virt module so the tests must now be defined for each of the individual components, of which qemu-kvm is one. The definition must include both gating and non-gating tests.

The suggested approach to resolving this BZ is to copy the test setup for the virt module in RHEL AV-8.5, namely the file named 'gating.yaml' and the directory named 'tests'. Then modify the files to exclude tests and gating tests that are not relevant for qemu-kvm.

Please work closely with QE! The test definitions in gating.yaml describe test jobs that run in QE's testing environment. The test jobs and/or the testing environment may need to be modified to work in RHEL-9, or perhaps brand new test jobs may need to be created.

Comment 1 Yanan Fu 2021-04-19 03:35:36 UTC
Hi there,

QE have copy the tests with RHEL-av 8.5 virt module to RHEL9 qemu-kvm build already.

The 'namespace' for the test result UMB message are:
kvm-ci.qemu-kvm.x86_64-intel.brew-build.gating
kvm-ci.qemu-kvm.x86_64-amd.brew-build.gating

type: tier1
category: functional


So the test case name in gating.yml should be:
kvm-ci.qemu-kvm.x86_64-intel.brew-build.gating.tier1.functional
kvm-ci.qemu-kvm.x86_64-amd.brew-build.gating.tier1.functional


Will provide the example for the UMB message later, thanks!

Comment 2 Jeff Nelson 2021-04-20 04:54:39 UTC
Delegating for further assignment.

I don't expect maintainers to do all the work, but to help move things along.

Please work with the following:

* Yash - he knows how to create the test and gating files that OSCI reads to run tests. He also knows how the QE test systems work.

* lead engineer for the component (I'll help if you don't know who) - for reviewing what tests make sense to run for the component.

* QE assignee - for verifying that the jobs we run which execute on QE's infrastructure will run on RHEL-9 in a non-modular environment. I expect that some tests may need modification.

Comment 6 Yanan Fu 2021-05-19 02:49:34 UTC
No qemu-kvm code change, it is a test only issue i think, let's move to ON_QA directly.

Comment 7 Yanan Fu 2021-05-29 09:12:50 UTC
qemu-kvm gating test already online in kvm ci system, and gating.yaml already be updated in c93:

Test result can be published with to datagrepper successfully now. Here is an example:
https://datagrepper.engineering.redhat.com/id?id=ID:master-jenkins-csb-kvmqe-39065-1621466306548-4359:1:1:1:1&is_raw=true&size=extra-large


Move bz to VERIFIED accordingly.


Note You need to log in before you can comment on or make changes to this bug.