Bug 1171601
Summary: | fedora-review does not clean up buildroot when mock fails | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miroslav Suchý <msuchy> |
Component: | fedora-review | Assignee: | Stanislav Ochotnicky <sochotni> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | anto.trande, leamas.alec, nonamedotc, pingou, sergio, sochotni, valtri |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-04-16 15:08:33 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: |
Description
Miroslav Suchý
2014-12-08 08:26:39 UTC
yeah I also got: ERROR: Expected to find single rebuilt srpm, found 2. ll /var/lib/mock/fedora-20-x86_64/root/builddir/build/SRPMS/ total 27760 -rw-rw-r-- 1 sergio mock 174429 Dez 17 02:39 patchutils-0.3.3-9.fc20.src.rpm -rw-rw-r-- 1 sergio mock 28245953 Dez 20 22:40 filetodoay With mock of Fedora 20 updates-stable , Now I got this problem , when build with a second package with: mock -r fedora-20-x86_64 --no-clean --rebuild ./mypackage.fc20.src.rpm Now I have to do : rm -rf /var/lib/mock/fedora-20-x86_64/root/builddir/build/ See this with fedora-review $ fedora-review -m fedora-rawhide-x86_64 -b 1178191 [ ... ] ERROR: Expected to find single rebuilt srpm, found 2. ERROR: 'mock build failed, see /home/mukundan/ownCloud/pkg_reviews/1178191-python-sane/results/build.log' But, after downgrading to **mock-1.1.41** on F21, I am able to run fedora-review successfully. Because mock-1.1.41 was clearing always /builddir, even when --no-clean was passed. This was fixed in mock, however the fix in mock revealed this bug in fedora-review. (In reply to Miroslav Suchý from comment #4) > Because mock-1.1.41 was clearing always /builddir, even when --no-clean was > passed. This was fixed in mock, however the fix in mock revealed this bug in > fedora-review. no , mock should clear always /builddir, even when --no-clean . nope. see bug 483486 I will look at it when got some spare time , mean while see bug 1173126 This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22 |