Project

General

Profile

action #72067

[sle][migration][SLE15SP3] investigation on remove hdd not boot up workround for aarch64 & BOOT_HDD_IMAGE

Added by coolgw over 1 year ago. Updated over 1 year ago.

Status:
Rejected
Priority:
Low
Assignee:
Category:
Spike/Research
Target version:
-
Start date:
2020-09-29
Due date:
% Done:

0%

Estimated time:
25.00 h
Difficulty:

Description

1)Now seems we can boot from hdd, so why we still need workround for aarch64(on boot phase)?
2)For BOOT_HDD_IMAGE we need further check this value, this is duplicate or not in our code? It's special for aarch64?

History

#1 Updated by coolgw over 1 year ago

  • Priority changed from Normal to Low

#2 Updated by coolgw over 1 year ago

  • Assignee set to coolgw

#3 Updated by coolgw over 1 year ago

1) try to remove the first wordaround part in
diff --git a/lib/opensusebasetest.pm b/lib/opensusebasetest.pm
index 497da0d99..aa8e44984 100644
--- a/lib/opensusebasetest.pm
+++ b/lib/opensusebasetest.pm
@@ -647,11 +647,6 @@ sub wait_grub {
|| (check_var('BOOTFROM', 'd')));
# Enable all migration path on aarch64
# Refer to ticket: https://progress.opensuse.org/issues/49340

  • $self->handle_uefi_boot_disk_workaround <==== remove
  • if (is_aarch64_uefi_boot_hdd
  • && !is_jeos
  • && !$in_grub
  • && (!(isotovideo::get_version() >= 12 && get_var('UEFI_PFLASH_VARS')) || get_var('ONLINE_MIGRATION') || get_var('UPGRADE') || get_var('ZDUP'))); assert_screen(\@tags, $bootloader_time); if (match_has_tag("bootloader-shim-import-prompt")) { send_key "down";

job result:
https://openqa.suse.de/tests/4944244#step/boot_to_desktop/4

summary, after grub page show, the tianocore-mainmenu still popup.

#4 Updated by coolgw over 1 year ago

2) try to run job with BOOT_HDD_IMAGE=1
:/home/os-autoinst-distri-opensuse # /usr/share/openqa/script/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/aarch64-boot-workaround http://openqa.suse.de/tests/4922983 _GROUP=0 BOOT_HDD_IMAGE=1
Created job #4944255: sle-15-SP3-Migration-from-SLE15-SPx-aarch64-Build72.1-offline_sles15sp2_media_basesys-srv-desk_all_full@aarch64 -> http://openqa.suse.de/t4944255
You have new mail in /var/spool/mail/root
still boot from CD with tianocore show again after grub

#5 Updated by coolgw over 1 year ago

3) try add BOOTFROM=c but result show still boot from CD.
localhost:/home/os-autoinst-distri-opensuse # /usr/share/openqa/script/openqa-clone-custom-git-refspec https://github.com/coolgw/os-autoinst-distri-opensuse/tree/aarch64-boot-workaround http://openqa.suse.de/tests/4922983 _GROUP=0 BOOT_HDD_IMAGE=1 BOOTFROM=c
Created job #4944330: sle-15-SP3-Migration-from-SLE15-SPx-aarch64-Build72.1-offline_sles15sp2_media_basesys-srv-desk_all_full@aarch64 -> http://openqa.suse.de/t4944330

#6 Updated by coolgw over 1 year ago

  • Status changed from New to In Progress

#7 Updated by coolgw over 1 year ago

  • Status changed from In Progress to Rejected

Base above result, remove workaround or set setting can not fix this.

Also available in: Atom PDF