Merge ~raharper/curtin:feature/add-focal into curtin:master

Proposed by Ryan Harper
Status: Merged
Approved by: Ryan Harper
Approved revision: 00bd9b1aba710b1fd3b9414f3536e0c8c1c56dca
Merge reported by: Server Team CI bot
Merged at revision: not available
Proposed branch: ~raharper/curtin:feature/add-focal
Merge into: curtin:master
Diff against target: 945 lines (+310/-37)
38 files modified
tests/vmtests/releases.py (+23/-0)
tests/vmtests/test_apt_config_cmd.py (+1/-4)
tests/vmtests/test_basic.py (+24/-0)
tests/vmtests/test_basic_dasd.py (+8/-10)
tests/vmtests/test_bcache_basic.py (+5/-0)
tests/vmtests/test_bcache_bug1718699.py (+5/-0)
tests/vmtests/test_bcache_ceph.py (+8/-0)
tests/vmtests/test_bcache_partitions.py (+5/-0)
tests/vmtests/test_fs_battery.py (+5/-0)
tests/vmtests/test_iscsi.py (+5/-0)
tests/vmtests/test_journald_reporter.py (+5/-4)
tests/vmtests/test_lvm.py (+5/-0)
tests/vmtests/test_lvm_iscsi.py (+5/-0)
tests/vmtests/test_lvm_raid.py (+4/-0)
tests/vmtests/test_lvm_root.py (+16/-1)
tests/vmtests/test_mdadm_bcache.py (+35/-0)
tests/vmtests/test_mdadm_iscsi.py (+5/-0)
tests/vmtests/test_multipath.py (+5/-0)
tests/vmtests/test_network.py (+4/-0)
tests/vmtests/test_network_alias.py (+5/-0)
tests/vmtests/test_network_bonding.py (+4/-0)
tests/vmtests/test_network_bridging.py (+4/-0)
tests/vmtests/test_network_ipv6_static.py (+4/-0)
tests/vmtests/test_network_ipv6_vlan.py (+5/-1)
tests/vmtests/test_network_mtu.py (+8/-3)
tests/vmtests/test_network_static.py (+4/-0)
tests/vmtests/test_network_static_routes.py (+5/-0)
tests/vmtests/test_network_vlan.py (+9/-1)
tests/vmtests/test_nvme.py (+5/-0)
tests/vmtests/test_pollinate_useragent.py (+5/-0)
tests/vmtests/test_preserve.py (+5/-0)
tests/vmtests/test_preserve_raid.py (+5/-0)
tests/vmtests/test_raid5_bcache.py (+5/-0)
tests/vmtests/test_reuse_raid_member.py (+12/-11)
tests/vmtests/test_simple.py (+16/-1)
tests/vmtests/test_uefi_basic.py (+10/-0)
tests/vmtests/test_zfsroot.py (+14/-0)
tools/vmtest-filter (+12/-1)
Reviewer Review Type Date Requested Status
Server Team CI bot continuous-integration Approve
Paride Legovini Approve
Dan Watkins (community) Needs Information
Review via email: mp+375630@code.launchpad.net

Commit message

vmtests: Add Focal Fossa

- Add the new release
- Switch some old Cosmic cases to Disco
- Add CentosXXFromFocal relbase
- Bump Skip-by dates for lvmroot, MTU and VLAN issues

To post a comment you must log in.
Revision history for this message
Server Team CI bot (server-team-bot) wrote :
review: Needs Fixing (continuous-integration)
~raharper/curtin:feature/add-focal updated
37ff035... by Ryan Harper

Focal systemd still pads vlan mtu by 4 bytes, skip it

Revision history for this message
Dan Watkins (oddbloke) wrote :

Qs inline

review: Needs Information
Revision history for this message
Ryan Harper (raharper) wrote :

Thanks Dan,

I'll update with some fixes.

~raharper/curtin:feature/add-focal updated
17c3e1d... by Ryan Harper

Fix tox

1a5c276... by Ryan Harper

Add a netplan.yaml check back into dasd test

7fa766f... by Ryan Harper

fix style whitespace

Revision history for this message
Server Team CI bot (server-team-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Paride Legovini (paride) wrote :

Looks good!

review: Approve
Revision history for this message
Server Team CI bot (server-team-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Server Team CI bot (server-team-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Server Team CI bot (server-team-bot) wrote :
review: Approve (continuous-integration)
~raharper/curtin:feature/add-focal updated
00bd9b1... by Ryan Harper

Move skip_by date for vlan bug out since we're already past the date and it's not fixed

Revision history for this message
Server Team CI bot (server-team-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Server Team CI bot (server-team-bot) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/tests/vmtests/releases.py b/tests/vmtests/releases.py
index df2863f..bf8be2f 100644
--- a/tests/vmtests/releases.py
+++ b/tests/vmtests/releases.py
@@ -45,6 +45,13 @@ class _Centos70FromBionicBase(_CentosFromUbuntuBase):
45 target_release = "centos70"45 target_release = "centos70"
4646
4747
48class _Centos70FromFocalBase(_CentosFromUbuntuBase):
49 # release for boot
50 release = "focal"
51 # release for target
52 target_release = "centos70"
53
54
48class _UbuntuCore16FromXenialBase(_UbuntuCoreUbuntuBase):55class _UbuntuCore16FromXenialBase(_UbuntuCoreUbuntuBase):
49 # release for boot56 # release for boot
50 release = "xenial"57 release = "xenial"
@@ -63,6 +70,11 @@ class _Centos66FromBionicBase(_CentosFromUbuntuBase):
63 target_release = "centos66"70 target_release = "centos66"
6471
6572
73class _Centos66FromFocalBase(_CentosFromUbuntuBase):
74 release = "focal"
75 target_release = "centos66"
76
77
66class _PreciseBase(_UbuntuBase):78class _PreciseBase(_UbuntuBase):
67 release = "xenial"79 release = "xenial"
68 target_release = "precise"80 target_release = "precise"
@@ -150,6 +162,14 @@ class _EoanBase(_UbuntuBase):
150 subarch = "ga-19.10"162 subarch = "ga-19.10"
151163
152164
165class _FocalBase(_UbuntuBase):
166 release = "focal"
167 target_release = "focal"
168 mem = "2048"
169 if _UbuntuBase.arch == "arm64":
170 subarch = "ga-20.04"
171
172
153class _Releases(object):173class _Releases(object):
154 trusty = _TrustyBase174 trusty = _TrustyBase
155 precise = _PreciseBase175 precise = _PreciseBase
@@ -167,6 +187,7 @@ class _Releases(object):
167 cosmic = _CosmicBase187 cosmic = _CosmicBase
168 disco = _DiscoBase188 disco = _DiscoBase
169 eoan = _EoanBase189 eoan = _EoanBase
190 focal = _FocalBase
170191
171192
172class _CentosReleases(object):193class _CentosReleases(object):
@@ -174,6 +195,8 @@ class _CentosReleases(object):
174 centos66_xenial = _Centos66FromXenialBase195 centos66_xenial = _Centos66FromXenialBase
175 centos70_bionic = _Centos70FromBionicBase196 centos70_bionic = _Centos70FromBionicBase
176 centos66_bionic = _Centos66FromBionicBase197 centos66_bionic = _Centos66FromBionicBase
198 centos70_focal = _Centos70FromFocalBase
199 centos66_focal = _Centos66FromFocalBase
177200
178201
179class _UbuntuCoreReleases(object):202class _UbuntuCoreReleases(object):
diff --git a/tests/vmtests/test_apt_config_cmd.py b/tests/vmtests/test_apt_config_cmd.py
index 55677d9..4e43882 100644
--- a/tests/vmtests/test_apt_config_cmd.py
+++ b/tests/vmtests/test_apt_config_cmd.py
@@ -64,11 +64,8 @@ class BionicTestAptConfigCMDCMD(relbase.bionic, TestAptConfigCMD):
64 __test__ = True64 __test__ = True
6565
6666
67class DiscoTestAptConfigCMDCMD(relbase.disco, TestAptConfigCMD):67class FocalTestAptConfigCMDCMD(relbase.focal, TestAptConfigCMD):
68 __test__ = True68 __test__ = True
6969
7070
71class EoanTestAptConfigCMDCMD(relbase.eoan, TestAptConfigCMD):
72 __test__ = True
73
74# vi: ts=4 expandtab syntax=python71# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_basic.py b/tests/vmtests/test_basic.py
index 8895a5e..c15fe8c 100644
--- a/tests/vmtests/test_basic.py
+++ b/tests/vmtests/test_basic.py
@@ -260,6 +260,11 @@ class Centos70BionicTestBasic(centos_relbase.centos70_bionic,
260 __test__ = True260 __test__ = True
261261
262262
263class Centos70FocalTestBasic(centos_relbase.centos70_focal,
264 CentosTestBasicAbs):
265 __test__ = True
266
267
263class Centos66XenialTestBasic(centos_relbase.centos66_xenial,268class Centos66XenialTestBasic(centos_relbase.centos66_xenial,
264 CentosTestBasicAbs):269 CentosTestBasicAbs):
265 __test__ = True270 __test__ = True
@@ -303,6 +308,10 @@ class EoanTestBasic(relbase.eoan, TestBasicAbs):
303 __test__ = True308 __test__ = True
304309
305310
311class FocalTestBasic(relbase.focal, TestBasicAbs):
312 __test__ = True
313
314
306class TestBasicScsiAbs(TestBasicAbs):315class TestBasicScsiAbs(TestBasicAbs):
307 conf_file = "examples/tests/basic_scsi.yaml"316 conf_file = "examples/tests/basic_scsi.yaml"
308 disk_driver = 'scsi-hd'317 disk_driver = 'scsi-hd'
@@ -388,6 +397,16 @@ class Centos70XenialTestScsiBasic(centos_relbase.centos70_xenial,
388 __test__ = True397 __test__ = True
389398
390399
400class Centos70BionicTestScsiBasic(centos_relbase.centos70_bionic,
401 TestBasicScsiAbs, CentosTestBasicAbs):
402 __test__ = True
403
404
405class Centos70FocalTestScsiBasic(centos_relbase.centos70_focal,
406 TestBasicScsiAbs, CentosTestBasicAbs):
407 __test__ = True
408
409
391class XenialGATestScsiBasic(relbase.xenial_ga, TestBasicScsiAbs):410class XenialGATestScsiBasic(relbase.xenial_ga, TestBasicScsiAbs):
392 __test__ = True411 __test__ = True
393412
@@ -411,4 +430,9 @@ class DiscoTestScsiBasic(relbase.disco, TestBasicScsiAbs):
411class EoanTestScsiBasic(relbase.eoan, TestBasicScsiAbs):430class EoanTestScsiBasic(relbase.eoan, TestBasicScsiAbs):
412 __test__ = True431 __test__ = True
413432
433
434class FocalTestScsiBasic(relbase.focal, TestBasicScsiAbs):
435 __test__ = True
436
437
414# vi: ts=4 expandtab syntax=python438# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_basic_dasd.py b/tests/vmtests/test_basic_dasd.py
index 9b200e2..8079edd 100644
--- a/tests/vmtests/test_basic_dasd.py
+++ b/tests/vmtests/test_basic_dasd.py
@@ -38,8 +38,10 @@ class TestBasicDasd(VMBaseClass):
38 """)]38 """)]
3939
40 def test_output_files_exist(self):40 def test_output_files_exist(self):
41 self.output_files_exist(["sfdisk_list", "blkid",41 files_to_check = ["sfdisk_list", "blkid", "proc_partitions"]
42 "proc_partitions"])42 if self.target_release != "xenial":
43 files_to_check.append('netplan.yaml')
44 self.output_files_exist(files_to_check)
4345
4446
45class XenialGATestBasicDasd(relbase.xenial, TestBasicDasd):47class XenialGATestBasicDasd(relbase.xenial, TestBasicDasd):
@@ -49,21 +51,17 @@ class XenialGATestBasicDasd(relbase.xenial, TestBasicDasd):
49class BionicTestBasicDasd(relbase.bionic, TestBasicDasd):51class BionicTestBasicDasd(relbase.bionic, TestBasicDasd):
50 __test__ = True52 __test__ = True
5153
52 def test_output_files_exist(self):
53 self.output_files_exist(["netplan.yaml"])
54
5554
56class DiscoTestBasicDasd(relbase.disco, TestBasicDasd):55class DiscoTestBasicDasd(relbase.disco, TestBasicDasd):
57 __test__ = True56 __test__ = True
5857
59 def test_output_files_exist(self):
60 self.output_files_exist(["netplan.yaml"])
61
6258
63class EoanTestBasicDasd(relbase.eoan, TestBasicDasd):59class EoanTestBasicDasd(relbase.eoan, TestBasicDasd):
64 __test__ = True60 __test__ = True
6561
66 def test_output_files_exist(self):62
67 self.output_files_exist(["netplan.yaml"])63class FocalTestBasicDasd(relbase.focal, TestBasicDasd):
64 __test__ = True
65
6866
69# vi: ts=4 expandtab syntax=python67# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_bcache_basic.py b/tests/vmtests/test_bcache_basic.py
index a8ce1fd..bf77381 100644
--- a/tests/vmtests/test_bcache_basic.py
+++ b/tests/vmtests/test_bcache_basic.py
@@ -71,4 +71,9 @@ class DiscoBcacheBasic(relbase.disco, TestBcacheBasic):
71class EoanBcacheBasic(relbase.eoan, TestBcacheBasic):71class EoanBcacheBasic(relbase.eoan, TestBcacheBasic):
72 __test__ = True72 __test__ = True
7373
74
75class FocalBcacheBasic(relbase.focal, TestBcacheBasic):
76 __test__ = True
77
78
74# vi: ts=4 expandtab syntax=python79# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_bcache_bug1718699.py b/tests/vmtests/test_bcache_bug1718699.py
index b42a943..f4937ab 100644
--- a/tests/vmtests/test_bcache_bug1718699.py
+++ b/tests/vmtests/test_bcache_bug1718699.py
@@ -26,4 +26,9 @@ class DiscoTestBcacheBug1718699(relbase.disco, TestBcacheBug1718699):
26class EoanTestBcacheBug1718699(relbase.eoan, TestBcacheBug1718699):26class EoanTestBcacheBug1718699(relbase.eoan, TestBcacheBug1718699):
27 __test__ = True27 __test__ = True
2828
29
30class FocalTestBcacheBug1718699(relbase.focal, TestBcacheBug1718699):
31 __test__ = True
32
33
29# vi: ts=4 expandtab syntax=python34# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_bcache_ceph.py b/tests/vmtests/test_bcache_ceph.py
index 07d9bca..f94a8b0 100644
--- a/tests/vmtests/test_bcache_ceph.py
+++ b/tests/vmtests/test_bcache_ceph.py
@@ -83,6 +83,10 @@ class EoanTestBcacheCeph(relbase.eoan, TestBcacheCeph):
83 __test__ = True83 __test__ = True
8484
8585
86class FocalTestBcacheCeph(relbase.focal, TestBcacheCeph):
87 __test__ = True
88
89
86class TestBcacheCephLvm(TestBcacheCeph):90class TestBcacheCephLvm(TestBcacheCeph):
87 test_type = 'storage'91 test_type = 'storage'
88 nr_cpus = 292 nr_cpus = 2
@@ -105,4 +109,8 @@ class BionicTestBcacheCephLvm(relbase.bionic, TestBcacheCephLvm):
105 __test__ = True109 __test__ = True
106110
107111
112class FocalTestBcacheCephLvm(relbase.focal, TestBcacheCephLvm):
113 __test__ = True
114
115
108# vi: ts=4 expandtab syntax=python116# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_bcache_partitions.py b/tests/vmtests/test_bcache_partitions.py
index 161ca07..faa23a0 100644
--- a/tests/vmtests/test_bcache_partitions.py
+++ b/tests/vmtests/test_bcache_partitions.py
@@ -32,4 +32,9 @@ class DiscoTestBcachePartitions(relbase.disco, TestBcachePartitions):
32class EoanTestBcachePartitions(relbase.eoan, TestBcachePartitions):32class EoanTestBcachePartitions(relbase.eoan, TestBcachePartitions):
33 __test__ = True33 __test__ = True
3434
35
36class FocalTestBcachePartitions(relbase.focal, TestBcachePartitions):
37 __test__ = True
38
39
35# vi: ts=4 expandtab syntax=python40# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_fs_battery.py b/tests/vmtests/test_fs_battery.py
index 9b16fe9..58eb441 100644
--- a/tests/vmtests/test_fs_battery.py
+++ b/tests/vmtests/test_fs_battery.py
@@ -238,4 +238,9 @@ class DiscoTestFsBattery(relbase.disco, TestFsBattery):
238class EoanTestFsBattery(relbase.eoan, TestFsBattery):238class EoanTestFsBattery(relbase.eoan, TestFsBattery):
239 __test__ = True239 __test__ = True
240240
241
242class FocalTestFsBattery(relbase.focal, TestFsBattery):
243 __test__ = True
244
245
241# vi: ts=4 expandtab syntax=python246# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_iscsi.py b/tests/vmtests/test_iscsi.py
index e8bcb46..c47f100 100644
--- a/tests/vmtests/test_iscsi.py
+++ b/tests/vmtests/test_iscsi.py
@@ -78,4 +78,9 @@ class DiscoTestIscsiBasic(relbase.disco, TestBasicIscsiAbs):
78class EoanTestIscsiBasic(relbase.eoan, TestBasicIscsiAbs):78class EoanTestIscsiBasic(relbase.eoan, TestBasicIscsiAbs):
79 __test__ = True79 __test__ = True
8080
81
82class FocalTestIscsiBasic(relbase.focal, TestBasicIscsiAbs):
83 __test__ = True
84
85
81# vi: ts=4 expandtab syntax=python86# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_journald_reporter.py b/tests/vmtests/test_journald_reporter.py
index 36e3fb0..de060d5 100644
--- a/tests/vmtests/test_journald_reporter.py
+++ b/tests/vmtests/test_journald_reporter.py
@@ -28,10 +28,6 @@ class TestJournaldReporter(VMBaseClass):
28 self.assertIn(key, e1)28 self.assertIn(key, e1)
2929
3030
31class XenialTestJournaldReporter(relbase.xenial, TestJournaldReporter):
32 __test__ = True
33
34
35class BionicTestJournaldReporter(relbase.bionic, TestJournaldReporter):31class BionicTestJournaldReporter(relbase.bionic, TestJournaldReporter):
36 __test__ = True32 __test__ = True
3733
@@ -43,4 +39,9 @@ class DiscoTestJournaldReporter(relbase.disco, TestJournaldReporter):
43class EoanTestJournaldReporter(relbase.eoan, TestJournaldReporter):39class EoanTestJournaldReporter(relbase.eoan, TestJournaldReporter):
44 __test__ = True40 __test__ = True
4541
42
43class FocalTestJournaldReporter(relbase.focal, TestJournaldReporter):
44 __test__ = True
45
46
46# vi: ts=4 expandtab syntax=python47# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_lvm.py b/tests/vmtests/test_lvm.py
index e95d767..9a48b43 100644
--- a/tests/vmtests/test_lvm.py
+++ b/tests/vmtests/test_lvm.py
@@ -92,4 +92,9 @@ class DiscoTestLvm(relbase.disco, TestLvmAbs):
92class EoanTestLvm(relbase.eoan, TestLvmAbs):92class EoanTestLvm(relbase.eoan, TestLvmAbs):
93 __test__ = True93 __test__ = True
9494
95
96class FocalTestLvm(relbase.focal, TestLvmAbs):
97 __test__ = True
98
99
95# vi: ts=4 expandtab syntax=python100# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_lvm_iscsi.py b/tests/vmtests/test_lvm_iscsi.py
index 96f78b6..5578d22 100644
--- a/tests/vmtests/test_lvm_iscsi.py
+++ b/tests/vmtests/test_lvm_iscsi.py
@@ -92,4 +92,9 @@ class DiscoTestIscsiLvm(relbase.disco, TestLvmIscsiAbs):
92class EoanTestIscsiLvm(relbase.eoan, TestLvmIscsiAbs):92class EoanTestIscsiLvm(relbase.eoan, TestLvmIscsiAbs):
93 __test__ = True93 __test__ = True
9494
95
96class FocalTestIscsiLvm(relbase.focal, TestLvmIscsiAbs):
97 __test__ = True
98
99
95# vi: ts=4 expandtab syntax=python100# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_lvm_raid.py b/tests/vmtests/test_lvm_raid.py
index c0ac6e8..24c2765 100644
--- a/tests/vmtests/test_lvm_raid.py
+++ b/tests/vmtests/test_lvm_raid.py
@@ -43,6 +43,10 @@ class TestLvmOverRaidAbs(TestMdadmAbs, TestLvmAbs):
43 return self._test_pvs(dname_to_vg)43 return self._test_pvs(dname_to_vg)
4444
4545
46class FocalTestLvmOverRaid(relbase.focal, TestLvmOverRaidAbs):
47 __test__ = True
48
49
46class EoanTestLvmOverRaid(relbase.eoan, TestLvmOverRaidAbs):50class EoanTestLvmOverRaid(relbase.eoan, TestLvmOverRaidAbs):
47 __test__ = True51 __test__ = True
4852
diff --git a/tests/vmtests/test_lvm_root.py b/tests/vmtests/test_lvm_root.py
index 33deeac..e49a18c 100644
--- a/tests/vmtests/test_lvm_root.py
+++ b/tests/vmtests/test_lvm_root.py
@@ -84,6 +84,13 @@ class XenialTestLvmRootExt4(relbase.xenial, TestLvmRootAbs):
84 }84 }
8585
8686
87class FocalTestLvmRootExt4(relbase.focal, TestLvmRootAbs):
88 __test__ = True
89 conf_replace = {
90 '__ROOTFS_FORMAT__': 'ext4',
91 }
92
93
87class XenialTestLvmRootXfs(relbase.xenial, TestLvmRootAbs):94class XenialTestLvmRootXfs(relbase.xenial, TestLvmRootAbs):
88 __test__ = True95 __test__ = True
89 conf_replace = {96 conf_replace = {
@@ -122,6 +129,14 @@ class XenialTestUefiLvmRootExt4(relbase.xenial, TestUefiLvmRootAbs):
122 }129 }
123130
124131
132class FocalTestUefiLvmRootExt4(relbase.focal, TestUefiLvmRootAbs):
133 __test__ = True
134 conf_replace = {
135 '__BOOTFS_FORMAT__': 'ext4',
136 '__ROOTFS_FORMAT__': 'ext4',
137 }
138
139
125class XenialTestUefiLvmRootXfs(relbase.xenial, TestUefiLvmRootAbs):140class XenialTestUefiLvmRootXfs(relbase.xenial, TestUefiLvmRootAbs):
126 __test__ = True141 __test__ = True
127 conf_replace = {142 conf_replace = {
@@ -130,7 +145,7 @@ class XenialTestUefiLvmRootXfs(relbase.xenial, TestUefiLvmRootAbs):
130 }145 }
131146
132147
133@VMBaseClass.skip_by_date("1652822", fixby="2019-06-01", install=False)148@VMBaseClass.skip_by_date("1652822", fixby="2020-06-01", install=False)
134class XenialTestUefiLvmRootXfsBootXfs(relbase.xenial, TestUefiLvmRootAbs):149class XenialTestUefiLvmRootXfsBootXfs(relbase.xenial, TestUefiLvmRootAbs):
135 """This tests xfs root and xfs boot with uefi.150 """This tests xfs root and xfs boot with uefi.
136151
diff --git a/tests/vmtests/test_mdadm_bcache.py b/tests/vmtests/test_mdadm_bcache.py
index 1c2396b..ba9d174 100644
--- a/tests/vmtests/test_mdadm_bcache.py
+++ b/tests/vmtests/test_mdadm_bcache.py
@@ -151,6 +151,10 @@ class EoanTestMdadmBcache(relbase.eoan, TestMdadmBcacheAbs):
151 __test__ = True151 __test__ = True
152152
153153
154class FocalTestMdadmBcache(relbase.focal, TestMdadmBcacheAbs):
155 __test__ = True
156
157
154class TestMirrorbootAbs(TestMdadmAbs):158class TestMirrorbootAbs(TestMdadmAbs):
155 # alternative config for more complex setup159 # alternative config for more complex setup
156 conf_file = "examples/tests/mirrorboot.yaml"160 conf_file = "examples/tests/mirrorboot.yaml"
@@ -191,6 +195,10 @@ class EoanTestMirrorboot(relbase.eoan, TestMirrorbootAbs):
191 __test__ = True195 __test__ = True
192196
193197
198class FocalTestMirrorboot(relbase.focal, TestMirrorbootAbs):
199 __test__ = True
200
201
194class TestMirrorbootPartitionsAbs(TestMdadmAbs):202class TestMirrorbootPartitionsAbs(TestMdadmAbs):
195 # alternative config for more complex setup203 # alternative config for more complex setup
196 conf_file = "examples/tests/mirrorboot-msdos-partition.yaml"204 conf_file = "examples/tests/mirrorboot-msdos-partition.yaml"
@@ -236,6 +244,11 @@ class EoanTestMirrorbootPartitions(relbase.eoan,
236 __test__ = True244 __test__ = True
237245
238246
247class FocalTestMirrorbootPartitions(relbase.focal,
248 TestMirrorbootPartitionsAbs):
249 __test__ = True
250
251
239class TestMirrorbootPartitionsUEFIAbs(TestMdadmAbs):252class TestMirrorbootPartitionsUEFIAbs(TestMdadmAbs):
240 # alternative config for more complex setup253 # alternative config for more complex setup
241 conf_file = "examples/tests/mirrorboot-uefi.yaml"254 conf_file = "examples/tests/mirrorboot-uefi.yaml"
@@ -286,6 +299,11 @@ class EoanTestMirrorbootPartitionsUEFI(relbase.eoan,
286 __test__ = True299 __test__ = True
287300
288301
302class FocalTestMirrorbootPartitionsUEFI(relbase.focal,
303 TestMirrorbootPartitionsUEFIAbs):
304 __test__ = True
305
306
289class TestRaid5bootAbs(TestMdadmAbs):307class TestRaid5bootAbs(TestMdadmAbs):
290 # alternative config for more complex setup308 # alternative config for more complex setup
291 conf_file = "examples/tests/raid5boot.yaml"309 conf_file = "examples/tests/raid5boot.yaml"
@@ -326,6 +344,10 @@ class EoanTestRaid5boot(relbase.eoan, TestRaid5bootAbs):
326 __test__ = True344 __test__ = True
327345
328346
347class FocalTestRaid5boot(relbase.focal, TestRaid5bootAbs):
348 __test__ = True
349
350
329class TestRaid6bootAbs(TestMdadmAbs):351class TestRaid6bootAbs(TestMdadmAbs):
330 # alternative config for more complex setup352 # alternative config for more complex setup
331 conf_file = "examples/tests/raid6boot.yaml"353 conf_file = "examples/tests/raid6boot.yaml"
@@ -382,6 +404,10 @@ class EoanTestRaid6boot(relbase.eoan, TestRaid6bootAbs):
382 __test__ = True404 __test__ = True
383405
384406
407class FocalTestRaid6boot(relbase.focal, TestRaid6bootAbs):
408 __test__ = True
409
410
385class TestRaid10bootAbs(TestMdadmAbs):411class TestRaid10bootAbs(TestMdadmAbs):
386 # alternative config for more complex setup412 # alternative config for more complex setup
387 conf_file = "examples/tests/raid10boot.yaml"413 conf_file = "examples/tests/raid10boot.yaml"
@@ -424,6 +450,10 @@ class EoanTestRaid10boot(relbase.eoan, TestRaid10bootAbs):
424 __test__ = True450 __test__ = True
425451
426452
453class FocalTestRaid10boot(relbase.focal, TestRaid10bootAbs):
454 __test__ = True
455
456
427class TestAllindataAbs(TestMdadmAbs):457class TestAllindataAbs(TestMdadmAbs):
428 # more complex, needs more time458 # more complex, needs more time
429 # alternative config for more complex setup459 # alternative config for more complex setup
@@ -523,4 +553,9 @@ class DiscoTestAllindata(relbase.disco, TestAllindataAbs):
523class EoanTestAllindata(relbase.eoan, TestAllindataAbs):553class EoanTestAllindata(relbase.eoan, TestAllindataAbs):
524 __test__ = True554 __test__ = True
525555
556
557class FocalTestAllindata(relbase.focal, TestAllindataAbs):
558 __test__ = True
559
560
526# vi: ts=4 expandtab syntax=python561# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_mdadm_iscsi.py b/tests/vmtests/test_mdadm_iscsi.py
index cd465c7..c0e6989 100644
--- a/tests/vmtests/test_mdadm_iscsi.py
+++ b/tests/vmtests/test_mdadm_iscsi.py
@@ -57,4 +57,9 @@ class DiscoTestIscsiMdadm(relbase.disco, TestMdadmIscsiAbs):
57class EoanTestIscsiMdadm(relbase.eoan, TestMdadmIscsiAbs):57class EoanTestIscsiMdadm(relbase.eoan, TestMdadmIscsiAbs):
58 __test__ = True58 __test__ = True
5959
60
61class FocalTestIscsiMdadm(relbase.focal, TestMdadmIscsiAbs):
62 __test__ = True
63
64
60# vi: ts=4 expandtab syntax=python65# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_multipath.py b/tests/vmtests/test_multipath.py
index e0b68ec..339441e 100644
--- a/tests/vmtests/test_multipath.py
+++ b/tests/vmtests/test_multipath.py
@@ -87,4 +87,9 @@ class DiscoTestMultipathBasic(relbase.disco, TestMultipathBasicAbs):
87class EoanTestMultipathBasic(relbase.eoan, TestMultipathBasicAbs):87class EoanTestMultipathBasic(relbase.eoan, TestMultipathBasicAbs):
88 __test__ = True88 __test__ = True
8989
90
91class FocalTestMultipathBasic(relbase.focal, TestMultipathBasicAbs):
92 __test__ = True
93
94
90# vi: ts=4 expandtab syntax=python95# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_network.py b/tests/vmtests/test_network.py
index 6d3047c..f54e40a 100644
--- a/tests/vmtests/test_network.py
+++ b/tests/vmtests/test_network.py
@@ -480,6 +480,10 @@ class EoanTestNetworkBasic(relbase.eoan, TestNetworkBasicAbs):
480 __test__ = True480 __test__ = True
481481
482482
483class FocalTestNetworkBasic(relbase.focal, TestNetworkBasicAbs):
484 __test__ = True
485
486
483class Centos66TestNetworkBasic(centos_relbase.centos66_xenial,487class Centos66TestNetworkBasic(centos_relbase.centos66_xenial,
484 CentosTestNetworkBasicAbs):488 CentosTestNetworkBasicAbs):
485 __test__ = True489 __test__ = True
diff --git a/tests/vmtests/test_network_alias.py b/tests/vmtests/test_network_alias.py
index 995d982..13c89ee 100644
--- a/tests/vmtests/test_network_alias.py
+++ b/tests/vmtests/test_network_alias.py
@@ -59,4 +59,9 @@ class DiscoTestNetworkAlias(relbase.disco, TestNetworkAliasAbs):
59class EoanTestNetworkAlias(relbase.eoan, TestNetworkAliasAbs):59class EoanTestNetworkAlias(relbase.eoan, TestNetworkAliasAbs):
60 __test__ = True60 __test__ = True
6161
62
63class FocalTestNetworkAlias(relbase.focal, TestNetworkAliasAbs):
64 __test__ = True
65
66
62# vi: ts=4 expandtab syntax=python67# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_network_bonding.py b/tests/vmtests/test_network_bonding.py
index ec7b48c..b808aec 100644
--- a/tests/vmtests/test_network_bonding.py
+++ b/tests/vmtests/test_network_bonding.py
@@ -65,6 +65,10 @@ class EoanTestBonding(relbase.eoan, TestNetworkBondingAbs):
65 __test__ = True65 __test__ = True
6666
6767
68class FocalTestBonding(relbase.focal, TestNetworkBondingAbs):
69 __test__ = True
70
71
68class Centos66TestNetworkBonding(centos_relbase.centos66_xenial,72class Centos66TestNetworkBonding(centos_relbase.centos66_xenial,
69 CentosTestNetworkBondingAbs):73 CentosTestNetworkBondingAbs):
70 __test__ = True74 __test__ = True
diff --git a/tests/vmtests/test_network_bridging.py b/tests/vmtests/test_network_bridging.py
index 129bae6..3b5b99c 100644
--- a/tests/vmtests/test_network_bridging.py
+++ b/tests/vmtests/test_network_bridging.py
@@ -244,6 +244,10 @@ class EoanTestBridging(relbase.eoan, TestBridgeNetworkAbs):
244 __test__ = True244 __test__ = True
245245
246246
247class FocalTestBridging(relbase.focal, TestBridgeNetworkAbs):
248 __test__ = True
249
250
247class XenialTestBridgingV2(relbase.xenial, TestBridgeNetworkAbs):251class XenialTestBridgingV2(relbase.xenial, TestBridgeNetworkAbs):
248 """ This class only needs to verify that when provided a v2 config252 """ This class only needs to verify that when provided a v2 config
249 that the Xenial network packages are installed. """253 that the Xenial network packages are installed. """
diff --git a/tests/vmtests/test_network_ipv6_static.py b/tests/vmtests/test_network_ipv6_static.py
index 925cc79..278c837 100644
--- a/tests/vmtests/test_network_ipv6_static.py
+++ b/tests/vmtests/test_network_ipv6_static.py
@@ -31,6 +31,10 @@ class EoanTestNetworkIPV6Static(relbase.eoan, TestNetworkIPV6StaticAbs):
31 __test__ = True31 __test__ = True
3232
3333
34class FocalTestNetworkIPV6Static(relbase.focal, TestNetworkIPV6StaticAbs):
35 __test__ = True
36
37
34class Centos66TestNetworkIPV6Static(centos_relbase.centos66_xenial,38class Centos66TestNetworkIPV6Static(centos_relbase.centos66_xenial,
35 CentosTestNetworkIPV6StaticAbs):39 CentosTestNetworkIPV6StaticAbs):
36 __test__ = True40 __test__ = True
diff --git a/tests/vmtests/test_network_ipv6_vlan.py b/tests/vmtests/test_network_ipv6_vlan.py
index 93673d0..f0f7389 100644
--- a/tests/vmtests/test_network_ipv6_vlan.py
+++ b/tests/vmtests/test_network_ipv6_vlan.py
@@ -29,11 +29,15 @@ class DiscoTestNetworkIPV6Vlan(relbase.disco, TestNetworkIPV6VlanAbs):
29class EoanTestNetworkIPV6Vlan(relbase.eoan, TestNetworkIPV6VlanAbs):29class EoanTestNetworkIPV6Vlan(relbase.eoan, TestNetworkIPV6VlanAbs):
30 __test__ = True30 __test__ = True
3131
32 @TestNetworkVlanAbs.skip_by_date("1846232", fixby="2019-12-01")32 @TestNetworkVlanAbs.skip_by_date("1846232", fixby="2020-01-10")
33 def test_ip_output(self):33 def test_ip_output(self):
34 pass34 pass
3535
3636
37class FocalTestNetworkIPV6Vlan(relbase.focal, TestNetworkIPV6VlanAbs):
38 __test__ = True
39
40
37class Centos66TestNetworkIPV6Vlan(centos_relbase.centos66_xenial,41class Centos66TestNetworkIPV6Vlan(centos_relbase.centos66_xenial,
38 CentosTestNetworkIPV6VlanAbs):42 CentosTestNetworkIPV6VlanAbs):
39 __test__ = True43 __test__ = True
diff --git a/tests/vmtests/test_network_mtu.py b/tests/vmtests/test_network_mtu.py
index 8a55fca..b81ee0e 100644
--- a/tests/vmtests/test_network_mtu.py
+++ b/tests/vmtests/test_network_mtu.py
@@ -165,21 +165,26 @@ class TestNetworkMtu(relbase.xenial, TestNetworkMtuAbs):
165 __test__ = True165 __test__ = True
166166
167167
168@TestNetworkMtuAbs.skip_by_date("1671951", fixby="2020-01-01")168@TestNetworkMtuAbs.skip_by_date("1671951", fixby="2020-01-10")
169class BionicTestNetworkMtu(relbase.bionic, TestNetworkMtuAbs):169class BionicTestNetworkMtu(relbase.bionic, TestNetworkMtuAbs):
170 __test__ = True170 __test__ = True
171171
172172
173@TestNetworkMtuAbs.skip_by_date("1671951", fixby="2020-01-01")173@TestNetworkMtuAbs.skip_by_date("1671951", fixby="2020-01-10")
174class DiscoTestNetworkMtu(relbase.disco, TestNetworkMtuAbs):174class DiscoTestNetworkMtu(relbase.disco, TestNetworkMtuAbs):
175 __test__ = True175 __test__ = True
176176
177177
178@TestNetworkMtuAbs.skip_by_date("1671951", fixby="2020-01-01")178@TestNetworkMtuAbs.skip_by_date("1671951", fixby="2020-01-10")
179class EoanTestNetworkMtu(relbase.eoan, TestNetworkMtuAbs):179class EoanTestNetworkMtu(relbase.eoan, TestNetworkMtuAbs):
180 __test__ = True180 __test__ = True
181181
182182
183@TestNetworkMtuAbs.skip_by_date("1671951", fixby="2020-01-10")
184class FocalTestNetworkMtu(relbase.focal, TestNetworkMtuAbs):
185 __test__ = True
186
187
183class Centos66TestNetworkMtu(centos_relbase.centos66_xenial,188class Centos66TestNetworkMtu(centos_relbase.centos66_xenial,
184 CentosTestNetworkMtuAbs):189 CentosTestNetworkMtuAbs):
185 __test__ = True190 __test__ = True
diff --git a/tests/vmtests/test_network_static.py b/tests/vmtests/test_network_static.py
index 01f30d5..b2fac16 100644
--- a/tests/vmtests/test_network_static.py
+++ b/tests/vmtests/test_network_static.py
@@ -36,6 +36,10 @@ class EoanTestNetworkStatic(relbase.eoan, TestNetworkStaticAbs):
36 __test__ = True36 __test__ = True
3737
3838
39class FocalTestNetworkStatic(relbase.focal, TestNetworkStaticAbs):
40 __test__ = True
41
42
39class Centos66TestNetworkStatic(centos_relbase.centos66_xenial,43class Centos66TestNetworkStatic(centos_relbase.centos66_xenial,
40 CentosTestNetworkStaticAbs):44 CentosTestNetworkStaticAbs):
41 __test__ = True45 __test__ = True
diff --git a/tests/vmtests/test_network_static_routes.py b/tests/vmtests/test_network_static_routes.py
index 5a8969c..8e63df8 100644
--- a/tests/vmtests/test_network_static_routes.py
+++ b/tests/vmtests/test_network_static_routes.py
@@ -38,6 +38,11 @@ class EoanTestNetworkStaticRoutes(relbase.eoan,
38 __test__ = True38 __test__ = True
3939
4040
41class FocalTestNetworkStaticRoutes(relbase.focal,
42 TestNetworkStaticRoutesAbs):
43 __test__ = True
44
45
41class Centos66TestNetworkStaticRoutes(centos_relbase.centos66_xenial,46class Centos66TestNetworkStaticRoutes(centos_relbase.centos66_xenial,
42 CentosTestNetworkStaticRoutesAbs):47 CentosTestNetworkStaticRoutesAbs):
43 __test__ = False48 __test__ = False
diff --git a/tests/vmtests/test_network_vlan.py b/tests/vmtests/test_network_vlan.py
index 3764973..27aaa2b 100644
--- a/tests/vmtests/test_network_vlan.py
+++ b/tests/vmtests/test_network_vlan.py
@@ -83,7 +83,15 @@ class DiscoTestNetworkVlan(relbase.disco, TestNetworkVlanAbs):
83class EoanTestNetworkVlan(relbase.eoan, TestNetworkVlanAbs):83class EoanTestNetworkVlan(relbase.eoan, TestNetworkVlanAbs):
84 __test__ = True84 __test__ = True
8585
86 @TestNetworkBaseTestsAbs.skip_by_date("1846232", fixby="2019-12-01")86 @TestNetworkBaseTestsAbs.skip_by_date("1846232", fixby="2020-01-10")
87 def test_ip_output(self):
88 pass
89
90
91class FocalTestNetworkVlan(relbase.focal, TestNetworkVlanAbs):
92 __test__ = True
93
94 @TestNetworkBaseTestsAbs.skip_by_date("1846232", fixby="2020-01-10")
87 def test_ip_output(self):95 def test_ip_output(self):
88 pass96 pass
8997
diff --git a/tests/vmtests/test_nvme.py b/tests/vmtests/test_nvme.py
index bcd5c09..4f0b4d7 100644
--- a/tests/vmtests/test_nvme.py
+++ b/tests/vmtests/test_nvme.py
@@ -150,4 +150,9 @@ class DiscoTestNvmeBcache(relbase.disco, TestNvmeBcacheAbs):
150class EoanTestNvmeBcache(relbase.eoan, TestNvmeBcacheAbs):150class EoanTestNvmeBcache(relbase.eoan, TestNvmeBcacheAbs):
151 __test__ = True151 __test__ = True
152152
153
154class FocalTestNvmeBcache(relbase.focal, TestNvmeBcacheAbs):
155 __test__ = True
156
157
153# vi: ts=4 expandtab syntax=python158# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_pollinate_useragent.py b/tests/vmtests/test_pollinate_useragent.py
index f01add2..046fff5 100644
--- a/tests/vmtests/test_pollinate_useragent.py
+++ b/tests/vmtests/test_pollinate_useragent.py
@@ -68,4 +68,9 @@ class DiscoTestPollinateUserAgent(relbase.disco, TestPollinateUserAgent):
68class EoanTestPollinateUserAgent(relbase.eoan, TestPollinateUserAgent):68class EoanTestPollinateUserAgent(relbase.eoan, TestPollinateUserAgent):
69 __test__ = True69 __test__ = True
7070
71
72class FocalTestPollinateUserAgent(relbase.focal, TestPollinateUserAgent):
73 __test__ = True
74
75
71# vi: ts=4 expandtab syntax=python76# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_preserve.py b/tests/vmtests/test_preserve.py
index 434b71d..6194ab0 100644
--- a/tests/vmtests/test_preserve.py
+++ b/tests/vmtests/test_preserve.py
@@ -32,4 +32,9 @@ class DiscoTestPreserve(relbase.disco, TestPreserve):
32class EoanTestPreserve(relbase.eoan, TestPreserve):32class EoanTestPreserve(relbase.eoan, TestPreserve):
33 __test__ = True33 __test__ = True
3434
35
36class FocalTestPreserve(relbase.focal, TestPreserve):
37 __test__ = True
38
39
35# vi: ts=4 expandtab syntax=python40# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_preserve_raid.py b/tests/vmtests/test_preserve_raid.py
index 678f893..3168f57 100644
--- a/tests/vmtests/test_preserve_raid.py
+++ b/tests/vmtests/test_preserve_raid.py
@@ -32,4 +32,9 @@ class DiscoTestPreserveRAID(relbase.disco, TestPreserveRAID):
32class EoanTestPreserveRAID(relbase.eoan, TestPreserveRAID):32class EoanTestPreserveRAID(relbase.eoan, TestPreserveRAID):
33 __test__ = True33 __test__ = True
3434
35
36class FocalTestPreserveRAID(relbase.focal, TestPreserveRAID):
37 __test__ = True
38
39
35# vi: ts=4 expandtab syntax=python40# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_raid5_bcache.py b/tests/vmtests/test_raid5_bcache.py
index 90549b2..a2df218 100644
--- a/tests/vmtests/test_raid5_bcache.py
+++ b/tests/vmtests/test_raid5_bcache.py
@@ -90,4 +90,9 @@ class DiscoTestRaid5Bcache(relbase.disco, TestMdadmBcacheAbs):
90class EoanTestRaid5Bcache(relbase.eoan, TestMdadmBcacheAbs):90class EoanTestRaid5Bcache(relbase.eoan, TestMdadmBcacheAbs):
91 __test__ = True91 __test__ = True
9292
93
94class FocalTestRaid5Bcache(relbase.focal, TestMdadmBcacheAbs):
95 __test__ = True
96
97
93# vi: ts=4 expandtab syntax=python98# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_reuse_raid_member.py b/tests/vmtests/test_reuse_raid_member.py
index 3052c9c..af46a9b 100644
--- a/tests/vmtests/test_reuse_raid_member.py
+++ b/tests/vmtests/test_reuse_raid_member.py
@@ -28,35 +28,36 @@ class BionicTestReuseRAIDMember(relbase.bionic, TestReuseRAIDMember):
28 __test__ = True28 __test__ = True
2929
3030
31class CosmicTestReuseRAIDMember(relbase.cosmic, TestReuseRAIDMember):31class DiscoTestReuseRAIDMember(relbase.disco, TestReuseRAIDMember):
32 __test__ = True32 __test__ = True
3333
3434
35class DiscoTestReuseRAIDMember(relbase.disco, TestReuseRAIDMember):35class EoanTestReuseRAIDMember(relbase.eoan, TestReuseRAIDMember):
36 __test__ = True36 __test__ = True
3737
3838
39class EoanTestReuseRAIDMember(relbase.eoan, TestReuseRAIDMember):39class FocalTestReuseRAIDMember(relbase.focal, TestReuseRAIDMember):
40 __test__ = True40 __test__ = True
4141
4242
43class BionicTestReuseRAIDMemberPartition(43class BionicTestReuseRAIDMemberPartition(relbase.bionic,
44 relbase.bionic, TestReuseRAIDMemberPartition):44 TestReuseRAIDMemberPartition):
45 __test__ = True45 __test__ = True
4646
4747
48class CosmicTestReuseRAIDMemberPartition(48class DiscoTestReuseRAIDMemberPartition(relbase.disco,
49 relbase.cosmic, TestReuseRAIDMemberPartition):49 TestReuseRAIDMemberPartition):
50 __test__ = True50 __test__ = True
5151
5252
53class DiscoTestReuseRAIDMemberPartition(53class EoanTestReuseRAIDMemberPartition(relbase.eoan,
54 relbase.disco, TestReuseRAIDMemberPartition):54 TestReuseRAIDMemberPartition):
55 __test__ = True55 __test__ = True
5656
5757
58class EoanTestReuseRAIDMemberPartition(58class FocalTestReuseRAIDMemberPartition(relbase.focal,
59 relbase.eoan, TestReuseRAIDMemberPartition):59 TestReuseRAIDMemberPartition):
60 __test__ = True60 __test__ = True
6161
62
62# vi: ts=4 expandtab syntax=python63# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_simple.py b/tests/vmtests/test_simple.py
index 8c46af7..9a21879 100644
--- a/tests/vmtests/test_simple.py
+++ b/tests/vmtests/test_simple.py
@@ -63,6 +63,13 @@ class EoanTestSimple(relbase.eoan, TestSimple):
63 self.output_files_exist(["netplan.yaml"])63 self.output_files_exist(["netplan.yaml"])
6464
6565
66class FocalTestSimple(relbase.focal, TestSimple):
67 __test__ = True
68
69 def test_output_files_exist(self):
70 self.output_files_exist(["netplan.yaml"])
71
72
66class TestSimpleStorage(VMBaseClass):73class TestSimpleStorage(VMBaseClass):
67 """ Test curtin runs clear-holders when mode=simple with storage cfg. """74 """ Test curtin runs clear-holders when mode=simple with storage cfg. """
68 conf_file = "examples/tests/simple-storage.yaml"75 conf_file = "examples/tests/simple-storage.yaml"
@@ -119,6 +126,13 @@ class EoanTestSimpleStorage(relbase.eoan, TestSimpleStorage):
119 self.output_files_exist(["netplan.yaml"])126 self.output_files_exist(["netplan.yaml"])
120127
121128
129class FocalTestSimpleStorage(relbase.focal, TestSimpleStorage):
130 __test__ = True
131
132 def test_output_files_exist(self):
133 self.output_files_exist(["netplan.yaml"])
134
135
122class TestGrubNoDefaults(VMBaseClass):136class TestGrubNoDefaults(VMBaseClass):
123 """ Test that curtin does not emit any grub configuration files. """137 """ Test that curtin does not emit any grub configuration files. """
124 conf_file = "examples/tests/no-grub-file.yaml"138 conf_file = "examples/tests/no-grub-file.yaml"
@@ -138,10 +152,11 @@ class TestGrubNoDefaults(VMBaseClass):
138 self.assertNotIn('50-curtin-settings.cfg', grub_d_files)152 self.assertNotIn('50-curtin-settings.cfg', grub_d_files)
139153
140154
141class DiscoTestGrubNoDefaults(relbase.disco, TestGrubNoDefaults):155class FocalTestGrubNoDefaults(relbase.focal, TestGrubNoDefaults):
142 __test__ = True156 __test__ = True
143157
144 def test_output_files_exist(self):158 def test_output_files_exist(self):
145 self.output_files_exist(["netplan.yaml"])159 self.output_files_exist(["netplan.yaml"])
146160
161
147# vi: ts=4 expandtab syntax=python162# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_uefi_basic.py b/tests/vmtests/test_uefi_basic.py
index 374b79f..a20506d 100644
--- a/tests/vmtests/test_uefi_basic.py
+++ b/tests/vmtests/test_uefi_basic.py
@@ -113,6 +113,10 @@ class EoanUefiTestBasic(relbase.eoan, TestBasicAbs):
113 __test__ = True113 __test__ = True
114114
115115
116class FocalUefiTestBasic(relbase.focal, TestBasicAbs):
117 __test__ = True
118
119
116class Centos70UefiTestBasic4k(centos_relbase.centos70_xenial, TestBasicAbs):120class Centos70UefiTestBasic4k(centos_relbase.centos70_xenial, TestBasicAbs):
117 __test__ = True121 __test__ = True
118 disk_block_size = 4096122 disk_block_size = 4096
@@ -137,4 +141,10 @@ class EoanUefiTestBasic4k(relbase.eoan, TestBasicAbs):
137 __test__ = True141 __test__ = True
138 disk_block_size = 4096142 disk_block_size = 4096
139143
144
145class FocalUefiTestBasic4k(relbase.focal, TestBasicAbs):
146 __test__ = True
147 disk_block_size = 4096
148
149
140# vi: ts=4 expandtab syntax=python150# vi: ts=4 expandtab syntax=python
diff --git a/tests/vmtests/test_zfsroot.py b/tests/vmtests/test_zfsroot.py
index a0e50e9..86992c3 100644
--- a/tests/vmtests/test_zfsroot.py
+++ b/tests/vmtests/test_zfsroot.py
@@ -1,3 +1,5 @@
1# This file is part of curtin. See LICENSE file for copyright and license info.
2
1from . import VMBaseClass, check_install_log, skip_if_flag3from . import VMBaseClass, check_install_log, skip_if_flag
2from .releases import base_vm_classes as relbase4from .releases import base_vm_classes as relbase
35
@@ -104,6 +106,11 @@ class EoanTestZfsRoot(relbase.eoan, TestZfsRootAbs):
104 mem = 4096106 mem = 4096
105107
106108
109class FocalTestZfsRoot(relbase.focal, TestZfsRootAbs):
110 __test__ = True
111 mem = 4096
112
113
107class TestZfsRootFsTypeAbs(TestZfsRootAbs):114class TestZfsRootFsTypeAbs(TestZfsRootAbs):
108 conf_file = "examples/tests/basic-zfsroot.yaml"115 conf_file = "examples/tests/basic-zfsroot.yaml"
109116
@@ -131,3 +138,10 @@ class DiscoTestZfsRootFsType(relbase.disco, TestZfsRootFsTypeAbs):
131class EoanTestZfsRootFsType(relbase.eoan, TestZfsRootFsTypeAbs):138class EoanTestZfsRootFsType(relbase.eoan, TestZfsRootFsTypeAbs):
132 __test__ = True139 __test__ = True
133 mem = 4096140 mem = 4096
141
142
143class FocalTestZfsRootFsType(relbase.focal, TestZfsRootFsTypeAbs):
144 __test__ = True
145 mem = 4096
146
147# vi: ts=4 expandtab syntax=python
diff --git a/tools/vmtest-filter b/tools/vmtest-filter
index 55e63d5..ae427c3 100755
--- a/tools/vmtest-filter
+++ b/tools/vmtest-filter
@@ -4,7 +4,9 @@
4import argparse4import argparse
5import logging5import logging
6import os6import os
7import pdb
7import sys8import sys
9import traceback
810
9# Fix path so we can import helpers11# Fix path so we can import helpers
10sys.path.insert(1, os.path.realpath(os.path.join(12sys.path.insert(1, os.path.realpath(os.path.join(
@@ -17,7 +19,7 @@ from tests.vmtests.helpers import find_testcases_by_attr # noqa: E402
17logging.disable(logging.CRITICAL)19logging.disable(logging.CRITICAL)
1820
1921
20if __name__ == '__main__':22def main():
21 parser = argparse.ArgumentParser(prog='vmtest-filter',23 parser = argparse.ArgumentParser(prog='vmtest-filter',
22 description='Dump matching testcases',24 description='Dump matching testcases',
23 usage='''vmtest-filter --attr=value''')25 usage='''vmtest-filter --attr=value''')
@@ -54,4 +56,13 @@ if __name__ == '__main__':
54 for tc in find_testcases_by_attr(**kwargs):56 for tc in find_testcases_by_attr(**kwargs):
55 print(tc)57 print(tc)
5658
59if __name__ == '__main__':
60 try:
61 ret = main()
62 except:
63 traceback.print_exc()
64 pdb.post_mortem()
65 ret = 1
66 sys.exit(ret)
67
57# vi: ts=4 expandtab syntax=python68# vi: ts=4 expandtab syntax=python

Subscribers

People subscribed via source and target branches