action #34339

[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"

Added by oorlov almost 2 years ago. Updated about 1 year ago.

Status:BlockedStart date:05/04/2018
Priority:NormalDue date:
Assignee:jorauch% Done:

0%

Category:Bugs in existing tests
Target version:QA - future
Difficulty:medium
Duration:

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

Related to openQA Tests - action #35742: [functional][u] test fails in consoletest_setup - prematu... Rejected 02/05/2018
Related to openQA Tests - action #36126: [functional][u] post_fail_hook matches on "text_login_roo... Resolved 14/05/2018
Blocked by openQA Tests - action #34471: [functional][opensuse][u][medium] too early matching in t... New 08/04/2018
Blocks openQA Tests - action #44588: [functional][u][svirt] test fails in bootloader_svirt - t... Blocked 30/11/2018

History

#1 Updated by okurz almost 2 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 05/06/2018
  • Target version set to Milestone 16

#2 Updated by okurz almost 2 years ago

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

#3 Updated by okurz almost 2 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.

#4 Updated by okurz almost 2 years ago

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

#5 Updated by jorauch almost 2 years ago

  • Assignee set to jorauch

#6 Updated by jorauch almost 2 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

#7 Updated by jorauch almost 2 years ago

  • Status changed from New to Workable

#8 Updated by jorauch almost 2 years ago

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

#9 Updated by jorauch almost 2 years ago

  • Status changed from Workable to In Progress

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

#10 Updated by jorauch almost 2 years ago

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

#11 Updated by jorauch over 1 year 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 05/06/2018 to 19/06/2018
  • Status changed from In Progress to Blocked
  • Priority changed from High to Normal

The 100 runs sadly all failed during the installation

#12 Updated by jorauch over 1 year ago

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

#13 Updated by jorauch over 1 year ago

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

#14 Updated by okurz over 1 year ago

  • Target version changed from Milestone 16 to Milestone 17

#15 Updated by okurz over 1 year ago

  • Target version changed from Milestone 17 to Milestone 17

#16 Updated by mgriessmeier over 1 year ago

  • Due date changed from 19/06/2018 to 03/07/2018

#17 Updated by mgriessmeier over 1 year ago

  • Due date changed from 03/07/2018 to 17/07/2018

#18 Updated by mgriessmeier over 1 year ago

  • Due date changed from 17/07/2018 to 31/07/2018

#19 Updated by okurz over 1 year ago

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

postponing due to blocked ticket

#20 Updated by okurz over 1 year 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

#21 Updated by okurz about 1 year ago

  • Target version changed from Milestone 21+ to future

#22 Updated by okurz about 1 year ago

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

#23 Updated by okurz 5 months 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

Also available in: Atom PDF