← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~smoser/cloud-init:cleanup/cii-cleanup into cloud-init:master

 

The proposal to merge ~smoser/cloud-init:cleanup/cii-cleanup into cloud-init:master has been updated.

Commit Message changed to:

tests: integration test cleanup and full pass of nocloud-kvm.

Integration test harness changes:
 * Enable collection of console log in nocloud-kvm and lxd.
 * Collect the console log to results for all test runs.
 * change 'tmpfile' to pick name locally instead of using 'mktemp'.
 * drop the 'instance' attribute from nocloud-kvm Image and 
   demote LXDImage.instance to a private attribute.
   This is because Images do not actually have instances.
   (LXDImage internally  uses a booted system to modify the image).
 * Add a 'execute' implementation that relies on Instance._execute
   or Image._execute.  The _execute version being a simplified
   interface making each individual object need to do less.
 * Improve '_execute' implementations to support accepting stdin.
 * execute supports 'rcs=False' meaning (do not raise exception).

Test changes here:
 * do not use /tmp, but rather /var/tmp (LP: #1707222)
 * make keys_to_console assertions more strict.
 * change user test cases to always add default (ubuntu) user
   so that nocloud-kvm's execute which operates over ssh can work.

For more details, see:
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/333059
-- 
Your team cloud-init commiters is requested to review the proposed merge of ~smoser/cloud-init:cleanup/cii-cleanup into cloud-init:master.


References