Red Hat Bugzilla – Bug 472740
[RFE] -package is uninstaled during test, which need that package
Last modified: 2016-05-26 09:21:44 EDT
Description of problem:
I have two tests:
one need package bind-chroot -- there is bind-chroot in Makefile Requires section.
Second doesn't need bind-chroot -- there is (minus) -bind-chroot in Makefile Requires section.
I schedule both test on one machine, then machine is without bind-chroot during both tests -- thats why first test fail :(
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. two test, one with +package in Require , second with -dependences in Requires
2. schedule both test on one machine
bind-chroot is uninstalled during both test
during tests on one machine:
bind-chroot is installed in test when it is +required
bind-chroot is uninstalled, when its -required.
This is an interesting problem.
Currently we rely on Anaconda to install the packages required for testing. The harness could be updated to install/remove the required packages for the test about to be run.
Ideally we would just put the test requires as rpm requires of the test rpm. This would allow the installing the test rpm to pull in the correct rpms needed. Problem with this approach is that some tests have Requires that span across multiple releases. The test rpm would have to be split between releases to continue to work.
Updating the harness to deal with this is probably the best bet. I'll add this BZ to the business requirements for the new test harness.
Legacy RHTS is soon to be retired and replaced by Beaker. As part of
this migration process all RHTS bugs need to be re-verified against a
Beaker instance by the cut-off date
5pm Monday April 12th UTC-4.
Please confirm this bug is still relevant to Beaker by re-verifying it
against the stage deployment of Beaker https://beaker-stage.app.eng.bos.redhat.com.
To keep this bug open please comment on it
If it has not received a comment by that date the bug will be closed/wontfix.
After the cutoff date all commented bugs will be moved to the Beaker
this is still an issue.
*** Bug 651828 has been marked as a duplicate of this bug. ***
Bulk reassignment of issues as Bill has moved to another team.