Got this error when running tests on current master Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line 51, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line 36, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) --- <exception caught here> --- File "/usr/lib/python2.5/site-packages/twisted/internet/gtk2reactor.py", line 200, in _doReadOrWrite why = source.doRead() File "/usr/lib/python2.5/site-packages/twisted/internet/tcp.py", line 362, in doRead return self.protocol.dataReceived(data) File "/usr/lib/python2.5/site-packages/twisted/words/xish/xmlstream.py", line 74, in dataReceived self.stream.parse(data) exceptions.AttributeError: 'NoneType' object has no attribute 'parse' Traceback (most recent call last): File "/home/cassidy/dev/telepathy-gabble/tests/twisted/gabbletest.py", line 364, in exec_test_deferred f(queue, bus, conn, stream) File "./jingle/test-dialects-outgoing.py", line 124, in testg4 return worker(GtalkProtocol04(), q, bus, conn, stream) File "./jingle/test-dialects-outgoing.py", line 18, in worker jt2.prepare() File "/home/cassidy/dev/telepathy-gabble/tests/twisted/jingle/jingletest2.py", line 294, in prepare EventPattern('dbus-signal', signal='StatusChanged', args=[0, 1]), File "/home/cassidy/dev/telepathy-gabble/tests/twisted/servicetest.py", line 259, in expect_many event = self.wait() File "/home/cassidy/dev/telepathy-gabble/tests/twisted/servicetest.py", line 313, in wait raise TimeoutError TimeoutError FAIL: jingle/test-dialects-outgoing.py
Same problem when running only this test sh ./tools/with-session-bus.sh --config-file=tools/tmp-session-bus.conf -- make check-TESTS \ TESTS="jingle/test-dialects-outgoing.py" \ TESTS_ENVIRONMENT="PYTHONPATH=/home/cassidy/dev/telepathy-gabble/tests/twisted:/home/cassidy/dev/telepathy-gabble/tests/twisted python2.5" Temporary bus daemon is unix:abstract=/tmp/dbus-K7lopCMlxD,guid=26a01c2c474ac6f78a8fbf50494b8c95 Temporary bus daemon PID is 15972 make[3]: entrant dans le répertoire « /home/cassidy/dev/telepathy-gabble/tests/twisted » got event: - type dbus-signal - args: [1L, 1L] - interface: 'org.freedesktop.Telepathy.Connection' - path: '/Connection/gabble/jabber/test_40localhost_2fResource' - signal: 'StatusChanged' handled got event: - type stream-iq - iq_type: u'get' - query: <query xmlns='jabber:iq:auth'> <username>test</username> </query> - query_name: u'query' - query_ns: u'jabber:iq:auth' - stanza: <iq xmlns='jabber:client' type='get' id='593027884454'> <query xmlns='jabber:iq:auth'> <username>test</username> </query> </iq> - to: None not handled got event: - type stream-iq - iq_type: u'set' - query: <query xmlns='jabber:iq:auth'> <username>test</username> <digest>c2c483ea0a595a0b9e14f5250dca09d75bd119d7</digest> <resource>Resource</resource> </query> - query_name: u'query' - query_ns: u'jabber:iq:auth' - stanza: <iq xmlns='jabber:client' type='set' id='655490934852'> <query xmlns='jabber:iq:auth'> <username>test</username> <digest>c2c483ea0a595a0b9e14f5250dca09d75bd119d7</digest> <resource>Resource</resource> </query> </iq> - to: None not handled got event: - type stream-authenticated handled got event: - type stream-iq - iq_type: u'get' - query: <query xmlns='http://jabber.org/protocol/disco#info'><identity category='pubsub' type='pep'/></query> - query_name: u'query' - query_ns: u'http://jabber.org/protocol/disco#info' - stanza: <iq xmlns='jabber:client' to='localhost' type='result' id='3392346722'> <query xmlns='http://jabber.org/protocol/disco#info'><identity category='pubsub' type='pep'/></query> </iq> - to: u'localhost' not handled got event: - type stream-presence - presence_type: None - stanza: <presence xmlns='jabber:client' id='6656883045'> <x xmlns='vcard-temp:x:update'/> <c xmlns='http://jabber.org/protocol/caps' node='http://telepathy.freedesktop.org/caps' hash='sha-1' ver='WN3vA0/BweTiTpQ5QKnpnNf4aGM='/> </presence> - to: None not handled got event: - type stream-iq - iq_type: u'get' - query: <query xmlns='jabber:iq:roster'/> - query_name: u'query' - query_ns: u'jabber:iq:roster' - stanza: <iq xmlns='jabber:client' type='get' id='1049279639'> <query xmlns='jabber:iq:roster'/> </iq> - to: None not handled got event: - type stream-iq - iq_type: u'get' - query: <query xmlns='http://jabber.org/protocol/disco#items'/> - query_name: u'query' - query_ns: u'http://jabber.org/protocol/disco#items' - stanza: <iq xmlns='jabber:client' to='localhost' type='get' id='34978302015'> <query xmlns='http://jabber.org/protocol/disco#items'/> </iq> - to: u'localhost' not handled got event: - type dbus-signal - args: [{1L: (0L, {u'available': {}})}] - interface: 'org.freedesktop.Telepathy.Connection.Interface.Presence' - path: '/Connection/gabble/jabber/test_40localhost_2fResource' - signal: 'PresenceUpdate' handled got event: - type dbus-signal - args: [{1L: (2L, u'available', u'')}] - interface: 'org.freedesktop.Telepathy.Connection.Interface.SimplePresence' - path: '/Connection/gabble/jabber/test_40localhost_2fResource' - signal: 'PresencesChanged' not handled got event: - type stream-iq - iq_type: u'set' - query: <pubsub xmlns='http://jabber.org/protocol/pubsub'> <publish node='http://laptop.org/xmpp/activities'> <item> <activities xmlns='http://laptop.org/xmpp/activities'/> </item> </publish> </pubsub> - query_name: u'pubsub' - query_ns: u'http://jabber.org/protocol/pubsub' - stanza: <iq xmlns='jabber:client' type='set' id='167056438152'> <pubsub xmlns='http://jabber.org/protocol/pubsub'> <publish node='http://laptop.org/xmpp/activities'> <item> <activities xmlns='http://laptop.org/xmpp/activities'/> </item> </publish> </pubsub> </iq> - to: None not handled got event: - type stream-iq - iq_type: u'set' - query: <pubsub xmlns='http://jabber.org/protocol/pubsub'> <publish node='http://laptop.org/xmpp/activity-properties'> <item> <activities xmlns='http://laptop.org/xmpp/activity-properties'/> </item> </publish> </pubsub> - query_name: u'pubsub' - query_ns: u'http://jabber.org/protocol/pubsub' - stanza: <iq xmlns='jabber:client' type='set' id='166049445402'> <pubsub xmlns='http://jabber.org/protocol/pubsub'> <publish node='http://laptop.org/xmpp/activity-properties'> <item> <activities xmlns='http://laptop.org/xmpp/activity-properties'/> </item> </publish> </pubsub> </iq> - to: None not handled got event: - type dbus-signal - args: [0L, 1L] - interface: 'org.freedesktop.Telepathy.Connection' - path: '/Connection/gabble/jabber/test_40localhost_2fResource' - signal: 'StatusChanged' handled got event: - type dbus-signal - args: [{2L: (0L, {u'available': {}})}] - interface: 'org.freedesktop.Telepathy.Connection.Interface.Presence' - path: '/Connection/gabble/jabber/test_40localhost_2fResource' - signal: 'PresenceUpdate' not handled got event: - type dbus-signal - args: [{2L: (2L, u'available', u'')}] - interface: 'org.freedesktop.Telepathy.Connection.Interface.SimplePresence' - path: '/Connection/gabble/jabber/test_40localhost_2fResource' - signal: 'PresencesChanged' not handled got event: - type stream-iq - iq_type: u'get' - query: <query xmlns='http://jabber.org/protocol/disco#info' node='http://example.com/fake-client0#0.0.0'/> - query_name: u'query' - query_node: u'http://example.com/fake-client0#0.0.0' - query_ns: u'http://jabber.org/protocol/disco#info' - stanza: <iq xmlns='jabber:client' to='foo@bar.com/Foo' type='get' id='559134559126'> <query xmlns='http://jabber.org/protocol/disco#info' node='http://example.com/fake-client0#0.0.0'/> </iq> - to: u'foo@bar.com/Foo' handled got event: - type dbus-signal - args: [[(2L, u'org.freedesktop.Telepathy.Channel.Type.StreamedMedia', 0L, 3L, 0L, 1L)]] - interface: 'org.freedesktop.Telepathy.Connection.Interface.Capabilities' - path: '/Connection/gabble/jabber/test_40localhost_2fResource' - signal: 'CapabilitiesChanged' not handled got event: - type stream-iq - iq_type: u'result' - query: <query xmlns='http://jabber.org/protocol/disco#info'> <identity category='client' type='pc' name='Telepathy Gabble 0.7.17'/> <feature var='http://www.google.com/xmpp/protocol/session'/> <feature var='http://www.google.com/transport/p2p'/> <feature var='http://jabber.org/protocol/jingle'/> <feature var='urn:xmpp:jingle:0'/> <feature var='http://jabber.org/protocol/chatstates'/> <feature var='http://jabber.org/protocol/nick'/> <feature var='http://jabber.org/protocol/nick+notify'/> <feature var='http://jabber.org/protocol/si'/> <feature var='http://jabber.org/protocol/ibb'/> <feature var='http://telepathy.freedesktop.org/xmpp/tubes'/> </query> - query_name: u'query' - query_ns: u'http://jabber.org/protocol/disco#info' - stanza: <iq xmlns='jabber:client' type='result' id='H_2'> <query xmlns='http://jabber.org/protocol/disco#info'> <identity category='client' type='pc' name='Telepathy Gabble 0.7.17'/> <feature var='http://www.google.com/xmpp/protocol/session'/> <feature var='http://www.google.com/transport/p2p'/> <feature var='http://jabber.org/protocol/jingle'/> <feature var='urn:xmpp:jingle:0'/> <feature var='http://jabber.org/protocol/chatstates'/> <feature var='http://jabber.org/protocol/nick'/> <feature var='http://jabber.org/protocol/nick+notify'/> <feature var='http://jabber.org/protocol/si'/> <feature var='http://jabber.org/protocol/ibb'/> <feature var='http://telepathy.freedesktop.org/xmpp/tubes'/> </query> </iq> - to: None handled got event: - type dbus-signal - args: [u'', [1L], [], [], [], 0L, 0L] - interface: 'org.freedesktop.Telepathy.Channel.Interface.Group' - path: '/Connection/gabble/jabber/test_40localhost_2fResource/MediaChannel0' - signal: 'MembersChanged' not handled got event: - type dbus-signal - args: [2049L, 0L] - interface: 'org.freedesktop.Telepathy.Channel.Interface.Group' - path: '/Connection/gabble/jabber/test_40localhost_2fResource/MediaChannel0' - signal: 'GroupFlagsChanged' not handled got event: - type dbus-return - method: 'RequestChannel' - value: ('/org/freedesktop/Telepathy/Connection/gabble/jabber/test_40localhost_2fResource/MediaChannel0',) handled got event: - type dbus-signal - args: [[('/org/freedesktop/Telepathy/Connection/gabble/jabber/test_40localhost_2fResource/MediaChannel0', {u'org.freedesktop.Telepathy.Channel.ChannelType': u'org.freedesktop.Telepathy.Channel.Type.StreamedMedia', u'org.freedesktop.Telepathy.Channel.InitiatorHandle': 1L, u'org.freedesktop.Telepathy.Channel.InitiatorID': u'test@localhost', u'org.freedesktop.Telepathy.Channel.Interfaces': [u'org.freedesktop.Telepathy.Channel.Interface.Group', u'org.freedesktop.Telepathy.Channel.Interface.Hold', u'org.freedesktop.Telepathy.Channel.Interface.MediaSignalling', u'org.freedesktop.Telepathy.Properties', u'org.freedesktop.Telepathy.Media.SessionHandler'], u'org.freedesktop.Telepathy.Channel.Requested': 1, u'org.freedesktop.Telepathy.Channel.TargetHandle': 0L, u'org.freedesktop.Telepathy.Channel.TargetHandleType': 0L, u'org.freedesktop.Telepathy.Channel.TargetID': u''})]] - interface: 'org.freedesktop.Telepathy.Connection.Interface.Requests' - path: '/Connection/gabble/jabber/test_40localhost_2fResource' - signal: 'NewChannels' handled got event: - type dbus-signal - args: ['/org/freedesktop/Telepathy/Connection/gabble/jabber/test_40localhost_2fResource/MediaChannel0', u'org.freedesktop.Telepathy.Channel.Type.StreamedMedia', 0L, 0L, 1] - interface: 'org.freedesktop.Telepathy.Connection' - path: '/Connection/gabble/jabber/test_40localhost_2fResource' - signal: 'NewChannel' handled got event: - type dbus-signal - args: ['/org/freedesktop/Telepathy/Connection/gabble/jabber/test_40localhost_2fResource/MediaChannel0', u'rtp'] - interface: 'org.freedesktop.Telepathy.Channel.Interface.MediaSignalling' - path: '/Connection/gabble/jabber/test_40localhost_2fResource/MediaChannel0' - signal: 'NewSessionHandler' handled got event: - type dbus-signal - args: [1L, 2L, 0L] - interface: 'org.freedesktop.Telepathy.Channel.Type.StreamedMedia' - path: '/Connection/gabble/jabber/test_40localhost_2fResource/MediaChannel0' - signal: 'StreamAdded' not handled got event: - type dbus-signal - args: ['/org/freedesktop/Telepathy/Connection/gabble/jabber/test_40localhost_2fResource/MediaChannel0/MediaStream1', 1L, 0L, 3L] - interface: 'org.freedesktop.Telepathy.Media.SessionHandler' - path: '/Connection/gabble/jabber/test_40localhost_2fResource/MediaChannel0' - signal: 'NewStreamHandler' handled got event: - type dbus-signal - args: [0] - interface: 'org.freedesktop.Telepathy.Media.StreamHandler' - path: '/Connection/gabble/jabber/test_40localhost_2fResource/MediaChannel0/MediaStream1' - signal: 'SetStreamPlaying' not handled got event: - type stream-iq - iq_type: u'get' - query: <vCard xmlns='vcard-temp'/> - query_name: u'vCard' - query_ns: u'vcard-temp' - stanza: <iq xmlns='jabber:client' type='get' id='66719333209'> <vCard xmlns='vcard-temp'/> </iq> - to: None handled Traceback (most recent call last): File "/home/cassidy/dev/telepathy-gabble/tests/twisted/gabbletest.py", line 364, in exec_test_deferred f(queue, bus, conn, stream) File "./jingle/test-dialects-outgoing.py", line 121, in testg3 return worker(GtalkProtocol03(), q, bus, conn, stream) File "./jingle/test-dialects-outgoing.py", line 56, in worker assert e.query.name == 'session' AssertionError FAIL: jingle/test-dialects-outgoing.py ============================================================================= 1 of 1 tests failed Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy ============================================================================= make[3]: *** [check-TESTS] Erreur 1 make[3]: quittant le répertoire « /home/cassidy/dev/telepathy-gabble/tests/twisted » Killing temporary bus daemon: 15972 make[2]: *** [check-twisted] Erreur 2 make[2]: quittant le répertoire « /home/cassidy/dev/telepathy-gabble/tests/twisted » make[1]: *** [check-am] Erreur 2 make[1]: quittant le répertoire « /home/cassidy/dev/telepathy-gabble/tests/twisted » make: *** [check-recursive] Erreur 1
Those are two different failure modes :-( I've been able to fix the one from Comment #1 by catching and ignoring the vCard query during startup, but so far, not the original bug report.
Fixed in my branch, to be merged shortly.
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.