Project

General

Profile

Actions

action #176781

closed

coordination #169654: [epic] Create test scenarios for Agama

Add scenario for mediacheck of both installation mediums

Added by JERiveraMoya 3 months ago. Updated 21 days ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Start date:
2025-02-07
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Similar test for SLES 15 SP7: https://openqa.suse.de/tests/overview?arch=&flavor=&machine=&test=mediacheck&modules=&module_re=&group_glob=&not_group_glob=&comment=&distri=sle&version=15-SP7&build=61.1&groupid=129#
If the full medium is fixed, we should do it for both.
Cover the architectures that were already covered in sle 16 and why not? check why wasn't covered in other architectures more exotic, perhaps some technical limitations of some kind? perhaps didn't make sense for some reason?

Let's cover as well the usb case, for instance: https://openqa.suse.de/tests/16682116

https://bugzilla.suse.com/show_bug.cgi?id=1236103
https://github.com/agama-project/agama/pull/1958

Acceptance criteria

  • AC1: Add scenario mediacheck for x86_64 and aarch64.
  • AC2: Investigate for the arch/backend where wasn't this check in sles 15 sp7 powerVM hmc or s390x kvm/zVM.
  • AC3: (optional and only in the scope of qemu) Use Page Object Model (POM) if worth it, but perhaps the current test module works out of the box.
Actions #1

Updated by JERiveraMoya 3 months ago

  • Description updated (diff)
Actions #2

Updated by hjluo 3 months ago

  • Status changed from Workable to In Progress
  • Assignee set to hjluo
Actions #3

Updated by hjluo 3 months ago

  • Manaully tried 5.1 and it'll boot into installation screen. cause PR#1958 just merged 3 days ago.
  • Asked the Developer DM in slack for the available build.
Actions #4

Updated by JERiveraMoya 3 months ago

hjluo wrote in #note-3:

  • Manaully tried 5.1 and it'll boot into installation screen. cause PR#1958 just merged 3 days ago.
  • Asked the Developer DM in slack for the available build.

you can only try with iso in development group.

Actions #5

Updated by JERiveraMoya 3 months ago

I confirmed with developers today that there is not need to run it without uefi and uefi, so we can just run it without.
Fow now, once the check of the medium is done, it offers to continue, user needs to press enter and goes to installation page.

Actions #6

Updated by hjluo 3 months ago

JERiveraMoya wrote in #note-5:

I confirmed with developers today that there is not need to run it without uefi and uefi, so we can just run it without.
Fow now, once the check of the medium is done, it offers to continue, user needs to press enter and goes to installation page.

got it. thank you.

Actions #7

Updated by JERiveraMoya 3 months ago

development is broken at the moment, perhaps tumbleweed could have it: https://openqa.opensuse.org/tests/overview?distri=opensuse&version=agama-9.0&build=56.6&groupid=116
otherwise feel free to change to another ticket.

Actions #9

Updated by JERiveraMoya 2 months ago

  • Assignee deleted (hjluo)
Actions #10

Updated by JERiveraMoya 2 months ago

  • Status changed from In Progress to Workable
Actions #11

Updated by JERiveraMoya about 2 months ago

  • Tags changed from qe-yam-feb-sprint-fy25 to qe-yam-mar-sprint-fy25
Actions #12

Updated by jfernandez about 2 months ago

  • Status changed from Workable to In Progress
  • Assignee set to jfernandez
Actions #14

Updated by JERiveraMoya about 1 month ago

we can resume development of this test scenario from next build that will be available in Development:
https://github.com/agama-project/agama/pull/2165

Actions #15

Updated by jfernandez about 1 month ago

As we can see here, the mediacheck option is not available in ppc64le SP7 ISO https://openqa.suse.de/tests/17102307#step/bootloader_start/19
Same on s390x-kvm it seems to be direct boot https://openqa.suse.de/tests/17102405#step/bootloader_start/44

Maybe we can include mediacheck if kernel parameters allow to run it, or by doing an specific step in the schedule to launch the media check instead of the image.

Actions #16

Updated by JERiveraMoya about 1 month ago

jfernandez wrote in #note-15:

As we can see here, the mediacheck option is not available in ppc64le SP7 ISO https://openqa.suse.de/tests/17102307#step/bootloader_start/19
Same on s390x-kvm it seems to be direct boot https://openqa.suse.de/tests/17102405#step/bootloader_start/44

Maybe we can include mediacheck if kernel parameters allow to run it, or by doing an specific step in the schedule to launch the media check instead of the image.

I'm not aware that is even possible, let's continue focusing in the architecture for which has been available in the past x86_64/aarch64.

Actions #17

Updated by JERiveraMoya about 1 month ago

Let's resume it depending on what we find in aarch64:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/21328#issuecomment-2751076345
Please check with developers if the int. check is really happening there and it is not obvious to see...

Actions #18

Updated by JERiveraMoya about 1 month ago

Some things missing according to results in production:

  • https://openqa.suse.de/tests/17173106 we should shorten the name of the test module to 'check_installation_medium'
  • Enable integrity check also for Full medium
  • Remove additional bootloader kernel cmd-line parameters, other than live.password we don't need anything else.
Actions #19

Updated by jfernandez about 1 month ago

PR: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/21607
The other two points will be solved in the job group configuration

Actions #20

Updated by JERiveraMoya 24 days ago

  • Tags changed from qe-yam-mar-sprint-fy25 to qe-yam-apr-sprint-fy25
Actions #21

Updated by JERiveraMoya 21 days ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF