Project

General

Profile

Actions

action #89975

closed

[desktop][sle15sp3] Test the "secure boot + dual boot" for SLED

Added by yfjiang over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
2021-03-12
Due date:
% Done:

100%

Estimated time:
Difficulty:

Description

SLE release team noticed a necessity of adapting a TW openqa test for our SLE product:
https://openqa.opensuse.org/tests/1657341#step/boot_windows/2
to cover the "secure boot + dual boot" for SLED

The case contributed to found a bug on TW, and SLE-15-SP3 is also affected by
the problem:

https://bugzilla.suse.com/show_bug.cgi?id=1183073

Please let us have the same test on SLE so we can be sure this can be tested for future releases.

Actions #1

Updated by yfjiang over 3 years ago

  • Assignee set to GraceWang

Append to Grace's queue as a part of dual boot testing. Thanks!

Actions #2

Updated by GraceWang over 3 years ago

I'm working on this ticket and found the existing dual boot test suites are still using windows-10-x86_64-1511@%MACHINE%.qcow2. I've updated the configurations to use the newer one windows-10-x86_64-20H2@windows_bios_boot.qcow2

Verification test runs:
gnome-dual-windows10@64bit_win https://openqa.nue.suse.com/tests/5795971#
gnome-dual-windows10_extended@64bit_win https://openqa.nue.suse.com/tests/5802400#

Actions #3

Updated by GraceWang over 3 years ago

In terms of the secure dual boot which might be gnome-dual-windows10@windows_uefi_boot
I failed to run this test on o.s.d no matter on build 172.3 or 171.1:
https://openqa.nue.suse.com/tests/5795990#
https://openqa.nue.suse.com/tests/5801995#

But, ran the same tests manually but offline installation locally works fine.
Will continue to see what caused the failure on o.s.d

Actions #4

Updated by GraceWang over 3 years ago

The new windows qcow disk is larger than 50GB
So, the part of code that's used to dealing with disk smaller than 50GB is no longer needed.
Should be removed.

    if (get_var("DUALBOOT")) {
        if (is_sle('15+')) {
            # Based on comment from Dev in bsc#1089723, 50GB disk is not a real-world use case for dual boot
            # We use 50GB for dual-boot openQA testing in order to save space
            assert_screen "delete-partition";
            send_key "alt-g";
            assert_and_click "resize-or-remove-ifneeded";
            send_key "up";
            assert_and_click "resize-ifneeded";
            for (1 .. 3) { send_key "alt-n"; }
        }
    }
Actions #5

Updated by GraceWang over 3 years ago

  • Status changed from New to In Progress
Actions #6

Updated by GraceWang over 3 years ago

  • % Done changed from 0 to 80

PR:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/12314

Verification run:
gnome-dual-windows10@64bit_win https://openqa.nue.suse.com/tests/5818946
gnome-dual-windows10_extended@64bit_win https://openqa.nue.suse.com/tests/5818949
gnome-dual-windows10@windows_uefi_boot https://openqa.nue.suse.com/tests/5821699

Actions #7

Updated by GraceWang over 3 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 80 to 100

PR got merged.

Actions

Also available in: Atom PDF