Project

General

Profile

Actions

action #153808

open

[qe-core] Adapt first_boot and boot to desktop - DESKTOP=gnome System's ram must be at least 4GB

Added by szarate 3 months ago. Updated 18 days ago.

Status:
In Progress
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
Start date:
2024-01-18
Due date:
% Done:

0%

Estimated time:
Difficulty:
Sprint:
QE-Core: March Sprint 24 (Mar 06 - Mar 28)

Description

Observation

To avoid bugs like https://bugzilla.suse.com/show_bug.cgi?id=1218923 where a test configuration error creates a problem, it is better to diagnose during first_boot and boot_to_desktop

In general, we should be able to read on either module if the system's RAM is under < 4GB and DESKTOP=gnome or DESKTOP=minimal and let the reviewers know of the situation.

If it's first_boot we need to add the fatal flag; if it's boot_to_desktop, soft_fail explaining the reason, or adding a record_info (fail), so it clearly shows that it is something off/wrong, without affecting the overall result of the test suite.

Take into account the possibility of overriding hardware requirements (https://documentation.suse.com/sles/15-SP5/single-html/SLES-deployment/#sec-x86-requirements)

Acceptance Criteria

  • Ensure Machine type ppc64le-2g also has a 4g counterpart
  • The first_boot module fails if memory requirements are not met unless explicitly asked (i.e. via variable)
  • The boot_to_desktop module records an error or soft fails if memory requirements aren't met

openQA test in scenario sle-15-SP5-Online-QR-SAP-ppc64le-create_hdd_sles4sap_gnome@ppc64le-2g fails in
first_boot

Test suite description

The base test suite is used for job templates defined in YAML documents. It has no settings of its own.

Reproducible

Fails since (at least) Build 134.1 (current job)

Expected result

Last good: 134.1 (or more recent)

Further details

Always latest result in this scenario: latest


Related issues 2 (1 open1 closed)

Related to qe-yam - action #154903: Setup properly the RAM in YaST and Migration scenarios for booting GNOMEResolvedleli2024-02-01

Actions
Copied to openQA Tests - action #154906: [qe-core] set QEMURAM=4G for gnome tests on OSDIn Progressrfan12024-01-18

Actions
Actions #1

Updated by szarate 3 months ago

  • Subject changed from [qe-core] Adapt first_boot - fail test if DESKTOP=gnome and system's ram is less than 4GB to [qe-core] Adapt first_boot and boot to desktop - DESKTOP=gnome System's ram must be at least 4GB
  • Description updated (diff)
Actions #2

Updated by rfan1 3 months ago

  • Assignee set to rfan1
Actions #3

Updated by rfan1 3 months ago

@szarate

I want to double check with the memory size, I can still see below:

For systems running the GNOME desktop environment, a minimum of 2048 MB of memory is required and 4096  MB is recommended.

So is it requirement for ppc64le only? [minimum of 4096 Mb] if Yes, I will file a document bug then.

Actions #4

Updated by szarate 3 months ago

So is it requirement for ppc64le only? [minimum of 4096 Mb] if Yes, I will file a document bug then.

Nope, it is for all of the architectures

Actions #5

Updated by rfan1 3 months ago

szarate wrote in #note-4:

So is it requirement for ppc64le only? [minimum of 4096 Mb] if Yes, I will file a document bug then.

Nope, it is for all of the architectures

Thanks much!
Let me file a doc bug at first.

And for installation tasks, I think we may need to consider autoyast/libyui as well :)

Actions #6

Updated by szarate 3 months ago

rfan1 wrote in #note-5:

szarate wrote in #note-4:

So is it requirement for ppc64le only? [minimum of 4096 Mb] if Yes, I will file a document bug then.

Nope, it is for all of the architectures

Thanks much!
Let me file a doc bug at first.

to clarify, 2 GB is still the minimum; things like dump will also eat that memory away, so it needs to be considered. We'll test with 4GB

And for installation tasks, I think we may need to consider autoyast/libyui as well :)

I think mostly libyui, however for autoyast since the system will be installed, that doesn't affect much, we will still need to add a followup where we certify that effectively 2gb is the absolute minimum, with kdump disabled for gnome

Actions #7

Updated by rfan1 3 months ago

Some backends are not easy to change the memory size:

Powervm/s390x-zvm/ipmi etc

So for now, count in qemu/svirt backend should be a good start :)

Actions #8

Updated by rfan1 3 months ago

  • Status changed from Workable to In Progress
Actions #9

Updated by szarate 3 months ago

  • Sprint changed from QE-Core: December Sprint 23 (Dec 13 - Jan 10) to QE-Core: February Sprint 24 (Jan 31 - Feb 28)
Actions #10

Updated by szarate 3 months ago

  • Target version set to Tools - Next
Actions #11

Updated by szarate 3 months ago

  • Target version changed from Tools - Next to QE-Core: Ready
Actions #12

Updated by rfan1 3 months ago

  • Copied to action #154906: [qe-core] set QEMURAM=4G for gnome tests on OSD added
Actions #13

Updated by JERiveraMoya 3 months ago

  • Related to action #154903: Setup properly the RAM in YaST and Migration scenarios for booting GNOME added
Actions #14

Updated by mgrifalconi about 2 months ago

  • Sprint changed from QE-Core: February Sprint 24 (Jan 31 - Feb 28) to QE-Core: March Sprint 24 (Mar 06 - Mar 28)
Actions #15

Updated by slo-gin 23 days ago

This ticket was set to High priority but was not updated within the SLO period. Please consider picking up this ticket or just set the ticket to the next lower priority.

Actions #16

Updated by szarate 18 days ago

  • Sprint changed from QE-Core: March Sprint 24 (Mar 06 - Mar 28) to QE-Core: April Sprint 24 (Apr 10 - May 08)
Actions #17

Updated by szarate 18 days ago

  • Sprint changed from QE-Core: April Sprint 24 (Apr 10 - May 08) to QE-Core: March Sprint 24 (Mar 06 - Mar 28)
Actions

Also available in: Atom PDF