From 0add41f4d50a600567b5e5ceb6985f3d91bc5a75 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Dec 03 2019 21:20:41 +0000 Subject: Add upgrade_2 (previous release) version of FreeIPA upgrade tests We don't have the upgrade_2 variant of these tests ATM but we should, because it's in the criteria. Easy enough to add these. Signed-off-by: Adam Williamson --- diff --git a/templates b/templates index c17a9fe..cc776f8 100755 --- a/templates +++ b/templates @@ -1670,6 +1670,28 @@ }, { machine => { name => "64bit" }, + prio => 30, + product => { + arch => "x86_64", + distri => "fedora", + flavor => "universal", + version => "*", + }, + test_suite => { name => "upgrade_2_server_domain_controller" }, + }, + { + machine => { name => "64bit" }, + prio => 30, + product => { + arch => "x86_64", + distri => "fedora", + flavor => "universal", + version => "*", + }, + test_suite => { name => "upgrade_2_realmd_client" }, + }, + { + machine => { name => "64bit" }, prio => 40, product => { arch => "x86_64", @@ -5239,6 +5261,44 @@ ], }, { + name => "upgrade_2_server_domain_controller", + settings => [ + { key => "PARALLEL_CANCEL_WHOLE_CLUSTER", value => "0" }, + { key => "ROOT_PASSWORD", value => "weakpassword" }, + { key => "+HDD_1", value => "disk_f%PREVREL%_server_3_%ARCH%.img" }, + { key => "UPGRADE", value => "1" }, + { key => "TEST_TARGET", value => "COMPOSE" }, + { key => "PREUPGRADE", value => "role_deploy_domain_controller" }, + { key => "POSTINSTALL", value => "role_deploy_domain_controller_check" }, + { key => "USER_LOGIN", value => "false" }, + { key => "GRUB_POSTINSTALL", value => "net.ifnames=0 biosdevname=0" }, + { key => "BOOTFROM", value => "c" }, + { key => "GRUB", value => "net.ifnames=0 biosdevname=0" }, + { key => "POST_STATIC", value => "10.0.2.100 ipa001.domain.local" }, + { key => "NICTYPE", value => "tap" }, + { key => "WORKER_CLASS", value => "tap" }, + ], + }, + { + name => "upgrade_2_realmd_client", + settings => [ + { key => "ROOT_PASSWORD", value => "weakpassword" }, + { key => "+HDD_1", value => "disk_f%PREVREL%_server_3_%ARCH%.img" }, + { key => "UPGRADE", value => "1" }, + { key => "TEST_TARGET", value => "COMPOSE" }, + { key => "PREUPGRADE", value => "realmd_join_sssd" }, + { key => "POSTINSTALL", value => "_setup_browser freeipa_webui freeipa_password_change freeipa_client" }, + { key => "PARALLEL_WITH", value => "upgrade_2_server_domain_controller" }, + { key => "USER_LOGIN", value => "false" }, + { key => "GRUB_POSTINSTALL", value => "net.ifnames=0 biosdevname=0" }, + { key => "BOOTFROM", value => "c" }, + { key => "GRUB", value => "net.ifnames=0 biosdevname=0" }, + { key => "POST_STATIC", value => "10.0.2.103 client003.domain.local" }, + { key => "NICTYPE", value => "tap" }, + { key => "WORKER_CLASS", value => "tap" }, + ], + }, + { name => "upgrade_2_kde_64bit", settings => [ { key => "ROOT_PASSWORD", value => "weakpassword" },