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 on 2016-02-03
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Medium
Daniel van Vugt
mir (Ubuntu)
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

Daniel van Vugt (vanvugt) wrote :

See similar bug 1536662.

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
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
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
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
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  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers