action #18346
closed[sles][functional][yast] yast2_snapper: sporadicly snapshot deletion takes longer - but test is not waiting 240s like in the code anyway
0%
Description
Observation¶
openQA test in scenario sle-12-SP3-Server-DVD-ppc64le-gnome@ppc64le fails in
yast2_snapper
test dies with:
21:41:32.6169 37678 # Test died: The snapshot is still visible after trying to delete it and waiting a bit at /var/lib/openqa/cache/openqa.suse.de/tests/sle/tests/x11/yast2_snapper.pm line 125.
which seems valid, because the message is supposed to appear after we were waiting 240s:
if (check_screen([qw(yast2_snapper-new_snapshot yast2_snapper-new_snapshot_selected)], 240))
but when taking a closer look in the logs we can see, that it never waited that time, so there is a bug somewhere:
21:41:32.1706 37678 <<< testapi::check_screen(mustmatch=[
'yast2_snapper-new_snapshot',
'yast2_snapper-new_snapshot_selected'
], timeout=240)
21:41:32.2188 37681 MATCH(yast2_snapper-new_snapshot-SP2-20160713:0.00)
21:41:32.2659 37681 MATCH(yast2_snapper-new_snapshot_selected-20160312:0.00)
21:41:32.3117 37681 MATCH(yast2_snapper-new_snapshot_selected-SP2-20160713:1.00)
21:41:32.3587 37681 MATCH(yast2_snapper-new_snapshot_selected-GA-20161018:0.21)
21:41:32.4881 37678 >>> testapi::_handle_found_needle: found yast2_snapper-new_snapshot_selected-SP2-20160713, similarity 1.00 @ 651/406
21:41:32.6169 37678 # Test died: The snapshot is still visible after trying to delete it and waiting a bit at /var/lib/openqa/cache/openqa.suse.de/tests/sle/tests/x11/yast2_snapper.pm line 125.
Reproducible¶
Fails since (at least) Build 0314 (current job)
Expected result¶
Last good: 0313 (or more recent)
Further details¶
Always latest result in this scenario: latest
Updated by mgriessmeier almost 8 years ago
in commit b31b49dfa58573dff163265560d5204cd88a205d
the diff is:
` wait_still_screen;
- if (check_screen([qw/yast2_snapper-new_snapshot yast2_snapper-new_snapshot_selected/])) {
- if (check_screen([qw/yast2_snapper-new_snapshot yast2_snapper-new_snapshot_selected/], 240)) { `
but the check_screen is matching on a needle which is always found, even if the old snapshot is still there
proposal:
change the timeout in wait_still_screen and make the check_screen without timeout
I'll propose a PR for that soon
Updated by okurz almost 8 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: migration_zdup_offline_sle12sp2_sdk+we+allpatterns_fullupdate
https://openqa.suse.de/tests/887466
Updated by okurz over 7 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: om_proxyscc_sles12sp2_sdk+allpatterns_full_update_by_zypper_ppc
https://openqa.suse.de/tests/912796
Updated by okurz over 7 years ago
- Related to action #19236: [migration]yast2_snapper - failed to "Create New Snapshot" added
Updated by okurz over 7 years ago
- Related to action #18480: [sle][functional]test fails in yast2_snapper added
Updated by okurz almost 7 years ago
- Related to action #30619: [sle][functional][y][medium][bsc#1032831] test fails in yast2_snapper after closing the main GUI window - do we need to bringback the original workaround? or improve logging added
Updated by riafarov almost 7 years ago
- Target version changed from Milestone 13 to Milestone 14
Updated by okurz almost 7 years ago
- Subject changed from [sles][functional] yast2_snapper: sporadicly snapshot deletion takes longer - but test is not waiting 240s like in the code anyway to [sles][functional][yast] yast2_snapper: sporadicly snapshot deletion takes longer - but test is not waiting 240s like in the code anyway
- Due date set to 2018-03-13
Updated by riafarov almost 7 years ago
- Status changed from New to Rejected
Doesn't appear on neither with SLE12 SP4 nor SLE15, cannot investigate original issue. Required actions will be taken here: https://progress.opensuse.org/issues/30619