Project

General

Profile

Actions

action #67075

closed

test fails in updates_packagekit_gpk because assert_screen timeout because select_console x11 too long

Added by michel_mno almost 4 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Bugs in existing tests
Target version:
-
Start date:
2020-05-20
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

test fails in updates_packagekit_gpk because assert_screen timeout because select_console x11 too long
despite a 90s timeout.

I hit the problem two times on TW 20200517 snapshot
https://openqa.opensuse.org/tests/1272417#step/updates_packagekit_gpk/3
https://openqa.opensuse.org/tests/1272711#step/updates_packagekit_gpk/3

extract of related autoinst.log

[2020-05-19T14:06:33.973 UTC] [debug] Snapshot complete
[2020-05-19T14:06:34.036 UTC] [debug] EVENT {"event":"RESUME","timestamp":{"microseconds":36453,"seconds":1589897194}}
[2020-05-19T14:06:34.043 UTC] [debug] ||| starting updates_packagekit_gpk tests/update/updates_packagekit_gpk.pm
[2020-05-19T14:06:34.048 UTC] [debug] QEMU: Formatting '/var/lib/openqa/pool/2/raid/hd0-overlay3', fmt=qcow2 size=42949672960 backing_file=/var/lib/openqa/pool/2/raid/hd0-overlay2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
[2020-05-19T14:06:34.048 UTC] [debug] QEMU: Formatting '/var/lib/openqa/pool/2/raid/cd0-overlay3', fmt=qcow2 size=3785537536 backing_file=/var/lib/openqa/pool/2/raid/cd0-overlay2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
[2020-05-19T14:06:34.049 UTC] [debug] tests/update/updates_packagekit_gpk.pm:65 called testapi::select_console
[2020-05-19T14:06:34.049 UTC] [debug] <<< testapi::select_console(testapi_console="x11", await_console=0)
[2020-05-19T14:06:34.856 UTC] [debug] activate_console, console: x11, type:
[2020-05-19T14:06:34.856 UTC] [debug] activate_console called with generic type, no action
[2020-05-19T14:06:34.856 UTC] [debug] tests/update/updates_packagekit_gpk.pm:66 called x11utils::ensure_unlocked_desktop -> lib/x11utils.pm:79 called testapi::assert_screen
[2020-05-19T14:06:34.856 UTC] [debug] <<< testapi::assert_screen(mustmatch=[
  "displaymanager",
  "displaymanager-password-prompt",
  "generic-desktop",
  "screenlock",
  "screenlock-password",
  "authentication-required-user-settings",
  "authentication-required-modify-system",
  "guest-disabled-display"
], timeout=30, no_wait=1)
[2020-05-19T14:06:38.197 UTC] [debug] WARNING: check_asserted_screen took 3.34 seconds for 103 candidate needles - make your needles more specific
[2020-05-19T14:06:38.197 UTC] [debug] no match: 89.9s, best candidate: XFCE-blackscreen-leap15.2-20200403 (0.99)
...
[2020-05-19T14:08:13.847 UTC] [debug] no match: -0.1s, best candidate: XFCE-blackscreen-leap15.2-20200403 (0.99)
[2020-05-19T14:08:14.109 UTC] [debug] >>> testapi::_check_backend_response: match=authentication-required-modify-system,authentication-required-user-settings,displaymanager,displaymanager-password-prompt,generic-desktop,guest-disabled-display,screenlock,screenlock-password timed out after 90 (assert_screen)
[2020-05-19T14:08:14.170 UTC] [info] ::: basetest::runtest: # Test died: no candidate needle with tag(s) 'displaymanager, displaymanager-password-prompt, generic-desktop, screenlock, screenlock-password, authentication-required-user-settings, authentication-required-modify-system, guest-disabled-display' matched
[2020-05-19T14:08:14.171 UTC] [debug] tests/update/updates_packagekit_gpk.pm:132 called opensusebasetest::post_fail_hook -> lib/opensusebasetest.pm:1162 called utils::show_tasks_in_blocked_state -> lib/utils.pm:1379 called testapi::send_key
[2020-05-19T14:08:14.171 UTC] [debug] <<< testapi::send_key(key="alt-sysrq-w", do_wait=0, wait_screen_change=0)

Observation

openQA test in scenario opensuse-Tumbleweed-DVD-ppc64le-gnome@ppc64le fails in
updates_packagekit_gpk

Test suite description

Reproducible

Fails since (at least) Build 20200517

Expected result

Last good: 20200516 (or more recent)

Further details

Always latest result in this scenario: latest

Actions

Also available in: Atom PDF