diskimage-builder/diskimage_builder
Ian Wienand 76ae374413 functests: skip qcow2 generically but add specific test
We somewhat discussed skipping qcow2 generation previously in
I9372e195913798a851c96e62eee89029e067baa1.  As recent issues with PPC
testing have shown, we are not actually testing the "vm" element and
hence the bootloader path in the functional tests.

I don't think we need to test this on every element; it overlaps
somewhat with the testing done by the nodepool jobs which build full
images and boot them.  I also didn't want to introduce a separate run
for this.  Thus it seems valuable to at least have one element
enhanced to do this installation and conversion in our default tests
for basic sanity.

This disables qcow generation by default, as per the other change, but
allows an element to drop a file that will override the output
formats.  The Xenial element is modified to produce a qcow2 using
this, and also introduces a dependency on the "vm" element so it tries
to install the bootloader.

We now exit if the .qcow2 fails to build as well.

Change-Id: I1a6acefe52f8c696c39b2d592fdc7ae32a87e6fe
2017-03-23 13:49:24 +11:00
..
block_device Capture output in _exec_sudo 2017-03-23 09:31:37 +11:00
elements functests: skip qcow2 generically but add specific test 2017-03-23 13:49:24 +11:00
graph Refactor: block-device handling (partitioning) 2017-01-24 19:59:10 +00:00
lib Refactor: block-device partitioning cleanup 2017-03-07 18:43:09 +11:00
tests Refactor: block-device handling (partitioning) 2017-01-24 19:59:10 +00:00
__init__.py Bump hacking to 0.9.x series 2014-07-21 10:15:41 +02:00
dib_run_parts.py Move dib-run-parts into diskimage-builder 2016-11-04 17:07:37 +11:00
disk_image_create.py squash-package-install to use the correct python 2017-03-13 20:24:39 +11:00
element_dependencies.py Semi-automatic doc generation of element dependency 2017-02-09 09:50:30 +11:00
logging_config.py Add python logger configuration 2016-06-16 13:54:50 +10:00
paths.py Move diskimage-image-create to an entry point 2016-11-02 05:12:11 +00:00
utils.py Refactor: block-device handling (partitioning) 2017-01-24 19:59:10 +00:00
version.py Create docs site containing element READMEs 2015-02-10 11:45:35 -08:00