Project

General

Profile

Actions

action #53045

open

[opensuse][kde][sporadic] krunner suggestions check is racy

Added by StefanBruens over 5 years ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Bugs in existing tests
Target version:
-
Start date:
2019-06-13
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario opensuse-Staging:F-Staging-DVD-x86_64-kde@64bit succeeds in
ooffice

but
same needle/check essentially fails in
https://openqa.opensuse.org/tests/957874#step/oomath/30

https://openqa.opensuse.org/tests/957874/file/autoinst-log.txt

[2019-06-13T18:23:05.918 CEST] [debug] /var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/tests/x11/ooffice.pm:21 called testapi::x11_start_program
[2019-06-13T18:23:05.918 CEST] [debug] <<< testapi::check_screen(mustmatch='desktop-runner', timeout=30)
[2019-06-13T18:23:06.704 CEST] [debug] >>> testapi::_handle_found_needle: found desktop-runner-kde-20190424, similarity 1.00 @ 254/2
[2019-06-13T18:23:06.704 CEST] [debug] /var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/tests/x11/ooffice.pm:21 called testapi::x11_start_program
[2019-06-13T18:23:06.704 CEST] [debug] <<< testapi::type_string(string='oowriter', max_interval=13, wait_screen_changes=0, wait_still_screen=0, timeout=30, similarity_level=47)
[2019-06-13T18:23:06.704 CEST] [debug] /var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/tests/x11/ooffice.pm:21 called testapi::x11_start_program
[2019-06-13T18:23:06.704 CEST] [debug] <<< testapi::wait_screen_change(timeout=10, similarity_level=50)
[2019-06-13T18:23:09.126 CEST] [debug] waiting for screen change: 0 35.209458787774
[2019-06-13T18:23:09.126 CEST] [debug] >>> testapi::wait_screen_change: screen change seen at 0
[2019-06-13T18:23:09.126 CEST] [debug] /var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/tests/x11/ooffice.pm:21 called testapi::x11_start_program
[2019-06-13T18:23:09.126 CEST] [debug] <<< testapi::check_screen(mustmatch='desktop-runner-plasma-suggestions', timeout=0)
[2019-06-13T18:23:09.390 CEST] [debug] no match: -0.1s, best candidate: desktop-runner-plasma-suggestions-20180423 (0.00)
[2019-06-13T18:23:09.522 CEST] [debug] >>> testapi::_check_backend_response: match=desktop-runner-plasma-suggestions timed out after 0 (check_screen)
[2019-06-13T18:23:09.562 CEST] [debug] /var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/tests/x11/ooffice.pm:21 called testapi::x11_start_program
[2019-06-13T18:23:09.562 CEST] [debug] <<< testapi::send_key(key='esc', do_wait=0)
[2019-06-13T18:23:39.768 CEST] [debug] /var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/tests/x11/ooffice.pm:21 called testapi::x11_start_program
...
[2019-06-13T18:24:10.560 CEST] [debug] /var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/tests/x11/ooffice.pm:21 called testapi::x11_start_program
[2019-06-13T18:24:10.560 CEST] [debug] <<< testapi::send_key(key='alt-f2', do_wait=0)
[2019-06-13T18:24:10.767 CEST] [debug] waiting for screen change: 0 1000000
[2019-06-13T18:24:11.271 CEST] [debug] waiting for screen change: 1 17.1063380248686
[2019-06-13T18:24:11.271 CEST] [debug] >>> testapi::wait_screen_change: screen change seen at 1
[2019-06-13T18:24:11.271 CEST] [debug] /var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/tests/x11/ooffice.pm:21 called testapi::x11_start_program
[2019-06-13T18:24:11.271 CEST] [debug] <<< testapi::check_screen(mustmatch='desktop-runner', timeout=10)
[2019-06-13T18:24:11.484 CEST] [debug] >>> testapi::_handle_found_needle: found desktop-runner-kde-20190424, similarity 1.00 @ 254/2
[2019-06-13T18:24:11.484 CEST] [debug] /var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/tests/x11/ooffice.pm:21 called testapi::x11_start_program
[2019-06-13T18:24:11.485 CEST] [debug] <<< testapi::type_string(string='oowriter', max_interval=13, wait_screen_changes=0, wait_still_screen=0, timeout=30, similarity_level=47)
[2019-06-13T18:24:11.485 CEST] [debug] /var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/tests/x11/ooffice.pm:21 called testapi::x11_start_program
[2019-06-13T18:24:11.485 CEST] [debug] <<< testapi::wait_screen_change(timeout=10, similarity_level=50)
[2019-06-13T18:24:13.906 CEST] [debug] waiting for screen change: 0 35.209458787774
[2019-06-13T18:24:13.906 CEST] [debug] >>> testapi::wait_screen_change: screen change seen at 0
[2019-06-13T18:24:13.906 CEST] [debug] /var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/tests/x11/ooffice.pm:21 called testapi::x11_start_program
[2019-06-13T18:24:13.906 CEST] [debug] <<< testapi::check_screen(mustmatch='desktop-runner-plasma-suggestions', timeout=0)
[2019-06-13T18:24:14.267 CEST] [debug] >>> testapi::_handle_found_needle: found desktop-runner-plasma-suggestions-20190524, similarity 1.00 @ 243/1

Test suite description

TIMEOUT_SCALE property is added to avoid sporadic shutdown fails in kde@USBboot_64 scenario.

Added by : oorlov;

Related ticket: poo#37000

Expected result

When a matching needle exists, and the runner shows the suggestions (as it obviously does, see https://openqa.opensuse.org/tests/957874/file/video.ogv#t=251.62,251.66), the check should not fail.

Further details

Always latest result in this scenario: latest


Related issues 3 (1 open2 closed)

Related to openQA Tests - action #51944: [opensuse][functional][u] test fails in dolphin -- "kdialog --getopenfilename" fails to startRejectedzluo2019-05-23

Actions
Related to openQA Tests - action #35589: [functional][u][opensuse][sporadic][medium] test fails in kontact - needs workaround for boo#1105207, then akregator not closedRejectedzluo2018-04-26

Actions
Related to openQA Tests - action #54290: [opensuse][kde] Sometimes, on KDE, alt-f2 does not show krunnerNew2019-07-15

Actions
Actions

Also available in: Atom PDF