Mir

Something is eating entropy in test environment

Bug #1558518 reported by Alan Griffiths
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
New
Undecided
Unassigned

Bug Description

https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=i386,compiler=gcc,platform=mesa,release=xenial/519/console

10:34:58 13: [ RUN ] TestClientInput.hidden_clients_do_not_receive_pointer_events
10:34:58 13: [2016-03-17 10:34:58.778663] mirserver: Starting
10:34:58 13: [2016-03-17 10:34:58.780193] mirserver: Selected driver: dummy (version 0.21.0)
10:35:28 13: ERROR: ../../../src/cookie/authority.cpp(112): Throw in function mir::cookie::Secret get_random_data(unsigned int)
10:35:28 13: Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >
10:35:28 13: std::exception::what: Failed to read from device: /dev/random after: 30 seconds
10:35:28 13:
10:35:28 13: unknown file: Failure
10:35:28 13: C++ exception with description "Failed to start server thread" thrown in SetUp().
10:35:28 13: [2016-03-17 10:35:28.880620] mirserver: Stopping
10:35:28 13: [ FAILED ] TestClientInput.hidden_clients_do_not_receive_pointer_events (30116 ms)
10:35:28 13: [ RUN ] TestClientInput.clients_receive_pointer_within_coordinate_system_of_window
10:35:28 13: [2016-03-17 10:35:28.897809] mirserver: Starting
10:35:28 13: [2016-03-17 10:35:28.898771] mirserver: Selected driver: dummy (version 0.21.0)
10:35:58 13: ERROR: ../../../src/cookie/authority.cpp(112): Throw in function mir::cookie::Secret get_random_data(unsigned int)
10:35:58 13: Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >
10:35:58 13: std::exception::what: Failed to read from device: /dev/random after: 30 seconds
10:35:58 13:
10:35:58 13: unknown file: Failure
10:35:58 13: C++ exception with description "Failed to start server thread" thrown in SetUp().
10:35:58 13: [2016-03-17 10:35:58.939169] mirserver: Stopping
10:35:58 13: [ FAILED ] TestClientInput.clients_receive_pointer_within_coordinate_system_of_window (30053 ms)

Looks like lp:~vanvugt/mir/run-without-entropy running on the same m/c kills us.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Correct. This problem is expected (and I deal with it on my desktop every day too).

I am conscious of this problem and only ask CI to update the branch when necessary.

The solution is really just to land the branch, so all branches then have the fix. This is a duplicate of bug 1541188.

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.