Project

General

Profile

Actions

action #34339

open

[qe-core][sle][functional][medium] test fails in consoletest_setup - generic text login matching too early, causing mistyping -- was " login prompt not ready to type - missing keys while typing login"

Added by oorlov about 6 years ago. Updated 11 months ago.

Status:
Blocked
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
Start date:
2018-04-05
Due date:
% Done:

0%

Estimated time:
Difficulty:
medium

Description

Observation

openQA test in scenario sle-15-Installer-DVD-x86_64-USBinstall@uefi fails in
consoletest_setup

also failed in openQA test in scenario sle-15-Installer-DVD-ppc64le-registered+gnome+dev_tools_all_packages_dvd@ppc64le in
consoletest_setup

Reproducible

Fails since (at least) Build 543.1 (current job)

Test failed because 'hard' was typed instead of 'bernhard' on login screen.

Seems like random fail. But at the same time there was a similar issue in one of the previous builds (Build472.5), when password was typed instead of login.

Expected result

Last good: 540.4 (or more recent)

Suggestions

* Try to create a needle with the cursor included

  • Ensure the corresponding needle check is called with the no_wait => 1 option to catch the blinking cursor.
  • Find out in which part of the module the fail appears
  • the problem seems to be that generic-text-login is matching way too early and the test starts to type too early
  • this should be fixed in the parent task, so revisit this as soon as blocker is solved

If the above does not work, maybe wait_still_screen can work with some tweaking although I doubt this can be stable as the cursor would blink.

Further details

Always latest result in this scenario: latest


Related issues 7 (1 open6 closed)

Related to openQA Tests - action #35742: [functional][u] test fails in consoletest_setup - premature user name typingRejectedokurz2018-05-02

Actions
Related to openQA Tests - action #36126: [functional][u] post_fail_hook matches on "text_login_root" before actual tty switch and therefore never logs inResolvedzluo2018-05-14

Actions
Related to openQA Tests - action #88203: [qe-core] test fails in consoletest_setup - visual artifacts from previous tty (user-console) when switching from serial terminal to tty (root-console)Rejected2021-01-25

Actions
Related to openQA Tests - action #88486: [qe-core] test fails in consoletest_setup - Extract check_console_font to it's own test module, and schedule it only in the default scenarioRejected2021-02-09

Actions
Related to openQA Tests - action #91112: [qe-core][qem] test fails in consoletest_setup - probably will never be fixed, remove softfail and adjust testResolveddvenkatachala

Actions
Related to openQA Tests - action #54914: [Leap-15.4] Mistyping in some modules: vlc, x_vt (formerly xorg_vt), etc.New2019-07-31

Actions
Blocked by openQA Tests - action #34471: [qe-core][functional][opensuse][medium] too early matching in too generic needle text-login-20160812Resolved2018-04-08

Actions
Actions #1

Updated by okurz about 6 years ago

  • Subject changed from [sle][functional] test fails in consoletest_setup - missing keys while typing login to [sle][functional][u] test fails in consoletest_setup - missing keys while typing login
  • Due date set to 2018-06-05
  • Target version set to Milestone 16
Actions #2

Updated by okurz about 6 years ago

  • Related to action #35742: [functional][u] test fails in consoletest_setup - premature user name typing added
Actions #3

Updated by okurz about 6 years ago

  • Subject changed from [sle][functional][u] test fails in consoletest_setup - missing keys while typing login to [sle][functional][u] test fails in consoletest_setup - login prompt not ready to type - missing keys while typing login
  • Description updated (diff)
  • Priority changed from Normal to High

Incorporated information from duplicates.

Actions #4

Updated by okurz about 6 years ago

  • Related to action #34471: [qe-core][functional][opensuse][medium] too early matching in too generic needle text-login-20160812 added
Actions #5

Updated by jorauch about 6 years ago

  • Assignee set to jorauch
Actions #6

Updated by jorauch about 6 years ago

  • Subject changed from [sle][functional][u] test fails in consoletest_setup - login prompt not ready to type - missing keys while typing login to [sle][functional][medium][u] test fails in consoletest_setup - login prompt not ready to type - missing keys while typing login
  • Description updated (diff)
  • Difficulty set to medium
Actions #7

Updated by jorauch about 6 years ago

  • Status changed from New to Workable
Actions #8

Updated by jorauch about 6 years ago

This looks exactly like https://progress.opensuse.org/issues/34471
Would wait for it to be fixed and then revisit this.

Actions #9

Updated by jorauch about 6 years ago

  • Status changed from Workable to In Progress

Trying Sergios PR for this, might become difficult because of randomness

Actions #10

Updated by jorauch about 6 years ago

Will start 100 runs over the next weekend for this, I see no other safe way to check this

Actions #11

Updated by jorauch about 6 years ago

  • Subject changed from [sle][functional][medium][u] test fails in consoletest_setup - login prompt not ready to type - missing keys while typing login to [sle][functional][medium][u] test fails in consoletest_setup - generic text login matching too early, causing mistyping -- was " login prompt not ready to type - missing keys while typing login"
  • Description updated (diff)
  • Due date changed from 2018-06-05 to 2018-06-19
  • Status changed from In Progress to Blocked
  • Priority changed from High to Normal

The 100 runs sadly all failed during the installation

Actions #12

Updated by jorauch about 6 years ago

  • Related to deleted (action #34471: [qe-core][functional][opensuse][medium] too early matching in too generic needle text-login-20160812)
Actions #13

Updated by jorauch about 6 years ago

  • Blocked by action #34471: [qe-core][functional][opensuse][medium] too early matching in too generic needle text-login-20160812 added
Actions #14

Updated by okurz about 6 years ago

  • Target version changed from Milestone 16 to Milestone 17
Actions #15

Updated by okurz about 6 years ago

  • Target version changed from Milestone 17 to Milestone 17
Actions #16

Updated by mgriessmeier about 6 years ago

  • Due date changed from 2018-06-19 to 2018-07-03
Actions #17

Updated by mgriessmeier almost 6 years ago

  • Due date changed from 2018-07-03 to 2018-07-17
Actions #18

Updated by mgriessmeier almost 6 years ago

  • Due date changed from 2018-07-17 to 2018-07-31
Actions #19

Updated by okurz almost 6 years ago

  • Due date deleted (2018-07-31)
  • Target version changed from Milestone 17 to Milestone 21+

postponing due to blocked ticket

Actions #20

Updated by okurz over 5 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: gnome@s390x-kvm-sle15
https://openqa.suse.de/tests/2166836

Actions #21

Updated by okurz over 5 years ago

  • Target version changed from Milestone 21+ to future
Actions #22

Updated by okurz over 5 years ago

  • Blocks action #44588: [functional][u][svirt] test fails in bootloader_svirt - test started typing before actually logging in added
Actions #23

Updated by okurz over 4 years ago

  • Related to action #36126: [functional][u] post_fail_hook matches on "text_login_root" before actual tty switch and therefore never logs in added
Actions #24

Updated by SLindoMansilla about 4 years ago

  • Blocks deleted (action #44588: [functional][u][svirt] test fails in bootloader_svirt - test started typing before actually logging in)
Actions #25

Updated by tjyrinki_suse over 3 years ago

  • Subject changed from [sle][functional][medium][u] test fails in consoletest_setup - generic text login matching too early, causing mistyping -- was " login prompt not ready to type - missing keys while typing login" to [qe-core][sle][functional][medium] test fails in consoletest_setup - generic text login matching too early, causing mistyping -- was " login prompt not ready to type - missing keys while typing login"
Actions #26

Updated by tjyrinki_suse about 3 years ago

  • Related to action #88203: [qe-core] test fails in consoletest_setup - visual artifacts from previous tty (user-console) when switching from serial terminal to tty (root-console) added
Actions #27

Updated by tjyrinki_suse about 3 years ago

  • Related to action #88486: [qe-core] test fails in consoletest_setup - Extract check_console_font to it's own test module, and schedule it only in the default scenario added
Actions #28

Updated by tjyrinki_suse about 3 years ago

  • Related to action #60989: [qe-core][functional][opensuse] test fails in consoletest_finish - ensure_unlocked_desktop unreliable added
Actions #29

Updated by tjyrinki_suse about 3 years ago

  • Related to action #91545: [opensuse][qe-core] Upgrade tests: stall detected (consoletest_finish) added
Actions #30

Updated by tjyrinki_suse about 3 years ago

  • Related to action #91112: [qe-core][qem] test fails in consoletest_setup - probably will never be fixed, remove softfail and adjust test added
Actions #31

Updated by tjyrinki_suse about 3 years ago

  • Related to deleted (action #91545: [opensuse][qe-core] Upgrade tests: stall detected (consoletest_finish))
Actions #32

Updated by tjyrinki_suse about 3 years ago

  • Related to deleted (action #60989: [qe-core][functional][opensuse] test fails in consoletest_finish - ensure_unlocked_desktop unreliable)
Actions #33

Updated by okurz over 2 years ago

I came to this ticket due to periodically reviewing tickets as described on https://progress.opensuse.org/projects/openqatests/wiki#How-we-work-on-tickets

This ticket was set to "Normal" priority but was not updated within the SLO period for "Normal" tickets (365 days) as described on https://progress.opensuse.org/projects/openqatests/wiki/Wiki#SLOs-service-level-objectives

First reminder: Please consider picking up this ticket within the next 365 days or just set the ticket to the next lower priority of "Low" (no SLO related time period).

Actions #34

Updated by zluo about 2 years ago

  • Assignee changed from jorauch to zluo

let me check this ticket since jorauch has left the company for a quite long time, and the status might be different or invalid.

Actions #35

Updated by okurz about 2 years ago

  • Related to action #54914: [Leap-15.4] Mistyping in some modules: vlc, x_vt (formerly xorg_vt), etc. added
Actions #36

Updated by lkocman about 2 years ago

Not sure if related but we see something similar now on ppc64le as well https://openqa.opensuse.org/tests/2316449#step/http_srv/8

Actions

Also available in: Atom PDF