Project

General

Profile

Actions

action #121438

closed

[qem][qe-core]test fails in yast2_snapper, may need add some timeout for `send_key_until_needlematch`

Added by rfan1 over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
Start date:
2022-12-05
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-15-SP4-Server-DVD-Updates-s390x-qam-gnome@s390x-kvm-sle12 fails in
yast2_snapper

Test suite description

Testsuite maintained at https://gitlab.suse.de/qa-maintenance/qam-openqa-yml.

Reproducible

Fails since (at least) Build 20221204-1 (current job)

Expected result

Last good: 20221203-1 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by rfan1 over 1 year ago

  • Status changed from New to Feedback
  • Assignee set to rfan1

The issue is gone in the latest run.

Test with my own branch can give more buffer for sending key. Let me try to monitor the next few runs to see if we need commit the changes.

index 25c5eade3..a4dfc7f60 100644
--- a/lib/y2snapper_common.pm
+++ b/lib/y2snapper_common.pm
@@ -128,7 +128,7 @@ sub y2snapper_new_snapshot {
     }

     # Make sure the snapshot is listed in the main window
-    send_key_until_needlematch([qw(yast2_snapper-new_snapshot yast2_snapper-new_snapshot_selected)], 'pgdn');
+    send_key_until_needlematch([qw(yast2_snapper-new_snapshot yast2_snapper-new_snapshot_selected)], 'pgdn', 20, 2);

Actions #2

Updated by rfan1 over 1 year ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF