Project

General

Profile

action #34339

[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 over 3 years ago. Updated 12 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

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

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)New2021-01-25

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 scenarioWorkable2021-02-09

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

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

History

#1 Updated by okurz over 3 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 over 3 years ago

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

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

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

#5 Updated by jorauch over 3 years ago

  • Assignee set to jorauch

#6 Updated by jorauch over 3 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 over 3 years ago

  • Status changed from New to Workable

#8 Updated by jorauch over 3 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 over 3 years ago

  • Status changed from Workable to In Progress

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

#10 Updated by jorauch over 3 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 3 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 over 3 years ago

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

#13 Updated by jorauch over 3 years ago

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

#14 Updated by okurz over 3 years ago

  • Target version changed from Milestone 16 to Milestone 17

#15 Updated by okurz over 3 years ago

  • Target version changed from Milestone 17 to Milestone 17

#16 Updated by mgriessmeier over 3 years ago

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

#17 Updated by mgriessmeier over 3 years ago

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

#18 Updated by mgriessmeier over 3 years ago

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

#19 Updated by okurz over 3 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 about 3 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

#21 Updated by okurz almost 3 years ago

  • Target version changed from Milestone 21+ to future

#22 Updated by okurz almost 3 years ago

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

#23 Updated by okurz about 2 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

#24 Updated by SLindoMansilla over 1 year ago

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

#25 Updated by tjyrinki_suse 12 months 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"

#26 Updated by tjyrinki_suse 6 months 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

#27 Updated by tjyrinki_suse 6 months 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

#28 Updated by tjyrinki_suse 6 months ago

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

#29 Updated by tjyrinki_suse 6 months ago

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

#30 Updated by tjyrinki_suse 6 months ago

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

#31 Updated by tjyrinki_suse 6 months ago

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

#32 Updated by tjyrinki_suse 6 months ago

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

Also available in: Atom PDF