Mir

[ FAILED ] NestedInput.pressed_keys_on_vt_switch_are_forgotten

Bug #1679469 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Confirmed
Medium
Unassigned
mir (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

03:15:32 11: [ RUN ] NestedInput.pressed_keys_on_vt_switch_are_forgotten
...
03:15:33 11:
03:15:33 11: GMOCK WARNING:
03:15:33 11: Uninteresting mock function call - returning directly.
03:15:33 11: Function call: handle_device_state(input_device_state(ts=5746954184370494, window_id=1, mod=none, btns=0, x=0, y=0 [1 btns=0 pressed=()])
03:15:33 11: Stack trace:
03:15:33 11: unknown file: Failure
03:15:33 11:
03:15:33 11: Unexpected mock function call - returning directly.
03:15:33 11: Function call: handle_input(key_event(when=5746954636411875 (31.510121ms ago), from=1, window_id=1, down, code=230, scan=30, modifiers=ctrl ctrl_right))
03:15:33 11: Google Mock tried the following 3 expectations, but none matched:
03:15:33 11:
03:15:33 11: /<<BUILDDIR>>/mir-0.26.1+17.04.20170209.1+xenial4556bzr4123/tests/acceptance-tests/test_nested_input.cpp:589: tried expectation #0: EXPECT_CALL(client_to_nested, handle_input(mt::KeyOfScanCode(100)))...
03:15:33 11: Expected arg #0: key of scan code 100
03:15:33 11: Actual: key_event(when=5746954636411875 (19.451933ms ago), from=1, window_id=1, down, code=230, scan=30, modifiers=ctrl ctrl_right)
03:15:33 11: Expected: to be called once
03:15:33 11: Actual: called once - saturated and active
03:15:33 11: /<<BUILDDIR>>/mir-0.26.1+17.04.20170209.1+xenial4556bzr4123/tests/acceptance-tests/test_nested_input.cpp:590: tried expectation #1: EXPECT_CALL(client_to_nested, handle_input(mt::KeyOfScanCode(97)))...
03:15:33 11: Expected arg #0: key of scan code 97
03:15:33 11: Actual: key_event(when=5746954636411875 (26.254534ms ago), from=1, window_id=1, down, code=230, scan=30, modifiers=ctrl ctrl_right)
03:15:33 11: Expected: to be called once
03:15:33 11: Actual: called once - saturated and active
03:15:33 11: /<<BUILDDIR>>/mir-0.26.1+17.04.20170209.1+xenial4556bzr4123/tests/acceptance-tests/test_nested_input.cpp:607: tried expectation #2: EXPECT_CALL(client_to_nested, handle_input(AllOf(mt::KeyOfScanCode(30), mt::KeyWithModifiers(mir_input_event_modifier_none))))...
03:15:33 11: Expected arg #0: (key of scan code 30) and (key with modifiers 1)
03:15:33 11: Actual: key_event(when=5746954636411875 (29.949941ms ago), from=1, window_id=1, down, code=230, scan=30, modifiers=ctrl ctrl_right)
03:15:33 11: Expected: to be called once
03:15:33 11: Actual: never called - unsatisfied and active
03:15:43 11: /<<BUILDDIR>>/mir-0.26.1+17.04.20170209.1+xenial4556bzr4123/tests/acceptance-tests/test_nested_input.cpp:611: Failure
03:15:43 11: Value of: keys_without_modifier_received.wait_for(10s)
03:15:43 11: Actual: false
03:15:43 11: Expected: true
03:15:43 11: /<<BUILDDIR>>/mir-0.26.1+17.04.20170209.1+xenial4556bzr4123/tests/acceptance-tests/test_nested_input.cpp:607: Failure
03:15:43 11: Actual function call count doesn't match EXPECT_CALL(client_to_nested, handle_input(AllOf(mt::KeyOfScanCode(30), mt::KeyWithModifiers(mir_input_event_modifier_none))))...
03:15:43 11: Expected: to be called once
03:15:43 11: Actual: never called - unsatisfied and active
03:15:43 11: [2017-04-04 03:15:43.816998] mirserver: Stopping
03:15:43 11: [2017-04-04 03:15:43.853213] mirserver: Stopping
03:15:43 11: [ FAILED ] NestedInput.pressed_keys_on_vt_switch_are_forgotten (11722 ms)

https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=amd64,compiler=gcc,platform=mesa,release=xenial+overlay/4484/consoleFull

Tags: testsfail
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :
Download full text (6.0 KiB)

10:39:02 11: [ RUN ] NestedInput.pressed_keys_on_vt_switch_are_forgotten
10:39:02 11: [2017-08-07 10:39:02.461375] mirserver: Starting
10:39:02 11: [2017-08-07 10:39:02.462598] mirserver: Selected driver: mir:stub-graphics (version 0.27.0)
10:39:02 11: [2017-08-07 10:39:02.646267] mirserver: Using software cursor
10:39:02 11: [2017-08-07 10:39:02.654592] mirserver: Selected input driver: mir:stub-input (version: 0.27.0)
10:39:02 11: [2017-08-07 10:39:02.661740] mirserver: Mir version 0.27.0
10:39:02 11: [2017-08-07 10:39:02.817684] mirserver: Initial display configuration:
10:39:02 11: [2017-08-07 10:39:02.817972] mirserver: CMakeFiles CTestTestfile.cmake Makefile cmake_install.cmake mir_acceptance_tests_precompiled.hpp.gch precompiled.hpp.compileflags precompiled.hpp.compileflags.processed Output 1: VGA connected, used
10:39:02 11: [2017-08-07 10:39:02.818144] mirserver: . |_ Physical size 0.0" 0x0mm
10:39:02 11: [2017-08-07 10:39:02.818280] mirserver: . |_ Power is on
10:39:02 11: [2017-08-07 10:39:02.818455] mirserver: . |_ Current mode 1920x1080 60.00Hz
10:39:02 11: [2017-08-07 10:39:02.818627] mirserver: . |_ Preferred mode 1920x1080 60.00Hz
10:39:02 11: [2017-08-07 10:39:02.818772] mirserver: . |_ Orientation normal
10:39:02 11: [2017-08-07 10:39:02.818951] mirserver: . |_ Logical size 1920x1080
10:39:02 11: [2017-08-07 10:39:02.819101] mirserver: . |_ Logical position +0+0
10:39:02 11: [2017-08-07 10:39:02.819257] mirserver: . |_ Scaling factor: 1.00
10:39:02 11: [2017-08-07 10:39:02.834017] mirserver: Starting
10:39:03 11: [2017-08-07 10:39:03.314596] mirserver: Using nested cursor
10:39:03 11: [2017-08-07 10:39:03.361471] mirserver: Mir version 0.27.0
10:39:03 11: [2017-08-07 10:39:03.501342] mirserver: Initial display configuration:
10:39:03 11: [2017-08-07 10:39:03.501724] mirserver: CMakeFiles CTestTestfile.cmake Makefile cmake_install.cmake mir_acceptance_tests_precompiled.hpp.gch precompiled.hpp.compileflags precompiled.hpp.compileflags.processed Output 1: VGA connected, used
10:39:03 11: [2017-08-07 10:39:03.501933] mirserver: . |_ Physical size 0.0" 0x0mm
10:39:03 11: [2017-08-07 10:39:03.502100] mirserver: . |_ Power is on
10:39:03 11: [2017-08-07 10:39:03.502298] mirserver: . |_ Current mode 1920x1080 60.00Hz
10:39:03 11: [2017-08-07 10:39:03.502498] mirserver: . |_ Preferred mode 1920x1080 60.00Hz
10:39:03 11: [2017-08-07 10:39:03.502861] mirserver: . |_ Orientation normal
10:39:03 11: [2017-08-07 10:39:03.503068] mirserver: . |_ Logical size 1920x1080
10:39:03 11: [2017-08-07 10:39:03.503269] mirserver: . |_ Logical position +0+0
10:39:03 11: [2017-08-07 10:39:03.503421] mirserver: . |_ Scaling factor: 1.00
10:39:03 11:
10:39:03 11: GMOCK WARNING:
10:39:03 11: Uninteresting mock function call - returning directly.
10:39:03 11: Function call: handle_device_state(input_device_state(ts=17865731579909971, window_id=1, mod=none, btns=0, x=0, y=0 [1 btns=0 pressed=()])
10:39:03 11: NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/googlemock/docs/CookBo...

Read more...

Changed in mir:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Michał Sawicz (saviq) wrote :

Syncing task from Mir.

Changed in mir (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.