Project

General

Profile

Actions

action #93528

closed

[SLE][Migration][SLE15SP4][Regression] - do cleanup and reset the test env after check_upgarded_service

Added by hjluo over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Enhancement to existing tests
Target version:
-
Start date:
2021-06-07
Due date:
% Done:

100%

Estimated time:
24.00 h
Difficulty:

Description

The service check should do clean up and reset the test env after check_upgarded_service
1) we'd suggest doing the cleanup/reset test env for the newly added service


Related issues 1 (0 open1 closed)

Related to openQA Tests - action #90581: [sle][migration][sle15sp3][regression] test fails in post_migration - no candidate needle with tag(s) displaymanagerRejectedhjluo2021-04-01

Actions
Actions #1

Updated by okurz over 3 years ago

  • Category set to Enhancement to existing tests
Actions #2

Updated by hjluo over 3 years ago

  • Related to action #90581: [sle][migration][sle15sp3][regression] test fails in post_migration - no candidate needle with tag(s) displaymanager added
Actions #3

Updated by hjluo over 3 years ago

  • % Done changed from 0 to 30
  • Estimated time set to 16.00 h

we use 'users' module as an example to cleanup once it fails during before migration users service check

the one without cleanup
https://openqa.nue.suse.com/tests/6210861#step/zypper_migration/196

branch https://github.com/hjluo/os-autoinst-distri-opensuse/pull/new/post_mig
/root/hj-tools/hj-branch.sh -b post_mig -j 5991291 -s "_GROUP=0 INCLUDE_SERVICES=users"
https://openqa.nue.suse.com/t6228886

Actions #4

Updated by leli over 3 years ago

  • Priority changed from Normal to High
Actions #6

Updated by hjluo over 3 years ago

after resolving the brach issue with BOOT_MENU_TIMEOUT=50000, then re-run to get the test log for PR
and we'd skip the check_upgraded_services if it fails at before migration setup.

Actions #7

Updated by hjluo over 3 years ago

  • Status changed from New to In Progress
  • Assignee set to hjluo
Actions #8

Updated by hjluo over 3 years ago

./hj-tools/hj-branch.sh -b cleanup -j 5991291 -s "_GROUP=0 INCLUDE_SERVICES=users"

https://openqa.nue.suse.com/t6313710
https://openqa.nue.suse.com/t6313711

Actions #10

Updated by hjluo over 3 years ago

check after migration if once service failed at install_service, for example kdump
./hj-tools/hj-branch.sh -b cleanup -j 5991321 -s "_GROUP=0"
https://openqa.nue.suse.com/t6323800
https://openqa.nue.suse.com/t6323801

Actions #12

Updated by hjluo over 3 years ago

rerun after 1st round review:
./hj-tools/hj-branch.sh -b cleanup -j 5991291 -s "_GROUP=0 INCLUDE_SERVICES=users"

https://openqa.nue.suse.com/t6389913
https://openqa.nue.suse.com/t6389922
https://openqa.nue.suse.com/t6389923

Actions #13

Updated by hjluo over 3 years ago

./hj-tools/hj-branch.sh -b cleanup -j 5991317

https://openqa.nue.suse.com/t6443213 -> 15 PASSED

Actions #14

Updated by hjluo over 3 years ago

./hj-tools/hj-branch.sh -b cleanup -j 5991317 INCLUDE_SERVICES=users,apache2
https://openqa.nue.suse.com/t6444200 PASSED
https://openqa.nue.suse.com/t6444201
https://openqa.nue.suse.com/t6444202 PASSED

Actions #15

Updated by hjluo over 3 years ago

  • % Done changed from 30 to 80
  • Estimated time changed from 16.00 h to 24.00 h
Actions #16

Updated by hjluo over 3 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 80 to 100

PR merged and closed as resolved.

Actions

Also available in: Atom PDF