Mir

acceptance-tests FAIL: TestClientInput.hidden_clients_do_not_receive_pointer_events fails

Bug #1407783 reported by Cemil Azizoglu on 2015-01-05
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mir
Fix Released
High
Robert Carr
mir (Ubuntu)
High
Unassigned

Bug Description

Failure observed during silo build :

43: Test command: /build/buildd/mir-0.10.0+15.04.20150105/obj-i686-linux-gnu/bin/mir_acceptance_tests "--gtest_filter=TestClientInput.*"
43: Test timeout computed to be: 9.99988e+06
43: [1420483369.681871] (II) SharedLibrary: Loading libmirplatform5driver.so
43: Running main() from command_line_server_configuration.cpp
43: Note: Google Test filter = TestClientInput.*
43: [==========] Running 11 tests from 1 test case.
43: [----------] Global test environment set-up.
43: [----------] 11 tests from TestClientInput
43: [ RUN ] TestClientInput.clients_receive_key_input
43: [1420483369.688794] (II) DisplayServer: Mir version 0.10.0
43: [ OK ] TestClientInput.clients_receive_key_input (17 ms)
43: [ RUN ] TestClientInput.clients_receive_us_english_mapped_keys
43: [1420483369.705733] (II) DisplayServer: Mir version 0.10.0
43: [ OK ] TestClientInput.clients_receive_us_english_mapped_keys (15 ms)
43: [ RUN ] TestClientInput.clients_receive_motion_inside_window
43: [1420483369.720313] (II) DisplayServer: Mir version 0.10.0
43: [ OK ] TestClientInput.clients_receive_motion_inside_window (25 ms)
43: [ RUN ] TestClientInput.clients_receive_button_events_inside_window
43: [1420483369.745648] (II) DisplayServer: Mir version 0.10.0
43: [ OK ] TestClientInput.clients_receive_button_events_inside_window (15 ms)
43: [ RUN ] TestClientInput.multiple_clients_receive_motion_inside_windows
43: [1420483369.760227] (II) DisplayServer: Mir version 0.10.0
43: [ OK ] TestClientInput.multiple_clients_receive_motion_inside_windows (40 ms)
43: [ RUN ] TestClientInput.clients_do_not_receive_motion_outside_input_region
43: [1420483369.800193] (II) DisplayServer: Mir version 0.10.0
43: [ OK ] TestClientInput.clients_do_not_receive_motion_outside_input_region (15 ms)
43: [ RUN ] TestClientInput.scene_obscure_motion_events_by_stacking
43: [1420483369.815204] (II) DisplayServer: Mir version 0.10.0
43: [ OK ] TestClientInput.scene_obscure_motion_events_by_stacking (24 ms)
43: [ RUN ] TestClientInput.hidden_clients_do_not_receive_pointer_events
43: [1420483369.839523] (II) DisplayServer: Mir version 0.10.0
43: /build/buildd/mir-0.10.0+15.04.20150105/tests/acceptance-tests/throwback/test_client_input.cpp:479: Failure
43: Actual function call count doesn't match EXPECT_CALL(client1.handler, handle_input(mt::MotionEventWithPosition(2, 2)))...
43: Expected: to be called once
43: Actual: never called - unsatisfied and active
43: [ FAILED ] TestClientInput.hidden_clients_do_not_receive_pointer_events (10014 ms)
43: [ RUN ] TestClientInput.clients_receive_motion_within_coordinate_system_of_window
43: [1420483379.853178] (II) DisplayServer: Mir version 0.10.0
43: [ OK ] TestClientInput.clients_receive_motion_within_coordinate_system_of_window (18 ms)
43: [ RUN ] TestClientInput.usb_direct_input_devices_work
43: [1420483379.870675] (II) DisplayServer: Mir version 0.10.0
43: [ OK ] TestClientInput.usb_direct_input_devices_work (37 ms)
43: [ RUN ] TestClientInput.send_mir_input_events_through_surface
43: [1420483379.908527] (II) DisplayServer: Mir version 0.10.0
43: [ OK ] TestClientInput.send_mir_input_events_through_surface (9 ms)
43: [----------] 11 tests from TestClientInput (10229 ms total)
43:
43: [----------] Global test environment tear-down
43: [==========] 11 tests from 1 test case ran. (10230 ms total)
43: [ PASSED ] 10 tests.
43: [ FAILED ] 1 test, listed below:
43: [ FAILED ] TestClientInput.hidden_clients_do_not_receive_pointer_events
43:
43: 1 FAILED TEST
 43/265 Test #43: mir_acceptance_tests.TestClientInput.* ........................................***Failed 10.25 sec
[1420483369.681871] (II) SharedLibrary: Loading libmirplatform5driver.so
Running main() from command_line_server_configuration.cpp
Note: Google Test filter = TestClientInput.*
[==========] Running 11 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 11 tests from TestClientInput
[ RUN ] TestClientInput.clients_receive_key_input
[1420483369.688794] (II) DisplayServer: Mir version 0.10.0
[ OK ] TestClientInput.clients_receive_key_input (17 ms)
[ RUN ] TestClientInput.clients_receive_us_english_mapped_keys
[1420483369.705733] (II) DisplayServer: Mir version 0.10.0
[ OK ] TestClientInput.clients_receive_us_english_mapped_keys (15 ms)
[ RUN ] TestClientInput.clients_receive_motion_inside_window
[1420483369.720313] (II) DisplayServer: Mir version 0.10.0
[ OK ] TestClientInput.clients_receive_motion_inside_window (25 ms)
[ RUN ] TestClientInput.clients_receive_button_events_inside_window
[1420483369.745648] (II) DisplayServer: Mir version 0.10.0
[ OK ] TestClientInput.clients_receive_button_events_inside_window (15 ms)
[ RUN ] TestClientInput.multiple_clients_receive_motion_inside_windows
[1420483369.760227] (II) DisplayServer: Mir version 0.10.0
[ OK ] TestClientInput.multiple_clients_receive_motion_inside_windows (40 ms)
[ RUN ] TestClientInput.clients_do_not_receive_motion_outside_input_region
[1420483369.800193] (II) DisplayServer: Mir version 0.10.0
[ OK ] TestClientInput.clients_do_not_receive_motion_outside_input_region (15 ms)
[ RUN ] TestClientInput.scene_obscure_motion_events_by_stacking
[1420483369.815204] (II) DisplayServer: Mir version 0.10.0
[ OK ] TestClientInput.scene_obscure_motion_events_by_stacking (24 ms)
[ RUN ] TestClientInput.hidden_clients_do_not_receive_pointer_events
[1420483369.839523] (II) DisplayServer: Mir version 0.10.0
/build/buildd/mir-0.10.0+15.04.20150105/tests/acceptance-tests/throwback/test_client_input.cpp:479: Failure
Actual function call count doesn't match EXPECT_CALL(client1.handler, handle_input(mt::MotionEventWithPosition(2, 2)))...
         Expected: to be called once
           Actual: never called - unsatisfied and active
[ FAILED ] TestClientInput.hidden_clients_do_not_receive_pointer_events (10014 ms)
[ RUN ] TestClientInput.clients_receive_motion_within_coordinate_system_of_window
[1420483379.853178] (II) DisplayServer: Mir version 0.10.0
[ OK ] TestClientInput.clients_receive_motion_within_coordinate_system_of_window (18 ms)
[ RUN ] TestClientInput.usb_direct_input_devices_work
[1420483379.870675] (II) DisplayServer: Mir version 0.10.0
[ OK ] TestClientInput.usb_direct_input_devices_work (37 ms)
[ RUN ] TestClientInput.send_mir_input_events_through_surface
[1420483379.908527] (II) DisplayServer: Mir version 0.10.0
[ OK ] TestClientInput.send_mir_input_events_through_surface (9 ms)
[----------] 11 tests from TestClientInput (10229 ms total)

[----------] Global test environment tear-down
[==========] 11 tests from 1 test case ran. (10230 ms total)
[ PASSED ] 10 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] TestClientInput.hidden_clients_do_not_receive_pointer_events

 1 FAILED TEST

Related branches

Changed in mir:
importance: Undecided → High
information type: Public → Public Security
tags: added: testsfail
tags: added: input
information type: Public Security → Public
Daniel van Vugt (vanvugt) wrote :

Thanks for logging this. I keep meaning to...

Changed in mir:
status: New → Confirmed
Daniel van Vugt (vanvugt) wrote :

I think I saw recently Helgrind reporting errors in the input code that might be related to this.

Robert Carr (robertcarr) on 2015-01-07
Changed in mir:
assignee: nobody → Robert Carr (robertcarr)
Changed in mir:
milestone: none → 0.10.0
status: Confirmed → In Progress
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.10.0

Changed in mir:
status: In Progress → Fix Committed
Changed in mir:
status: Fix Committed → Fix Released
Daniel van Vugt (vanvugt) wrote :

mir (0.10.0+15.04.20150107.2-0ubuntu1) vivid; urgency=medium

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

Other bug subscribers