Project

General

Profile

action #35413

[sle][migration][sle15] test fails in snapper_rollback -- need more time to wait rollback service start

Added by dehai over 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2018-04-24
Due date:
% Done:

100%

Estimated time:
Difficulty:
Duration:

Description

Observation

openQA test in scenario sle-15-Installer-DVD-x86_64-proxyscc_upgrade_sles12sp3_allpatterns_minipatch@64bit fails in
snapper_rollback

Reproducible

Fails since (at least) Build 581.1 (current job)

Expected result

Last good: 580.1 (or more recent)

Further details

Always latest result in this scenario: latest

History

#1 Updated by sunyan over 2 years ago

  • Assignee set to dehai

#2 Updated by qmsu over 2 years ago

Just a suggestion, please try following change:

diff --git a/lib/migration.pm b/lib/migration.pm
index a6044616..e18b2455 100644
--- a/lib/migration.pm
+++ b/lib/migration.pm
@@ -131,6 +131,9 @@ sub check_rollback_system {
return unless is_sle;
# Check SUSEConnect status for SLE
# check rollback-helper service is enabled and worked properly
+    # Wait some time if rollback is in activating state
+    # Consider a bug if rollback service isn't done after that time
+    script_run('for x in `seq 60`; do (systemctl --no-pager status rollback | grep -q activating) && sleep 5; done');
systemctl('status rollback');
systemctl('is-active rollback');

#3 Updated by okurz over 2 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: ppc64le
https://openqa.suse.de/tests/1680685

#4 Updated by dehai over 2 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 80

#5 Updated by dehai about 2 years ago

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

#6 Updated by okurz about 2 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: scc_upgrade_sles12sp3+allmodules_
https://openqa.suse.de/tests/1673379

Also available in: Atom PDF