~raharper/curtin:fix/vmtest-add-trusty-hwe-x-uefi

Last commit made on 2020-06-08
Get this branch:
git clone -b fix/vmtest-add-trusty-hwe-x-uefi https://git.launchpad.net/~raharper/curtin
Only Ryan Harper can upload to this branch. If you are Ryan Harper please log in for upload directions.

Branch merges

Branch information

Name:
fix/vmtest-add-trusty-hwe-x-uefi
Repository:
lp:~raharper/curtin

Recent commits

a50d4e3... by Ryan Harper on 2020-06-08

vmtest: Allow testclass to enable 'unsupported releases' on case-by-case basis

43bfe1f... by Ryan Harper on 2020-05-27

helpers: remove grub-install shell-code and helper functions

a89650c... by Ryan Harper on 2020-06-05

Drop realpath package add, not needed, add vmtest trusty uefi case

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 and creates a Trusty UEFI with
HWE-X kernel scenario like in the bug to ensure we don't regress.

5f00b5e... by Lee Trager on 2020-06-05

LP: #1881977 - Install realpath on Trusty UEFI.

b4f5078... by Ryan Harper on 2020-06-03

vmtests: fix PreservePartitionWipeVg storage config

This failure

  An error occured handling 'disk-sda': ValueError - disk 'disk-sda'
  does not have correct partition table or cannot be read, but preserve
  is set to true. cannot continue installation.

happens because the storage config for the main disk has both wipe and
preserve settings enabled resulting in the primary disk being wiped.

Curtin can either wipe a disk or preserve it but we cannot do both (unlike
partitions where we can keep the partition location, flag, size, etc,
but wipe the data). This branch

 - Fixes the storage config in the vmtest
 - Adds a RuntimeException indicating this config is invalid
 - Adds unittests for get_device_paths_from_storage_config

a0ede16... by James Falcon on 2020-06-01

Fix mdraid name creates broken configuration

Allow to pass a raid device name that works for either /dev/mdN
format or /dev/md/NAME format, with or without prefix.

LP: #1803933

42a9667... by Ryan Harper on 2020-05-28

vmtests: update skiptests

- Drop skiptests for vlan issue, now fixed
- Drop skiptest on Ubuntu ReuseESP tests
- Add skiptest for Centos, new Bug #1881030
- Drop skip-by-date for CentosTestScsiBasic
  Bug #1859858 is fixed
- Bump skip_by_date on tests with bcache by-uuid symlinks,
  Bug #1861951 not fixed yet.

f745886... by Ryan Harper on 2020-05-28

vmtest: allow installed centos images to reboot

Centos images require a reboot on first boot for selinux relabing

LP: #1881011

5153c57... by Ryan Harper on 2020-05-26

Release 20.1

Bump the version in curtin/__init__.py to be 20.1.

LP: #1880741

4190db6... by Ryan Harper on 2020-05-26

Handle multiple separators which were found in TestAllindata vmtest

TestAllindata specifies additional kernel args and include the '---'
separator. vmtest baseclass already includes a '---' and after
landing of the grub refactor, the python version of the
get_carryover_params did not handle the additional '---'.
Fix this by combining any args after the first '---' separator.