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 #1

Updated by mgriessmeier about 7 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

Actions #3

Updated by okurz almost 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: migration_zdup_offline_sle12sp2_sdk+we+allpatterns_fullupdate
https://openqa.suse.de/tests/887466

Actions #4

Updated by okurz almost 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

Actions #5

Updated by okurz over 6 years ago

  • Related to action #19236: [migration]yast2_snapper - failed to "Create New Snapshot" added
Actions #6

Updated by okurz over 6 years ago

  • Related to action #18480: [sle][functional]test fails in yast2_snapper added
Actions #7

Updated by okurz over 6 years ago

  • Target version set to Milestone 13
Actions #8

Updated by okurz about 6 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
Actions #9

Updated by riafarov about 6 years ago

  • Target version changed from Milestone 13 to Milestone 14
Actions #10

Updated by okurz about 6 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
Actions #11

Updated by riafarov about 6 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

Actions

Also available in: Atom PDF