@@ -306,57 +306,6 @@ def test_boot_inst(self, create_vms,
306
306
firmware , version , machine , package_source , local_sr ):
307
307
self ._test_firstboot (create_vms , version , machine = machine )
308
308
309
- @pytest .mark .usefixtures ("xcpng_chained" )
310
- @pytest .mark .parametrize ("local_sr" , ("nosr" , "ext" , "lvm" ))
311
- @pytest .mark .parametrize ("package_source" , ("iso" , "net" ))
312
- @pytest .mark .parametrize ("machine" , ("host1" , "host2" ))
313
- @pytest .mark .parametrize ("mode" , (
314
- "83nightly-83nightly" ,
315
- "83rc1-83nightly" ,
316
- "83b2-83nightly" ,
317
- "83b1-83nightly" ,
318
- "821.1-83nightly" ,
319
- "81-83nightly" ,
320
- "80-83nightly" ,
321
- "xs8-83nightly" ,
322
- "ch821.1-83nightly" ,
323
- "83rcnet-83rcnet" ,
324
- "821.1-821.1" ,
325
- ))
326
- @pytest .mark .parametrize ("firmware" , ("uefi" , "bios" ))
327
- @pytest .mark .continuation_of (
328
- lambda firmware , mode , machine , package_source , local_sr : [dict (
329
- vm = "vm1" ,
330
- image_test = (f"TestNested::test_upgrade[{ firmware } -{ mode } -{ machine } -{ package_source } -{ local_sr } ]" ))])
331
- def test_boot_upg (self , create_vms ,
332
- firmware , mode , machine , package_source , local_sr ):
333
- self ._test_firstboot (create_vms , mode , machine = machine )
334
-
335
- @pytest .mark .usefixtures ("xcpng_chained" )
336
- @pytest .mark .parametrize ("local_sr" , ("nosr" , "ext" , "lvm" ))
337
- @pytest .mark .parametrize ("package_source" , ("iso" , "net" ))
338
- @pytest .mark .parametrize ("mode" , (
339
- "83nightly-83nightly-83nightly" ,
340
- "83rc1-83nightly-83nightly" ,
341
- "83b2-83nightly-83nightly" ,
342
- "83b1-83nightly-83nightly" ,
343
- "821.1-83nightly-83nightly" ,
344
- "81-83nightly-83nightly" ,
345
- "80-83nightly-83nightly" ,
346
- "xs8-83nightly-83nightly" ,
347
- "ch821.1-83nightly-83nightly" ,
348
- "83rcnet-83rcnet-83rcnet" , # FIXME
349
- "821.1-821.1-821.1" ,
350
- ))
351
- @pytest .mark .parametrize ("firmware" , ("uefi" , "bios" ))
352
- @pytest .mark .continuation_of (
353
- lambda firmware , mode , package_source , local_sr : [dict (
354
- vm = "vm1" ,
355
- image_test = (f"TestNested::test_restore[{ firmware } -{ mode } -{ package_source } -{ local_sr } ]" ))])
356
- def test_boot_rst (self , create_vms ,
357
- firmware , mode , package_source , local_sr ):
358
- self ._test_firstboot (create_vms , mode , is_restore = True )
359
-
360
309
@pytest .mark .usefixtures ("xcpng_chained" )
361
310
@pytest .mark .parametrize ("local_sr" , ("nosr" , "ext" , "lvm" ))
362
311
@pytest .mark .parametrize ("package_source" , ("iso" , "net" ))
@@ -393,6 +342,32 @@ def test_upgrade(self, vm_booted_with_installer, install_disk,
393
342
host_vm = vm_booted_with_installer
394
343
installer .monitor_upgrade (ip = host_vm .ip )
395
344
345
+ @pytest .mark .usefixtures ("xcpng_chained" )
346
+ @pytest .mark .parametrize ("local_sr" , ("nosr" , "ext" , "lvm" ))
347
+ @pytest .mark .parametrize ("package_source" , ("iso" , "net" ))
348
+ @pytest .mark .parametrize ("machine" , ("host1" , "host2" ))
349
+ @pytest .mark .parametrize ("mode" , (
350
+ "83nightly-83nightly" ,
351
+ "83rc1-83nightly" ,
352
+ "83b2-83nightly" ,
353
+ "83b1-83nightly" ,
354
+ "821.1-83nightly" ,
355
+ "81-83nightly" ,
356
+ "80-83nightly" ,
357
+ "xs8-83nightly" ,
358
+ "ch821.1-83nightly" ,
359
+ "83rcnet-83rcnet" ,
360
+ "821.1-821.1" ,
361
+ ))
362
+ @pytest .mark .parametrize ("firmware" , ("uefi" , "bios" ))
363
+ @pytest .mark .continuation_of (
364
+ lambda firmware , mode , machine , package_source , local_sr : [dict (
365
+ vm = "vm1" ,
366
+ image_test = (f"TestNested::test_upgrade[{ firmware } -{ mode } -{ machine } -{ package_source } -{ local_sr } ]" ))])
367
+ def test_boot_upg (self , create_vms ,
368
+ firmware , mode , machine , package_source , local_sr ):
369
+ self ._test_firstboot (create_vms , mode , machine = machine )
370
+
396
371
@pytest .mark .usefixtures ("xcpng_chained" )
397
372
@pytest .mark .parametrize ("local_sr" , ("nosr" , "ext" , "lvm" ))
398
373
@pytest .mark .parametrize ("package_source" , ("iso" , "net" ))
@@ -423,3 +398,28 @@ def test_restore(self, vm_booted_with_installer, install_disk,
423
398
firmware , orig_version , iso_version , package_source , local_sr ):
424
399
host_vm = vm_booted_with_installer
425
400
installer .monitor_restore (ip = host_vm .ip )
401
+
402
+ @pytest .mark .usefixtures ("xcpng_chained" )
403
+ @pytest .mark .parametrize ("local_sr" , ("nosr" , "ext" , "lvm" ))
404
+ @pytest .mark .parametrize ("package_source" , ("iso" , "net" ))
405
+ @pytest .mark .parametrize ("mode" , (
406
+ "83nightly-83nightly-83nightly" ,
407
+ "83rc1-83nightly-83nightly" ,
408
+ "83b2-83nightly-83nightly" ,
409
+ "83b1-83nightly-83nightly" ,
410
+ "821.1-83nightly-83nightly" ,
411
+ "81-83nightly-83nightly" ,
412
+ "80-83nightly-83nightly" ,
413
+ "xs8-83nightly-83nightly" ,
414
+ "ch821.1-83nightly-83nightly" ,
415
+ "83rcnet-83rcnet-83rcnet" , # FIXME
416
+ "821.1-821.1-821.1" ,
417
+ ))
418
+ @pytest .mark .parametrize ("firmware" , ("uefi" , "bios" ))
419
+ @pytest .mark .continuation_of (
420
+ lambda firmware , mode , package_source , local_sr : [dict (
421
+ vm = "vm1" ,
422
+ image_test = (f"TestNested::test_restore[{ firmware } -{ mode } -{ package_source } -{ local_sr } ]" ))])
423
+ def test_boot_rst (self , create_vms ,
424
+ firmware , mode , package_source , local_sr ):
425
+ self ._test_firstboot (create_vms , mode , is_restore = True )
0 commit comments