Merge ~smoser/cloud-init:fix/1783198-workaround-or-retry-lxd-shutdown into cloud-init:master
Proposed by
Scott Moser
Status: | Merged |
---|---|
Approved by: | Scott Moser |
Approved revision: | 1fe249a56b0492a14e3aa7dd1f84c4c70115da6d |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~smoser/cloud-init:fix/1783198-workaround-or-retry-lxd-shutdown |
Merge into: | cloud-init:master |
Diff against target: |
104 lines (+40/-5) 2 files modified
tests/cloud_tests/platforms/instances.py (+2/-1) tests/cloud_tests/platforms/lxd/instance.py (+38/-4) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ryan Harper | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+351371@code.launchpad.net |
Commit message
tests: improve LXDInstance trying to workaround or catch bug.
Described in bug 1783198 we have seen some transient failures when
using pylxd -> lxd api.
This does:
* adds a str() representation of LXDInstance
* checks the value of the pylxd_container object on instantion
* sets pylxd_container object to None on deletion.
* adds retry logic to shutdown()
Description of the change
see commit message
To post a comment you must log in.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
PASSED: Continuous integration, rev:c447c6441e7 d9cf3363cf9ab43 032baacbf163fc /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 174/
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/ 174/rebuild
https:/