Merge ~chad.smith/cloud-init:simpletable-getstring-fix into cloud-init:master
| Status: | Merged |
|---|---|
| Approved by: | Chad Smith on 2017-10-10 |
| Approved revision: | daf5dd118451bef3216c440b10650b26233cc9fd |
| Merged at revision: | d4f70470b7c3af89d4bf97123f4d61ad8a58805b |
| Proposed branch: | ~chad.smith/cloud-init:simpletable-getstring-fix |
| Merge into: | cloud-init:master |
| Diff against target: |
151 lines (+115/-3) 4 files modified
cloudinit/netinfo.py (+1/-1) cloudinit/simpletable.py (+1/-1) cloudinit/tests/test_netinfo.py (+106/-0) cloudinit/tests/test_simpletable.py (+7/-1) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Scott Moser | 2017-10-10 | Approve on 2017-10-10 | |
| Server Team CI bot | continuous-integration | Approve on 2017-10-10 | |
|
Review via email:
|
|||
Description of the Change
simpletable: Fix get_string method to return table-formatted string
Output in cloud-init-
of a SimpleTable object instead of the table formatted content. This bug
also affected ssh_authkey_
LP: #1722566
| Scott Moser (smoser) wrote : | # |
need to make sure the failure there is just noise... looks like it was,
and doesn't seem like it should be related.
the code looks good and thanks for the tests.
I am running a test here just quick to verify we get
the network output rendered.
I ran a integration test with:
$ tox -e citest -- run --preserve-data --data-
and then verify that /tmp/artifacts/
messages we wanted. see
http://
| Scott Moser (smoser) wrote : | # |
wait on the re-build to post results and then lets get this and upload.
PASSED: Continuous integration, rev:
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:
https:/
| Scott Moser (smoser) wrote : | # |
I approve.
wrt Ryan's comment, i agree that the 80 chars is annoying here, but i think we should just leave as is to get it in.


FAILED: Continuous integration, rev:daf5dd11845 1bef3216c440b10 650b26233cc9fd /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 398/
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
FAILED: MAAS Compatability Testing
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 398/rebuild
https:/