~raharper/curtin:fix/lp-1764210

Last commit made on 2018-04-16
Get this branch:
git clone -b fix/lp-1764210 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/lp-1764210
Repository:
lp:~raharper/curtin

Recent commits

e4d909e... by Ryan Harper

Add unittests to validate install exception kept when unmount:disabled set

c131bef... by Michael Hudson-Doyle

install: prevent unmount: disabled from swallowing installation failures

Using a 'return' or 'break' command in a finally block will discard any
saved exception[1]. Fix by converting to to an if/else.

1. https://docs.python.org/3/reference/compound_stmts.html#try

LP: #1764210

2ee5245... by Scott Moser

pycodestyle: Fix invalid escape sequences in string literals.

A bit of information from python doc that I got by never having known:
  String literals may optionally be prefixed with a letter `r' or `R';
  such strings are called raw strings and use different rules for
  backslash escape sequences.
  ...
  Unless an `r' or `R' prefix is present, escape sequences in strings are
  interpreted according to rules similar to those used by Standard C.

So basically, any use of \ not followed by one of [\'"abfnrtv]
or \ooo (octal) \xhh (hex) or a newline is invalid. This is most
commonly seen for us in regex. To solve, you either:
 a.) use a raw string r'...'
 b.) correctly escape the \ that was not intended to be interpreted.

Python has deprecated these invalid string literals now
  https://bugs.python.org/issue27364
and pycodestyle is identifying them with a W605 warning.
  https://github.com/PyCQA/pycodestyle/pull/676

45564ee... by Scott Moser

Drop ubuntu branch management script new-upstream-snapshot.

This script was used for managing our ubuntu/ branches.
Instead of maintaining it here, we have moved it to another location.
  https://github.com/cloud-init/qa-scripts/

ad8bcca... by Chad Smith

Release 18.1

72edda2... by Ryan Harper

zfs/zpool version=28 by default, allow users to override default values.

Include documentation note and link to openzfs wiki for furthe details
around compatibility and features.

LP: #1754013

bd40234... by Ryan Harper

helpers/shell-archive: drop use of tar --sparse flag

Do not use tar [-S, --sparse] flag: at least one filesystem (btrfs)
requires sync/fsync to ensure proper detection of sparse files.
curtin doesn't contain any sparse files so this does not affect payload
size.

LP: #1757565

36bc81a... 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.

65ceb30... by Ryan Harper

vmtest: skip some bcache tests pending kernel fixes

There are a few kernel bugs related to bcache which prevent testing of
some bcache scenarios, add skip_by_date for bug 1728742 and bug 1754581.

9b5d946... by Ryan Harper

vmtests: extend skip_by_date for lvmroot_xfsroot and network_mtu

Reported bugs are not yet fixed, move out by 3 months, post
18.04 for possible fix.