action #17594
closed[tools]Missing characters in the middle of type_string/assert_script_run (Ninja Keys)
0%
Description
observation¶
While running jobs on certain machines, sometimes there are tests that are failing with characters missing in the middle of a string.
steps to reproduce¶
Review tests that are failing, most tests where type_string is used, can create this problem.
problem¶
H1 Asset loading through NFS might cause delays in response of the SUT.
H2 Key events are not reaching the qemu at all
H3 Key events are reaching the qemu, qemu processes the event, and it reaches the qeue, but not the SUT itself (they are not reaching X).
suggestion¶
Example of failing jobs¶
https://openqa.suse.de/tests/805748#step/gedit/4
https://openqa.suse.de/tests/795241#step/sshxterm/5
https://openqa.suse.de/tests/796232#step/gnome_terminal/7
workaround¶
Retrigger the job.
Updated by szarate almost 8 years ago
- Related to action #17574: [tools]Add caching/syncing of assets added
Updated by szarate almost 8 years ago
- Related to action #17442: [tools]Bad performance or too many failures because of typing too soon/mistyping (send_keys/type_string) added
Updated by RBrownSUSE almost 8 years ago
- Subject changed from Missing characters in the middle of type_string (Ninja Keys) to [tools]Missing characters in the middle of type_string (Ninja Keys)
Updated by RBrownSUSE almost 8 years ago
- Related to action #16438: [tools]System stall during test run not detected added
Updated by nicksinger almost 8 years ago
here is another example were keys are missed in the middle of typing: https://progress.opensuse.org/issues/17594 (happens at module "textinfo")
Updated by mgriessmeier over 7 years ago
Might this be related?
seems to stop typing completely
https://progress.opensuse.org/issues/17888
Updated by SLindoMansilla over 7 years ago
Updated by SLindoMansilla over 7 years ago
Updated by nicksinger over 7 years ago
Also another one here:
https://openqa.suse.de/tests/833485
Updated by okurz over 7 years ago
first mentioned o3 job: https://openqa.opensuse.org/tests/376335#step/live_installation/2
Updated by okurz over 7 years ago
- Related to action #18132: [tools] test fails to assert command because a wrong string was written to serial - (anti-ninja-key) added
Updated by okurz over 7 years ago
If I understood correctly the following two things are supposed to have fixed this issue
os-autoinst change https://github.com/os-autoinst/os-autoinst/pull/743
commit aebf404
Author: Stephan Kulow coolo@kde.org
Date: Mon Mar 27 13:08:44 2017 +0200
Make it possible to define slow typing machines (#743)
After a lot of forth and back, setting this to 10 is the only cure
for power and arm :(
with defining VNC_TYPING_LIMIT=10
in https://openqa.suse.de/admin/machines for aarch64 and ppc64le machines
plus also os-autoinst-distri-opensuse change https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/2577
commit 709c99c
Author: Stephan Kulow coolo@kde.org
Date: Wed Mar 22 15:53:26 2017 +0100
Add an explicit run of the cron jobs (#2577)
Our data shows pretty clear that the tests type much more unreliable
around the time the first cron.weekly is called (*/15) - and it's
believed that the btrfs maintenance is killing responsiveness
as described in boo#1017461 (and others). So better run these
cron jobs at a given time to avoid random tests becoming unreproducible
Updated by okurz over 7 years ago
- Related to action #17456: [qam][x11regressions]test fails sporadically in gedit_save added
Updated by SLindoMansilla over 7 years ago
- Related to action #14838: [sles][functional] test fails in change_password added
Updated by riafarov over 7 years ago
- Subject changed from [tools]Missing characters in the middle of type_string (Ninja Keys) to [tools]Missing characters in the middle of assert_script_run (Ninja Keys)
- Status changed from Resolved to In Progress
- Target version deleted (
Milestone 6)
Reappeared for aarch64 : https://openqa.suse.de/tests/942993#step/yast2_lan_restart/309
in assert_script_run method.
After assert_script_run 'dig suse.com|grep \'status: NOERROR\''; call, "." is missing in the console.
Autoinst log in the attachment
Updated by szarate over 7 years ago
- Status changed from In Progress to Resolved
Closing because it's not related, this needs another ticket specific for aarch64
Updated by okurz over 7 years ago
- Subject changed from [tools]Missing characters in the middle of assert_script_run (Ninja Keys) to [tools]Missing characters in the middle of type_string/assert_script_run (Ninja Keys)