Project

General

Profile

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 about 2 years ago. Updated over 1 year 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
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 - premature user name typingRejected2018-05-02

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

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

History

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

#2 Updated by okurz about 2 years ago

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

#3 Updated by okurz about 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 about 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 about 2 years ago

  • Assignee set to jorauch

#6 Updated by jorauch about 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 about 2 years ago

  • Status changed from New to Workable

#8 Updated by jorauch about 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 about 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 about 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 about 2 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

#12 Updated by jorauch about 2 years ago

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

#13 Updated by jorauch about 2 years ago

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

#14 Updated by okurz almost 2 years ago

  • Target version changed from Milestone 16 to Milestone 17

#15 Updated by okurz almost 2 years ago

  • Target version changed from Milestone 17 to Milestone 17

#16 Updated by mgriessmeier almost 2 years ago

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

#17 Updated by mgriessmeier almost 2 years ago

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

#18 Updated by mgriessmeier almost 2 years ago

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

#19 Updated by okurz almost 2 years ago

  • Due date deleted (2018-07-31)
  • 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 over 1 year ago

  • Target version changed from Milestone 21+ to future

#22 Updated by okurz over 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 8 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

#24 Updated by SLindoMansilla about 1 month ago

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

Also available in: Atom PDF