Project

General

Profile

Actions

action #18318

closed

action #17836: [migration] merge migration and its rollback into one testcase

[sle][migration]test fails in grub_test_snapshot finding expected snapshot (never worked)

Added by asmorodskyi about 7 years ago. Updated about 7 years ago.

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

100%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-12-SP3-Server-DVD-x86_64-migration_zdup_offline_sle12_ga_allpatterns_fullupdate@64bit fails in
grub_test_snapshot

It's look like that list of snapshots is too long so we need extend time that we give to openQA to find a right one.

Reproducible

Fails since (at least) Build 0300

Expected result

Last good: (unknown) (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by dgutu about 7 years ago

Most probably the snapshot is missing because 40 keys to match the needle is more than enough.

Actions #2

Updated by dgutu about 7 years ago

There are no snapshots at all on this hdd image which we can use for reverting.
IMO hdd image needs to be recreated.

Actions #3

Updated by okurz about 7 years ago

  • Subject changed from test fails in grub_test_snapshot to [sle][migration]test fails in grub_test_snapshot finding expected snapshot (never worked)
  • Assignee set to mitiao
  • Parent task set to #17836

@dgutu: I think your conclusions are wrong because we are in a "zypper dup" scenario here so we can AFAIU not expect an explicit "pre update" snapshot name here. This test never worked and is covered by #17836 so assigning to @mitiao

I suggest to create a needle based on
https://openqa.suse.de/tests/855532#step/grub_test_snapshot/35

Actions #4

Updated by mitiao about 7 years ago

okurz wrote:

@dgutu: I think your conclusions are wrong because we are in a "zypper dup" scenario here so we can AFAIU not expect an explicit "pre update" snapshot name here. This test never worked and is covered by #17836 so assigning to @mitiao

I suggest to create a needle based on
https://openqa.suse.de/tests/855532#step/grub_test_snapshot/35

To needle above snapshot is ok. but as I commented in PR https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/2673, there are some potential issues that need to be concerned:

  1. A little bit hard to assert, there are many snapshots with same description 'pre zypp(zypper)', we have to set one more area to identify expected one, it results in more needles for different sle12spx system.
  2. And above snapshot includes this setup: script_run("systemctl set-default --force multi-user.target"); https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/installation/setup_zdup.pm#L37 This removed graphic target, and it will login into tty other than display manager after rollback.

And I think to manually create snapshot is acceptable and reasonable for zdup just before performing zypper dup, which is just like what online migration do (yast2 migration/zypper migration).

Actions #5

Updated by mitiao about 7 years ago

  • Status changed from New to In Progress

PR#2673 merged

Actions #6

Updated by mitiao about 7 years ago

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

Also available in: Atom PDF