Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
The idea is for QE to rebuild the .srpm against a specific kernel version in order to run OVS datapath testsuite as part of QA tests.
For instance:
# rpmbuild -rb --with check_datapath_kernel openvswitch*.src.rpm
The following upstream commit needs to be backported to our 2.5:
commit 8ef22bb1ceb7b2841d2e29eb283387f0a3a67ff9
Author: Lance Richardson <lrichard>
Date: Fri Sep 2 09:55:27 2016 -0400
rhel: add option to run kernel datapath test when building rpms
Add ability to execute kernel datapath tests when building rpms.
These tests are disabled by default, and can optionally be run
by providing "--with check_datapath_kernel" on the rpmbuild command
line. This is intended to facilitate automated testing, and
should not be used in production environments (it is generally not
recommended to run rpmbuild as root).
Suggested-by: Flavio Leitner <fbl>
Signed-off-by: Lance Richardson <lrichard>
Acked-by: Flavio Leitner <fbl>
Signed-off-by: Russell Bryant <russell>
Version-Release number of selected component (if applicable):
2.5.0
Note: 'nc' needs to be installed otherwise some tests might fail.
Comment 3Thadeu Lima de Souza Cascardo
2016-09-13 16:08:04 UTC
pyftpdlib would be interesting too, so conntrack helpers could be tested. Not sure the best way to get it available/installed into RHEL, though.
Cascardo.
(In reply to Thadeu Lima de Souza Cascardo from comment #3)
If EPEL can be used, the easiest path is "yum install python-pip" then
"pip install pyftpdlib".
Description of problem: The idea is for QE to rebuild the .srpm against a specific kernel version in order to run OVS datapath testsuite as part of QA tests. For instance: # rpmbuild -rb --with check_datapath_kernel openvswitch*.src.rpm The following upstream commit needs to be backported to our 2.5: commit 8ef22bb1ceb7b2841d2e29eb283387f0a3a67ff9 Author: Lance Richardson <lrichard> Date: Fri Sep 2 09:55:27 2016 -0400 rhel: add option to run kernel datapath test when building rpms Add ability to execute kernel datapath tests when building rpms. These tests are disabled by default, and can optionally be run by providing "--with check_datapath_kernel" on the rpmbuild command line. This is intended to facilitate automated testing, and should not be used in production environments (it is generally not recommended to run rpmbuild as root). Suggested-by: Flavio Leitner <fbl> Signed-off-by: Lance Richardson <lrichard> Acked-by: Flavio Leitner <fbl> Signed-off-by: Russell Bryant <russell> Version-Release number of selected component (if applicable): 2.5.0