~smoser/curtin:cleanup/basic-use-and-check-swap

Last commit made on 2018-03-22
Get this branch:
git clone -b cleanup/basic-use-and-check-swap https://git.launchpad.net/~smoser/curtin
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Branch information

Name:
cleanup/basic-use-and-check-swap
Repository:
lp:~smoser/curtin

Recent commits

0592663... by Scott Moser

write the install collect file for psuedo test

2579d90... by Scott Moser

many tests do not use storage config. just accept that.

b266ac9... by Scott Moser

move test to base and "discover" the swap and mounts.

fd30d16... by Scott Moser

vmtest: In Basic install, add entry for swap to fstab and verify its use.

The basic set of tests were setting up a swap partition, but not getting
it used. The change here adds a mount entry so that the OS will turn the
swap on, and then adds a test that verifies it is used.

fa1d755... by Ryan Harper

vmtest: fix pollinate re.search to use groupdict()

In python3.6 re.search() returns an SRE_Match which has
support for dictionary indexing, however on older python3
we do not. Fallback to the supported SRE_Match.groupdict()
before indexing named matches.

bb2d120... by Ryan Harper

Add pollinate user-agent configuration support.

The pollinate client in Ubuntu images supports custom data to be
appended to the user-agent value sent when contacting the pollen
server. This patch allows users to add any key/value pairs which
will be added to the pollinate client configuration.

By default, curtin will configure pollinate with the curtin version
and if being deployed by MAAS, the MAAS version. Users can also
disable configuration of the pollinate client.

Additionally fix the vmtest webhook logger to encode writes when
handling GETs.

1a5fe18... by Scott Moser

vmtest: Remove xenial and trusty specific workaround for rooturl.

xenial and trusty required specifying rc-initrd-dns on the kernel
command line in order to enable dns transition from initramfs to
real root (rooturl). Those changes are now fixed in both releases
so we can remove this code.

The changes made the archive today. We would expect they
are in any daily image with a serial newer than that 20180212.

5b7ca31... by Scott Moser

vmtest: Add Filesystem Battery test.

This test exercises filesystem creation, mount and unmount of all
supported filesystem types.

Also here is a fix for jfs filesystem creation. mkfs_jfs requires a '-q'
argument to force/quiet. Otherwise it will prompt to ask if you
really want to do that.

4502543... by Scott Moser

Remove grub2/xenial specific workarounds for zfsroot.

This removes the workarounds that were put into place for installation
of zfs on xenial. With the fix of bug 1527727, they are no longer
necessary.

61469b5... by Ryan Harper

Disable dirty_disks mode for mdadm + iscsi tests

Two issues with dirty_disk mode. First, after the early
stage runs, we need to tear down the raid array so we can
disconnect the iscsi devices, second even when that is done
there is a bug in mdadm version in Artful and Bionic which
prevents successful testing (LP: #1753786)