Ticket #230 (new defect)
Opened 19 months ago
old installed builds in Mock chroot are not updated prior to running rpmlint on them
|Reported by:||mschwendt||Owned by:||somebody|
As found during review request bug https://bugzilla.redhat.com/891282 , fedora-review runs rpmlint on past builds of a package installed in the Mock chroot instead of updating them with the latest builds. The review.txt report then contains rpmlint results for the old builds in the "Rpmlint (installed packages)" section.
Steps to reproduce:
1) Run mock --init 2) Run fedora-review for the older src.rpm:
... INFO: installing package(s): /home/personal_tmp/reviews/elementary/elementary/results/elementary-1.7.8-3.fc21.x86_64.rpm /home/personal_tmp/reviews/elementary/elementary/results/elementary-devel-1.7.8-3.fc21.x86_64.rpm ...
3) Run fedora-review for the newer src.rpm:
... DEBUG: Running check: CheckPackageInstalls DEBUG: Avoiding init of working mock root INFO: Installing built package(s) DEBUG: is_installed: Tested elementary, result: 0 DEBUG: Skipping already installed: elementary DEBUG: is_installed: Tested elementary-devel, result: 0 DEBUG: Skipping already installed: elementary-devel DEBUG: CheckPackageInstalls completed: 1.142 seconds DEBUG: Running check: CheckRpmlintInstalled DEBUG: is_installed: Tested rpmlint, result: 0 DEBUG: Skipping already installed: rpmlint ...
So, it testeds the old builds.