Unity fails to start sometimes in CI resulting in screen unlock failure [what(): bind: Address already in use]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Critical
|
Alberto Aguirre | ||
mir (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
unity8 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
At times unity8 fails to start with the unlock_screen script that we run in our CI infrastructure and that results in tests failure. At that time manually trying to start unity gives:
terminate called after throwing an instance of 'boost:
what(): bind: Address already in use
Aborted (core dumped)
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unity8 7.84+14.
Uname: Linux 3.4.0-4-mako armv7l
ApportVersion: 2.13.2-0ubuntu5
Architecture: armhf
Date: Wed Feb 26 20:25:42 2014
InstallationDate: Installed on 2014-02-26 (0 days ago)
InstallationMedia: Ubuntu Trusty Tahr (development branch) - armhf (20140226.1)
SourcePackage: unity8
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Nick Dedekind (community): Approve
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
-
Diff: 15 lines (+5/-0)1 file modifieddata/unity8.conf (+5/-0)
- Alberto Aguirre (community): Disapprove
- PS Jenkins bot (community): Approve (continuous-integration)
- Daniel van Vugt: Pending requested
- Alan Griffiths: Pending requested
- Alexandros Frantzis: Pending requested
-
Diff: 426 lines (+149/-42)13 files modifiedinclude/test/mir_test_framework/detect_server.h (+1/-0)
include/test/mir_test_framework/display_server_test_fixture.h (+1/-0)
include/test/mir_test_framework/testing_process_manager.h (+1/-0)
src/client/rpc/mir_socket_rpc_channel.cpp (+8/-1)
src/server/frontend/published_socket_connector.cpp (+11/-2)
tests/acceptance-tests/test_client_library.cpp (+6/-5)
tests/acceptance-tests/test_server_shutdown.cpp (+7/-15)
tests/acceptance-tests/test_server_startup.cpp (+31/-0)
tests/mir_test_framework/display_server_test_fixture.cpp (+7/-0)
tests/mir_test_framework/process.cpp (+5/-0)
tests/mir_test_framework/socket_detect_server.cpp (+25/-16)
tests/mir_test_framework/testing_process_manager.cpp (+19/-2)
tests/mir_test_framework/testing_server_options.cpp (+27/-1)
- PS Jenkins bot (community): Approve (continuous-integration)
- Alexandros Frantzis (community): Approve
- Robert Carr (community): Approve
- Alan Griffiths: Approve
-
Diff: 278 lines (+172/-2)8 files modifiedinclude/test/mir_test_framework/display_server_test_fixture.h (+1/-0)
include/test/mir_test_framework/testing_process_manager.h (+1/-0)
src/server/frontend/published_socket_connector.cpp (+65/-1)
tests/acceptance-tests/test_server_startup.cpp (+31/-0)
tests/mir_test_framework/display_server_test_fixture.cpp (+7/-0)
tests/mir_test_framework/process.cpp (+5/-0)
tests/mir_test_framework/testing_process_manager.cpp (+19/-0)
tests/mir_test_framework/testing_server_options.cpp (+43/-1)
Changed in mir: | |
assignee: | nobody → Alberto Aguirre (albaguirre) |
milestone: | none → 0.1.9 |
status: | Triaged → In Progress |
Changed in mir: | |
status: | Fix Committed → Fix Released |
this log is printed:
Traceback (most recent call last): phablet/ bin/unlock_ screen. py", line 98, in <module> phablet/ bin/unlock_ screen. py", line 58, in unlock_screen get_proxy_ object_ for_existing_ process( connection_ name=conn) python2. 7/dist- packages/ autopilot/ introspection/ __init_ _.py", line 173, in get_proxy_ object_ for_existing_ process ror(message_ string) introspection. ProcessSearchEr ror: Search criteria (dbus bus = 'session', connection name = 'com.canonical. Shell.BottomBar VisibilityCommu nicator' , object path = '/com/canonical /Autopilot/ Introspection' ) returned no results
File "/home/
unlock_screen()
File "/home/
unity8 = introspection.
File "/usr/lib/
raise ProcessSearchEr
autopilot.