Merge ~smoser/cloud-init:fix/centos-maybe-more-reliable into cloud-init:master
Proposed by
Scott Moser
on 2017-10-23
| Status: | Merged |
|---|---|
| Approved by: | Chad Smith on 2017-10-23 |
| Approved revision: | 2d0d355e74267f4e96a7a26b7f34e7ce75afa61d |
| Merged at revision: | 5b6fd3ae353dd65e57ab138d7dca640d1c88d32c |
| Proposed branch: | ~smoser/cloud-init:fix/centos-maybe-more-reliable |
| Merge into: | cloud-init:master |
| Diff against target: |
98 lines (+52/-6) 2 files modified
tools/read-dependencies (+36/-5) tools/run-centos (+16/-1) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Chad Smith | 2017-10-23 | Approve on 2017-10-23 | |
| Server Team CI bot | continuous-integration | Approve on 2017-10-23 | |
|
Review via email:
|
|||
Commit Message
tools: make yum package installation more reliable
During continuous integration tests, we're seeing quite a lot of
unreliablity when running 'yum install'. The change here is to move to
re-trying a run of 'yum install --downloadonly' for 10 times or until
it succeeds. Then afterwards, running yum install from the cache.
This seems safer in general than just re-trying an install operation,
since we are specifically affected by the download phase failing.
To post a comment you must log in.


PASSED: Continuous integration, rev:2d0d355e742 67f4e96a7a26b7f 34e7ce75afa61d /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 432/
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
SUCCESS: MAAS Compatability Testing
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 432/rebuild
https:/