Project

General

Profile

action #93528

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

Added by hjluo 6 months ago. Updated 5 months 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

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

History

#1 Updated by okurz 6 months ago

  • Category set to Enhancement to existing tests

#2 Updated by hjluo 6 months ago

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

#3 Updated by hjluo 6 months 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

#4 Updated by leli 6 months ago

  • Priority changed from Normal to High

#6 Updated by hjluo 6 months 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.

#7 Updated by hjluo 5 months ago

  • Status changed from New to In Progress
  • Assignee set to hjluo

#8 Updated by hjluo 5 months 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

#10 Updated by hjluo 5 months 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

#12 Updated by hjluo 5 months 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

#13 Updated by hjluo 5 months ago

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

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

#14 Updated by hjluo 5 months 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

#15 Updated by hjluo 5 months ago

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

#16 Updated by hjluo 5 months ago

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

PR merged and closed as resolved.

Also available in: Atom PDF