Project

General

Profile

Actions

action #18346

closed

[sles][functional][yast] yast2_snapper: sporadicly snapshot deletion takes longer - but test is not waiting 240s like in the code anyway

Added by mgriessmeier about 7 years ago. Updated about 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Bugs in existing tests
Start date:
2017-04-05
Due date:
2018-03-13
% Done:

0%

Estimated time:
Difficulty:

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


Related issues 3 (0 open3 closed)

Related to openQA Tests - action #19236: [migration]yast2_snapper - failed to "Create New Snapshot"Rejected2017-05-19

Actions
Related to openQA Tests - action #18480: [sle][functional]test fails in yast2_snapperResolvedmkravec2017-04-10

Actions
Related to openQA Tests - 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 loggingResolvedokurz2018-01-222019-03-26

Actions
Actions

Also available in: Atom PDF