action #153808
open[qe-core] Adapt first_boot and boot to desktop - DESKTOP=gnome System's ram must be at least 4GB
0%
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
Updated by rfan1 10 months ago
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.
Updated by rfan1 10 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 :)
Updated by szarate 10 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
Updated by rfan1 10 months ago
- Copied to action #154906: [qe-core] set QEMURAM=4G for gnome tests on OSD added
Updated by JERiveraMoya 10 months ago
- Related to action #154903: Setup properly the RAM in YaST and Migration scenarios for booting GNOME added
Updated by mgrifalconi 9 months ago
- Sprint changed from QE-Core: February Sprint 24 (Jan 31 - Feb 28) to QE-Core: March Sprint 24 (Mar 06 - Mar 28)
Updated by slo-gin 8 months 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.