~smoser/curtin:feature/skip-by-date-decorator

Last commit made on 2018-06-28
Get this branch:
git clone -b feature/skip-by-date-decorator 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:
feature/skip-by-date-decorator
Repository:
lp:~smoser/curtin

Recent commits

27e3d13... by Scott Moser

feedback: update doc string per rharper suggestions.

6cfaf60... by Scott Moser

update for newly added skip_by_date to CosmicTestNetworkMtu

1864460... 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.