Project

General

Profile

Actions

action #112151

closed

Use yast2 registration instead of SUSEConnect in YaST MU

Added by JERiveraMoya almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
2022-06-08
Due date:
% Done:

100%

Estimated time:

Description

Motivation

Solve sporadic failures like this one when using SUSEConnect command line tool.
Instead of implementing a retry for each single command like it has been done in other places specifically for registration, we should focus in YaST scope for testing and stop using the command line tool and extend testing a bit with the YaST module.

Scope

All products in maintenance:
https://openqa.suse.de/tests/overview?arch=&flavor=&machine=&test=&modules=yast2_registration&module_re=&distri=sle&build=20220607-1&groupid=421#

Acceptance criteria

AC1: Use only YaST module yast2 registration to re-register the system and verification of the registration.
AC2: Unschedule next test module console/suseconnect

Suggestions

Instead of using the command line tool to clean up the registration at the beginning, we can use the option of the YaST Module 'Register again'.
As you could notice, switching off networking in an installed system and calling yast2 registration troughs an error, which mean that internally is connecting to the server in similar way that the command line tool would do. Therefore the final verification of the current installed product modules can also be done reopening the yast module again.
Discard libyui REST for now as the goal is just stabilize and probably this would require no much code and a couple of needles (one at the beginning, one at the end) per each product, in other words, it should be cheap to do it in theory.

Actions #1

Updated by JERiveraMoya almost 2 years ago

  • Tags deleted (qe-yast-refinement)
  • Status changed from New to Workable
Actions #2

Updated by geor almost 2 years ago

  • Status changed from Workable to In Progress
  • Assignee set to geor
Actions #4

Updated by JERiveraMoya almost 2 years ago

  • Status changed from In Progress to Feedback
Actions #5

Updated by JERiveraMoya almost 2 years ago

  • Status changed from Feedback to In Progress
Actions #6

Updated by geor almost 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100
Actions #7

Updated by geor almost 2 years ago

  • Status changed from Closed to In Progress

PR merged, will keep an eye on consequent runs.

Actions #8

Updated by geor almost 2 years ago

  • Status changed from In Progress to Closed

All runs are ok

Actions

Also available in: Atom PDF