Skip to content

Commit

Permalink
Add sle15sp6 QR tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rfan1 committed Jul 9, 2024
1 parent ab8bd81 commit ac8af69
Show file tree
Hide file tree
Showing 83 changed files with 3,667 additions and 0 deletions.
93 changes: 93 additions & 0 deletions schedule/qam/QR/15-SP6/btrfs/btrfs_sle_libstorage-ng.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: btrfs_libstorage-ng
description: >
Validate default installation with btrfs and libstorage-ng.
vars:
DESKTOP: gnome
FILESYSTEM: btrfs
YUI_REST_API: 1
schedule:
# Called on BACKEND: qemu
- '{{isosize}}'
- installation/bootloader_start
- installation/setup_libyui
- installation/welcome
# Called only on BACKEND: s390x
- '{{disk_activation}}'
- installation/scc_registration
- installation/addon_products_sle
- installation/system_role
- installation/partitioning/select_guided_setup
- installation/partitioning/guided_setup
- installation/partitioning/accept_proposed_layout
- installation/installer_timezone
# Called on all, except BACKEND: s390x
- '{{hostname_inst}}'
- installation/user_settings
- installation/user_settings_root
- 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/handle_reboot
- installation/first_boot
- console/system_prepare
- console/force_scheduled_tasks
- console/check_resume
- console/validate_no_cow_attribute
# On all the backends except s390x, /home is located on a separate partition
- '{{validate_home_partition}}'
conditional_schedule:
isosize:
BACKEND:
qemu:
- installation/isosize
disk_activation:
BACKEND:
s390x:
- installation/disk_activation
hostname_inst:
BACKEND:
qemu:
- installation/hostname_inst
svirt:
- installation/hostname_inst
validate_home_partition:
BACKEND:
qemu:
- console/verify_separate_home
- console/validate_partition_table_via_blkid
- console/validate_blockdevices
svirt:
- console/verify_separate_home
- console/validate_partition_table_via_blkid
- console/validate_blockdevices
s390x:
- console/verify_no_separate_home
test_data:
subvolume:
cow:
- /root
- /tmp
- /usr/local
- /.snapshots
- /srv
- /opt
no_cow:
- /var
disks:
- name: vda
table_type: gpt
partitions:
- name: vda2
formatting_options:
filesystem: btrfs
mounting_options:
mount_point: /
- name: vda3
formatting_options:
filesystem: xfs
mounting_options:
mount_point: /home
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: btrfs_libstorage-ng@s390x_zvm
description: >
Validate default installation with btrfs and libstorage-ng.
vars:
DESKTOP: gnome
FILESYSTEM: btrfs
YUI_REST_API: 1
schedule:
- installation/bootloader_start
- installation/setup_libyui
- installation/welcome
- installation/disk_activation
- installation/scc_registration
- installation/addon_products_sle
- installation/system_role
- installation/partitioning/select_guided_setup
- installation/partitioning/guided_setup
- installation/partitioning/accept_proposed_layout
- installation/installer_timezone
- installation/user_settings
- installation/user_settings_root
- 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
- boot/reconnect_mgmt_console
- installation/first_boot
- console/system_prepare
- console/force_scheduled_tasks
- console/check_resume
- console/validate_no_cow_attribute
- console/verify_no_separate_home
test_data:
device: vda
table_type: gpt
subvolume:
cow:
- /root
- /tmp
- /usr/local
- /.snapshots
- /srv
- /opt
no_cow:
- /var
file_system:
/home: xfs
/: btrfs
43 changes: 43 additions & 0 deletions schedule/qam/QR/15-SP6/crypt_no_lvm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: crypt_no_lvm
description: >
Test installation with encrypted partitions but without lvm enabled.
This is supported only by storage-ng, hence, do NOT enable test suite on
distris without storage-ng.
Encrypted installations can take longer, especially on non-x86_64
architectures.
vars:
DESKTOP: gnome
ENCRYPT: 1
LVM: 0
MAX_JOB_TIME: 14400
YUI_REST_API: 1
schedule:
- installation/bootloader_start
- installation/setup_libyui
- installation/product_selection/install_SLES
- installation/licensing/accept_license
- installation/registration/register_via_scc
- installation/module_registration/register_module_desktop
- installation/add_on_product/skip_install_addons
- installation/system_role/accept_selected_role_SLES_with_GNOME
- installation/partitioning/select_guided_setup
- installation/partitioning/guided_setup/encrypt_simple_pwd
- installation/partitioning/guided_setup/accept_default_fs_options
- installation/partitioning/accept_proposed_layout
- installation/clock_and_timezone/accept_timezone_configuration
- installation/authentication/use_same_password_for_root
- installation/authentication/default_user_simple_pwd
- 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/boot_encrypt
- installation/first_boot
- console/system_prepare
- console/validate_encrypt
test_data:
<<: !include test_data/qam/QR/15-SP6/encryption/encrypt_no_lvm.yaml
39 changes: 39 additions & 0 deletions schedule/qam/QR/15-SP6/encryption/cryptlvm_sle_15.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
description: >
Conduct installation with encrypted LVM selected during installation.
Generated disk image used in downstream jobs. (crypt-)LVM installations can
take longer, especially on non-x86_64 architectures.
name: cryptlvm
vars:
YUI_REST_API: 1
schedule:
- installation/bootloader_start
- installation/setup_libyui
- installation/product_selection/install_SLES
- installation/licensing/accept_license
- installation/registration/register_via_scc
- installation/module_registration/register_module_desktop
- installation/add_on_product/skip_install_addons
- installation/system_role/accept_selected_role_SLES_with_GNOME
- installation/partitioning/select_guided_setup
- installation/partitioning/guided_setup/encrypt_lvm_simple_pwd
- installation/partitioning/guided_setup/accept_default_fs_options
- installation/partitioning/accept_proposed_layout
- installation/clock_and_timezone/accept_timezone_configuration
- installation/authentication/use_same_password_for_root
- installation/authentication/default_user_simple_pwd
- 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/boot_encrypt
- installation/first_boot
- console/validate_lvm
- console/validate_encrypt
- console/zypper_lr
- console/yast2_i
- shutdown/cleanup_before_shutdown
- shutdown/shutdown
50 changes: 50 additions & 0 deletions schedule/qam/QR/15-SP6/encryption/lvm_encrypt_separate_boot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
name: lvm-encrypt-separate-boot
description: >
Same as lvm-full-encrypt, but with separate boot not encrypted partition, only
installation to not repeat everything again with small risk.
vars:
UNENCRYPTED_BOOT: 1
ENCRYPT: 1
FULL_LVM_ENCRYPT: 1
YUI_REST_API: 1
conditional_schedule:
boot_encrypt_reconnect_mgmt_console:
ARCH:
s390x:
- installation/boot_encrypt
- installation/handle_reboot
grub_test_boot_encrypt:
BACKEND:
qemu:
- installation/handle_reboot
- installation/boot_encrypt
schedule:
- installation/bootloader_start
- installation/setup_libyui
- installation/welcome
- installation/scc_registration
- installation/addon_products_sle
- installation/system_role
- installation/partitioning
- installation/partitioning/new_partitioning_gpt
- installation/installer_timezone
- installation/hostname_inst
- installation/user_settings
- installation/user_settings_root
- 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
- '{{boot_encrypt_reconnect_mgmt_console}}'
- '{{grub_test_boot_encrypt}}'
- installation/first_boot
- console/hostname
- console/system_prepare
- console/force_scheduled_tasks
- shutdown/grub_set_bootargs
- console/validate_lvm
- console/validate_encrypt
38 changes: 38 additions & 0 deletions schedule/qam/QR/15-SP6/ext4/ext4.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: ext4
description: >
Test for ext4 filesystem.
vars:
DESKTOP: gnome
FILESYSTEM: ext4
YUI_REST_API: 1
schedule:
- installation/bootloader_start
- installation/setup_libyui
- installation/welcome
- installation/scc_registration
- installation/addon_products_sle
- installation/system_role
- installation/partitioning/select_guided_setup
- installation/partitioning/guided_setup
- installation/partitioning/accept_proposed_layout
- installation/installer_timezone
- installation/user_settings
- installation/user_settings_root
- 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
- console/validate_partition_table_via_blkid
- console/validate_blockdevices
- console/validate_free_space
test_data:
guided_partitioning:
filesystem_options:
root_filesystem_type: ext4
<<: !include test_data/qam/QR/15-SP6/ext4/ext4.yaml
36 changes: 36 additions & 0 deletions schedule/qam/QR/15-SP6/ext4/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: ext4@yast-s390x-disk-activation
description: >
Test for ext4 filesystem.
Requires disk activation and grub is not displayed due to console reconnection.
vars:
FILESYSTEM: ext4
FORMAT_DASD: pre_install
YUI_REST_API: 1
schedule:
- installation/bootloader_start
- installation/setup_libyui
- installation/welcome
- installation/disk_activation
- installation/scc_registration
- installation/addon_products_sle
- installation/system_role
- installation/partitioning/select_guided_setup
- installation/partitioning/guided_setup
- installation/partitioning/accept_proposed_layout
- installation/installer_timezone
- installation/user_settings
- installation/user_settings_root
- 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/handle_reboot
- installation/first_boot
- console/validate_partition_table_via_parted
- console/validate_blockdevices
test_data:
<<: !include test_data/qam/QR/15-SP6/ext4/ext4_s390x-disk-activation.yaml
41 changes: 41 additions & 0 deletions schedule/qam/QR/15-SP6/ext4/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
name: ext4@yast-s390x
description: >
Test for ext4 filesystem.
Grub is not displayed due to console reconnection.
vars:
DESKTOP: gnome
FILESYSTEM: ext4
FORMAT_DASD: install
YUI_REST_API: 1
schedule:
- installation/bootloader_start
- installation/setup_libyui
- installation/welcome
- installation/scc_registration
- installation/addon_products_sle
- installation/system_role
- installation/partitioning/select_guided_setup
- installation/partitioning/guided_setup
- installation/partitioning/accept_proposed_layout
- installation/installer_timezone
- installation/user_settings
- installation/user_settings_root
- 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/handle_reboot
- installation/first_boot
- console/validate_partition_table_via_blkid
- console/validate_blockdevices
- console/validate_free_space
- console/validate_read_write
test_data:
guided_partitioning:
filesystem_options:
root_filesystem_type: ext4
<<: !include test_data/qam/QR/15-SP6/ext4/ext4_s390x.yaml
Loading

0 comments on commit ac8af69

Please sign in to comment.