Hide Forgot
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.
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".