Test suite can't run the DBus mock tests without weird failures
Bug #1205163 reported by
Barry Warsaw
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu system image |
Fix Released
|
Low
|
Barry Warsaw |
Bug Description
Filing this for the future. The DBus mocks aren't used in production, but are helpful for development of the u/i. I can run one of the test_dbus.py classes just fine, so production always runs the real tests. But for some reason I cannot figure out, I can't run more than one of the test_dbus.py classes. The second and subsequent class is never able to connect to the dbus service. I've spent hours debugging this so it's either some deep in dbus, or it's something trivially stupid I've just overlooked.
Changed in ubuntu-system-image: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-system-image: | |
milestone: | 0.9.3 → 1.0 |
Changed in ubuntu-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Traceback (most recent call last): barry/projects/ phone/client/ systemimage/ tests/test_ dbus.py" , line 69, in setUp canonical. SystemImage' , '/Service') python3/ dist-packages/ dbus/bus. py", line 241, in get_object name_owner_ changes= follow_ name_owner_ changes) python3/ dist-packages/ dbus/proxies. py", line 248, in __init__ _named_ service = conn.activate_ name_owner( bus_name) python3/ dist-packages/ dbus/bus. py", line 175, in activate_name_owner name_owner( bus_name) python3/ dist-packages/ dbus/bus. py", line 361, in get_name_owner python3/ dist-packages/ dbus/connection .py", line 651, in call_blocking .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.
File "/home/
'com.
File "/usr/lib/
follow_
File "/usr/lib/
self.
File "/usr/lib/
return self.get_
File "/usr/lib/
's', (bus_name,), **keywords)
File "/usr/lib/
message, timeout)
dbus.exceptions