action #18318
closedaction #17836: [migration] merge migration and its rollback into one testcase
[sle][migration]test fails in grub_test_snapshot finding expected snapshot (never worked)
100%
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
Updated by dgutu almost 8 years ago
Most probably the snapshot is missing because 40 keys to match the needle is more than enough.
Updated by dgutu almost 8 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.
Updated by okurz almost 8 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
Updated by mitiao almost 8 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:
- 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.
- 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).
Updated by mitiao almost 8 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Resolved with https://openqa.suse.de/tests/860031