~smoser/curtin:fix/remove-workaround-lp-1723183

Last commit made on 2018-01-26
Get this branch:
git clone -b fix/remove-workaround-lp-1723183 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:
fix/remove-workaround-lp-1723183
Repository:
lp:~smoser/curtin

Recent commits

029afa0... by Scott Moser

tests: revert workaround for bug in overlayroot that is now fixed.

This just removes a workaround that was put in place until bug 1733183
was fixed in maas images.

632e25e... by Scott Moser

tests: Bump skip_by_dates for bug 1652822 and 1671952.

Also here a usability improvement on skip_by_date that is demonstrated
in the shorter calls.

1cd451e... by Chad Smith

cli: add curtin collect-logs sub-command

The collect-logs command will create a named tarfile containing curtin
configured log_file and post_files as well as relevant system information
such as version, curtin-config, os-release, uname, lshw and network
information.

From source:
   ./bin/curtin collect-logs or
   python -m curtin.commands.main collect-logs
From package:
   curtin collect-logs

588c9d2... by Scott Moser

vmtest: Do not run tests of unsupported Ubuntu releases.

As somewhat expected attempts to install unsupported ubuntu releases
may fail. Example was today the Zesty tests would fail.
An 'apt-get update' would fail as the official mirrors have been
emptied of zesty already.

This uses ubuntu-distro-info (if installed) to skip unsupported
releases.

The user can provide a list of releases to skip with:
  UNSUPPORTED_UBUNTU="artful,zesty,trusty"
(comma or space separated).

855ab0c... by Scott Moser

Make license headers and file footers consistent and simplify.

There is no actual code change here. The changes are
a.) move LICENSE file to LICENSE-AGPLv3
b.) put short form of AGPL-v3 license in LICENSE file,
    and mention Copyright info there.
c.) remove license headers in python or shell files.
d.) put a single line header in all python or shell files.
e.) put a single footer line in all python or shell files.

There is a change here from "AGPLv3 or later" to just "AGPLv3".

a4c9636... by Scott Moser

tests: cleanup the apt custom sources test.

This test must have gone through some iteration in development.
It was testing in a very white-box way, and not really even validating
that the config was as expected (as made evident by the previous
lack of use of EXPECTED_CONVERTED_CONTENT).

The test now asserts that the two expected changes are made.

8c4af4e... by Scott Moser

apt: Be more lenient when replacing mirrors in /etc/apt/sources.list

Offical stock trusty and precise images contain /etc/apt/sources.list
that have a mirror like:
  http://archive.ubuntu.com/ubuntu
Where xenial and later have that as:
  http://archive.ubuntu.com/ubuntu/

When curtin "parsed" the existing /etc/apt/sources.list into a template
file to use for updating mirrors, it would not identify the trusty
version.

This fixes that parsing to be just as strict as before except for
to accomodate a missing trailing /.

LP: #1744038

6abd085... by Ryan Harper

vmtest: Drop Zesty release

Zesty is no longer supported as of 2018-01-13[1]

1. https://lists.ubuntu.com/archives/ubuntu-announce/2018-January/000227.html

89698cd... by Ryan Harper

vmtest: initialize logger with class names for easy parsing

When running vmtest in parallel, having each message include the
TestClass name helps developers map the output to specific tests when
reading the combined log.

8a7308e... by Scott Moser

packaging: Do not mention primary contributors in debian/changelog.

new-upstream-snapshot gives credit to committers by putting their
name in square brackets on the debian/changelog entries.

For some time in cloud-init we've stripped myself from that list.
I think it makes sense to strip out primary contributors to avoid
noise, but still give credit to new or less frequent contributors.