Project

General

Profile

Actions

action #18350

closed

[sles][functional] test fails in consoletest_finish - ensure_unlocked_desktop cannot open `run command prompt` alt-f2

Added by SLindoMansilla about 7 years ago. Updated about 7 years ago.

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

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-12-SP3-Server-DVD-aarch64-gnome@aarch64 fails in
consoletest_finish

The function ensure_unlocked_desktop is unable to open run command prompt (alt-f2). After 10 tries it makes the module fails.

H1 It is reproducible.
H1.1 It is reproducible by openQA. VERIFIED BY E1-1
H1.2 It is repdoducible manually.
H2 It only happens on aarch64 VERIFIED BY E2-1

E1.1-1 clone the job and see if it happens again
R1.1-1 https://openqa.suse.de/tests/858647#step/consoletest_finish/25

R1.2-1 Clone the job in a local openQA instance with spapshots, start qemu manually from it and try to reproduce it manually.
R1.2-1 not yet

E2-1 Look for jobs on other architectures with the same failure.
R2-1 https://openqa.suse.de/tests/overview?result=failed&arch=&distri=sle&version=12-SP3&build=0314&groupid=55#

Reproducible

Fails since (at least) Build 0309

Expected result

Last good: 0308 (or more recent)

Further details

Always latest result in this scenario: latest

Related to: https://bugzilla.suse.com/show_bug.cgi?id=1032686

Actions #2

Updated by SLindoMansilla about 7 years ago

  • Description updated (diff)
Actions #3

Updated by okurz about 7 years ago

clearly gnome crashes when trying to call the desktop runner after pressing "alt-f2" -> https://openqa.suse.de/tests/857313#step/consoletest_finish/17 shows the display manager after automatic restart. That is why ensure_unlocked_desktop gets confused.

But also ensure_unlocked_desktop can be improved to not only look for the desktop runner but also for the locked screen and abort checks early.

Actions #4

Updated by SLindoMansilla about 7 years ago

  • Description updated (diff)
Actions #5

Updated by okurz about 7 years ago

  • Status changed from New to Resolved
  • Assignee set to okurz

related PR https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/2723 merged

I checked the code but I don't think we should try to make the detection more "intelligent" because that will also make the code more complicated. Also, the problem we hit here (gnome crashes) is catched and very likely to come back in exactly the same way.

Actions

Also available in: Atom PDF