Merge lp://qastaging/~ericsnowcurrently/landscape-charm/fix-upgrade-action-error-message into lp://qastaging/~landscape/landscape-charm/trunk
Proposed by
Eric Snow
Status: | Merged |
---|---|
Approved by: | Eric Snow |
Approved revision: | 366 |
Merged at revision: | 359 |
Proposed branch: | lp://qastaging/~ericsnowcurrently/landscape-charm/fix-upgrade-action-error-message |
Merge into: | lp://qastaging/~landscape/landscape-charm/trunk |
Diff against target: |
415 lines (+267/-20) 6 files modified
lib/apt.py (+14/-13) lib/tests/stubs.py (+11/-1) lib/tests/test_apt.py (+5/-5) lib/tests/test_upgrade.py (+58/-0) lib/tests/test_utils.py (+127/-1) lib/utils.py (+52/-0) |
To merge this branch: | bzr merge lp://qastaging/~ericsnowcurrently/landscape-charm/fix-upgrade-action-error-message |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Adam Collard (community) | Approve | ||
🤖 Landscape Builder | test results | Approve | |
Free Ekanayaka (community) | Approve | ||
Review via email:
|
Commit message
Add logging to the Apt class and improve handling of failures.
Most notably, in the event of a failure a CharmError is not returned.
This causes actions and hooks to handle apt failures more appropriately.
The failures now have a more useful error message as well.
Testing instructions:
Description of the change
Add logging to the Apt class and improve handling of failures.
Most notably, in the event of a failure a CharmError is not returned.
This causes actions and hooks to handle apt failures more appropriately.
The failures now have a more useful error message as well.
Testing instructions:
To post a comment you must log in.
Command: make ci-test /ci.lscape. net/job/ latch-test/ 5401/
Result: Success
Revno: 361
Branch: lp:~ericsnowcurrently/landscape-charm/fix-upgrade-action-error-message
Jenkins: https:/