Bug 1474125

Summary: mock failed with "failed calculating RPMDB checksum"
Product: [Fedora] Fedora Reporter: Edgar Hoch <edgar.hoch>
Component: mockAssignee: Clark Williams <williams>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 26CC: dmaphy, jdisnard, mebrown, msimacek, msuchy, praiskup, williams
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-06 21:37:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File /var/lib/mock/fedora-26-x86_64/result/root.log
none
Output of "mock --trace --init" none

Description Edgar Hoch 2017-07-24 00:41:56 UTC
Created attachment 1303388 [details]
File /var/lib/mock/fedora-26-x86_64/result/root.log

Description of problem:
mock with message "failed calculating RPMDB checksum"

mock was working on Fedora 25, but fails on Fedora 26, so no packages can be rebuild on Fedora 26..


Version-Release number of selected component (if applicable):
mock-1.4.2-1.fc26.noarch
dnf-2.5.1-1.fc26.noarch
rpm-4.13.0.1-5.fc26.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Add a user to group mock. Then log in with user which is in group mock.
2. mock --scrub=all
3. mock --init

Actual results:
Error message "failed calculating RPMDB checksum"

Expected results:
chroot is created, no error.

Comment 1 Edgar Hoch 2017-07-24 00:48:22 UTC
Created attachment 1303389 [details]
Output of "mock --trace --init"

There are some python exceptions when "mock --trace --init" was run - see attached file.

Comment 2 Dominic Hopf 2017-08-01 11:34:48 UTC
I can reproduce this issue here on my Fedora 26 boxes. Any hints on how to work around this?

Comment 3 Dominic Hopf 2017-08-01 11:38:13 UTC
Looking at https://bugzilla.redhat.com/show_bug.cgi?id=1299482 setting --noplugins in /etc/mock/site-default.cfg seems to work so far.

Comment 4 Miroslav Suchý 2017-08-06 21:37:51 UTC

*** This bug has been marked as a duplicate of bug 1299482 ***