This is what we see sometimes in our CI runs:
I: Unlock failed, script output: 'The ubuntuuitoolkit.emulators module is deprecated. Import the autopilot helpers from the top-level ubuntuuitoolkit module.
INFO:unity8.process_helpers:b'unity8 stop/waiting\n'
INFO:unity8.process_helpers:unity8 start/running, process 2834
ERROR:dbus.proxies:Introspect error on :1.59:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/unity8/process_helpers.py", line 63, in unlock_unity
unity = _get_unity_proxy_object(pid)
File "/usr/lib/python3/dist-packages/unity8/process_helpers.py", line 184, in _get_unity_proxy_object
emulator_base=emulators.UnityEmulatorBase,
File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 182, in get_proxy_object_for_existing_process
emulator_base
File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 403, in _make_proxy_object
intro_xml = _get_introspection_xml_from_backend(dbus_address)
File "/usr/lib/python3/dist-packages/autopilot/introspection/_search.py", line 497, in _get_introspection_xml_from_backend
return backend.dbus_introspection_iface.Introspect()
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Is there some way to get the unlocker to retry this, or at least give better information about what's going on?
Status changed to 'Confirmed' because the bug affects multiple users.