~raharper/curtin/trunk.power8

Viewing all changes in revision 376.

  • Committer: Ryan Harper
  • Date: 2016-06-28 16:17:46 UTC
  • Revision ID: ryan.harper@canonical.com-20160628161746-dzxg8d225s3u8af7
autogenerate vmtest data collection

All vmtest classes define lots of duplicate data and require knowledge of the
contents of the input config yaml.  This is cumbersome and error-prone.
Fix this by auto-generating the scripts to collect data based on the input
config.

Updated block_meta's get_path_to_storage_volume:
  - change suffix to no_sync and drop the device sync
  - add wrapper function for existing callers which calls devsync
  - implement handlers for 'format', 'mount', 'lvm_partition' types

Updated block_meta's determine_partition_kname to handle devices with
wwn assigned.

Refactored basic vmtest to read the parsed storage config and calculate
the correct expected files collected and then validate internal data.

This currently passes for XenialBasic.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: