Jobs failing on repository issue with "No more mirrors to try"

David Caro dcaroest at redhat.com
Thu Feb 26 11:14:27 UTC 2015


On 02/26, Sandro Bonazzola wrote:
> Jobs are failing on repository issue like http://jenkins.ovirt.org/job/vdsm_master_create-rpms-fc20-x86_64_merged/689/ :
> 
> 
> DEBUG util.py:389:  http://download.fedoraproject.org/pub/fedora/linux/updates/testing/20/x86_64/curl-7.32.0-19.fc20.x86_64.rpm: [Errno 14] HTTP Error
> 404 - Not Found
> DEBUG util.py:389:  Trying other mirror.
> DEBUG util.py:389:  http://download.fedoraproject.org/pub/fedora/linux/updates/testing/20/x86_64/libcom_err-1.42.12-3.fc20.x86_64.rpm: [Errno 14] HTTP
> Error 404 - Not Found
> DEBUG util.py:389:  Trying other mirror.
> DEBUG util.py:389:  http://download.fedoraproject.org/pub/fedora/linux/updates/testing/20/x86_64/libcurl-7.32.0-19.fc20.x86_64.rpm: [Errno 14] HTTP
> Error 404 - Not Found
> DEBUG util.py:389:  Trying other mirror.
> DEBUG util.py:389:  http://download.fedoraproject.org/pub/fedora/linux/updates/testing/20/x86_64/perl-Getopt-Long-2.45-1.fc20.noarch.rpm: [Errno 14]
> HTTP Error 404 - Not Found
> DEBUG util.py:389:  Trying other mirror.
> DEBUG util.py:389:  Error downloading packages:
> DEBUG util.py:389:    libcurl-7.32.0-19.fc20.x86_64: [Errno 256] No more mirrors to try.
> DEBUG util.py:389:    libcom_err-1.42.12-3.fc20.x86_64: [Errno 256] No more mirrors to try.
> DEBUG util.py:389:    curl-7.32.0-19.fc20.x86_64: [Errno 256] No more mirrors to try.
> DEBUG util.py:389:    perl-Getopt-Long-2.45-1.fc20.noarch: [Errno 256] No more mirrors to try.
> 
> I guess baseurl has been chosen for proxy sake but this will fail jobs in case the selected mirror is out of sync.

No, it was not selected with any specific intention.

> 
> I suggest to install yum-plugin-fastestmirror
> and set
> prefer=download.fedoraproject.org
> in /etc/yum/pluginconf.d/fastestmirror.conf
> 
> and provide the mirror list instead of the baseurl allowing to fallback on next mirror if preferred mirror has issues.

I suggest fixing the script so it uses the proxy and lets repoproxy do the
mirror selection, to use the same flow as the normal repos and take advantage
of the caching.

> 
> 
> -- 
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com

-- 
David Caro

Red Hat S.L.
Continuous Integration Engineer - EMEA ENG Virtualization R&D

Tel.: +420 532 294 605
Email: dcaro at redhat.com
Web: www.redhat.com
RHT Global #: 82-62605
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20150226/e1c28e53/attachment.sig>


More information about the Infra mailing list