Bug 2106437

Summary: --no-cleanup-after (-N) option is not working
Product: [Fedora] Fedora Reporter: Jaroslav Škarvada <jskarvad>
Component: mockAssignee: Copr Team <copr-team>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: copr-team, jkeating, mebrown, msuchy, philip.wyett, praiskup, williams
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-13 07:14:58 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 Jaroslav Škarvada 2022-07-12 16:54:00 UTC
Description of problem:
It seems the --no-cleanup-after (-N) option is not working (it worked in the past).

Version-Release number of selected component (if applicable):
mock-3.0-1.fc35

How reproducible:
Always

Steps to Reproduce:
1. fedpkg co --anonymous grep 
2. cd grep
3. fedpkg srpm
4. mock -r fedora-rawhide-x86_64 -N ./grep*.src.rpm
5. ls /var/lib/mock/fedora-rawhide-x86_64/root/builddir/build/BUILD /var/lib/mock/fedora-rawhide-x86_64/root/builddir/build/BUILDROOT

Actual results:
Empty directories

Expected results:
Build files like if there is an failures

Additional info:

Comment 1 Pavel Raiskup 2022-07-13 07:14:58 UTC
Thank you for the report.  Mirek is handling this in bug 2105393.

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