Bug 1373115 - mock 1.2.20 breaks error codes
Summary: mock 1.2.20 breaks error codes
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: rawhide
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-05 09:13 UTC by Peter Robinson
Modified: 2016-11-20 18:54 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-20 18:54:25 UTC
Type: Bug


Attachments (Terms of Use)

Description Peter Robinson 2016-09-05 09:13:52 UTC
We had this once before. 

http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=3705575

This build reports "BuildError: error building package (arch aarch64), mock exited with status 1; see build.log for more information" 

But if you look at the logs the error is actually in root.log, mock is not reporting the correct error code to koji. This was broken once before. Can we get some tests added to the process so it doesn't happen again.

Comment 1 Miroslav Suchý 2016-10-12 14:30:52 UTC
I cannot reproduce it. When I add
  BuildRequires: foo
so it fail in root.log phase, it correctly return exit code 30.

Do you have some reproducer?

Comment 2 Peter Robinson 2016-11-20 18:54:25 UTC
I've not seen it since


Note You need to log in before you can comment on or make changes to this bug.