No /dev/uinput and Upstart cannot be contacted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopkgtest (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
When trying to run tests with --setup-commands ubuntu-
adt-run --click-source . --click ../build-
adt-run [17:31:06]: test autopilot: [------
17:30:58.644 INFO run:235 - Autopilot Source Version: 1.5.0
Autopilot Package Version: 1.5.0+15.
17:30:58.702 INFO _logging:40 - *******
17:30:58.702 INFO _logging:41 - Starting test pay_ui.
Loading tests from: /tmp/adt-
** (run.py:17671): WARNING **: Error retrieving accessibility bus address: org.freedesktop
17:30:58.764 WARNING testcase:538 - Failed to create Touch device for bug lp:1297595 workaround: Unable to instantiate any backends
UInput: UInputError(
17:30:58.780 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
17:30:58.780 INFO _launcher:280 - Attempting to launch click application '(default)' from click package 'com.canonical.
17:30:58.868 INFO _launcher:120 - Attempting to launch application 'com.canonical.
** (run.py:17671): WARNING **: Unable to connect to Upstart bus: The given address is empty
** (run.py:17671): CRITICAL **: start_applicati
17:31:09.718 ERROR testresult:44 - ERROR: pay_ui.
17:31:09.719 ERROR testresult:44 - /var/log/syslog: {{{
}}}
17:31:09.719 ERROR testresult:44 - traceback: {{{
Traceback (most recent call last):
File "/tmp/adt-
super().setUp()
File "/tmp/adt-
self.app = self.launch_
File "/tmp/adt-
return self.launch_
File "/usr/lib/
return launcher.
File "/usr/lib/
return super()
File "/usr/lib/
state.
File "/usr/lib/
raise RuntimeError(': '.join(
RuntimeError: Timed out while waiting for application to launch
}}}
17:31:09.719 ERROR testresult:44 - Binary attachment: "FailedTestScre
It seems the main problem here is that this command in the setup script fails now in current vivid:
echo DBUS_SESSION_ BUS_ADDRESS= \$(initctl --user get-env DBUS_SESSION_ BUS_ADDRESS)
gives
initctl: Unknown job: rc
It seems something in upstart changed recently that now causes a new env variable $UPSTART_JOBS to creep into the session environment which breaks initctl --user.