Bug 1252343 - Mockchain cannot download SRPMs from dropbox
Summary: Mockchain cannot download SRPMs from dropbox
Keywords:
Status: CLOSED DUPLICATE of bug 1248344
Alias: None
Product: Copr
Classification: Community
Component: backend
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-11 08:29 UTC by Severin Gehwolf
Modified: 2015-08-11 10:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-08-11 10:09:06 UTC
Embargoed:


Attachments (Terms of Use)

Description Severin Gehwolf 2015-08-11 08:29:05 UTC
When trying to build from an SRPM hosted on dropbox copr builds fail with a weird error message:
[2015-08-07 13:19:21,547][ ERROR][PID:12267] builder.build error building pkg `https://dl.dropboxusercontent.com/s/6ib68tn3uoqf4f6/thermostat-1.99.5-4.fedora.src.rpm`: BuildError: rc 2 not in success_codes; return code: 2; stdout: starting logfile: None

An example build URL is here:
https://copr.fedoraproject.org/coprs/jerboaa/thermostat-latest/build/107400/

I've been told that this is due to an unknown problem in mockchain. Perhaps this is worth fixing? FWIW, I can download the SRPM via wget or curl just fine:

$ wget https://dl.dropboxusercontent.com/s/6ib68tn3uoqf4f6/thermostat-1.99.5-4.fedora.src.rpm

Note that in theory copr should be able to build from any publicly accessible URL. Doesn't seem like it in practice. It's also worth pointing out that we push those builds via a CI RPM builder which is automated and I rather use a shared dropbox account than copying a private SSH key to the builder in order to be able to use fedorapeople.org or some such for uploading the SRPM.

Bug 1045744 will somewhat help. However, it seems it's not yet fixed. Nevertheless, I think this should get investigated at least as to why it's failing to download from a shared dropbox URL.

Comment 1 Miroslav Suchý 2015-08-11 10:09:06 UTC

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

Comment 2 Miroslav Suchý 2015-08-11 10:11:52 UTC
Bug 1045744 is fixed in mock.git master. Once there is release and new version get into Fedora it will be automatically included in Copr infrastructure.


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