[regression] Tests fail with: std::exception::what: Failed to read from device: /dev/random after: 30 seconds
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:
Test case:
1. Reboot your system
2. mir_acceptance_
Expected: Tests either pass or fail quickly (see bug 1540731)
Observed: Tests hang for a long time and eventually report:
ERROR: /build/
Dynamic exception type: boost::
std::exception:
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
- Chris Halse Rogers: Approve
- Mir CI Bot: Approve (continuous-integration)
- Kevin DuBois (community): Approve
- Cemil Azizoglu (community): Approve
-
Diff: 86 lines (+52/-0)2 files modifiedtests/acceptance-tests/test_server_startup.cpp (+29/-0)
tests/unit-tests/test_mir_cookie.cpp (+23/-0)
- Mir CI Bot: Approve (continuous-integration)
- Daniel van Vugt: Approve
- Alan Griffiths: Abstain
- Alexandros Frantzis (community): Approve
- Brandon Schaefer (community): Approve
- Chris Halse Rogers: Needs Information
-
Diff: 115 lines (+15/-54)3 files modifiedsrc/cookie/authority.cpp (+12/-51)
tests/acceptance-tests/test_server_startup.cpp (+1/-1)
tests/unit-tests/test_mir_cookie.cpp (+2/-2)
- Daniel van Vugt: Disapprove
- Mir CI Bot: Needs Fixing (continuous-integration)
- Cemil Azizoglu (community): Needs Fixing
-
Diff: 88 lines (+20/-9)3 files modifiedsrc/cookie/authority.cpp (+18/-7)
tests/acceptance-tests/test_server_startup.cpp (+1/-1)
tests/unit-tests/test_mir_cookie.cpp (+1/-1)
- Mir CI Bot: Approve (continuous-integration)
- Cemil Azizoglu (community): Approve
- Alan Griffiths: Abstain
-
Diff: 60 lines (+33/-6)1 file modifiedtests/unit-tests/test_mir_cookie.cpp (+33/-6)
Changed in mir: | |
status: | New → Triaged |
Changed in mir: | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
milestone: | none → 0.21.0 |
status: | Triaged → In Progress |
Changed in mir: | |
status: | Fix Committed → In Progress |
Changed in mir: | |
status: | Fix Committed → In Progress |
Changed in mir: | |
milestone: | 0.21.0 → 0.22.0 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
See similar bug 1536662.