Project

General

Profile

Actions

action #132734

closed

coordination #121864: [epic] Split and enhance test modules in migrations

Create a new module to recover version to original

Added by leli 10 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
2023-07-14
Due date:
% Done:

100%

Estimated time:

Description

Motivation

To enhance our code and make it clear, we need create a new module to recover version to original.

In the module will contain below code:
set_var('VERSION', $original_version);
reset_consoles_tty;

And need remove the description for needles which is not correct:
https://github.com/chcao/os-autoinst-distri-opensuse/blob/98f5b1aaf188d6865753558fb519da6835c58275/tests/migration/version_switch_origin_system.pm#

Later this module should be used to replace the version_switch_origin_system for the test suites for split of patch_sle.

Acceptance criteria

AC1: Create a new module to recover version to original

Additional information

Refactored test suite are currently in this job group with names ending on *_split_patch_sle.

Actions #1

Updated by leli 10 months ago

  • Description updated (diff)
Actions #2

Updated by leli 10 months ago

  • Description updated (diff)
Actions #3

Updated by leli 10 months ago

  • Status changed from New to Workable
  • Target version set to Current
  • Parent task set to #121864
Actions #4

Updated by leli 10 months ago

  • Description updated (diff)
Actions #5

Updated by JERiveraMoya 10 months ago

  • Description updated (diff)
Actions #6

Updated by lmanfredi 9 months ago

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

Updated by lmanfredi 9 months ago

Created PR#17516

Actions #8

Updated by lmanfredi 9 months ago

  • % Done changed from 0 to 90

PR#17516 Merged

Actions #9

Updated by JERiveraMoya 9 months ago

we should use HDDVERSION, I'm not sure why this comment:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/17516/files#diff-9b19f102e0f7824a938523fd5fe062fa9a7ebb31c5b6a469e4dd4e506dffd582R18
that module is recently refactored, right? so we can do it as we like.

Actions #10

Updated by lmanfredi 9 months ago

There was this comment in the original module:

sub run {
    # Before upgrade or after rollback, switch to original system version
    # Do NOT use HDDVERSION because it might be changed in another test
    # module, such as: reboot_and_install.pm
Actions #11

Updated by lmanfredi 7 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF