Mir

[regression] Tests fail with: std::exception::what: Failed to read from device: /dev/random after: 30 seconds

Bug #1541188 reported by Daniel van Vugt
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Medium
Daniel van Vugt
mir (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Tests fail with: std::exception::what: Failed to read from device: /dev/random after: 30 seconds

Test case:
  1. Reboot your system
  2. mir_acceptance_tests --gtest_filter="PromptSessionClientAPI.*"

Expected: Tests either pass or fail quickly (see bug 1540731)
Observed: Tests hang for a long time and eventually report:

ERROR: /build/mir-UeyFew/mir-0.19.0+16.04.20160128/src/cookie/authority.cpp(112): Throw in function mir::cookie::Secret get_random_data(unsigned int)
Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >
std::exception::what: Failed to read from device: /dev/random after: 30 seconds

unknown file: Failure
C++ exception with description "Failed to start server thread" thrown in SetUp().

Workaround:
Log in to your system, move the mouse around and use it for a while before running tests.

Related branches

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

See similar bug 1536662.

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

And see related bug 1540731.

summary: - Tests fail with: std::exception::what: Failed to read from device:
- /dev/random after: 30 seconds
+ [regression] Tests fail with: std::exception::what: Failed to read from
+ device: /dev/random after: 30 seconds
tags: added: regression
Changed in mir:
status: New → Triaged
Changed in mir:
assignee: nobody → Daniel van Vugt (vanvugt)
milestone: none → 0.21.0
status: Triaged → In Progress
Revision history for this message
Mir CI Bot (mir-ci-bot) wrote :

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

Changed in mir:
status: In Progress → Fix Committed
Changed in mir:
status: Fix Committed → In Progress
Revision history for this message
Mir CI Bot (mir-ci-bot) wrote :

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

Changed in mir:
status: In Progress → Fix Committed
Changed in mir:
status: Fix Committed → In Progress
Changed in mir:
milestone: 0.21.0 → 0.22.0
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.22.0

Changed in mir:
status: In Progress → Fix Committed
Changed in mir:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mir - 0.22.1+16.04.20160516.2-0ubuntu2

---------------
mir (0.22.1+16.04.20160516.2-0ubuntu2) yakkety; urgency=medium

  [ Dimitri John Ledkov ]
  * Fix FTBFS error: call of overloaded ‘abs(float)’ is ambiguous, by
    including cmath c++ header.

 -- Łukasz 'sil2100' Zemczak <email address hidden> Thu, 19 May 2016 21:58:43 +0200

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.