download_mirror.sh fails with 404 errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Scott Little |
Bug Description
Title
-----
download_mirror.sh fails with 404 errors
Brief Description
-----------------
The 'yum makecache' step is failing. The issue is seen when the fast mirror plugin for yum is in use (default).
The metadata for a yum repo as scattered across several files. The master file is repomd.xml, and it may list several supporting files, e.g.
031968ec4da5
15b5cd8d1aca
25d95604a1d7
7bdd84cb362f
d911b4643a44
e01e41c9dc82
When fast mirror plugin is in use, each file might download from a separate source. This opens the door for a race condition when a repo update is rolling out across the mirrors.
The error suggests we have already downloaded a repomd.xml, but it is obsolete and references a supporting file that no longer exists.
Severity
--------
Major: This is impacting CENGN nightly build on a sporadic basis.
Steps to Reproduce
------------------
run 'download_
Expected Behavior
------------------
Successful download of the rpms and tarballs required to build a StarlingX load.
Actual Behavior
----------------
Failures of download_mirrors.sh with 404 errors beinf reported vs a repodata support file.
Reproducibility
---------------
Reproducible/
perhaps 10% as seen by CENGN
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
2019-03-06 1:00am EST
Timestamp/Logs
--------------
From jenkins-
...
step #1: start downloading RPMs/SRPMs from 3rd-party websites...
\cp -r '/etc/yum.repos.d' '/tmp/stx_
\cp '/etc/yum.conf' '/tmp/stx_
/tmp/stx_
using ./rpms_
2019-03-06_1858
Loaded plugins: fastestmirror, ovl
http://
Trying other mirror.
To address this issue please refer to the below knowledge base article
https:/
If above article doesn't help to resolve this issue please create a bug on https:/
http://
Trying other mirror.
http://
...
Warning: Not all download steps succeeded. You are likely missing files.
Build step 'Execute shell' marked build as failure
Marking as release gating; affects consistent CENGN builds