Project

General

Profile

Actions

action #155683

closed

coordination #152769: [epic] Reduction of yaml files in YaST installations

Create a default yaml schedule for aarch64

Added by zoecao 10 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Start date:
2024-02-20
Due date:
% Done:

0%

Estimated time:

Description

Motivation :

On aarch64 there is now only one product, which means, that YaST won't show a product selection page. Schedules based on libyui fail because they still expect a product selection:
https://openqa.suse.de/tests/13550270#step/install_SLES/1

The solution is to create a default yaml schedule for aarch64 and stop using the default_x68_64.yaml as the YAML_SCHEDULE_DEFAULT on aarch64 in YaST group. Remember to remove the install_SLES when creating the default_aarch64.yaml.

Acceptance Criteria :

[AC1] : Create default_aarch64.yaml as default yaml schedule (without install_SLES test module)
[AC2] : Update the aarch64 libyui installation testsuites settings of YAML_SCHEDULE_DEFAULT by using the created default_aarch64.yaml, stop using default_x68_64.yaml.

Additional info :

The testsuites list need to be updated is the install_SLES failures on aarch64 within this build:
https://openqa.suse.de/tests/overview?arch=aarch64&flavor=&machine=&test=&modules=&module_re=&group_glob=¬_group_glob=&comment=&version=15-SP6&groupid=129&distri=sle&build=57.1#

Actions #1

Updated by rainerkoenig 10 months ago

Made a quick commandline to extract all YAML_SCHEDULE settings from the failed jobs:

$ curl -k -X GET "https://openqa.suse.de/api/v1/jobs?result=failed&arch=aarch64&flavor=&machine=&test=&modules=install_SLES&module_re=&group_glob=&not_group_glob=&comment=&result=failed&result=failed&distri=sle&version=15-SP6&build=57.1&groupid=129" 2>/dev/null | jq | grep YAML_SCHEDULE
        "YAML_SCHEDULE": "schedule/yast/textmode/ha_textmode_skip_registration_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml"
        "YAML_SCHEDULE": "schedule/yast/textmode/ha_textmode_skip_registration_minimal_base_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml"
        "YAML_SCHEDULE": "schedule/yam/test_cases/skip_registration.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml"
        "YAML_SCHEDULE": "schedule/yam/test_cases/select_modules_and_patterns+registration.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",
        "YAML_SCHEDULE": "schedule/yam/test_cases/raid0_sle_gpt.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",
        "YAML_SCHEDULE": "schedule/yast/btrfs/btrfs+warnings_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",
        "YAML_SCHEDULE": "schedule/yast/transactional_server/create_hdd_transactional_server_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml"
        "YAML_SCHEDULE": "schedule/yast/encryption/crypt_no_lvm_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",
        "YAML_SCHEDULE": "schedule/yast/encryption/cryptlvm_sle_15_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",
        "YAML_SCHEDULE": "schedule/yast/sle/guided_btrfs/guided_btrfs_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml"
        "YAML_SCHEDULE": "schedule/yast/sle/guided_ext4/guided_ext4.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default.yaml",
        "YAML_SCHEDULE_FLOWS": "desktop,guided"
        "YAML_SCHEDULE": "schedule/yast/sle/guided_xfs/guided_xfs.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default.yaml",
        "YAML_SCHEDULE_FLOWS": "desktop,guided",
        "YAML_SCHEDULE": "schedule/yast/textmode/ha_textmode_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml"
        "YAML_SCHEDULE": "schedule/yast/textmode/ha_textmode_minimal_base_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml"
        "YAML_SCHEDULE": "schedule/yast/installer_extended/installer_extended_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",
        "YAML_SCHEDULE": "schedule/yast/lvm/lvm_sle_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml"
        "YAML_SCHEDULE": "schedule/yast/lvm_raid1/lvm+raid1_sle15_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",
        "YAML_SCHEDULE": "schedule/yast/encryption/lvm_encrypt_separate_boot_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",
        "YAML_SCHEDULE": "schedule/yast/encryption/lvm_full_encrypt_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",
        "YAML_SCHEDULE": "schedule/yast/lvm_multipath_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",
        "YAML_SCHEDULE": "schedule/yast/lvm_multipath_encrypted_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",
        "YAML_SCHEDULE": "schedule/yast/lvm/lvm_thin_provisioning_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",
        "YAML_SCHEDULE": "schedule/yast/minimal+base/minimal+base@yast_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",
        "YAML_SCHEDULE": "schedule/yast/minimal+role_minimal/minimal+role_minimal_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",
        "YAML_SCHEDULE": "schedule/yast/modify_existing_partition/modify_existing_partition_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",
        "YAML_SCHEDULE": "schedule/yast/msdos/msdos_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",
        "YAML_SCHEDULE": "schedule/yast/select_disk/select_disk_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",
        "YAML_SCHEDULE": "schedule/yast/select_modules_and_patterns/select_modules_and_patterns.yaml",
        "YAML_SCHEDULE": "schedule/yast/textmode/textmode_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",
        "YAML_SCHEDULE": "schedule/yast/yast_hostname/yast_hostname_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml"
        "YAML_SCHEDULE": "schedule/yast/yast_hostname/yast_hostname+dhcp_hostname_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml"
        "YAML_SCHEDULE": "schedule/yast/yast_hostname/yast_hostname+linuxrc_hostname_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml"
        "YAML_SCHEDULE": "schedule/yast/yast_no_self_update/yast_no_self_update_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml"
        "YAML_SCHEDULE": "schedule/yast/yast_self_update/yast_self_update_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml"
        "YAML_SCHEDULE": "schedule/yast/textmode/ha_textmode_skip_registration_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml"
        "YAML_SCHEDULE": "schedule/yast/textmode/ha_textmode_skip_registration_minimal_base_aarch64.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml"
        "YAML_SCHEDULE": "schedule/yam/test_cases/skip_registration.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml"
        "YAML_SCHEDULE": "schedule/yam/test_cases/select_modules_and_patterns+registration.yaml",
        "YAML_SCHEDULE_DEFAULT": "schedule/yast/sle/flows/default_x86_64.yaml",

Looks like we still have 2 tests that use YAML_SCHEDULE_FLOWS in aarch64. That should be corrected as well sooner or later.

Actions #2

Updated by JERiveraMoya 10 months ago

  • Tags set to qe-yam-feb-sprint
  • Status changed from New to Workable
  • Priority changed from Normal to High
  • Parent task set to #151816
Actions #3

Updated by rainerkoenig 10 months ago

  • Status changed from Workable to In Progress
  • Assignee set to rainerkoenig
Actions #4

Updated by JERiveraMoya 10 months ago

For failures in normal snapshot it is not needed to have high priority, just normal and order on top of the board, but I consider this more important due to the decrease of test coverage and being the solution Yam squad related (enhancement of our own tooling), just my two cents as PO :)

Actions #6

Updated by JERiveraMoya 10 months ago

  • Status changed from In Progress to Resolved
Actions #7

Updated by JERiveraMoya 10 months ago

  • Parent task changed from #151816 to #152769
Actions

Also available in: Atom PDF