Intermittent hang & fail in mir_acceptance_tests.TestClientCursorAPI.*
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Mir development team | ||
mir (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I'm building on 64bit trusty, error happens with both g++ and clang++
Doesn't happen often - maybe twice in past day.
Start 25: mir_acceptance_
25/204 Test #25: mir_acceptance_
...
99% tests passed, 1 tests failed out of 204
Total Test time (real) = 74.45 sec
The following tests FAILED:
25 - mir_acceptance_
Errors while running CTest
~~~~
With a bit of investigation using:
$ bin/mir_
...
Repeating all tests (iteration 8) . . .
...
unknown file: Failure
C++ exception with description "Timeout while waiting for child to change state" thrown in TearDown().
Segmentation fault (core dumped)
....
Repeating all tests (iteration 40) . . .
...
unknown file: Failure
C++ exception with description "Timeout while waiting for child to change state" thrown in TearDown().
Segmentation fault (core dumped)
...
Repeating all tests (iteration 88) . . .
...
unknown file: Failure
C++ exception with description "Timeout while waiting for child to change state" thrown in TearDown().
Segmentation fault (core dumped)
...
Repeating all tests (iteration 12) . . .
...
unknown file: Failure
C++ exception with description "Poll on readfd for pipe timed out" thrown in the test body.
unknown file: Failure
C++ exception with description "Timeout while waiting for child to change state" thrown in TearDown().
Segmentation fault (core dumped)
So not too hard to reproduce.
Related branches
- Cemil Azizoglu (community): Approve
- Alexandros Frantzis (community): Approve
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Kevin DuBois (community): Approve
-
Diff: 38 lines (+13/-8)1 file modifiedtests/acceptance-tests/test_client_cursor_api.cpp (+13/-8)
- PS Jenkins bot (community): Approve (continuous-integration)
- Andreas Pokorny (community): Approve
- Alan Griffiths: Approve
- Kevin DuBois (community): Approve
- Alberto Aguirre: Pending requested
-
Diff: 2029 lines (+1172/-415)27 files modifiedinclude/client/mir_toolkit/mir_cursor_configuration.h (+2/-11)
include/server/mir/input/input_targets.h (+8/-0)
include/server/mir/input/surface.h (+11/-0)
include/server/mir/scene/surface.h (+1/-1)
include/shared/mir_toolkit/common.h (+11/-0)
include/test/mir_test_doubles/mock_input_surface.h (+1/-14)
include/test/mir_test_doubles/stub_input_surface.h (+2/-0)
include/test/mir_test_doubles/stub_input_targets.h (+6/-0)
include/test/mir_test_doubles/stub_scene_surface.h (+1/-1)
include/test/mir_test_framework/stubbed_server_configuration.h (+2/-0)
src/client/cursor_configuration.h (+2/-0)
src/client/mir_cursor_api.cpp (+8/-5)
src/client/mir_surface.cpp (+1/-1)
src/server/default_server_configuration.cpp (+0/-24)
src/server/graphics/default_configuration.cpp (+3/-1)
src/server/input/CMakeLists.txt (+1/-0)
src/server/input/cursor_controller.cpp (+244/-0)
src/server/input/cursor_controller.h (+77/-0)
src/server/input/default_configuration.cpp (+11/-0)
src/server/scene/basic_surface.cpp (+5/-2)
src/server/scene/basic_surface.h (+1/-1)
tests/acceptance-tests/test_client_cursor_api.cpp (+357/-350)
tests/mir_test_framework/input_testing_server_options.cpp (+1/-3)
tests/mir_test_framework/stubbed_server_configuration.cpp (+15/-1)
tests/unit-tests/input/CMakeLists.txt (+1/-0)
tests/unit-tests/input/android/test_android_input_target_enumerator.cpp (+9/-0)
tests/unit-tests/input/test_cursor_controller.cpp (+391/-0)
tags: | added: testsfail |
Changed in mir: | |
status: | New → Fix Committed |
Changed in mir: | |
importance: | Undecided → Medium |
assignee: | nobody → Mir development team (mir-team) |
milestone: | none → 0.4.0 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Possibly related:
https:/ /jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- amd64-ci/ 466/console