Mir

[ FAILED ] TestClientInput.scene_obscure_motion_events_by_stacking

Bug #1524230 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Medium
Alberto Aguirre
mir (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

[ FAILED ] TestClientInput.scene_obscure_motion_events_by_stacking

Not to be confused for old bug 1361757. This failure has started happening around Mir 0.18 with the introduction of libinput/evdev...

[ RUN ] TestClientInput.scene_obscure_motion_events_by_stacking
[1449572767.410709] mirserver: Starting
[1449572767.411743] mirserver: Selected driver: dummy (version 0.19.0)
[1449572767.425747] mirserver: Initial display configuration:
[1449572767.426230] mirserver: 1.1: VGA 0.0" 0x0mm
[1449572767.426321] mirserver: Current mode 1000x800 60.00Hz
[1449572767.426391] mirserver: Preferred mode 1000x800 60.00Hz
[1449572767.426446] mirserver: Logical position +0+0
[1449572767.438084] mirserver: Using software cursor
[1449572767.440197] mirserver: Selected input driver: stub-input (version: 0.19.0)
[1449572767.440436] mirserver: Mir version 0.19.0
unknown file: Failure

Unexpected mock function call - returning directly.
Function call: handle_input(pointer_event(when=7933213866549335 (49.552019ms ago), from=2, button_down, button_state=1, x=1, y=1, dx=0, dy=0, vscroll=0, hscroll=0, modifiers=1))
Google Mock tried the following 5 expectations, but none matched:

/tmp/buildd/mir-0.18.0bzr3185pkg0xenial123/tests/acceptance-tests/test_client_input.cpp:426: tried expectation #0: EXPECT_CALL(first_client, handle_input(mt::PointerEnterEvent()))...
Expected arg #0: pointer enter event
Actual: pointer_event(when=7933213866549335 (14.881221ms ago), from=2, button_down, button_state=1, x=1, y=1, dx=0, dy=0, vscroll=0, hscroll=0, modifiers=1)
Expected: to be called any number of times
Actual: called once - satisfied and active
/tmp/buildd/mir-0.18.0bzr3185pkg0xenial123/tests/acceptance-tests/test_client_input.cpp:427: tried expectation #1: EXPECT_CALL(first_client, handle_input(mt::PointerLeaveEvent()))...
Expected arg #0: pointer leave event
Actual: pointer_event(when=7933213866549335 (34.696842ms ago), from=2, button_down, button_state=1, x=1, y=1, dx=0, dy=0, vscroll=0, hscroll=0, modifiers=1)
Expected: to be called any number of times
Actual: never called - satisfied and active
/tmp/buildd/mir-0.18.0bzr3185pkg0xenial123/tests/acceptance-tests/test_client_input.cpp:428: tried expectation #2: EXPECT_CALL(first_client, handle_input(mt::PointerMovementEvent()))...
Expected arg #0: pointer movement event
Actual: pointer_event(when=7933213866549335 (36.359271ms ago), from=2, button_down, button_state=1, x=1, y=1, dx=0, dy=0, vscroll=0, hscroll=0, modifiers=1)
Expected: to be called any number of times
Actual: called once - satisfied and active
/tmp/buildd/mir-0.18.0bzr3185pkg0xenial123/tests/acceptance-tests/test_client_input.cpp:432: tried expectation #3: EXPECT_CALL(first_client, handle_input(mt::ButtonDownEvent(501, 1)))...
Expected arg #0: button down event (501, 1)
Actual: pointer_event(when=7933213866549335 (44.904230ms ago), from=2, button_down, button_state=1, x=1, y=1, dx=0, dy=0, vscroll=0, hscroll=0, modifiers=1)
Expected: to be called once
Actual: never called - unsatisfied and active
/tmp/buildd/mir-0.18.0bzr3185pkg0xenial123/tests/acceptance-tests/test_client_input.cpp:433: tried expectation #4: EXPECT_CALL(first_client, handle_input(mt::ButtonUpEvent(501, 1)))...
Expected arg #0: button up event (501, 1)
Actual: pointer_event(when=7933213866549335 (47.634259ms ago), from=2, button_down, button_state=1, x=1, y=1, dx=0, dy=0, vscroll=0, hscroll=0, modifiers=1)
Expected: to be called once
Actual: never called - unsatisfied and active
unknown file: Failure

Unexpected mock function call - returning directly.
Function call: handle_input(pointer_event(when=7933213952933617 (12.936916ms ago), from=2, button_up, button_state=0, x=1, y=1, dx=0, dy=0, vscroll=0, hscroll=0, modifiers=1))
Google Mock tried the following 5 expectations, but none matched:

/tmp/buildd/mir-0.18.0bzr3185pkg0xenial123/tests/acceptance-tests/test_client_input.cpp:426: tried expectation #0: EXPECT_CALL(first_client, handle_input(mt::PointerEnterEvent()))...
Expected arg #0: pointer enter event
Actual: pointer_event(when=7933213952933617 (9.830763ms ago), from=2, button_up, button_state=0, x=1, y=1, dx=0, dy=0, vscroll=0, hscroll=0, modifiers=1)
Expected: to be called any number of times
Actual: called once - satisfied and active
/tmp/buildd/mir-0.18.0bzr3185pkg0xenial123/tests/acceptance-tests/test_client_input.cpp:427: tried expectation #1: EXPECT_CALL(first_client, handle_input(mt::PointerLeaveEvent()))...
Expected arg #0: pointer leave event
Actual: pointer_event(when=7933213952933617 (10.590443ms ago), from=2, button_up, button_state=0, x=1, y=1, dx=0, dy=0, vscroll=0, hscroll=0, modifiers=1)
Expected: to be called any number of times
Actual: never called - satisfied and active
/tmp/buildd/mir-0.18.0bzr3185pkg0xenial123/tests/acceptance-tests/test_client_input.cpp:428: tried expectation #2: EXPECT_CALL(first_client, handle_input(mt::PointerMovementEvent()))...
Expected arg #0: pointer movement event
Actual: pointer_event(when=7933213952933617 (11.157090ms ago), from=2, button_up, button_state=0, x=1, y=1, dx=0, dy=0, vscroll=0, hscroll=0, modifiers=1)
Expected: to be called any number of times
Actual: called once - satisfied and active
/tmp/buildd/mir-0.18.0bzr3185pkg0xenial123/tests/acceptance-tests/test_client_input.cpp:432: tried expectation #3: EXPECT_CALL(first_client, handle_input(mt::ButtonDownEvent(501, 1)))...
Expected arg #0: button down event (501, 1)
Actual: pointer_event(when=7933213952933617 (12.073604ms ago), from=2, button_up, button_state=0, x=1, y=1, dx=0, dy=0, vscroll=0, hscroll=0, modifiers=1)
Expected: to be called once
Actual: never called - unsatisfied and active
/tmp/buildd/mir-0.18.0bzr3185pkg0xenial123/tests/acceptance-tests/test_client_input.cpp:433: tried expectation #4: EXPECT_CALL(first_client, handle_input(mt::ButtonUpEvent(501, 1)))...
Expected arg #0: button up event (501, 1)
Actual: pointer_event(when=7933213952933617 (12.657838ms ago), from=2, button_up, button_state=0, x=1, y=1, dx=0, dy=0, vscroll=0, hscroll=0, modifiers=1)
Expected: to be called once
Actual: never called - unsatisfied and active
/tmp/buildd/mir-0.18.0bzr3185pkg0xenial123/tests/acceptance-tests/test_client_input.cpp:443: Failure
Actual function call count doesn't match EXPECT_CALL(second_client, handle_input(mt::ButtonDownEvent(1, 1)))...
Expected: to be called once
Actual: never called - unsatisfied and active
/tmp/buildd/mir-0.18.0bzr3185pkg0xenial123/tests/acceptance-tests/test_client_input.cpp:444: Failure
Actual function call count doesn't match EXPECT_CALL(second_client, handle_input(mt::ButtonUpEvent(1, 1)))...
Expected: to be called once
Actual: never called - unsatisfied and active
[1449572773.016678] mirserver: Stopping
[ FAILED ] TestClientInput.scene_obscure_motion_events_by_stacking (5630 ms)

Tags: testsfail

Related branches

tags: added: testsfail
Changed in mir:
importance: Undecided → Medium
Changed in mir:
milestone: none → 0.19.0
assignee: nobody → Alberto Aguirre (albaguirre)
status: New → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir at revision 3186, scheduled for release in mir, milestone 0.19.0

Changed in mir:
status: In Progress → Fix Committed
tags: removed: pointer-events
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

mir (0.19.0+16.04.20160128-0ubuntu1) xenial; urgency=medium

Changed in mir:
status: Fix Committed → Fix Released
Changed in mir (Ubuntu):
status: New → Fix Released
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.