touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #13479
[Bug 1353465] Re: Intermittent acceptance test failures in NestedServer.*
** Changed in: mir/0.7
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1353465
Title:
Intermittent acceptance test failures in NestedServer.*
Status in Mir:
Fix Committed
Status in Mir 0.7 series:
Fix Released
Status in “mir” package in Ubuntu:
Fix Released
Bug description:
Steps to reproduce: bin/mir_acceptance_tests
--gtest_filter=NestedServer.* --gtest_repeat=1000
--gtest_break_on_failure
Expected result: Success
Actual result:
At some point the tests fail with
[==========] Running 4 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 4 tests from NestedServer
[ RUN ] NestedServer.nested_platform_connects_and_disconnects
[ OK ] NestedServer.nested_platform_connects_and_disconnects (19 ms)
[ RUN ] NestedServer.sees_expected_outputs
[ OK ] NestedServer.sees_expected_outputs (21 ms)
[ RUN ] NestedServer.on_exit_display_objects_should_be_destroyed
[ OK ] NestedServer.on_exit_display_objects_should_be_destroyed (20 ms)
[ RUN ] NestedServer.receives_lifecycle_events_from_host
unknown file: Failure
Unexpected mock function call - returning directly.
Function call: lifecycle_event_occurred(2)
Google Mock tried the following 3 expectations, but none matched:
/storage/work/mir/tests/acceptance-tests/test_nested_mir.cpp:389: tried expectation #0: EXPECT_CALL(*(nested_config.the_mock_host_lifecycle_event_listener()), lifecycle_event_occurred(mir_lifecycle_state_resumed))...
Expected arg #0: is equal to 1
Actual: 2
Expected: to be called once
Actual: called once - saturated and active
/storage/work/mir/tests/acceptance-tests/test_nested_mir.cpp:391: tried expectation #1: EXPECT_CALL(*(nested_config.the_mock_host_lifecycle_event_listener()), lifecycle_event_occurred(mir_lifecycle_state_will_suspend))...
Expected arg #0: is equal to 0
Actual: 2
Expected: to be called once
Actual: never called - unsatisfied and active
/storage/work/mir/tests/acceptance-tests/test_nested_mir.cpp:393: tried expectation #2: EXPECT_CALL(*(nested_config.the_mock_host_lifecycle_event_listener()), lifecycle_event_occurred(mir_lifecycle_connection_lost))...
Expected: all pre-requisites are satisfied
Actual: the following immediate pre-requisites are not satisfied:
/storage/work/mir/tests/acceptance-tests/test_nested_mir.cpp:391: pre-requisite #0
(end of pre-requisites)
Expected: to be called at most once
Actual: never called - satisfied and active
To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1353465/+subscriptions