Mir

[testfail] CI failure: TestClientInput.client_input_config_request_receives_all_attached_devices

Bug #1555708 reported by Alan Griffiths
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Medium
Kevin DuBois
mir (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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

13:53:32 9: [ RUN ] TestClientInput.client_input_config_request_receives_all_attached_devices
13:53:32 9: [2016-03-10 13:53:32.004747] mirserver: Starting
13:53:32 9: [2016-03-10 13:53:32.007450] mirserver: Selected driver: dummy (version 0.20.0)
13:53:32 9: [2016-03-10 13:53:32.030724] mirserver: Initial display configuration:
13:53:32 9: [2016-03-10 13:53:32.032689] mirserver: 1.1: VGA 0.0" 0x0mm
13:53:32 9: [2016-03-10 13:53:32.033013] mirserver: Current mode 1000x800 60.00Hz
13:53:32 9: [2016-03-10 13:53:32.033302] mirserver: Preferred mode 1000x800 60.00Hz
13:53:32 9: [2016-03-10 13:53:32.033575] mirserver: Logical position +0+0
13:53:32 9: [2016-03-10 13:53:32.035886] mirserver: Using software cursor
13:53:32 9: [2016-03-10 13:53:32.057456] mirserver: Selected input driver: mir:stub-input (version: 0.20.0)
13:53:32 9: [2016-03-10 13:53:32.058595] mirserver: Mir version 0.20.0
13:53:32 9: /��BUILDDIR��/mir-0.20.1+16.04.20160225.1+vivid426bzr3383/tests/acceptance-tests/test_client_input.cpp:780: Failure
13:53:32 9: Value of: mir_input_config_device_count(config)
13:53:32 9: Expected: is equal to 3
13:53:32 9: Actual: 0 (of type unsigned long)
13:53:32 9: /��BUILDDIR��/mir-0.20.1+16.04.20160225.1+vivid426bzr3383/tests/acceptance-tests/test_client_input.cpp:782: Failure
13:53:32 9: Value of: config
13:53:32 9: Expected: a device matches ("keyboard", "keyboard-uid", 4)
13:53:32 9: Actual: 0xb43ec70 (of type MirInputConfig*)
13:53:32 9: /��BUILDDIR��/mir-0.20.1+16.04.20160225.1+vivid426bzr3383/tests/acceptance-tests/test_client_input.cpp:783: Failure
13:53:32 9: Value of: config
13:53:32 9: Expected: a device matches ("mouse", "mouse-uid", 2)
13:53:32 9: Actual: 0xb43ec70 (of type MirInputConfig*)
13:53:32 9: /��BUILDDIR��/mir-0.20.1+16.04.20160225.1+vivid426bzr3383/tests/acceptance-tests/test_client_input.cpp:786: Failure
13:53:32 9: Value of: config
13:53:32 9: Expected: a device matches ("touchscreen", "touchscreen-uid", 272)
13:53:32 9: Actual: 0xb43ec70 (of type MirInputConfig*)
13:53:32 9: [2016-03-10 13:53:32.538334] mirserver: Stopping
13:53:32 9: [ FAILED ] TestClientInput.client_input_config_request_receives_all_attached_devices (574 ms)

Tags: testsfail

Related branches

tags: added: testsfail
Revision history for this message
Kevin DuBois (kdub) wrote :

can be reproduced by running:

stress -c 8 -i 2
bin/mir_acceptance_tests --gtest_filter="TestClientInput.client_input_config_request_receives_all_attached_devices" --gtest_repeat=1000

failure rate is about 7% for me

Changed in mir:
status: New → Confirmed
Revision history for this message
Kevin DuBois (kdub) wrote :

My brief debugging is that the client can connect before the input platform can add its device to the input hub.

Changed in mir:
importance: Undecided → Medium
Kevin DuBois (kdub)
Changed in mir:
assignee: nobody → Kevin DuBois (kdub)
milestone: none → 0.21.0
Revision history for this message
Chris Halse Rogers (raof) wrote :

This seems like it might be a deficiency in the API. How is a client to know when devices have been initialised?

Revision history for this message
Mir CI Bot (mir-ci-bot) wrote :

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

Changed in mir:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.2 KiB)

This bug was fixed in the package mir - 0.21.0+16.04.20160330-0ubuntu1

---------------
mir (0.21.0+16.04.20160330-0ubuntu1) xenial; urgency=medium

  [ Alberto Aguirre ]
  * New upstream release 0.21.0 (https://launchpad.net/mir/+milestone/0.21.0)
    - ABI summary:
      . mirclient ABI unchanged at 9
      . mirserver ABI unchanged at 38
      . mircommon ABI unchanged at 5
      . mirplatform ABI unchanged at 11
      . mirprotobuf ABI unchanged at 3
      . mirplatformgraphics ABI unchaged at 8
      . mirclientplatform ABI bumped to 5
      . mirinputplatform ABI unchanged at 5
    - Enhancements:
      . New display enumeration API
      . Added Android diagnostic tests to assist during porting to
        new devices
      . Added mir_demo_client_camera: a Video4Linux2 client
    - Bugs fixed:
      . Sometimes devices don't suspend - display turns back on
        immediately (LP: #1549701)
      . Mir crashed with exception 'failed to add sync point to command
        buffer' (LP: #1554635)
      . Mouse cursor is unusably slow in Unity 8 with a 1000Hz mouse
        (LP: #1539009)
      . Packaged mir_unit_tests binary is not suitable for general use
        (LP: #1547015)
      . [regression] Mir stops receiving input after a pause/resume
        cycle (LP: #1548989)
      . NBS (--nbuffers=0) causes software clients to crash with
        std::exception::what: Failed to mmap buffer 13, "Permission denied")
        (LP: #1550432)
      . Fullscreen clients freeze when using NBS with multiple monitors
        (LP: #1551536)
      . [ FAILED ] DisplayConfigurationTest.output_position_is_independent_of_
        orientation (LP: #1552065)
      . The server-side use of MIR_SOCKET is confusing (LP: #1290345)
      . [regression] FTBFS with -DMIR_LINK_TIME_OPTIMIZATION=on
        -Duse_debflags=on (LP: #1350343)
      . Mir On X (mesa-x11) keeps receiving mouse movement events even
        when not focused (LP: #1528110)
      . x11 platform: mouse cursor moves strange (LP: #1546324)
      . Cross compiling to wily/vivid doesn't work (LP: #1549152)
      . Rendering stutters when a new client establishes a connection
        (LP: #1549359)
      . 'mir_demo_server --test-client' crashes (SIGSEGV) when client
        dies (LP: #1555620)
      . [testfail] CI failure: TestClientInput.client_input_config_request_
        receives_all_attached_devices (LP: #1555708)
      . [regression] Mir FTBFS when MIR_ENABLE_TESTS=no (LP: #1556080)
      . Mir-on-X11 doesn't exit (until it gets an event) (LP: #1556210)
      . InputPlatformProbe.x11_platform_found_and_used_when_display_connection_
        works breaks with old input drivers present (LP: #1543049)
      . [regression] MIR_CLIENT_PERF_REPORT is missing window/surface
        names (LP: #1546933)
      . Installed binaries fail to run with mir_demo_server --test-client XXXX
        (LP: #1556160)
      . mir_demo_server --test-client [mir_demo_client_scroll|
        mir_demo_client_flicker] fails (LP: #1556205)
      . The contents of debian/mir-demos.examples are out of date and useless
        (LP: #1557446)

  [ CI Train Bot ]
  * No-change rebuild.

 -- Alberto Aguirre <alberto.aguirre@can...

Read more...

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