~smoser/curtin:fix/fix-proposed-by-make-root-disk-larger

Last commit made on 2018-07-13
Get this branch:
git clone -b fix/fix-proposed-by-make-root-disk-larger 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/fix-proposed-by-make-root-disk-larger
Repository:
lp:~smoser/curtin

Recent commits

685ff0a... by Scott Moser

vmtests: Increase root fs to give upgrades to -proposed more space.

Our new jenkins job curtin-vmtest-devel-amd64-proposed runs with
CURTIN_VMTEST_ADD_REPOS=proposed . That causes an
'apt-get update && apt-get dist-upgrade' to occur in the installed
system.

The change here simply increases by 500M the size of the root
disk tests that use examples/tests/mirrorboot-msdos-partition.yaml.
We can simply do this because the md0-part1 was on md0 which was a
5G disk, but we were creating 2x2G partitions. So now we still have
some wiggle room there.

This particular build failed because of 2 reasons
a.) the HWE variety meant additional kernels installed
b.) the trusty images are well out of date at thsi point (2018-05-02)
so lots of apt downloads and upgrades.

71b43e7... by Scott Moser

vmtest: always add 'curtin/vmtest' to installed pollinate user_agent.

In order to easily filter out vmtest runs and also count them,
we add 'curtin/vmtest' to the pollinate user agent if that directory
has been created.

81d2d9f... by Scott Moser

vmtests: make skip_by_date a decorator that runs and reports.

Previously when we marked something 'skip_by_date', it would not
run until the 'fixby' date. At that point one of 2 things would happen:
 a.) it fails and we have to bump the date out.
 b.) it passes, and then at the 'remove_by' we see the error and respond
     with removal.

'b' works as designed, but there was a problem with 'a' in that we are
basically blind about these tests until fixby.

The change here is to turn skip_by_date into a decorator that will
run the tests, but raise SkipTest until fixby. At that point, then
it will behave as before.

skip_by_date can be given 'install=False' which means the setUpClass
will raise a skipTest. This is used if the test install or boot will
hang, simply to avoid long timeouts in our tests as a result of known
failures.

The additional benefit of the generator here is that adding and
removing skip_by_date is entirely a one line change. No additional
imports, no adding a subclass definition and calling super().

34045ae... by Scott Moser

vmtests: always declare certain attributes and remove redundant tests.

Simplify some code in vmtests by making sure that tests each have
release, distro, target_release, target_distro.

Then remove some redundant test cases for > artful and debug
use of 'btrfs inspect-internal'.

0279252... by Joshua Powers

vmtests: Add Cosmic release to tests

65ae2c0... by Scott Moser

vmtests: skip TrustyTestMdadmBcache until 2019-01-22.

TrustyTestMdadmBcache is not functional due to bug 1754581. This bug
affecting bcache on trusty GA kernels is not likely to be fixed soon.

64fd55e... by Scott Moser

tox: use simplestreams from git repository rather than bzr.

Simplestreams is moving to git. Use the git repo rather than bzr.

37a257f... by Michael Hudson-Doyle

document that you can set ptable on raids

edb096d... by Scott Moser

vmtests: move skip-by date of xfs root and xfs boot out 1 year.

This pushes out the skip-by date of bug 1652822 for a year.
xfs root and xfs boot seems an unlikely use case, and thus a bug
not likely to be fixed. So we do not want to see warnings on it.

d879ca0... by Ryan Harper

vmtests: network_mtu move fixby date out 4 months from last value

The upstream changes needed to handle mixed ipv4/ipv6 mtu have not
been completed in networkd so this test is currently failing.
Move our skipby date out 4 months.