~paride/curtin:remove-vmtest-release+x

Last commit made on 2020-07-16
Get this branch:
git clone -b remove-vmtest-release+x https://git.launchpad.net/~paride/curtin
Only Paride Legovini can upload to this branch. If you are Paride Legovini please log in for upload directions.

Branch merges

Branch information

Name:
remove-vmtest-release+x
Repository:
lp:~paride/curtin

Recent commits

680a326... by Paride Legovini

Give exec permission to tools/remove-vmtest-release

e2e211b... by Paride Legovini

Snooze the tests failing because of LP: #1861941 for two more months

003f860... by Paride Legovini

LP: #1671951 is Fix Released => Drop the PPA

f1bf44f... by Ryan Harper

swaps: handle swapfiles on btrfs

Special care and handling are needed for creating swap files on top
of btrfs filesystems. Curtin will attempt to disable btrfs CoW
on the target file before attempting to fallocate/dd the file.

- Btrfs swapfile requires target kernel 5.0+, older kernels cannot use.
  https://btrfs.wiki.kernel.org/index.php/FAQ
- Query target fstype to check if we can proceed with swap file
  btrfs requires newer kernel, xfs cannot use fallocate
- Update distro.parse_dpkg_version to handle additional formatting
  including linux-image-generic, and versions with Epoch present.
- Adjust TestBasic,TestScsiBasic to add a swapfile to the /btrfs target
- Add the swap partition/file to TestBasic's fstab unittest
- Fix test_swaps_used to use fstab data instead of storage config
  since file-based swaps are created via curtin 'swap' config not
  storage-config.
- Add swap config key 'force', default is false
- Add curtin feature flag, BTRFS_SWAPFILE

LP: #1884161

14ce7d4... by Paride Legovini

curtainer: fail is masking of zfs-mount or zfs-share fails

4870397... by Ryan Harper

multipath: handle multipath nvme name fields correctly

NVME Multipath devices do not have typical mpath names, instead they
include colons and whitespace. Handle this by adjusting the multipath
maps command output to single quote the name field like we do for the
other fields.

LP: #1878041

6704ba6... by Paride Legovini

curtainer: mask the zfs-mount and zfs-share services

curtin depends on zfsutils-linux via probert-storage, but zfsutils-linux
can't be installed in an unprivileged container as it fails to start the
zfs-mount and zfs-share services as /dev/zfs is missing. We do not
actually need ZFS to work in the container, so the problem can be worked
around by masking the services before the package is installed.

439b47a... by Paride Legovini

tools/jenkins-runner: shuffle test-cases to randomize load

Enabling jenkins-runner to enumerate all of the tests to be
run and then run them through 'shuf' which will randomize
each test class for selection by the parallel threads of
execution. This will reduce the likelihood that we have
four executions of a Bcache or Raid or other heavy storage
which is what we get with current module level parallelism.

This behavior can be disabled by exporting:

CURTIN_VMTEST_SHUFFLE_TESTS=0

It is enabled by default.

9f73c2e... by Ryan Harper

Add Trusty/UEFI/HWE-X vmtest, drop realpath add, drop shell code

The fix provided for addressing Trusty UEFI with HWE-X kernel is
not needed due to the refactor of the grub install code into python.
This branch:

 - removes the added package
 - creates a Trusty UEFI with HWE-X to match bug test scenario
 - allow testclass to enable 'unsupported releases'
 - remove helpers/install-grub
 - remove install-grub code from helpers/common

5f00b5e... by Lee Trager

LP: #1881977 - Install realpath on Trusty UEFI.