diff --git a/tests/install/test.py b/tests/install/test.py index 94b86faf..1d6661b0 100644 --- a/tests/install/test.py +++ b/tests/install/test.py @@ -308,57 +308,6 @@ def test_boot_inst(self, create_vms, firmware, version, machine, package_source, local_sr): self._test_firstboot(create_vms, version, machine=machine) - @pytest.mark.usefixtures("xcpng_chained") - @pytest.mark.parametrize("local_sr", ("nosr", "ext", "lvm")) - @pytest.mark.parametrize("package_source", ("iso", "net")) - @pytest.mark.parametrize("machine", ("host1", "host2")) - @pytest.mark.parametrize("mode", ( - "83nightly-83nightly", - "83rc1-83nightly", - "83b2-83nightly", - "83b1-83nightly", - "821.1-83nightly", - "81-83nightly", - "80-83nightly", - "ch821.1-83nightly", - "xs8-83nightly", - "83rcnet-83rcnet", - "821.1-821.1", - )) - @pytest.mark.parametrize("firmware", ("uefi", "bios")) - @pytest.mark.continuation_of( - lambda firmware, mode, machine, package_source, local_sr: [dict( - vm="vm1", - image_test=(f"TestNested::test_upgrade[{firmware}-{mode}-{machine}-{package_source}-{local_sr}]"))]) - def test_boot_upg(self, create_vms, - firmware, mode, machine, package_source, local_sr): - self._test_firstboot(create_vms, mode, machine=machine) - - @pytest.mark.usefixtures("xcpng_chained") - @pytest.mark.parametrize("local_sr", ("nosr", "ext", "lvm")) - @pytest.mark.parametrize("package_source", ("iso", "net")) - @pytest.mark.parametrize("mode", ( - "83nightly-83nightly-83nightly", - "83rc1-83nightly-83nightly", - "83b2-83nightly-83nightly", - "83b1-83nightly-83nightly", - "821.1-83nightly-83nightly", - "81-83nightly-83nightly", - "80-83nightly-83nightly", - "ch821.1-83nightly-83nightly", - "xs8-83nightly-83nightly", - "83rcnet-83rcnet", "83rcnet-83rcnet-83rcnet", # FIXME - "821.1-821.1-821.1", - )) - @pytest.mark.parametrize("firmware", ("uefi", "bios")) - @pytest.mark.continuation_of( - lambda firmware, mode, package_source, local_sr: [dict( - vm="vm1", - image_test=(f"TestNested::test_restore[{firmware}-{mode}-{package_source}-{local_sr}]"))]) - def test_boot_rst(self, create_vms, - firmware, mode, package_source, local_sr): - self._test_firstboot(create_vms, mode) - @pytest.mark.usefixtures("xcpng_chained") @pytest.mark.parametrize("local_sr", ("nosr", "ext", "lvm")) @pytest.mark.parametrize("package_source", ("iso", "net")) @@ -392,6 +341,32 @@ def test_upgrade(self, vm_booted_with_installer, install_disk, host_vm = vm_booted_with_installer installer.monitor_upgrade(ip=host_vm.ip) + @pytest.mark.usefixtures("xcpng_chained") + @pytest.mark.parametrize("local_sr", ("nosr", "ext", "lvm")) + @pytest.mark.parametrize("package_source", ("iso", "net")) + @pytest.mark.parametrize("machine", ("host1", "host2")) + @pytest.mark.parametrize("mode", ( + "83nightly-83nightly", + "83rc1-83nightly", + "83b2-83nightly", + "83b1-83nightly", + "821.1-83nightly", + "81-83nightly", + "80-83nightly", + "ch821.1-83nightly", + "xs8-83nightly", + "83rcnet-83rcnet", + "821.1-821.1", + )) + @pytest.mark.parametrize("firmware", ("uefi", "bios")) + @pytest.mark.continuation_of( + lambda firmware, mode, machine, package_source, local_sr: [dict( + vm="vm1", + image_test=(f"TestNested::test_upgrade[{firmware}-{mode}-{machine}-{package_source}-{local_sr}]"))]) + def test_boot_upg(self, create_vms, + firmware, mode, machine, package_source, local_sr): + self._test_firstboot(create_vms, mode, machine=machine) + @pytest.mark.usefixtures("xcpng_chained") @pytest.mark.parametrize("local_sr", ("nosr", "ext", "lvm")) @pytest.mark.parametrize("package_source", ("iso", "net")) @@ -422,3 +397,28 @@ def test_restore(self, vm_booted_with_installer, install_disk, firmware, orig_version, iso_version, package_source, local_sr): host_vm = vm_booted_with_installer installer.monitor_restore(ip=host_vm.ip) + + @pytest.mark.usefixtures("xcpng_chained") + @pytest.mark.parametrize("local_sr", ("nosr", "ext", "lvm")) + @pytest.mark.parametrize("package_source", ("iso", "net")) + @pytest.mark.parametrize("mode", ( + "83nightly-83nightly-83nightly", + "83rc1-83nightly-83nightly", + "83b2-83nightly-83nightly", + "83b1-83nightly-83nightly", + "821.1-83nightly-83nightly", + "81-83nightly-83nightly", + "80-83nightly-83nightly", + "ch821.1-83nightly-83nightly", + "xs8-83nightly-83nightly", + "83rcnet-83rcnet", "83rcnet-83rcnet-83rcnet", # FIXME + "821.1-821.1-821.1", + )) + @pytest.mark.parametrize("firmware", ("uefi", "bios")) + @pytest.mark.continuation_of( + lambda firmware, mode, package_source, local_sr: [dict( + vm="vm1", + image_test=(f"TestNested::test_restore[{firmware}-{mode}-{package_source}-{local_sr}]"))]) + def test_boot_rst(self, create_vms, + firmware, mode, package_source, local_sr): + self._test_firstboot(create_vms, mode)