Project

General

Profile

Actions

action #153193

open

Investigate conditions about migration flavors in main.pm

Added by leli 4 months ago. Updated 22 days ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
2024-01-05
Due date:
% Done:

0%

Estimated time:

Description

Motivation:
Now in migration groups(ex migration daily group) uses flavors: Migration-from-SLE12-SPx and Migration-from-SLE15-SPx, and we added many conditions in main.pm related with migration flavors.

lib/main_common.pm:299:    return $flavor =~ /Migration/;
lib/utils.pm:435:    select_console('root-console', await_console => ($flavor =~ /Migration/) ? 1 : 0);

lib/main_common.pm:192:    if (check_var('FLAVOR', 'Migration-from-SLE12-SP5-to-SLE15-SPx') || check_var('FLAVOR', 'Migration-from-SLE12-SP5-to-SLE15-SPx-Milestone')
lib/services/users.pm:103:    if (get_required_var('FLAVOR') =~ /Migration/) {
lib/utils.pm:702:    zypper_call('mr -e -l') if (is_sle('15+') and (get_var('ISO_1', '') =~ /SLE-.*-Packages-.*\.iso/ || check_var('FLAVOR', 'Full') || ((get_required_var('FLAVOR') =~ /Migration/) && get_var('MEDIA_UPGRADE', '')) || get_var('ISO', '') =~ /SLE-.*-Full-.*\.iso/));
lib/version_utils.pm:395:    return get_var('FLAVOR', '') =~ /Migration|migrated/ && check_var('SLE_PRODUCT', 'sles');
lib/opensusebasetest.pm:489:    if (is_sle && get_required_var('FLAVOR') =~ /Migration/ && is_x86_64 && get_var('UEFI')) {
products/sle/main.pm:464:    if (is_sle && (get_var('FLAVOR') =~ /Migration/) && (get_var('SCC_ADDONS') !~ /ha/) && !is_sles4sap && (is_upgrade || get_var('MEDIA_UPGRADE'))) {
products/sle/main.pm:480:    if (is_sle && (get_var('FLAVOR') =~ /Migration/) && (get_var('SCC_ADDONS') !~ /ha/) && !is_sles4sap && (is_upgrade || get_var('MEDIA_UPGRADE'))) {
products/sle/main.pm:509:        if (is_sle && (get_var('FLAVOR') =~ /Migration/) && (get_var('SCC_ADDONS') !~ /ha/) && !is_sles4sap && (is_upgrade || get_var('MEDIA_UPGRADE'))) {
products/sle/main.pm:1146:        if (is_sle && (get_var('FLAVOR') =~ /Migration/) && (get_var('SCC_ADDONS') !~ /ha/) && !is_sles4sap && (is_upgrade || get_var('MEDIA_UPGRADE'))) {
products/sle/main.pm:1182:            if (is_sle && (get_var('FLAVOR') =~ /Migration/) && (get_var('SCC_ADDONS') !~ /ha/) && !is_sles4sap && (is_upgrade || get_var('MEDIA_UPGRADE'))) {
tests/boot/boot_to_desktop.pm:38:    if (is_ppc64le && is_sle && get_required_var('FLAVOR') =~ /Migration/ && get_var('ZDUP') && check_var('HDDVERSION', '15-SP1')) {
tests/console/system_prepare.pm:78:    if (is_sle && get_required_var('FLAVOR') =~ /Migration/) {
tests/console/system_prepare.pm:96:    if (get_var('FLAVOR', '') =~ /Continuous-Migration/) {
tests/installation/await_install.pm:72:    if (get_var('FLAVOR') =~ /Migration/) {
tests/installation/await_install.pm:217:    if (get_var('FLAVOR') =~ /Migration/) {
tests/installation/bootloader_uefi.pm:57:    if (is_sle && get_required_var('FLAVOR') =~ /Migration/ && is_x86_64) {
tests/migration/online_migration/zypper_patch.pm:35:    if (get_var('FLAVOR', '') =~ /Continuous-Migration/) {
tests/migration/online_migration/post_migration.pm:41:    if (get_var('FLAVOR', '') =~ /Continuous-Migration/) {
tests/update/patch_sle.pm:121:    if (get_var('FLAVOR', '') =~ /Continuous-Migration/) {
grep: sle: Too many levels of symbolic links

Acceptance criteria:
AC1: Investigate conditions about migration flavors in main.pm


Related issues 1 (1 open0 closed)

Related to qe-yam - action #153113: Create default settings for each product in Job groups yamlNew2024-01-04

Actions
Actions #1

Updated by JERiveraMoya 4 months ago

  • Related to action #153113: Create default settings for each product in Job groups yaml added
Actions #2

Updated by JERiveraMoya 22 days ago

  • Priority changed from Normal to Low
Actions

Also available in: Atom PDF