Ticket #230 (closed defect: fixed)

Opened 3 years ago

Last modified 21 months ago

old installed builds in Mock chroot are not updated prior to running rpmlint on them

Reported by: mschwendt Owned by: somebody
Priority: major Milestone: 0.5.3
Component: fedora-review Version: devel
Keywords: Cc: raveit65
Blocked By: Blocking:


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.

Change History

comment:1 Changed 21 months ago by leamas

  • Status changed from new to closed
  • Resolution set to fixed

comment:2 Changed 21 months ago by leamas

  • Milestone changed from Future to 0.5.3
Note: See TracTickets for help on using tickets.