Project

General

Profile

Actions

action #14838

closed

[sles][functional] test fails in change_password

Added by coolo over 7 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
Normal
Category:
Bugs in existing tests
Target version:
-
Start date:
2016-11-16
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-12-SP2-Desktop-DVD-Updates-x86_64-qam-regression-gnome@64bit fails in
change_password

Reproducible

Fails at least out out of 10 times.

Problem

H1 The textbox for the new password is not focused - REJECTED by E1-1
H2 The sentence type_string $newpwd; is sometimes not sending the keys properly
H2.1 The function type_string is the problem
H2.2 The speed of typing by function type_string is the problem
H3 The textbox for new password is sometimes not receiving keyboard input properly.
H4 The SUT does not behave always at the same speed. For this reason the test fails sporadically at different states: needles match but the windows is not ready to accept clicks or type inputs.

Suggestion

E1-1 Inspect the video result of https://openqa.suse.de/tests/811321/file/video.ogv to see if the textbox for the new password is focused.
R1-1 The textbox is focused at time 1:14

E2.2-1 Use function type_string_slow to type the new password

E2.2-2 Use function type_string_very_slow to type the new password

E4-1 Execute the same module at least 10 consecutive times inside the test suite to observe different test failures and error reproducibility.
R4-1
Because of needle timeout, the 10 executions are not executed; the job dies and become "incomplete".
See here openQA:copland#84 and here openQA:copland#87
The earlier possible test failure observed happens because the sentence os-autoinst-distri-opensuse/lib/x11regressiontest.pm:502
assert_and_click "settings"; not always make the click when the menu item is ready to be clicked.
Follow with E4-2, E4-3, E4-4.

E4-2 Try to make the needles with tag "settings" match only when the menu item is ready to be clicked, by selecting more areas.
R4-2

E4-3 Try to make the needles with tag "gnome-settings" match only when the menu item is ready to be clicked, by selecting more areas.

E4-4 Try to make the needles with tag "settings-users-selected" match only when the menu item is ready to be clicked, by selecting more areas.


Related issues 1 (0 open1 closed)

Related to openQA Tests - action #17594: [tools]Missing characters in the middle of type_string/assert_script_run (Ninja Keys)Resolvedszarate2017-03-07

Actions
Actions #3

Updated by coolo about 7 years ago

that's what I tried to express in reproducible

Actions #4

Updated by okurz about 7 years ago

yes but adding more information can help to fix the issue. Especially after the last one from zluo stated "it doesn't happen" which could be misleading.

Actions #5

Updated by SLindoMansilla about 7 years ago

  • Assignee set to SLindoMansilla
Actions #6

Updated by SLindoMansilla about 7 years ago

  • Description updated (diff)
Actions #7

Updated by SLindoMansilla about 7 years ago

  • Description updated (diff)
Actions #8

Updated by SLindoMansilla about 7 years ago

  • Description updated (diff)
Actions #9

Updated by SLindoMansilla about 7 years ago

  • Description updated (diff)
Actions #10

Updated by SLindoMansilla about 7 years ago

  • Subject changed from test fails in change_password to [sles][functional] test fails in change_password
Actions #11

Updated by SLindoMansilla about 7 years ago

  • Description updated (diff)
Actions #12

Updated by SLindoMansilla about 7 years ago

  • Description updated (diff)
Actions #13

Updated by SLindoMansilla about 7 years ago

  • Description updated (diff)
Actions #14

Updated by SLindoMansilla about 7 years ago

  • Description updated (diff)
Actions #15

Updated by SLindoMansilla almost 7 years ago

  • Status changed from New to Rejected

This problem hasn't appeared since the last 400 jobs. It seems to be fixed along with "ninja key / bad input performance problems"

Related poo#17594

Actions #16

Updated by SLindoMansilla almost 7 years ago

  • Related to action #17594: [tools]Missing characters in the middle of type_string/assert_script_run (Ninja Keys) added
Actions

Also available in: Atom PDF