Merge lp:~raharper/curtin/trunk.retry-apt-commands into lp:~curtin-dev/curtin/trunk
Proposed by
Ryan Harper
Status: | Merged |
---|---|
Approved by: | Scott Moser |
Approved revision: | 463 |
Merged at revision: | 462 |
Proposed branch: | lp:~raharper/curtin/trunk.retry-apt-commands |
Merge into: | lp:~curtin-dev/curtin/trunk |
Diff against target: |
42 lines (+7/-5) 2 files modified
curtin/commands/apt_config.py (+2/-1) tests/unittests/test_apt_source.py (+5/-4) |
To merge this branch: | bzr merge lp:~raharper/curtin/trunk.retry-apt-commands |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser (community) | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Joshua Powers (community) | Approve | ||
Review via email: mp+316888@code.launchpad.net |
Description of the change
Make apt commands retry
We see transient failures in overnight runs where apt fails to connect to the archive for network reasons. Handle this by allowing our calls to apt to be retried.
To post a comment you must log in.
PASSED: Continuous integration, rev:462 /jenkins. ubuntu. com/server/ job/curtin- ci/352/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-arm64/ 352 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-ppc64el/ 352 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-s390x/ 352 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= vm-amd64/ 352 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= vm-i386/ 352
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/curtin- ci/352/ rebuild
https:/