Bug 36483 - 3 tests are failing
Summary: 3 tests are failing
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: mission-control (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-22 03:54 UTC by Guillaume Desmottes
Modified: 2011-05-18 04:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
account-manager/reconnect.py (68.92 KB, text/plain)
2011-04-22 04:00 UTC, Guillaume Desmottes
Details
account-manager/recover-from-disconnect.py (70.70 KB, text/plain)
2011-04-22 04:02 UTC, Guillaume Desmottes
Details
dispatcher/already-has-channel.py (73.73 KB, text/x-log)
2011-04-22 04:03 UTC, Guillaume Desmottes
Details

Description Guillaume Desmottes 2011-04-22 03:54:55 UTC
These 3 tests are failing with master:

Traceback (most recent call last):
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/mctest.py", line 140, in exec_test_deferred
    servicetest.sync_dbus(bus, queue, am)
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/servicetest.py", line 465, in sync_dbus
    event = q.expect('dbus-return', method='Ping')
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/servicetest.py", line 172, in expect
    event = self.wait()
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/servicetest.py", line 249, in wait
    reactor.iterate(0.1)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 619, in iterate
    self.runUntilCurrent()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 773, in runUntilCurrent
    self._insertNewDelayedCalls()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 733, in _insertNewDelayedCalls
    for call in self._newTimedCalls:
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/servicetest.py", line 366, in _dbus_filter
    cb(e)
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/mctest.py", line 443, in InspectHandles
    ret = self.inspect_handles(hs, htype)
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/mctest.py", line 435, in inspect_handles
    raise Exception(h)
Exception: 0
FAIL: account-manager/reconnect.py


Traceback (most recent call last):
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/mctest.py", line 107, in exec_test_deferred
    fun(queue, bus, mc)
  File "./account-manager/recover-from-disconnect.py", line 182, in test
    handled=True),
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/servicetest.py", line 190, in expect_many
    event = self.wait()
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/servicetest.py", line 249, in wait
    reactor.iterate(0.1)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 619, in iterate
    self.runUntilCurrent()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 773, in runUntilCurrent
    self._insertNewDelayedCalls()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 733, in _insertNewDelayedCalls
    for call in self._newTimedCalls:
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/servicetest.py", line 366, in _dbus_filter
    cb(e)
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/mctest.py", line 443, in InspectHandles
    ret = self.inspect_handles(hs, htype)
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/mctest.py", line 435, in inspect_handles
    raise Exception(h)
Exception: 0
FAIL: account-manager/recover-from-disconnect.py

Traceback (most recent call last):
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/mctest.py", line 107, in exec_test_deferred
    fun(queue, bus, mc)
  File "./dispatcher/already-has-channel.py", line 121, in test
    path=conn.object_path, handled=True),
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/servicetest.py", line 190, in expect_many
    event = self.wait()
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/servicetest.py", line 255, in wait
    raise TimeoutError
TimeoutError
FAIL: dispatcher/already-has-channel.py
Comment 1 Guillaume Desmottes 2011-04-22 04:00:33 UTC
Created attachment 45942 [details]
account-manager/reconnect.py

got event:
- type dbus-signal
- args: [u':1.0']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameAcquired'
not handled

got event:
- type dbus-signal
- args: [u':1.1', u'', u':1.1']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
not handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.ChannelDispatcher', u'', u':1.1']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
not handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.AccountManager', u'', u':1.1']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.ConnectionManager.fakecm', u'', u':1.0']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
not handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.ConnectionManager.fakecm']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameAcquired'
not handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.MissionControl5', u'', u':1.1']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.ConnectionManager']
- destination: 'org.freedesktop.Telepathy.ConnectionManager.fakecm'
- handled: False
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf540>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/ConnectionManager/fakecm')
- sender: ':1.1'
not handled

got event:
- type dbus-signal
- args: ['/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0',
 True]
- interface: 'org.freedesktop.Telepathy.AccountManager'
- path: '/org/freedesktop/Telepathy/AccountManager'
- signal: 'AccountValidityChanged'
handled

got event:
- type dbus-return
- method: 'CreateAccount'
- value: ('/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0',)
handled

got event:
- type dbus-signal
- args: [{u'Valid': True}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
handled

got event:
- type dbus-return
- method: 'Set'
- value: ()
handled

got event:
- type dbus-return
- method: 'Set'
- value: ()
handled

got event:
- type dbus-return
- method: 'Reconnect'
- value: ()
handled

got event:
- type dbus-return
- method: 'Ping'
- value: ()
handled

got event:
- type dbus-signal
- args: [{u'RequestedPresence': (2L, u'available', u'')}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
handled

got event:
- type dbus-return
- method: 'Set'
- value: ()
handled

got event:
- type dbus-return
- method: 'Set'
- value: ()
handled

got event:
- type dbus-signal
- args: [{u'ChangingPresence': True,
  u'Enabled': True,
  u'RequestedPresence': (1L, u'offline', u'')}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
handled

got event:
- type dbus-return
- method: 'Reconnect'
- value: ()
handled

got event:
- type dbus-return
- method: 'Ping'
- value: ()
handled

got event:
- type dbus-signal
- args: [{u'ChangingPresence': True,
  u'Connection': '/',
  u'ConnectionError': u'',
  u'ConnectionErrorDetails': {},
  u'ConnectionStatus': 1L,
  u'ConnectionStatusReason': 1L}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-method-call
- args: [u'fakeprotocol',
 {u'account': u'someguy@example.com', u'password': u'secrecy'}]
- destination: 'org.freedesktop.Telepathy.ConnectionManager.fakecm'
- handled: False
- interface: 'org.freedesktop.Telepathy.ConnectionManager'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf6d8>
- method: 'RequestConnection'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/ConnectionManager/fakecm')
- sender: ':1.1'
handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.Connection.fakecm.fakeprotocol._', u'', u':1.0']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
not handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.Connection.fakecm.fakeprotocol._']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameAcquired'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf618>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: []
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf648>
- method: 'GetInterfaces'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-signal
- args: [{u'Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
  u'RequestedPresence': (2L, u'brb', u'Be back soon!')}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection.Interface.Requests']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf678>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
handled

got event:
- type dbus-method-call
- args: []
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf678>
- method: 'Connect'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
handled

got event:
- type dbus-signal
- args: [1L, 1L]
- interface: 'org.freedesktop.Telepathy.Connection'
- path: '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'
- signal: 'StatusChanged'
not handled

got event:
- type dbus-signal
- args: [0L, 0L]
- interface: 'org.freedesktop.Telepathy.Connection'
- path: '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'
- signal: 'StatusChanged'
not handled

got event:
- type dbus-signal
- args: [{u'Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
  u'ConnectionError': u'',
  u'ConnectionErrorDetails': {},
  u'ConnectionStatus': 1L,
  u'ConnectionStatusReason': 1L}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf6d8>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [1L, [42L]]
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf678>
- method: 'HoldHandles'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [1L, [42L]]
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf5b8>
- method: 'InspectHandles'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-signal
- args: [{u'Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
  u'ConnectionError': u'',
  u'ConnectionErrorDetails': {},
  u'ConnectionStatus': 0L,
  u'ConnectionStatusReason': 1L,
  u'HasBeenOnline': True}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
handled

got event:
- type dbus-method-call
- args: []
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf708>
- method: 'GetInterfaces'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [1L, [42L]]
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf720>
- method: 'InspectHandles'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-signal
- args: [{u'CurrentPresence': (0L, u'', u''), u'NormalizedName': u'myself'}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
handled

got event:
- type dbus-signal
- args: [{u'Connection': '/',
  u'ConnectionError': u'',
  u'ConnectionErrorDetails': {},
  u'ConnectionStatus': 2L,
  u'ConnectionStatusReason': 1L,
  u'CurrentPresence': (1L, u'offline', u'')}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-method-call
- args: []
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf528>
- method: 'Disconnect'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
handled

got event:
- type dbus-signal
- args: [{u'Connection': '/',
  u'ConnectionError': u'',
  u'ConnectionErrorDetails': {},
  u'ConnectionStatus': 1L,
  u'ConnectionStatusReason': 1L}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-method-call
- args: [u'fakeprotocol',
 {u'account': u'someguy@example.com', u'password': u'secrecy'}]
- destination: 'org.freedesktop.Telepathy.ConnectionManager.fakecm'
- handled: False
- interface: 'org.freedesktop.Telepathy.ConnectionManager'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf528>
- method: 'RequestConnection'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/ConnectionManager/fakecm')
- sender: ':1.1'
handled

got event:
- type dbus-signal
- args: [2L, 1L]
- interface: 'org.freedesktop.Telepathy.Connection'
- path: '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'
- signal: 'StatusChanged'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf750>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: []
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf600>
- method: 'GetInterfaces'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection.Interface.Requests']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf768>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
handled

got event:
- type dbus-method-call
- args: []
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf768>
- method: 'Connect'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
handled

got event:
- type dbus-signal
- args: [1L, 1L]
- interface: 'org.freedesktop.Telepathy.Connection'
- path: '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'
- signal: 'StatusChanged'
not handled

got event:
- type dbus-signal
- args: [0L, 0L]
- interface: 'org.freedesktop.Telepathy.Connection'
- path: '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'
- signal: 'StatusChanged'
not handled

got event:
- type dbus-signal
- args: [{u'Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-signal
- args: [{u'Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
  u'ConnectionError': u'',
  u'ConnectionErrorDetails': {},
  u'ConnectionStatus': 1L,
  u'ConnectionStatusReason': 1L}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf7b0>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: []
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf7e0>
- method: 'Disconnect'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
handled

got event:
- type dbus-signal
- args: [2L, 1L]
- interface: 'org.freedesktop.Telepathy.Connection'
- path: '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'
- signal: 'StatusChanged'
not handled

got event:
- type dbus-signal
- args: [{u'ChangingPresence': True, u'RequestedPresence': (1L, u'offline', u'')}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-signal
- args: [{u'Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
  u'ConnectionError': u'',
  u'ConnectionErrorDetails': {},
  u'ConnectionStatus': 1L,
  u'ConnectionStatusReason': 0L}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-signal
- args: [{u'Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
  u'ConnectionError': u'',
  u'ConnectionErrorDetails': {},
  u'ConnectionStatus': 0L,
  u'ConnectionStatusReason': 1L}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-method-call
- args: []
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1ebf780>
- method: 'GetInterfaces'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

Traceback (most recent call last):
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/mctest.py", line 140, in exec_test_deferred
    servicetest.sync_dbus(bus, queue, am)
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/servicetest.py", line 465, in sync_dbus
    event = q.expect('dbus-return', method='Ping')
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/servicetest.py", line 172, in expect
    event = self.wait()
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/servicetest.py", line 249, in wait
    reactor.iterate(0.1)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 619, in iterate
    self.runUntilCurrent()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 773, in runUntilCurrent
    self._insertNewDelayedCalls()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 733, in _insertNewDelayedCalls
    for call in self._newTimedCalls:
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/servicetest.py", line 366, in _dbus_filter
    cb(e)
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/mctest.py", line 443, in InspectHandles
    ret = self.inspect_handles(hs, htype)
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/mctest.py", line 435, in inspect_handles
    raise Exception(h)
Exception: 0
Killing temporary bus daemon: 574
FAIL: account-manager/reconnect.py
Comment 2 Guillaume Desmottes 2011-04-22 04:02:00 UTC
Created attachment 45943 [details]
account-manager/recover-from-disconnect.py

got event:
- type dbus-signal
- args: [u':1.0']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameAcquired'
not handled

got event:
- type dbus-signal
- args: [u':1.1', u'', u':1.1']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
not handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.ChannelDispatcher', u'', u':1.1']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
not handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.AccountManager', u'', u':1.1']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.ConnectionManager.fakecm', u'', u':1.0']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
not handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.ConnectionManager.fakecm']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameAcquired'
not handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.MissionControl5', u'', u':1.1']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.ConnectionManager']
- destination: 'org.freedesktop.Telepathy.ConnectionManager.fakecm'
- handled: False
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb540>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/ConnectionManager/fakecm')
- sender: ':1.1'
not handled

got event:
- type dbus-signal
- args: ['/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0',
 True]
- interface: 'org.freedesktop.Telepathy.AccountManager'
- path: '/org/freedesktop/Telepathy/AccountManager'
- signal: 'AccountValidityChanged'
handled

got event:
- type dbus-return
- method: 'CreateAccount'
- value: ('/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0',)
handled

got event:
- type dbus-signal
- args: [{u'Valid': True}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
handled

got event:
- type dbus-return
- method: 'Set'
- value: ()
handled

got event:
- type dbus-return
- method: 'Set'
- value: ()
not handled

got event:
- type dbus-signal
- args: [{u'ChangingPresence': True,
  u'Connection': '/',
  u'ConnectionError': u'',
  u'ConnectionErrorDetails': {},
  u'ConnectionStatus': 1L,
  u'ConnectionStatusReason': 1L,
  u'Enabled': True}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-method-call
- args: [u'fakeprotocol',
 {u'account': u'someguy@example.com',
  u'password': u'secrecy',
  u'register': True}]
- destination: 'org.freedesktop.Telepathy.ConnectionManager.fakecm'
- handled: False
- interface: 'org.freedesktop.Telepathy.ConnectionManager'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb6d8>
- method: 'RequestConnection'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/ConnectionManager/fakecm')
- sender: ':1.1'
handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.Connection.fakecm.fakeprotocol._', u'', u':1.0']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
not handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.Connection.fakecm.fakeprotocol._']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameAcquired'
not handled

got event:
- type dbus-return
- method: 'Set'
- value: ()
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb618>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: []
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb648>
- method: 'GetInterfaces'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection.Interface.SimplePresence', u'Statuses']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb678>
- method: 'Get'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [u'busy', u'Fixing MC bugs']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection.Interface.SimplePresence'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb630>
- method: 'SetPresence'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection.Interface.Requests']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb5b8>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: []
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb6a8>
- method: 'Connect'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
handled

got event:
- type dbus-signal
- args: [1L, 1L]
- interface: 'org.freedesktop.Telepathy.Connection'
- path: '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'
- signal: 'StatusChanged'
not handled

got event:
- type dbus-signal
- args: [0L, 0L]
- interface: 'org.freedesktop.Telepathy.Connection'
- path: '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'
- signal: 'StatusChanged'
not handled

got event:
- type dbus-signal
- args: [{42L: (6L, u'busy', u'Fixing MC bugs')}]
- interface: 'org.freedesktop.Telepathy.Connection.Interface.SimplePresence'
- path: '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'
- signal: 'PresencesChanged'
not handled

got event:
- type dbus-signal
- args: [{u'Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
  u'RequestedPresence': (6L, u'busy', u'Fixing MC bugs')}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-signal
- args: [{u'Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
  u'ConnectionError': u'',
  u'ConnectionErrorDetails': {},
  u'ConnectionStatus': 1L,
  u'ConnectionStatusReason': 1L}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb6a8>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [1L, [42L]]
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb768>
- method: 'HoldHandles'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [1L, [42L]]
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb780>
- method: 'InspectHandles'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-signal
- args: [{u'Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
  u'ConnectionError': u'',
  u'ConnectionErrorDetails': {},
  u'ConnectionStatus': 0L,
  u'ConnectionStatusReason': 1L,
  u'HasBeenOnline': True,
  u'Parameters': {u'account': u'someguy@example.com',
                  u'password': u'secrecy'}}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-method-call
- args: []
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb798>
- method: 'GetInterfaces'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [[42L]]
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection.Interface.SimplePresence'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb7c8>
- method: 'GetPresences'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection.Interface.SimplePresence', u'Statuses']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb7e0>
- method: 'Get'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [1L, [42L]]
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb7f8>
- method: 'InspectHandles'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [u'busy', u'Fixing MC bugs']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection.Interface.SimplePresence'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb810>
- method: 'SetPresence'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
handled

got event:
- type dbus-signal
- args: [u'com.example.My.Network.Is.Full.Of.Eels',
 {u'capacity': 23, u'debug-message': u'Too many eels', u'eels': 23}]
- interface: 'org.freedesktop.Telepathy.Connection'
- path: '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'
- signal: 'ConnectionError'
not handled

got event:
- type dbus-signal
- args: [2L, 2L]
- interface: 'org.freedesktop.Telepathy.Connection'
- path: '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'
- signal: 'StatusChanged'
not handled

got event:
- type dbus-signal
- args: [{u'ChangingPresence': False,
  u'CurrentPresence': (6L, u'busy', u'Fixing MC bugs'),
  u'NormalizedName': u'myself'}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-signal
- args: [{u'ChangingPresence': False,
  u'Connection': '/',
  u'ConnectionError': u'com.example.My.Network.Is.Full.Of.Eels',
  u'ConnectionErrorDetails': {u'capacity': 23,
                              u'debug-message': u'Too many eels',
                              u'eels': 23},
  u'ConnectionStatus': 2L,
  u'ConnectionStatusReason': 2L,
  u'CurrentPresence': (1L, u'offline', u'')}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
handled

got event:
- type dbus-signal
- args: [{u'Connection': '/',
  u'ConnectionError': u'com.example.My.Network.Is.Full.Of.Eels',
  u'ConnectionErrorDetails': {u'capacity': 23,
                              u'debug-message': u'Too many eels',
                              u'eels': 23},
  u'ConnectionStatus': 1L,
  u'ConnectionStatusReason': 1L}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
handled

got event:
- type dbus-method-call
- args: [u'fakeprotocol',
 {u'account': u'someguy@example.com', u'password': u'secrecy'}]
- destination: 'org.freedesktop.Telepathy.ConnectionManager.fakecm'
- handled: False
- interface: 'org.freedesktop.Telepathy.ConnectionManager'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb810>
- method: 'RequestConnection'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/ConnectionManager/fakecm')
- sender: ':1.1'
handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb6d8>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: []
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb888>
- method: 'GetInterfaces'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection.Interface.SimplePresence', u'Statuses']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb8a0>
- method: 'Get'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [u'busy', u'Fixing MC bugs']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection.Interface.SimplePresence'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb8b8>
- method: 'SetPresence'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection.Interface.Requests']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb8d0>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: []
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb900>
- method: 'Connect'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
handled

got event:
- type dbus-signal
- args: [1L, 1L]
- interface: 'org.freedesktop.Telepathy.Connection'
- path: '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'
- signal: 'StatusChanged'
not handled

got event:
- type dbus-signal
- args: [{u'Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-signal
- args: [{u'Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
  u'ConnectionError': u'com.example.My.Network.Is.Full.Of.Eels',
  u'ConnectionErrorDetails': {u'capacity': 23,
                              u'debug-message': u'Too many eels',
                              u'eels': 23},
  u'ConnectionStatus': 1L,
  u'ConnectionStatusReason': 1L}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
handled

got event:
- type dbus-signal
- args: [0L, 0L]
- interface: 'org.freedesktop.Telepathy.Connection'
- path: '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'
- signal: 'StatusChanged'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb978>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-signal
- args: [{42L: (2L, u'available', u'')}]
- interface: 'org.freedesktop.Telepathy.Connection.Interface.SimplePresence'
- path: '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'
- signal: 'PresencesChanged'
not handled

got event:
- type dbus-signal
- args: [{u'Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
  u'ConnectionError': u'com.example.My.Network.Is.Full.Of.Eels',
  u'ConnectionErrorDetails': {u'capacity': 23,
                              u'debug-message': u'Too many eels',
                              u'eels': 23},
  u'ConnectionStatus': 1L,
  u'ConnectionStatusReason': 0L}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-signal
- args: [{u'Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
  u'ConnectionError': u'',
  u'ConnectionErrorDetails': {},
  u'ConnectionStatus': 0L,
  u'ConnectionStatusReason': 1L}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
handled

got event:
- type dbus-method-call
- args: []
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb948>
- method: 'GetInterfaces'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [[0L]]
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection.Interface.SimplePresence'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb870>
- method: 'GetPresences'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection.Interface.SimplePresence', u'Statuses']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1cdb9f0>
- method: 'Get'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

Traceback (most recent call last):
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/mctest.py", line 107, in exec_test_deferred
    fun(queue, bus, mc)
  File "./account-manager/recover-from-disconnect.py", line 182, in test
    handled=True),
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/servicetest.py", line 190, in expect_many
    event = self.wait()
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/servicetest.py", line 249, in wait
    reactor.iterate(0.1)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 619, in iterate
    self.runUntilCurrent()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 773, in runUntilCurrent
    self._insertNewDelayedCalls()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 733, in _insertNewDelayedCalls
    for call in self._newTimedCalls:
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/servicetest.py", line 366, in _dbus_filter
    cb(e)
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/mctest.py", line 443, in InspectHandles
    ret = self.inspect_handles(hs, htype)
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/mctest.py", line 435, in inspect_handles
    raise Exception(h)
Exception: 0
Killing temporary bus daemon: 650
FAIL: account-manager/recover-from-disconnect.py
Comment 3 Guillaume Desmottes 2011-04-22 04:03:08 UTC
Created attachment 45944 [details]
dispatcher/already-has-channel.py

got event:
- type dbus-signal
- args: [u':1.0']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameAcquired'
not handled

got event:
- type dbus-signal
- args: [u':1.1', u'', u':1.1']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
not handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.ChannelDispatcher', u'', u':1.1']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
not handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.AccountManager', u'', u':1.1']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.ConnectionManager.fakecm', u'', u':1.0']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
not handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.ConnectionManager.fakecm']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameAcquired'
not handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.MissionControl5', u'', u':1.1']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.ConnectionManager']
- destination: 'org.freedesktop.Telepathy.ConnectionManager.fakecm'
- handled: False
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd5540>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/ConnectionManager/fakecm')
- sender: ':1.1'
not handled

got event:
- type dbus-signal
- args: ['/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0',
 True]
- interface: 'org.freedesktop.Telepathy.AccountManager'
- path: '/org/freedesktop/Telepathy/AccountManager'
- signal: 'AccountValidityChanged'
handled

got event:
- type dbus-return
- method: 'CreateAccount'
- value: ('/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0',)
handled

got event:
- type dbus-signal
- args: [{u'Valid': True}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.Client.Empathy', u'', u':1.0']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
not handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.Client.Empathy']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameAcquired'
not handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.Client.Kopete', u'', u':1.0']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
not handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.Client.Kopete']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameAcquired'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Client', u'Interfaces']
- destination: 'org.freedesktop.Telepathy.Client.Empathy'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd56d8>
- method: 'Get'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Client/Empathy')
- sender: ':1.1'
handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Client', u'Interfaces']
- destination: 'org.freedesktop.Telepathy.Client.Kopete'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd5600>
- method: 'Get'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Client/Kopete')
- sender: ':1.1'
handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Client.Approver', u'ApproverChannelFilter']
- destination: 'org.freedesktop.Telepathy.Client.Empathy'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd55d0>
- method: 'Get'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Client/Empathy')
- sender: ':1.1'
handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Client.Handler']
- destination: 'org.freedesktop.Telepathy.Client.Empathy'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd5690>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Client/Empathy')
- sender: ':1.1'
handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Client.Observer']
- destination: 'org.freedesktop.Telepathy.Client.Empathy'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd5630>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Client/Empathy')
- sender: ':1.1'
handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Client.Approver', u'ApproverChannelFilter']
- destination: 'org.freedesktop.Telepathy.Client.Kopete'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd5738>
- method: 'Get'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Client/Kopete')
- sender: ':1.1'
handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Client.Handler']
- destination: 'org.freedesktop.Telepathy.Client.Kopete'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd5528>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Client/Kopete')
- sender: ':1.1'
handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Client.Observer']
- destination: 'org.freedesktop.Telepathy.Client.Kopete'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd5708>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Client/Kopete')
- sender: ':1.1'
handled

got event:
- type dbus-signal
- args: [{u'ChangingPresence': True,
  u'Connection': '/',
  u'ConnectionError': u'',
  u'ConnectionErrorDetails': {},
  u'ConnectionStatus': 1L,
  u'ConnectionStatusReason': 1L,
  u'Enabled': True}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-method-call
- args: [u'fakeprotocol',
 {u'account': u'someguy@example.com', u'password': u'secrecy'}]
- destination: 'org.freedesktop.Telepathy.ConnectionManager.fakecm'
- handled: False
- interface: 'org.freedesktop.Telepathy.ConnectionManager'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd56d8>
- method: 'RequestConnection'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/ConnectionManager/fakecm')
- sender: ':1.1'
handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.Connection.fakecm.fakeprotocol._', u'', u':1.0']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameOwnerChanged'
not handled

got event:
- type dbus-signal
- args: [u'org.freedesktop.Telepathy.Connection.fakecm.fakeprotocol._']
- interface: 'org.freedesktop.DBus'
- path: '/org/freedesktop/DBus'
- signal: 'NameAcquired'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd55d0>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: []
- destination: ':1.0'
- handled: False
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd5690>
- method: 'GetInterfaces'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection.Interface.Requests']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd56d8>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: []
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd5600>
- method: 'Connect'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
handled

got event:
- type dbus-signal
- args: [1L, 1L]
- interface: 'org.freedesktop.Telepathy.Connection'
- path: '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'
- signal: 'StatusChanged'
not handled

got event:
- type dbus-signal
- args: [0L, 0L]
- interface: 'org.freedesktop.Telepathy.Connection'
- path: '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'
- signal: 'StatusChanged'
not handled

got event:
- type dbus-signal
- args: [{u'Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
  u'RequestedPresence': (2L, u'available', u'')}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-signal
- args: [{u'Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
  u'ConnectionError': u'',
  u'ConnectionErrorDetails': {},
  u'ConnectionStatus': 1L,
  u'ConnectionStatusReason': 1L}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-method-call
- args: [u'org.freedesktop.Telepathy.Connection']
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.DBus.Properties'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd5600>
- method: 'GetAll'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [1L, [42L]]
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd5528>
- method: 'HoldHandles'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [1L, [42L]]
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd5720>
- method: 'InspectHandles'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-signal
- args: [{u'Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
  u'ConnectionError': u'',
  u'ConnectionErrorDetails': {},
  u'ConnectionStatus': 0L,
  u'ConnectionStatusReason': 1L,
  u'HasBeenOnline': True}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-method-call
- args: []
- destination: ':1.0'
- handled: False
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd56a8>
- method: 'GetInterfaces'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
handled

got event:
- type dbus-method-call
- args: [1L, [42L]]
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Connection'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd5780>
- method: 'InspectHandles'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_')
- sender: ':1.1'
not handled

got event:
- type dbus-signal
- args: ['/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_/_2670450',
 u'org.freedesktop.Telepathy.Channel.Type.Text',
 1L,
 43L,
 False]
- interface: 'org.freedesktop.Telepathy.Connection'
- path: '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'
- signal: 'NewChannel'
not handled

got event:
- type dbus-signal
- args: [[('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_/_2670450',
   {u'org.freedesktop.Telepathy.Channel.ChannelType': u'org.freedesktop.Telepathy.Channel.Type.Text',
    u'org.freedesktop.Telepathy.Channel.InitiatorHandle': 43,
    u'org.freedesktop.Telepathy.Channel.InitiatorID': u'juliet',
    u'org.freedesktop.Telepathy.Channel.Interfaces': [],
    u'org.freedesktop.Telepathy.Channel.Requested': False,
    u'org.freedesktop.Telepathy.Channel.TargetHandle': 43,
    u'org.freedesktop.Telepathy.Channel.TargetHandleType': 1,
    u'org.freedesktop.Telepathy.Channel.TargetID': u'juliet'})]]
- interface: 'org.freedesktop.Telepathy.Connection.Interface.Requests'
- path: '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_'
- signal: 'NewChannels'
not handled

got event:
- type dbus-method-call
- args: []
- destination: ':1.0'
- handled: True
- interface: 'org.freedesktop.Telepathy.Channel'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd5768>
- method: 'GetInterfaces'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_/_2670450')
- sender: ':1.1'
not handled

got event:
- type dbus-signal
- args: ['/org/freedesktop/Telepathy/DispatchOperation/do0',
 {u'org.freedesktop.Telepathy.ChannelDispatchOperation.Account': '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0',
  u'org.freedesktop.Telepathy.ChannelDispatchOperation.Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
  u'org.freedesktop.Telepathy.ChannelDispatchOperation.Interfaces': [u'org.freedesktop.Telepathy.ChannelDispatchOperation'],
  u'org.freedesktop.Telepathy.ChannelDispatchOperation.PossibleHandlers': [u'org.freedesktop.Telepathy.Client.Kopete',
                                                                           u'org.freedesktop.Telepathy.Client.Empathy']}]
- interface: 'org.freedesktop.Telepathy.ChannelDispatcher.Interface.OperationList'
- path: '/org/freedesktop/Telepathy/ChannelDispatcher'
- signal: 'NewDispatchOperation'
not handled

got event:
- type dbus-method-call
- args: ['/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0',
 '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
 [('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_/_2670450',
   {u'org.freedesktop.Telepathy.Channel.ChannelType': u'org.freedesktop.Telepathy.Channel.Type.Text',
    u'org.freedesktop.Telepathy.Channel.InitiatorHandle': 43,
    u'org.freedesktop.Telepathy.Channel.InitiatorID': u'juliet',
    u'org.freedesktop.Telepathy.Channel.Interfaces': [],
    u'org.freedesktop.Telepathy.Channel.Requested': False,
    u'org.freedesktop.Telepathy.Channel.TargetHandle': 43L,
    u'org.freedesktop.Telepathy.Channel.TargetHandleType': 1L,
    u'org.freedesktop.Telepathy.Channel.TargetID': u'juliet'})],
 '/org/freedesktop/Telepathy/DispatchOperation/do0',
 [],
 {u'request-properties': {}}]
- destination: 'org.freedesktop.Telepathy.Client.Kopete'
- handled: False
- interface: 'org.freedesktop.Telepathy.Client.Observer'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd5870>
- method: 'ObserveChannels'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Client/Kopete')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: ['/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0',
 '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
 [('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_/_2670450',
   {u'org.freedesktop.Telepathy.Channel.ChannelType': u'org.freedesktop.Telepathy.Channel.Type.Text',
    u'org.freedesktop.Telepathy.Channel.InitiatorHandle': 43,
    u'org.freedesktop.Telepathy.Channel.InitiatorID': u'juliet',
    u'org.freedesktop.Telepathy.Channel.Interfaces': [],
    u'org.freedesktop.Telepathy.Channel.Requested': False,
    u'org.freedesktop.Telepathy.Channel.TargetHandle': 43L,
    u'org.freedesktop.Telepathy.Channel.TargetHandleType': 1L,
    u'org.freedesktop.Telepathy.Channel.TargetID': u'juliet'})],
 '/org/freedesktop/Telepathy/DispatchOperation/do0',
 [],
 {u'request-properties': {}}]
- destination: 'org.freedesktop.Telepathy.Client.Empathy'
- handled: False
- interface: 'org.freedesktop.Telepathy.Client.Observer'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd5798>
- method: 'ObserveChannels'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Client/Empathy')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [[('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_/_2670450',
   {u'org.freedesktop.Telepathy.Channel.ChannelType': u'org.freedesktop.Telepathy.Channel.Type.Text',
    u'org.freedesktop.Telepathy.Channel.InitiatorHandle': 43,
    u'org.freedesktop.Telepathy.Channel.InitiatorID': u'juliet',
    u'org.freedesktop.Telepathy.Channel.Interfaces': [],
    u'org.freedesktop.Telepathy.Channel.Requested': False,
    u'org.freedesktop.Telepathy.Channel.TargetHandle': 43L,
    u'org.freedesktop.Telepathy.Channel.TargetHandleType': 1L,
    u'org.freedesktop.Telepathy.Channel.TargetID': u'juliet'})],
 '/org/freedesktop/Telepathy/DispatchOperation/do0',
 {u'org.freedesktop.Telepathy.ChannelDispatchOperation.Account': '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0',
  u'org.freedesktop.Telepathy.ChannelDispatchOperation.Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
  u'org.freedesktop.Telepathy.ChannelDispatchOperation.Interfaces': [u'org.freedesktop.Telepathy.ChannelDispatchOperation'],
  u'org.freedesktop.Telepathy.ChannelDispatchOperation.PossibleHandlers': [u'org.freedesktop.Telepathy.Client.Kopete',
                                                                           u'org.freedesktop.Telepathy.Client.Empathy']}]
- destination: 'org.freedesktop.Telepathy.Client.Kopete'
- handled: False
- interface: 'org.freedesktop.Telepathy.Client.Approver'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd57b0>
- method: 'AddDispatchOperation'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Client/Kopete')
- sender: ':1.1'
not handled

got event:
- type dbus-method-call
- args: [[('/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_/_2670450',
   {u'org.freedesktop.Telepathy.Channel.ChannelType': u'org.freedesktop.Telepathy.Channel.Type.Text',
    u'org.freedesktop.Telepathy.Channel.InitiatorHandle': 43,
    u'org.freedesktop.Telepathy.Channel.InitiatorID': u'juliet',
    u'org.freedesktop.Telepathy.Channel.Interfaces': [],
    u'org.freedesktop.Telepathy.Channel.Requested': False,
    u'org.freedesktop.Telepathy.Channel.TargetHandle': 43L,
    u'org.freedesktop.Telepathy.Channel.TargetHandleType': 1L,
    u'org.freedesktop.Telepathy.Channel.TargetID': u'juliet'})],
 '/org/freedesktop/Telepathy/DispatchOperation/do0',
 {u'org.freedesktop.Telepathy.ChannelDispatchOperation.Account': '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0',
  u'org.freedesktop.Telepathy.ChannelDispatchOperation.Connection': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_',
  u'org.freedesktop.Telepathy.ChannelDispatchOperation.Interfaces': [u'org.freedesktop.Telepathy.ChannelDispatchOperation'],
  u'org.freedesktop.Telepathy.ChannelDispatchOperation.PossibleHandlers': [u'org.freedesktop.Telepathy.Client.Kopete',
                                                                           u'org.freedesktop.Telepathy.Client.Empathy']}]
- destination: 'org.freedesktop.Telepathy.Client.Empathy'
- handled: False
- interface: 'org.freedesktop.Telepathy.Client.Approver'
- message: <dbus.lowlevel.MethodCallMessage object at 0x1dd57c8>
- method: 'AddDispatchOperation'
- path: dbus.ObjectPath('/org/freedesktop/Telepathy/Client/Empathy')
- sender: ':1.1'
not handled

got event:
- type dbus-signal
- args: [{u'CurrentPresence': (0L, u'', u'')}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

got event:
- type dbus-signal
- args: [{u'NormalizedName': u'myself'}]
- interface: 'org.freedesktop.Telepathy.Account'
- path: '/org/freedesktop/Telepathy/Account/fakecm/fakeprotocol/someguy_40example_2ecom0'
- signal: 'AccountPropertyChanged'
not handled

timeout
still expecting:
 - EventPattern('dbus-method-call', **{'predicate': <function <lambda> at 0x2679230>, 'handled': True, 'args': ['org.freedesktop.Telepathy.Connection.Interface.Requests'], 'interface': 'org.freedesktop.DBus.Properties', 'path': '/org/freedesktop/Telepathy/Connection/fakecm/fakeprotocol/_', 'method': 'GetAll'})
Traceback (most recent call last):
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/mctest.py", line 107, in exec_test_deferred
    fun(queue, bus, mc)
  File "./dispatcher/already-has-channel.py", line 121, in test
    path=conn.object_path, handled=True),
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/servicetest.py", line 190, in expect_many
    event = self.wait()
  File "/home/cassidy/dev/telepathy-mission-control/tests/twisted/servicetest.py", line 255, in wait
    raise TimeoutError
TimeoutError
Killing temporary bus daemon: 733
FAIL: dispatcher/already-has-channel.py
Comment 4 Jonny Lamb 2011-05-18 04:39:38 UTC
I fixed them, yo.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.