Bug 1630304

Summary: copr is plagued by downloading issues
Product: [Community] Copr Reporter: Martin Kyral <mkyral>
Component: backendAssignee: Miroslav Suchý <msuchy>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: praiskup
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: 2018-09-19 08:35:37 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 Martin Kyral 2018-09-18 11:06:29 UTC
Description of problem:
Quite often, a build in copr fails disgracefully due to downloading issues during build dep resolution. Either repo sync fails, failing the whole build or a single package download fails leading to the same grim outcome. I suspect both issues have the same root cause. This is particularly disappointing when performing chain build of a large project such as Plasma Desktop, where build failure of one package screws up dozens of subsequent builds. Copr shall be more tolerant and if such error occurs, just try again.

https://copr-be.cloud.fedoraproject.org/results/mkyral/plasma-unstable/fedora-28-x86_64/00799676-kscreenlocker/builder-live.log

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Martin Kyral 2018-09-18 20:06:29 UTC
another one:
https://copr-be.cloud.fedoraproject.org/results/mkyral/kf5-unstable/fedora-28-x86_64/00800026-kf5-krunner/builder-live.log

[MIRROR] extra-cmake-modules-5.50.0-1.fc28.noarch.rpm: Curl error (28): Timeout was reached for https://copr-be.cloud.fedoraproject.org/results/mkyral/kf5-unstable/fedora-28-x86_64/00798956-extra-cmake-modules/extra-cmake-modules-5.50.0-1.fc28.noarch.rpm [Connection timed out after 30001 milliseconds]
[MIRROR] kf5-kconfig-devel-5.50.0-2.fc28.x86_64.rpm: Curl error (28): Timeout was reached for https://copr-be.cloud.fedoraproject.org/results/mkyral/kf5-unstable/fedora-28-x86_64/00799060-kf5-kconfig/kf5-kconfig-devel-5.50.0-2.fc28.x86_64.rpm [Connection timed out after 30000 milliseconds]
[MIRROR] kf5-kcoreaddons-devel-5.50.0-1.fc28.x86_64.rpm: Curl error (28): Timeout was reached for https://copr-be.cloud.fedoraproject.org/results/mkyral/kf5-unstable/fedora-28-x86_64/00798966-kf5-kcoreaddons/kf5-kcoreaddons-devel-5.50.0-1.fc28.x86_64.rpm [Connection timed out after 30000 milliseconds]
[FAILED] kf5-kcoreaddons-devel-5.50.0-1.fc28.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success
(2-3/290): extra-cma  0% [                    ]  69 MB/s |  85 kB     00:02 ETA
Error: Error downloading packages:
  Cannot download 00798966-kf5-kcoreaddons/kf5-kcoreaddons-devel-5.50.0-1.fc28.x86_64.rpm: All mirrors were tried

Comment 2 Martin Kyral 2018-09-19 08:35:37 UTC
Not a copr bug, but a dnf one (coupled with infrastructured issues). Sorry for the fuss.

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