Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redesign the migration regression cases
We redesign the migration regression cases that spliting a long case into several cases: after migration, publsh a qcow, and then do regression tests with the qcow; for the regression tests, we use INCLUDE_MODULES setting to load the regression test modules. The reason that fix the service check is we check the upgraded services on the second case, it can not check the result in the first job.
- Loading branch information
openQA web UI
committed
Jul 8, 2022
1 parent
25d5da3
commit 9228e52
Showing
4 changed files
with
168 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: create_migrated_hdd_offline.yaml | ||
description: | | ||
This is for creating migrated hdd for regression test. | ||
#REGRESSION_SERVICE: '1' means support service check test. '0' means doesn't | ||
#support service check test, normally set '0' for package media test. | ||
vars: | ||
DESKTOP: 'gnome' | ||
BOOT_HDD_IMAGE: 1 | ||
ORIGIN_SYSTEM_VERSION: '%HDDVERSION%' | ||
UPGRADE_TARGET_VERSION: '%VERSION%' | ||
BOOTFROM: 'd' | ||
schedule: | ||
- migration/version_switch_origin_system | ||
- boot/boot_to_desktop | ||
- update/patch_sle | ||
- migration/record_disk_info | ||
- '{{install_service}}' | ||
- migration/reboot_to_upgrade | ||
- migration/version_switch_upgrade_target | ||
- installation/isosize | ||
- installation/bootloader | ||
- installation/welcome | ||
- installation/upgrade_select | ||
- installation/scc_registration | ||
- installation/addon_products_sle | ||
- installation/resolve_dependency_issues | ||
- installation/installation_overview | ||
- installation/disable_grub_timeout | ||
- installation/start_install | ||
- installation/await_install | ||
- installation/logs_from_installation_system | ||
- installation/reboot_after_installation | ||
- installation/grub_test | ||
- installation/first_boot | ||
- migration/post_upgrade | ||
- console/system_prepare | ||
- console/consoletest_setup | ||
- console/zypper_lr | ||
- console/check_os_release | ||
- console/check_system_info | ||
- shutdown/cleanup_before_shutdown | ||
- shutdown/shutdown | ||
conditional_schedule: | ||
install_service: | ||
REGRESSION_SERVICE: | ||
1: | ||
- installation/install_service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: create_migrated_hdd_online.yaml | ||
description: | | ||
This is for creating hdd for migration regression test. | ||
#REGRESSION_SERVICE: '1' means support service check test. '0' means doesn't | ||
#support service check test, normally set '0' for package media test. | ||
vars: | ||
DESKTOP: gnome | ||
BOOT_HDD_IMAGE: 1 | ||
ORIGIN_SYSTEM_VERSION: '%HDDVERSION%' | ||
UPGRADE_TARGET_VERSION: '%VERSION%' | ||
schedule: | ||
- migration/version_switch_origin_system | ||
- '{{online_migration_test}}' | ||
- '{{install_service}}' | ||
- migration/version_switch_upgrade_target | ||
- migration/online_migration/pre_migration | ||
- '{{migration_method}}' | ||
- migration/online_migration/post_migration | ||
- console/check_os_release | ||
- console/check_system_info | ||
- console/check_network | ||
- console/system_state | ||
- console/prepare_test_data | ||
- console/consoletest_setup | ||
- shutdown/cleanup_before_shutdown | ||
- shutdown/shutdown | ||
conditional_schedule: | ||
migration_method: | ||
MIGRATION_METHOD: | ||
yast: | ||
- migration/online_migration/yast2_migration | ||
zypper: | ||
- migration/online_migration/zypper_migration | ||
online_migration_test: | ||
ONLINE_MIGRATION: | ||
1: | ||
- installation/isosize | ||
- installation/bootloader | ||
- migration/online_migration/online_migration_setup | ||
- migration/online_migration/register_system | ||
- migration/online_migration/zypper_patch | ||
install_service: | ||
REGRESSION_SERVICE: | ||
1: | ||
- installation/install_service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
name: regression.yaml | ||
description: | | ||
This is for migration regression test. | ||
#support service check test, normally set '0' for package media test. | ||
vars: | ||
DESKTOP: 'gnome' | ||
BOOT_HDD_IMAGE: 1 | ||
ORIGIN_SYSTEM_VERSION: '%HDDVERSION%' | ||
UPGRADE_TARGET_VERSION: '%VERSION%' | ||
BOOTFROM: 'd' | ||
schedule: | ||
- installation/bootloader_start | ||
- boot/boot_to_desktop | ||
- console/check_migration_features | ||
- console/check_network | ||
- console/system_state | ||
- console/prepare_test_data | ||
- console/check_upgraded_service | ||
- migration/openldap_to_389ds | ||
# - boot/grub_test_snapshot | ||
- locale/keymap_or_locale | ||
- console/supportutils | ||
- console/force_scheduled_tasks | ||
- console/textinfo | ||
- console/hostname | ||
- console/upgrade_snapshots | ||
- console/x_vt | ||
- console/pam | ||
- console/btrfsmaintenance | ||
- console/java | ||
- console/cpio | ||
- console/zypper_ref | ||
- console/ncurses | ||
- console/yast2_lan | ||
- console/curl_https | ||
- console/salt | ||
- console/glibc_sanity | ||
- console/glibc_tunables | ||
- console/zypper_in | ||
- console/zypper_log | ||
- console/yast2_i | ||
- console/yast2_bootloader | ||
- console/vim | ||
- console/firewall_enabled | ||
- console/krb5 | ||
- console/sshd | ||
- console/ssh_cleanup | ||
- console/mtab | ||
- console/upgrade_snapshots | ||
- console/zypper_lifecycle | ||
- console/orphaned_packages_check | ||
- console/consoletest_finish | ||
- x11/desktop_runner | ||
- x11/xterm | ||
- x11/sshxterm | ||
- x11/gnome_control_center | ||
- x11/gnome_terminal | ||
- x11/gedit | ||
- x11/firefox | ||
- x11/tomcat | ||
- x11/eog | ||
- x11/gnome_music | ||
- x11/wireshark | ||
- x11/ImageMagick | ||
- x11/ghostscript | ||
- x11/ooffice | ||
- x11/oomath | ||
- x11/oocalc | ||
- x11/yast2_snapper | ||
- x11/glxgears | ||
- x11/nautilus | ||
- x11/evolution | ||
- x11/desktop_mainmenu | ||
- x11/reboot_gnome | ||
- shutdown/shutdown |