Merge lp:~powersj/curtin/add-bionic into lp:~curtin-dev/curtin/trunk

Proposed by Joshua Powers
Status: Merged
Merged at revision: 545
Proposed branch: lp:~powersj/curtin/add-bionic
Merge into: lp:~curtin-dev/curtin/trunk
Diff against target: 532 lines (+183/-4)
29 files modified
tests/vmtests/releases.py (+5/-0)
tests/vmtests/test_apt_config_cmd.py (+4/-0)
tests/vmtests/test_basic.py (+8/-0)
tests/vmtests/test_bcache_basic.py (+4/-0)
tests/vmtests/test_bcache_bug1718699.py (+4/-0)
tests/vmtests/test_iscsi.py (+4/-0)
tests/vmtests/test_journald_reporter.py (+4/-0)
tests/vmtests/test_lvm.py (+4/-0)
tests/vmtests/test_lvm_iscsi.py (+4/-0)
tests/vmtests/test_mdadm_bcache.py (+34/-0)
tests/vmtests/test_mdadm_iscsi.py (+4/-0)
tests/vmtests/test_multipath.py (+4/-0)
tests/vmtests/test_network.py (+4/-0)
tests/vmtests/test_network_alias.py (+4/-0)
tests/vmtests/test_network_bonding.py (+14/-0)
tests/vmtests/test_network_bridging.py (+13/-0)
tests/vmtests/test_network_enisource.py (+5/-1)
tests/vmtests/test_network_ipv6.py (+4/-0)
tests/vmtests/test_network_ipv6_enisource.py (+1/-3)
tests/vmtests/test_network_ipv6_static.py (+4/-0)
tests/vmtests/test_network_ipv6_vlan.py (+4/-0)
tests/vmtests/test_network_mtu.py (+10/-0)
tests/vmtests/test_network_static.py (+4/-0)
tests/vmtests/test_network_static_routes.py (+5/-0)
tests/vmtests/test_network_vlan.py (+4/-0)
tests/vmtests/test_nvme.py (+8/-0)
tests/vmtests/test_raid5_bcache.py (+4/-0)
tests/vmtests/test_simple.py (+4/-0)
tests/vmtests/test_uefi_basic.py (+8/-0)
To merge this branch: bzr merge lp:~powersj/curtin/add-bionic
Reviewer Review Type Date Requested Status
Server Team CI bot continuous-integration Approve
Scott Moser (community) Approve
Review via email: mp+334140@code.launchpad.net

Commit message

vmtests: Add Bionic release and update classes

Description of the change

DO NOT MERGE - waiting on Bionic images to show up at:
https://images.maas.io/ephemeral-v2/daily/streams/v1/index.sjson

I copied exactly what was currently existing for artful. This includes tests that were skipped or have timers on them to ignore till a certain date.

To post a comment you must log in.
lp:~powersj/curtin/add-bionic updated
544. By Joshua Powers

pylint: fix missing extra space between classes

545. By Joshua Powers

Change wording of messages about no ENI

Revision history for this message
Server Team CI bot (server-team-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Scott Moser (smoser) wrote :
Download full text (3.5 KiB)

We have bionic images for maas v2 streams now.
I'm running a test as shown below. I saw that BionicTestNetworkIPV6ENISource
failed, as actually expected. I'm not sure if I think we should list
that test or not. It seems like noise.

Additionally, the NetworkENISource (tests/vmtests/test_network_enisource.py) does
*not* have classes for Artful or Bionic. So I suggest we make that consistent
and remove them with a comment at the end of the file.

Suggested patch: http://paste.ubuntu.com/26064881/

$ image-status maas
artful amd64/hwe-a 20171122 root-image.gz
bionic amd64/hwe-b 20171127.1 root-image.gz
trusty amd64/hwe-t 20171115.1 root-image.gz
trusty amd64/hwe-u 20171115.1 root-image.gz
trusty amd64/hwe-v 20171115.1 root-image.gz
trusty amd64/hwe-w 20171115.1 root-image.gz
trusty amd64/hwe-x 20171115.1 root-image.gz
xenial amd64/hwe-x 20171122 root-image.gz
zesty amd64/hwe-z 20171123 root-image.gz

$ bzr merge lp:curtin
$ bzr commit -m "merge with trunk"
$ bzr revno
546

$ bzr version-info
revision-id: <email address hidden>
date: 2017-11-28 14:07:56 +0000
build-date: 2017-11-28 14:16:09 +0000
revno: 546
branch-nick: add-bionic

$ ./tools/vmtest-sync-images
...

$ tests=$(grep -r class.*relbase.bionic tests/vmtests/ |
     sed 's,\([^:]*\):class \([^(]*\)(.*,\1:\2,')
$ for t in $tests; do echo $t; done
tests/vmtests/test_network_ipv6_static.py:BionicTestNetworkIPV6Static
tests/vmtests/test_network_vlan.py:BionicTestNetworkVlan
tests/vmtests/test_network_alias.py:BionicTestNetworkAlias
tests/vmtests/test_lvm_iscsi.py:BionicTestIscsiLvm
tests/vmtests/test_network_ipv6_enisource.py:BionicTestNetworkIPV6ENISource
tests/vmtests/test_bcache_basic.py:BionicBcacheBasic
tests/vmtests/test_mdadm_bcache.py:BionicTestMdadmBcache
tests/vmtests/test_mdadm_bcache.py:BionicTestMirrorboot
tests/vmtests/test_mdadm_bcache.py:BionicTestMirrorbootPartitions
tests/vmtests/test_mdadm_bcache.py:BionicTestMirrorbootPartitionsUEFI
tests/vmtests/test_mdadm_bcache.py:BionicTestRaid5boot
tests/vmtests/test_mdadm_bcache.py:BionicTestRaid6boot
tests/vmtests/test_mdadm_bcache.py:BionicTestRaid10boot
tests/vmtests/test_mdadm_bcache.py:BionicTestAllindata
tests/vmtests/test_raid5_bcache.py:BionicTestRaid5Bcache
tests/vmtests/test_uefi_basic.py:BionicUefiTestBasic
tests/vmtests/test_basic.py:BionicTestBasic
tests/vmtests/test_basic.py:BionicTestScsiBasic
tests/vmtests/test_multipath.py:BionicTestMultipathBasic
tests/vmtests/test_bcache_bug1718699.py:BionicTestBcacheBug1718699
tests/vmtests/test_lvm.py:BionicTestLvm
tests/vmtests/test_network_ipv6_vlan.py:BionicTestNetworkIPV6Vlan
tests/vmtests/test_mdadm_iscsi.py:BionicTestIscsiMdadm
tests/vmtests/test_simple.py:BionicTestSimple
tests/vmtests/test_nvme.py:BionicTestNvme
tests/vmtests/test_nvme.py:BionicTestNvmeBcache
tests/vmtests/test_network_bonding.py:BionicTestBonding
tests/vmtests/test_network_ipv6.py:BionicTestNetworkIPV6
tests/vmtests/test_iscsi.py:BionicTestIscsiBasic
tests/vmtests/test_network_static_routes.py:BionicTestNetworkStaticRoutes
tests/vmtests/test_network.py:BionicTestNetworkBasic
tests/vmtests/test_network_bridging.py:BionicTestBridgin...

Read more...

review: Approve
Revision history for this message
Scott Moser (smoser) wrote :

In this long winded comment above, the gist is that
I approve with http://paste.ubuntu.com/26064881/ applied.

If you approve of that modification, I'll pull.

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

I'm +1 with the patch as well.

lp:~powersj/curtin/add-bionic updated
546. By Joshua Powers

Remove Artful and Bionic NetworkIPV6ENISource as not valid

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
1=== modified file 'tests/vmtests/releases.py'
2--- tests/vmtests/releases.py 2017-11-03 21:27:17 +0000
3+++ tests/vmtests/releases.py 2017-11-28 15:49:16 +0000
4@@ -80,6 +80,10 @@
5 release = "artful"
6
7
8+class _BionicBase(_UbuntuBase):
9+ release = "bionic"
10+
11+
12 class _Releases(object):
13 trusty = _TrustyBase
14 trusty_hwe_u = _TrustyHWEU
15@@ -90,6 +94,7 @@
16 xenial = _XenialBase
17 zesty = _ZestyBase
18 artful = _ArtfulBase
19+ bionic = _BionicBase
20
21
22 class _CentosReleases(object):
23
24=== modified file 'tests/vmtests/test_apt_config_cmd.py'
25--- tests/vmtests/test_apt_config_cmd.py 2017-08-02 15:46:35 +0000
26+++ tests/vmtests/test_apt_config_cmd.py 2017-11-28 15:49:16 +0000
27@@ -61,3 +61,7 @@
28
29 class ArtfulTestAptConfigCMDCMD(relbase.artful, TestAptConfigCMD):
30 __test__ = True
31+
32+
33+class BionicTestAptConfigCMDCMD(relbase.bionic, TestAptConfigCMD):
34+ __test__ = True
35
36=== modified file 'tests/vmtests/test_basic.py'
37--- tests/vmtests/test_basic.py 2017-11-27 17:12:19 +0000
38+++ tests/vmtests/test_basic.py 2017-11-28 15:49:16 +0000
39@@ -167,6 +167,10 @@
40 __test__ = True
41
42
43+class BionicTestBasic(relbase.bionic, TestBasicAbs):
44+ __test__ = True
45+
46+
47 class TestBasicScsiAbs(TestBasicAbs):
48 conf_file = "examples/tests/basic_scsi.yaml"
49 disk_driver = 'scsi-hd'
50@@ -274,3 +278,7 @@
51
52 class ArtfulTestScsiBasic(relbase.artful, TestBasicScsiAbs):
53 __test__ = True
54+
55+
56+class BionicTestScsiBasic(relbase.bionic, TestBasicScsiAbs):
57+ __test__ = True
58
59=== modified file 'tests/vmtests/test_bcache_basic.py'
60--- tests/vmtests/test_bcache_basic.py 2017-11-03 21:27:17 +0000
61+++ tests/vmtests/test_bcache_basic.py 2017-11-28 15:49:16 +0000
62@@ -61,3 +61,7 @@
63
64 class ArtfulBcacheBasic(relbase.artful, TestBcacheBasic):
65 __test__ = True
66+
67+
68+class BionicBcacheBasic(relbase.bionic, TestBcacheBasic):
69+ __test__ = True
70
71=== modified file 'tests/vmtests/test_bcache_bug1718699.py'
72--- tests/vmtests/test_bcache_bug1718699.py 2017-11-03 21:27:17 +0000
73+++ tests/vmtests/test_bcache_bug1718699.py 2017-11-28 15:49:16 +0000
74@@ -19,3 +19,7 @@
75
76 class ArtfulTestBcacheBug1718699(relbase.artful, TestBcacheBug1718699):
77 __test__ = True
78+
79+
80+class BionicTestBcacheBug1718699(relbase.bionic, TestBcacheBug1718699):
81+ __test__ = True
82
83=== modified file 'tests/vmtests/test_iscsi.py'
84--- tests/vmtests/test_iscsi.py 2017-11-03 21:27:17 +0000
85+++ tests/vmtests/test_iscsi.py 2017-11-28 15:49:16 +0000
86@@ -61,3 +61,7 @@
87
88 class ArtfulTestIscsiBasic(relbase.artful, TestBasicIscsiAbs):
89 __test__ = True
90+
91+
92+class BionicTestIscsiBasic(relbase.bionic, TestBasicIscsiAbs):
93+ __test__ = True
94
95=== modified file 'tests/vmtests/test_journald_reporter.py'
96--- tests/vmtests/test_journald_reporter.py 2017-09-29 14:11:26 +0000
97+++ tests/vmtests/test_journald_reporter.py 2017-11-28 15:49:16 +0000
98@@ -50,3 +50,7 @@
99
100 class ArtfulTestJournaldReporter(relbase.artful, TestJournaldReporter):
101 __test__ = True
102+
103+
104+class BionicTestJournaldReporter(relbase.bionic, TestJournaldReporter):
105+ __test__ = True
106
107=== modified file 'tests/vmtests/test_lvm.py'
108--- tests/vmtests/test_lvm.py 2017-11-03 21:27:17 +0000
109+++ tests/vmtests/test_lvm.py 2017-11-28 15:49:16 +0000
110@@ -66,3 +66,7 @@
111
112 class ArtfulTestLvm(relbase.artful, TestLvmAbs):
113 __test__ = True
114+
115+
116+class BionicTestLvm(relbase.bionic, TestLvmAbs):
117+ __test__ = True
118
119=== modified file 'tests/vmtests/test_lvm_iscsi.py'
120--- tests/vmtests/test_lvm_iscsi.py 2017-11-03 21:27:17 +0000
121+++ tests/vmtests/test_lvm_iscsi.py 2017-11-28 15:49:16 +0000
122@@ -61,3 +61,7 @@
123
124 class ArtfulTestIscsiLvm(relbase.artful, TestLvmIscsiAbs):
125 __test__ = True
126+
127+
128+class BionicTestIscsiLvm(relbase.bionic, TestLvmIscsiAbs):
129+ __test__ = True
130
131=== modified file 'tests/vmtests/test_mdadm_bcache.py'
132--- tests/vmtests/test_mdadm_bcache.py 2017-08-28 22:03:36 +0000
133+++ tests/vmtests/test_mdadm_bcache.py 2017-11-28 15:49:16 +0000
134@@ -144,6 +144,10 @@
135 __test__ = True
136
137
138+class BionicTestMdadmBcache(relbase.bionic, TestMdadmBcacheAbs):
139+ __test__ = True
140+
141+
142 class TestMirrorbootAbs(TestMdadmAbs):
143 # alternative config for more complex setup
144 conf_file = "examples/tests/mirrorboot.yaml"
145@@ -184,6 +188,10 @@
146 __test__ = True
147
148
149+class BionicTestMirrorboot(relbase.bionic, TestMirrorbootAbs):
150+ __test__ = True
151+
152+
153 class TestMirrorbootPartitionsAbs(TestMdadmAbs):
154 # alternative config for more complex setup
155 conf_file = "examples/tests/mirrorboot-msdos-partition.yaml"
156@@ -228,6 +236,11 @@
157 __test__ = True
158
159
160+class BionicTestMirrorbootPartitions(relbase.bionic,
161+ TestMirrorbootPartitionsAbs):
162+ __test__ = True
163+
164+
165 class TestMirrorbootPartitionsUEFIAbs(TestMdadmAbs):
166 # alternative config for more complex setup
167 conf_file = "examples/tests/mirrorboot-uefi.yaml"
168@@ -271,6 +284,11 @@
169 __test__ = True
170
171
172+class BionicTestMirrorbootPartitionsUEFI(relbase.bionic,
173+ TestMirrorbootPartitionsUEFIAbs):
174+ __test__ = True
175+
176+
177 class TestRaid5bootAbs(TestMdadmAbs):
178 # alternative config for more complex setup
179 conf_file = "examples/tests/raid5boot.yaml"
180@@ -312,6 +330,10 @@
181 __test__ = True
182
183
184+class BionicTestRaid5boot(relbase.bionic, TestRaid5bootAbs):
185+ __test__ = True
186+
187+
188 class TestRaid6bootAbs(TestMdadmAbs):
189 # alternative config for more complex setup
190 conf_file = "examples/tests/raid6boot.yaml"
191@@ -365,6 +387,10 @@
192 __test__ = True
193
194
195+class BionicTestRaid6boot(relbase.bionic, TestRaid6bootAbs):
196+ __test__ = True
197+
198+
199 class TestRaid10bootAbs(TestMdadmAbs):
200 # alternative config for more complex setup
201 conf_file = "examples/tests/raid10boot.yaml"
202@@ -406,6 +432,10 @@
203 __test__ = True
204
205
206+class BionicTestRaid10boot(relbase.bionic, TestRaid10bootAbs):
207+ __test__ = True
208+
209+
210 class TestAllindataAbs(TestMdadmAbs):
211 # more complex, needs more time
212 # alternative config for more complex setup
213@@ -505,3 +535,7 @@
214
215 class ArtfulTestAllindata(relbase.artful, TestAllindataAbs):
216 __test__ = True
217+
218+
219+class BionicTestAllindata(relbase.bionic, TestAllindataAbs):
220+ __test__ = True
221
222=== modified file 'tests/vmtests/test_mdadm_iscsi.py'
223--- tests/vmtests/test_mdadm_iscsi.py 2017-11-03 21:27:17 +0000
224+++ tests/vmtests/test_mdadm_iscsi.py 2017-11-28 15:49:16 +0000
225@@ -36,3 +36,7 @@
226
227 class ArtfulTestIscsiMdadm(relbase.artful, TestMdadmIscsiAbs):
228 __test__ = True
229+
230+
231+class BionicTestIscsiMdadm(relbase.bionic, TestMdadmIscsiAbs):
232+ __test__ = True
233
234=== modified file 'tests/vmtests/test_multipath.py'
235--- tests/vmtests/test_multipath.py 2017-08-02 15:46:35 +0000
236+++ tests/vmtests/test_multipath.py 2017-11-28 15:49:16 +0000
237@@ -62,3 +62,7 @@
238
239 class ArtfulTestMultipathBasic(relbase.artful, TestMultipathBasicAbs):
240 __test__ = True
241+
242+
243+class BionicTestMultipathBasic(relbase.bionic, TestMultipathBasicAbs):
244+ __test__ = True
245
246=== modified file 'tests/vmtests/test_network.py'
247--- tests/vmtests/test_network.py 2017-11-03 21:27:17 +0000
248+++ tests/vmtests/test_network.py 2017-11-28 15:49:16 +0000
249@@ -484,6 +484,10 @@
250 __test__ = True
251
252
253+class BionicTestNetworkBasic(relbase.bionic, TestNetworkBasicAbs):
254+ __test__ = True
255+
256+
257 class Centos66TestNetworkBasic(centos_relbase.centos66fromxenial,
258 CentosTestNetworkBasicAbs):
259 __test__ = True
260
261=== modified file 'tests/vmtests/test_network_alias.py'
262--- tests/vmtests/test_network_alias.py 2017-11-03 21:27:17 +0000
263+++ tests/vmtests/test_network_alias.py 2017-11-28 15:49:16 +0000
264@@ -74,3 +74,7 @@
265
266 class ArtfulTestNetworkAlias(relbase.artful, TestNetworkAliasAbs):
267 __test__ = True
268+
269+
270+class BionicTestNetworkAlias(relbase.bionic, TestNetworkAliasAbs):
271+ __test__ = True
272
273=== modified file 'tests/vmtests/test_network_bonding.py'
274--- tests/vmtests/test_network_bonding.py 2017-11-03 21:27:17 +0000
275+++ tests/vmtests/test_network_bonding.py 2017-11-28 15:49:16 +0000
276@@ -80,6 +80,20 @@
277 self.debian_packages.get('ifenslave'))
278
279
280+class BionicTestBonding(relbase.bionic, TestNetworkBondingAbs):
281+ __test__ = True
282+
283+ def test_ifenslave_installed(self):
284+ """Bionic should not have ifenslave installed."""
285+ pass
286+
287+ def test_ifenslave_not_installed(self):
288+ """Confirm that ifenslave is not installed on bionic"""
289+ self.assertNotIn('ifenslave', self.debian_packages,
290+ "ifenslave is not expected in bionic: %s" %
291+ self.debian_packages.get('ifenslave'))
292+
293+
294 class Centos66TestNetworkBonding(centos_relbase.centos66fromxenial,
295 CentosTestNetworkBondingAbs):
296 __test__ = True
297
298=== modified file 'tests/vmtests/test_network_bridging.py'
299--- tests/vmtests/test_network_bridging.py 2017-11-17 17:02:11 +0000
300+++ tests/vmtests/test_network_bridging.py 2017-11-28 15:49:16 +0000
301@@ -234,3 +234,16 @@
302 self.assertNotIn("bridge-utils", self.debian_packages,
303 "bridge-utils is not expected in artful: %s" %
304 self.debian_packages.get('bridge-utils'))
305+
306+
307+class BionicTestBridging(relbase.bionic, TestBridgeNetworkAbs):
308+ __test__ = True
309+
310+ def test_bridge_utils_installed(self):
311+ """bridge-utils not needed in bionic."""
312+ pass
313+
314+ def test_bridge_utils_not_installed(self):
315+ self.assertNotIn("bridge-utils", self.debian_packages,
316+ "bridge-utils is not expected in bionic: %s" %
317+ self.debian_packages.get('bridge-utils'))
318
319=== modified file 'tests/vmtests/test_network_enisource.py'
320--- tests/vmtests/test_network_enisource.py 2017-11-03 21:27:17 +0000
321+++ tests/vmtests/test_network_enisource.py 2017-11-28 15:49:16 +0000
322@@ -27,7 +27,8 @@
323 extract information about what curtin wrote and compare that
324 with what was actually configured (which we capture via ifconfig)
325
326- Note: This test is *not* valid for Artful as it has no ENI.
327+ Note: This test is *not* valid for Artful and later as they do not
328+ have ENI.
329 """
330
331 conf_file = "examples/tests/network_source.yaml"
332@@ -94,3 +95,6 @@
333
334 class ZestyTestNetworkENISource(relbase.zesty, TestNetworkENISource):
335 __test__ = True
336+
337+
338+# Artful and later are deliberately not present. They do not have ifupdown.
339
340=== modified file 'tests/vmtests/test_network_ipv6.py'
341--- tests/vmtests/test_network_ipv6.py 2017-11-03 21:27:17 +0000
342+++ tests/vmtests/test_network_ipv6.py 2017-11-28 15:49:16 +0000
343@@ -71,6 +71,10 @@
344 __test__ = True
345
346
347+class BionicTestNetworkIPV6(relbase.bionic, TestNetworkIPV6Abs):
348+ __test__ = True
349+
350+
351 class Centos66TestNetworkIPV6(centos_relbase.centos66fromxenial,
352 CentosTestNetworkIPV6Abs):
353 __test__ = True
354
355=== modified file 'tests/vmtests/test_network_ipv6_enisource.py'
356--- tests/vmtests/test_network_ipv6_enisource.py 2017-11-03 21:27:17 +0000
357+++ tests/vmtests/test_network_ipv6_enisource.py 2017-11-28 15:49:16 +0000
358@@ -29,6 +29,4 @@
359 __test__ = True
360
361
362-# Artful no longer has eni/ifupdown
363-class ArtfulTestNetworkIPV6ENISource(relbase.artful, TestNetworkIPV6ENISource):
364- __test__ = False
365+# Artful and later are deliberately not present. They do not have ifupdown.
366
367=== modified file 'tests/vmtests/test_network_ipv6_static.py'
368--- tests/vmtests/test_network_ipv6_static.py 2017-11-03 21:27:17 +0000
369+++ tests/vmtests/test_network_ipv6_static.py 2017-11-28 15:49:16 +0000
370@@ -52,6 +52,10 @@
371 __test__ = True
372
373
374+class BionicTestNetworkIPV6Static(relbase.bionic, TestNetworkIPV6StaticAbs):
375+ __test__ = True
376+
377+
378 class Centos66TestNetworkIPV6Static(centos_relbase.centos66fromxenial,
379 CentosTestNetworkIPV6StaticAbs):
380 __test__ = True
381
382=== modified file 'tests/vmtests/test_network_ipv6_vlan.py'
383--- tests/vmtests/test_network_ipv6_vlan.py 2017-11-03 21:27:17 +0000
384+++ tests/vmtests/test_network_ipv6_vlan.py 2017-11-28 15:49:16 +0000
385@@ -33,6 +33,10 @@
386 __test__ = True
387
388
389+class BionicTestNetworkIPV6Vlan(relbase.bionic, TestNetworkIPV6VlanAbs):
390+ __test__ = True
391+
392+
393 class Centos66TestNetworkIPV6Vlan(centos_relbase.centos66fromxenial,
394 CentosTestNetworkIPV6VlanAbs):
395 __test__ = True
396
397=== modified file 'tests/vmtests/test_network_mtu.py'
398--- tests/vmtests/test_network_mtu.py 2017-11-03 21:27:17 +0000
399+++ tests/vmtests/test_network_mtu.py 2017-11-28 15:49:16 +0000
400@@ -202,6 +202,16 @@
401 super().setUpClass()
402
403
404+class BionicTestNetworkMtu(relbase.bionic, TestNetworkMtuAbs):
405+ __test__ = True
406+
407+ @classmethod
408+ def setUpClass(cls):
409+ cls.skip_by_date(cls.__name__, cls.release, "1671951",
410+ fixby=(2018, 1, 20), removeby=(2018, 2, 23))
411+ super().setUpClass()
412+
413+
414 class Centos66TestNetworkMtu(centos_relbase.centos66fromxenial,
415 CentosTestNetworkMtuAbs):
416 __test__ = True
417
418=== modified file 'tests/vmtests/test_network_static.py'
419--- tests/vmtests/test_network_static.py 2017-11-03 21:27:17 +0000
420+++ tests/vmtests/test_network_static.py 2017-11-28 15:49:16 +0000
421@@ -67,6 +67,10 @@
422 __test__ = True
423
424
425+class BionicTestNetworkStatic(relbase.bionic, TestNetworkStaticAbs):
426+ __test__ = True
427+
428+
429 class Centos66TestNetworkStatic(centos_relbase.centos66fromxenial,
430 CentosTestNetworkStaticAbs):
431 __test__ = True
432
433=== modified file 'tests/vmtests/test_network_static_routes.py'
434--- tests/vmtests/test_network_static_routes.py 2017-11-03 21:27:17 +0000
435+++ tests/vmtests/test_network_static_routes.py 2017-11-28 15:49:16 +0000
436@@ -56,6 +56,11 @@
437 __test__ = True
438
439
440+class BionicTestNetworkStaticRoutes(relbase.bionic,
441+ TestNetworkStaticRoutesAbs):
442+ __test__ = True
443+
444+
445 class Centos66TestNetworkStaticRoutes(centos_relbase.centos66fromxenial,
446 CentosTestNetworkStaticRoutesAbs):
447 __test__ = False
448
449=== modified file 'tests/vmtests/test_network_vlan.py'
450--- tests/vmtests/test_network_vlan.py 2017-11-03 21:27:17 +0000
451+++ tests/vmtests/test_network_vlan.py 2017-11-28 15:49:16 +0000
452@@ -88,6 +88,10 @@
453 __test__ = True
454
455
456+class BionicTestNetworkVlan(relbase.bionic, TestNetworkVlanAbs):
457+ __test__ = True
458+
459+
460 class Centos66TestNetworkVlan(centos_relbase.centos66fromxenial,
461 CentosTestNetworkVlanAbs):
462 __test__ = True
463
464=== modified file 'tests/vmtests/test_nvme.py'
465--- tests/vmtests/test_nvme.py 2017-11-03 21:27:17 +0000
466+++ tests/vmtests/test_nvme.py 2017-11-28 15:49:16 +0000
467@@ -91,6 +91,10 @@
468 __test__ = True
469
470
471+class BionicTestNvme(relbase.bionic, TestNvmeAbs):
472+ __test__ = True
473+
474+
475 class TestNvmeBcacheAbs(VMBaseClass):
476 arch_skip = [
477 "s390x", # nvme is a pci device, no pci on s390x
478@@ -170,3 +174,7 @@
479
480 class ArtfulTestNvmeBcache(relbase.artful, TestNvmeBcacheAbs):
481 __test__ = True
482+
483+
484+class BionicTestNvmeBcache(relbase.bionic, TestNvmeBcacheAbs):
485+ __test__ = True
486
487=== modified file 'tests/vmtests/test_raid5_bcache.py'
488--- tests/vmtests/test_raid5_bcache.py 2017-11-03 21:27:17 +0000
489+++ tests/vmtests/test_raid5_bcache.py 2017-11-28 15:49:16 +0000
490@@ -99,3 +99,7 @@
491
492 class ArtfulTestRaid5Bcache(relbase.artful, TestMdadmBcacheAbs):
493 __test__ = True
494+
495+
496+class BionicTestRaid5Bcache(relbase.bionic, TestMdadmBcacheAbs):
497+ __test__ = True
498
499=== modified file 'tests/vmtests/test_simple.py'
500--- tests/vmtests/test_simple.py 2017-08-02 15:46:35 +0000
501+++ tests/vmtests/test_simple.py 2017-11-28 15:49:16 +0000
502@@ -46,3 +46,7 @@
503
504 class ArtfulTestSimple(relbase.artful, TestSimple):
505 __test__ = True
506+
507+
508+class BionicTestSimple(relbase.bionic, TestSimple):
509+ __test__ = True
510
511=== modified file 'tests/vmtests/test_uefi_basic.py'
512--- tests/vmtests/test_uefi_basic.py 2017-11-03 21:27:17 +0000
513+++ tests/vmtests/test_uefi_basic.py 2017-11-28 15:49:16 +0000
514@@ -105,6 +105,10 @@
515 __test__ = True
516
517
518+class BionicUefiTestBasic(relbase.bionic, TestBasicAbs):
519+ __test__ = True
520+
521+
522 class TrustyUefiTestBasic4k(TrustyUefiTestBasic):
523 disk_block_size = 4096
524
525@@ -123,3 +127,7 @@
526
527 class ArtfulUefiTestBasic4k(ArtfulUefiTestBasic):
528 disk_block_size = 4096
529+
530+
531+class BionicUefiTestBasic4k(BionicUefiTestBasic):
532+ disk_block_size = 4096

Subscribers

People subscribed via source and target branches