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

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...: [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...: [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...: [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...: [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. 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. -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com

--Ycz6tD7Th1CMF4v7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 02/26, Sandro Bonazzola wrote:
Jobs are failing on repository issue like http://jenkins.ovirt.org/job/vd= sm_master_create-rpms-fc20-x86_64_merged/689/ : =20 =20 DEBUG util.py:389: http://download.fedoraproject.org/pub/fedora/linux/up= dates/testing/20/x86_64/curl-7.32.0-19.fc20.x86_64.rpm: [Errno 14] HTTP Err= or 404 - Not Found DEBUG util.py:389: Trying other mirror. DEBUG util.py:389: http://download.fedoraproject.org/pub/fedora/linux/up= dates/testing/20/x86_64/libcom_err-1.42.12-3.fc20.x86_64.rpm: [Errno 14] HT= TP Error 404 - Not Found DEBUG util.py:389: Trying other mirror. DEBUG util.py:389: http://download.fedoraproject.org/pub/fedora/linux/up= dates/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/up= dates/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 mo= re mirrors to try. DEBUG util.py:389: curl-7.32.0-19.fc20.x86_64: [Errno 256] No more mir= rors to try. DEBUG util.py:389: perl-Getopt-Long-2.45-1.fc20.noarch: [Errno 256] No= more mirrors to try. =20 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.
=20 I suggest to install yum-plugin-fastestmirror and set prefer=3Ddownload.fedoraproject.org in /etc/yum/pluginconf.d/fastestmirror.conf =20 and provide the mirror list instead of the baseurl allowing to fallback o= n 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 advanta= ge of the caching.
=20 =20 --=20 Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com
--=20 David Caro Red Hat S.L. Continuous Integration Engineer - EMEA ENG Virtualization R&D Tel.: +420 532 294 605 Email: dcaro@redhat.com Web: www.redhat.com RHT Global #: 82-62605 --Ycz6tD7Th1CMF4v7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJU7wASAAoJEEBxx+HSYmnDWBIH/RAuDokpkP7vZpUsOaB0qw/d nANu3ILPLhF3BcJUCXw6xJtx99MbB12gdrcy5BcqFUKHI0FW+rND1hCcoQ4CP9Qe 4tL4JdyrRFVdn4P8CF5Zj0w+WD/VW7ODd0TtFHyPo/cfVCz6I4jhJhcWB+l/dZzk +MSsXcTjY+ZP0aMZZ8LGfROjF1GHieYRnE1m+YhKVxuIjuiKOapfhVOKVg96v7K0 I4E8lA8VK14uAhn54zprFNsjEooMBVkODF1efvdO5IqK7twm0sdqcH/Deg5eI1Pn PUkcfa+MhZ54X9x/5//V17eQtjSWwC014kEQQpurzSSebo7PMmG5SUqNVRtNoAI= =3MAO -----END PGP SIGNATURE----- --Ycz6tD7Th1CMF4v7--
participants (2)
-
David Caro
-
Sandro Bonazzola