Project

General

Profile

Actions

action #157720

open

coordination #151816: [epic] Handle openQA fixes and job group setup

Investigate whether it is suitable to set DESKTOP=textmode on SLES12SP5 to SLES15SP6 migration cases

Added by zoecao about 1 month ago. Updated about 23 hours ago.

Status:
In Progress
Priority:
High
Assignee:
Target version:
-
Start date:
2024-03-22
Due date:
% Done:

0%

Estimated time:

Description

Motivation

The testsuites of migration from SLES12SP5 to SLES15SP6 are changed to use DESKTOP=textmode as well as use textmode image, related MR: https://gitlab.suse.de/qe-yam/openqa-job-groups/-/merge_requests/112
This caused two new issues in regression cases, see the failed job (Same errors in the VRs in the MR above):
[1] https://openqa.suse.de/tests/13845117#step/system_prepare/39
[2] https://openqa.suse.de/tests/13845118#step/consoletest_finish/5

Issue [1]: After migration by Full Media, it started to register system and modules, if register development-tools module, need to register desktop applications module first because they are dependency modules. We have related code about this:
if (check_var('DESKTOP', 'gnome') && is_sle('15+')) {
my $desk = "sle-module-desktop-applications";
record_info($desk, "Register $desk");
add_suseconnect_product($desk, undef, undef, undef, 300, $retry);
}
While the job set DESKTOP=textmdoe, so it won't register Desktop Applications Module, which cased the failure. And we can not add "desktop" to SCC_ADDONS setting, because there's no "desktop" module on 12SP5, it is only available on 15SPx.
ISSUE [2]: I compared [the job last good], it would switch to desktop, while it is set using textmode, so the job stopped.

Acceptance criteria

AC1 : Investigate whether it is suitable to set DESKTOP=textmode on SLES12SP5 to SLES15SP6 migration cases
AC2 : Update the code of registering Desktop Applications if still use textmode; it not, revert the MR
AC3 : Resolve the issue 2

Actions #1

Updated by JERiveraMoya about 1 month ago

we cannot install sdk without desktop, it is a dependency, so we should update this part in the test.

Actions #2

Updated by leli about 1 month ago · Edited

JERiveraMoya wrote in #note-1:

we cannot install sdk without desktop, it is a dependency, so we should update this part in the test.

Yes, should remove sdk,desktop application from addon list for textmode, both for the support image and migration test.

Actions #3

Updated by JERiveraMoya 17 days ago

  • Tags set to qe-yam-apr-sprint
  • Status changed from New to Workable
  • Parent task set to #151816
Actions #4

Updated by zoecao 16 days ago

leli wrote in #note-2:

JERiveraMoya wrote in #note-1:

we cannot install sdk without desktop, it is a dependency, so we should update this part in the test.

Yes, should remove sdk,desktop application from addon list for textmode, both for the support image and migration test.

We should adapt the code of registering modules after media type migration instead of removing sdk from addon list.

Actions #5

Updated by JERiveraMoya 15 days ago

zoecao wrote in #note-4:

leli wrote in #note-2:

JERiveraMoya wrote in #note-1:

we cannot install sdk without desktop, it is a dependency, so we should update this part in the test.

Yes, should remove sdk,desktop application from addon list for textmode, both for the support image and migration test.

We should adapt the code of registering modules after media type migration instead of removing sdk from addon list.

if it is now a textmode for the support image, doesn't need desktop or dev module, why to adapt the code of the registration? wouldn't be more clean to not setup the job for migration to do this?
maybe I'm missing your point and we are saying similar things, not sure.

Actions #6

Updated by leli 11 days ago

  • Status changed from Workable to In Progress
  • Assignee set to leli
Actions #7

Updated by leli 11 days ago

I tried to active desktop application after media migration of SLE12SP5, it seems works http://openqa.suse.de/tests/14114153#step/system_prepare/35 .

While we still need investigate the following failure after that whether it is a test issue or need remove from the specific test.

Actions #9

Updated by JERiveraMoya 9 days ago

  • Tags changed from qe-yam-apr-sprint to qe-yam-may-sprint
Actions #10

Updated by JERiveraMoya about 23 hours ago

  • Priority changed from Normal to High
Actions

Also available in: Atom PDF