Project

General

Profile

Actions

action #54131

closed

[SLE][Migration][SLE12SP5]test fails in system_prepare - media upgrade need add modules after migration

Added by tinawang123 over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2019-07-11
Due date:
% Done:

100%

Estimated time:
16.00 h
Difficulty:

Description

Observation

openQA test in scenario sle-12-SP5-Regression-on-migrated-system-from-SLE12-SPx-ppc64le-offline_sles12sp4_media_sdk+live+asmm+contm+lgm+pcm+tcm+wsm_all_full_ppc64le@ppc64le fails in
system_prepare

Test suite description

sle12sp4 to sle12sp5 regression all extentions(sdk,live) + all modules(pcm,tcm,wsm) + all patterns ppc64le

Expected result

Last good: (unknown) (or more recent)

Further details

Always latest result in this scenario: latest

If base case has modules, for sle12+ system media upgrade cannot add modules by repos. As modules don't have repos at openqa or anywhere.
We need add those modules after migration. Then to do regression test.

Actions #1

Updated by coolgw over 4 years ago

  • Priority changed from Normal to High
  • Estimated time set to 16.00 h
Actions #2

Updated by tinawang123 over 4 years ago

  • Assignee set to tinawang123
Actions #3

Updated by tinawang123 over 4 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50
Actions #4

Updated by acarvajal over 4 years ago

This PR is breaking our SLES+HA offline migration cases:

https://openqa.suse.de/tests/3078423
https://openqa.suse.de/tests/3078456
https://openqa.suse.de/tests/3078352
https://openqa.suse.de/tests/3077719
https://openqa.suse.de/tests/3078034
https://openqa.suse.de/tests/3078304

As commented on the PR itself, we've never required to register the systems to perform offline/media based migrations, and IMO it does not make sense to register systems on jobs running with SCC_REGISTER=never or with SCC_REGISTER undefined.

I would vote to either rollback the PR or to check for SCC_REGISTER in L44 of tests/console/system_prepare.pm.

Actions #5

Updated by acarvajal over 4 years ago

We tested again by removing the unnecessary SCC_ADDONS in our HA tests, and they're able to clear the system_prepare module. We will update our test suites accordingly.

Still think that SCC_REGISTER should be checked before attempting to register the system, in particular if it's set to never.

Actions #6

Updated by acarvajal over 4 years ago

Without SCC_ADDONS we cannot register the original system to SCC to add LTSS (among other modules):

https://openqa.suse.de/tests/3078864#step/patch_sle/28

So removing SCC_ADDONS from our test suites it's not an option for the time being.

Actions #7

Updated by tinawang123 over 4 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100
Actions #8

Updated by tinawang123 over 4 years ago

acarvajal wrote:

Without SCC_ADDONS we cannot register the original system to SCC to add LTSS (among other modules):

https://openqa.suse.de/tests/3078864#step/patch_sle/28

So removing SCC_ADDONS from our test suites it's not an option for the time being.

I will update my code so not impact your cases.
I would like to introduce our background about this PR. We want to use customer scenario, after media upgrade, customer need re-register their system, so they can update their system. Then we can go on some regression testing.

Actions #9

Updated by tinawang123 over 4 years ago

  • Status changed from Resolved to In Progress

Reopen this ticket since I need update the code not impact others test cases.

Actions #11

Updated by tinawang123 over 4 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF