[Neo-report] Neo : 398 Tests, 11 Errors, 5 Failures

aurel at nexedi.com aurel at nexedi.com
Fri Jun 12 13:32:14 CEST 2009


Date : 2009-06-12

Ran unit test of  ./neo/master/tests/testMasterVerificationHandler.py
Ran 15 tests in 0.121s
OK

Ran unit test of  ./neo/master/tests/testMasterRecoveryHandler.py
Ran 10 tests in 0.075s
OK

Ran unit test of  ./neo/master/tests/testMasterElectionHandler.py
Ran 21 tests in 0.137s
OK

Ran unit test of  ./neo/master/tests/testMasterService.py
Ran 17 tests in 2.268s
OK

Ran unit test of  ./neo/master/tests/testMasterApp.py
Ran 6 tests in 0.036s
OK

Ran unit test of  ./neo/tests/testProtocol.py
Ran 56 tests in 0.007s
OK

Ran unit test of  ./neo/tests/testNodes.py
Ran 5 tests in 0.002s
OK

Ran unit test of  ./neo/tests/testConfig.py
Ran 1 test in 0.003s
OK

Ran unit test of  ./neo/tests/testPT.py
Ran 17 tests in 0.017s
OK

Ran unit test of  ./neo/tests/testConnection.py
Ran 16 tests in 0.046s
OK

Ran unit test of  ./neo/tests/testEvent.py
Ran 2 tests in 0.007s
OK

Ran unit test of  ./neo/tests/testHandler.py
Ran 5 tests in 0.014s
OK

Ran unit test of  ./neo/storage/tests/testStorageVerificationHandler.py
Ran 20 tests in 2.067s
OK

Ran unit test of  ./neo/storage/tests/testStorageBootstrapHandler.py
Ran 24 tests in 2.067s
OK

Ran unit test of  ./neo/storage/tests/testStorageMySQLdb.py
Ran 36 tests in 2.522s
OK

Ran unit test of  ./neo/storage/tests/testStorageOperation.py
Ran 58 tests in 4.932s
FAILED (failures=1)

Ran unit test of  ./neo/storage/tests/testStorageApp.py
Ran 4 tests in 0.369s
FAILED (errors=1)

Ran unit test of  ./neo/client/tests/testConnectionPool.py
Ran 1 test in 0.001s
OK

Ran unit test of  ./neo/client/tests/testClientHandler.py
Ran 57 tests in 0.100s
FAILED (errors=1)

Ran unit test of  ./neo/client/tests/testZODB.py
Ran unit test of  ./neo/client/tests/testDispatcher.py
Ran 1 test in 0.000s
OK

Ran unit test of  ./neo/client/tests/testClientApp.py
Ran 26 tests in 0.139s
FAILED (failures=4, errors=9)

-------------- next part --------------
Ran unit test of  ./neo/master/tests/testMasterVerificationHandler.py
..ERROR:root:127.0.0.1:10011 is broken
.ERROR:root:reject an alien cluster
.....CRITICAL:root:got later information in verification
.......
----------------------------------------------------------------------
Ran 15 tests in 0.121s

OK
Ran unit test of  ./neo/master/tests/testMasterRecoveryHandler.py
..ERROR:root:127.0.0.1:10011 is broken
.ERROR:root:reject an alien cluster
......WARNING:root:got answer partition table from 445c75831e40154068fb4c3773339058 while waiting for None
.
----------------------------------------------------------------------
Ran 10 tests in 0.075s

OK
Ran unit test of  ./neo/master/tests/testMasterElectionHandler.py
.....ERROR:root:127.0.0.1:10011 is broken
.ERROR:root:127.0.0.1:10011 is broken
..ERROR:root:127.0.0.1:10011 is not a master node
.ERROR:root:127.0.0.2:10011 is not a master node
.......ERROR:root:reject an alien cluster
.....
----------------------------------------------------------------------
Ran 21 tests in 0.137s

OK
Ran unit test of  ./neo/master/tests/testMasterService.py
ERROR:root:reject an alien cluster
.....CRITICAL:root:got later information in service
.....WARNING:root:aborting transaction None does not exist
...WARNING:root:only up-to-date state should be sent
WARNING:root:only a cell itself should send this packet
.ERROR:root:127.0.0.1:10021 is broken
ERROR:root:127.0.0.1:10022 is broken
ERROR:root:127.0.0.1:11022 is broken
...
----------------------------------------------------------------------
Ran 17 tests in 2.268s

OK
Ran unit test of  ./neo/master/tests/testMasterApp.py
......
----------------------------------------------------------------------
Ran 6 tests in 0.036s

OK
Ran unit test of  ./neo/tests/testProtocol.py
........................................................
----------------------------------------------------------------------
Ran 56 tests in 0.007s

OK
Ran unit test of  ./neo/tests/testNodes.py
.....
----------------------------------------------------------------------
Ran 5 tests in 0.002s

OK
Ran unit test of  ./neo/tests/testConfig.py
.
----------------------------------------------------------------------
Ran 1 test in 0.003s

OK
Ran unit test of  ./neo/tests/testPT.py
.................
----------------------------------------------------------------------
Ran 17 tests in 0.017s

OK
Ran unit test of  ./neo/tests/testConnection.py
................
----------------------------------------------------------------------
Ran 16 tests in 0.046s

OK
Ran unit test of  ./neo/tests/testEvent.py
..
----------------------------------------------------------------------
Ran 2 tests in 0.007s

OK
Ran unit test of  ./neo/tests/testHandler.py
....ERROR:root:127.0.0.1:10000 is broken
ERROR:root:127.0.0.1:10000 is broken
ERROR:root:127.0.0.1:10000 is broken
ERROR:root:127.0.0.1:10000 is broken
.
----------------------------------------------------------------------
Ran 5 tests in 0.014s

OK
Ran unit test of  ./neo/storage/tests/testStorageVerificationHandler.py
.CRITICAL:root:the primary master node times out
.CRITICAL:root:the primary master node is dead
.ERROR:root:127.0.0.1:11011 is broken
CRITICAL:root:the primary master node is broken
.ERROR:root:reject an alien cluster
................
----------------------------------------------------------------------
Ran 20 tests in 2.067s

OK
Ran unit test of  ./neo/storage/tests/testStorageBootstrapHandler.py
.....ERROR:root:127.0.0.1:10010 is broken
ERROR:root:127.0.0.1:10010 is broken
....ERROR:root:reject an alien cluster
.....ERROR:root:127.0.0.1:10020 is not a master node
.ERROR:root:127.0.0.1:10010 is waiting for 127.0.0.1:10020
.........
----------------------------------------------------------------------
Ran 24 tests in 2.067s

OK
Ran unit test of  ./neo/storage/tests/testStorageMySQLdb.py
....................................
----------------------------------------------------------------------
Ran 36 tests in 2.522s

OK
Ran unit test of  ./neo/storage/tests/testStorageOperation.py
.....CRITICAL:root:the primary master node times out
..CRITICAL:root:the primary master node is dead
..ERROR:root:127.0.0.1:10010 is broken
CRITICAL:root:the primary master node is broken
..ERROR:root:reject an alien cluster
..ERROR:root:reject an unknown node 98d16e5ab805133e4ebc46c3839279ef
..........F..................................
======================================================================
FAIL: test_14_handleNotifyPartitionChanges2 (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 538, in test_14_handleNotifyPartitionChanges2
    self.assertEquals(len(calls), 2)
AssertionError: 3 != 2

----------------------------------------------------------------------
Ran 58 tests in 4.932s

FAILED (failures=1)
Ran unit test of  ./neo/storage/tests/testStorageApp.py
E...
======================================================================
ERROR: test_01_loadPartitionTable (__main__.StorageAppTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageApp.py", line 157, in test_01_loadPartitionTable
    self.app.dm.query("insert into pt (rid, uuid, state) values ('%s', '%s', %d)" %
  File "/home/baobab/neo/neo/neo/storage/mysqldb.py", line 88, in query
    conn.query(query)
ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'b\x89', 0)' at line 1")

----------------------------------------------------------------------
Ran 4 tests in 0.369s

FAILED (errors=1)
Ran unit test of  ./neo/client/tests/testConnectionPool.py
.
----------------------------------------------------------------------
Ran 1 test in 0.001s

OK
Ran unit test of  ./neo/client/tests/testClientHandler.py
............E............................................
======================================================================
ERROR: test_StopOperation (__main__.ClientHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientHandler.py", line 913, in test_StopOperation
    raise NotImplementedError
NotImplementedError

----------------------------------------------------------------------
Ran 57 tests in 0.100s

FAILED (errors=1)
Ran unit test of  ./neo/client/tests/testZODB.py
.Traceback (most recent call last):
  File "/home/baobab/neo/neo/neomaster", line 46, in ?
    app.run()
  File "/home/baobab/neo/neo/neo/master/app.py", line 107, in run
    self.playPrimaryRole()
  File "/home/baobab/neo/neo/neo/master/app.py", line 717, in playPrimaryRole
    self.provideService()
  File "/home/baobab/neo/neo/neo/master/app.py", line 659, in provideService
    em.poll(1)
  File "/home/baobab/neo/neo/neo/event.py", line 190, in poll
    conn.readable()
  File "/home/baobab/neo/neo/neo/connection.py", line 205, in readable
    self.analyse()
  File "/home/baobab/neo/neo/neo/connection.py", line 236, in analyse
    self.handler.packetReceived(self, packet)
  File "/home/baobab/neo/neo/neo/handler.py", line 133, in packetReceived
    self.dispatch(conn, packet)
  File "/home/baobab/neo/neo/neo/handler.py", line 188, in dispatch
    method(conn, packet, *args)
  File "/home/baobab/neo/neo/neo/handler.py", line 207, in handleError
    method(conn, packet, message)
  File "/home/baobab/neo/neo/neo/handler.py", line 391, in handleProtocolError
    raise RuntimeError, 'protocol error: %s' % (message,)
RuntimeError: protocol error: protocol error: unexpected packet type ANSWER_PRIMARY_MASTER
Traceback (most recent call last):
  File "/home/baobab/neo/neo/neostorage", line 48, in ?
    app.run()
  File "/home/baobab/neo/neo/neo/storage/app.py", line 139, in run
    self.connectToPrimaryMaster()
  File "/home/baobab/neo/neo/neo/storage/app.py", line 174, in connectToPrimaryMaster
    self.loadPartitionTable()
  File "/home/baobab/neo/neo/neo/storage/app.py", line 106, in loadPartitionTable
    for offset, uuid, state in self.dm.getPartitionTable():
  File "/home/baobab/neo/neo/neo/storage/mysqldb.py", line 257, in getPartitionTable
    return q("""SELECT rid, uuid, state FROM pt""")
  File "/home/baobab/neo/neo/neo/storage/mysqldb.py", line 88, in query
    conn.query(query)
_mysql_exceptions.ProgrammingError: (1146, "Table 'test_neo4.pt' doesn't exist")
Traceback (most recent call last):
  File "/home/baobab/neo/neo/neostorage", line 48, in ?
    app.run()
  File "/home/baobab/neo/neo/neo/storage/app.py", line 139, in run
    self.connectToPrimaryMaster()
  File "/home/baobab/neo/neo/neo/storage/app.py", line 174, in connectToPrimaryMaster
    self.loadPartitionTable()
  File "/home/baobab/neo/neo/neo/storage/app.py", line 106, in loadPartitionTable
    for offset, uuid, state in self.dm.getPartitionTable():
  File "/home/baobab/neo/neo/neo/storage/mysqldb.py", line 257, in getPartitionTable
    return q("""SELECT rid, uuid, state FROM pt""")
  File "/home/baobab/neo/neo/neo/storage/mysqldb.py", line 88, in query
    conn.query(query)
_mysql_exceptions.ProgrammingError: (1146, "Table 'test_neo2.pt' doesn't exist")
Traceback (most recent call last):
  File "/home/baobab/neo/neo/neostorage", line 48, in ?
    app.run()
  File "/home/baobab/neo/neo/neo/storage/app.py", line 139, in run
    self.connectToPrimaryMaster()
  File "/home/baobab/neo/neo/neo/storage/app.py", line 174, in connectToPrimaryMaster
    self.loadPartitionTable()
  File "/home/baobab/neo/neo/neo/storage/app.py", line 106, in loadPartitionTable
    for offset, uuid, state in self.dm.getPartitionTable():
  File "/home/baobab/neo/neo/neo/storage/mysqldb.py", line 257, in getPartitionTable
    return q("""SELECT rid, uuid, state FROM pt""")
  File "/home/baobab/neo/neo/neo/storage/mysqldb.py", line 88, in query
    conn.query(query)
_mysql_exceptions.ProgrammingError: (1146, "Table 'test_neo3.pt' doesn't exist")
Traceback (most recent call last):
  File "/home/baobab/neo/neo/neostorage", line 48, in ?
    app.run()
  File "/home/baobab/neo/neo/neo/storage/app.py", line 139, in run
    self.connectToPrimaryMaster()
  File "/home/baobab/neo/neo/neo/storage/app.py", line 174, in connectToPrimaryMaster
    self.loadPartitionTable()
  File "/home/baobab/neo/neo/neo/storage/app.py", line 106, in loadPartitionTable
    for offset, uuid, state in self.dm.getPartitionTable():
  File "/home/baobab/neo/neo/neo/storage/mysqldb.py", line 257, in getPartitionTable
    return q("""SELECT rid, uuid, state FROM pt""")
  File "/home/baobab/neo/neo/neo/storage/mysqldb.py", line 88, in query
    conn.query(query)
_mysql_exceptions.ProgrammingError: (1146, "Table 'test_neo1.pt' doesn't exist")
Ran unit test of  ./neo/client/tests/testDispatcher.py
.
----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
Ran unit test of  ./neo/client/tests/testClientApp.py
DEBUG:root:master node address are 
FDEBUG:root:master node address are 
.DEBUG:root:master node address are 127.0.0.1:10010 127.0.0.1:10011
EDEBUG:root:master node address are 127.0.0.1:10010
.DEBUG:root:master node address are 127.0.0.1:10010
.DEBUG:root:master node address are 127.0.0.1:10010
.DEBUG:root:master node address are 127.0.0.1:10010
DEBUG:root:trying to load 00000000000000d4 from 00000000000000000000000000000000
WARNING:root:oid 00000000000000d4 not found because of connection failure
DEBUG:root:trying to load 00000000000000d4 from 00000000000000000000000000000000
INFO:root:oid 00000000000000d4 not found
DEBUG:root:trying to load 00000000000000d4 from 00000000000000000000000000000000
ERROR:root:wrong checksum from node None for oid 00000000000000d4
INFO:root:oid 00000000000000d4 not found
EDEBUG:root:master node address are 127.0.0.1:10010
DEBUG:root:loading 00000000000000fb before 0000000000000002
DEBUG:root:trying to load 00000000000000fb from 00000000000000000000000000000000
INFO:root:oid 00000000000000fb not found
DEBUG:root:loading 00000000000000fb before 0000000000000001
DEBUG:root:trying to load 00000000000000fb from 00000000000000000000000000000000
ERROR:root:wrong checksum from node None for oid 00000000000000fb
INFO:root:oid 00000000000000fb not found
EDEBUG:root:master node address are 127.0.0.1:10010
DEBUG:root:loading 00000000000000fc at 0000000000000002
DEBUG:root:trying to load 00000000000000fc from 00000000000000000000000000000000
INFO:root:oid 00000000000000fc not found
DEBUG:root:loading 00000000000000fc at 0000000000000001
DEBUG:root:trying to load 00000000000000fc from 00000000000000000000000000000000
ERROR:root:wrong checksum from node None for oid 00000000000000fc
INFO:root:oid 00000000000000fc not found
EDEBUG:root:master node address are 127.0.0.1:10010
EDEBUG:root:master node address are 127.0.0.1:10010
.DEBUG:root:master node address are 127.0.0.1:10010
DEBUG:root:storing oid 000000000000000b serial 00000000000000bf
.DEBUG:root:master node address are 127.0.0.1:10010
DEBUG:root:storing oid 000000000000000b serial 00000000000000d9
FDEBUG:root:master node address are 127.0.0.1:10010
DEBUG:root:storing oid 000000000000000b serial 0000000000000013
FDEBUG:root:master node address are 127.0.0.1:10010
.DEBUG:root:master node address are 127.0.0.1:10010
FDEBUG:root:master node address are 127.0.0.1:10010
EDEBUG:root:master node address are 127.0.0.1:10010
.DEBUG:root:master node address are 127.0.0.1:10010
EDEBUG:root:master node address are 127.0.0.1:10010
EDEBUG:root:master node address are 127.0.0.1:10010
.DEBUG:root:master node address are 127.0.0.1:10010
INFO:root:voting object FakeServer FakeState
INFO:root:voting object FakeServer FakeState
INFO:root:unexpected packet type ANSWER_NEW_OIDS
ERROR:root:127.0.0.1:0 is broken
.DEBUG:root:master node address are 127.0.0.1:10010
INFO:root:voting object FakeServer FakeState
INFO:root:voting object FakeServer FakeState
.DEBUG:root:master node address are 127.0.0.1:10010
.DEBUG:root:master node address are 127.0.0.1:10010
INFO:root:voting object FakeServer FakeState
INFO:root:voting object FakeServer FakeState
EDEBUG:root:master node address are 127.0.0.1:10010
INFO:root:UndoLog, tids ['\x00\x00\x00\x00\x00\x00\x00\x02', '\x00\x00\x00\x00\x00\x00\x00\x01']
.
======================================================================
ERROR: test_connectToPrimaryMasterNode (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 806, in test_connectToPrimaryMasterNode
    self.connectToPrimaryMasterNode(app)
AttributeError: 'ClientApplicationTest' object has no attribute 'connectToPrimaryMasterNode'

======================================================================
ERROR: test_load (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 221, in test_load
    result = app.load(oid)
  File "/home/baobab/neo/neo/neo/client/app.py", line 479, in load
    return self._load(oid, cache=1)[:2]
  File "/home/baobab/neo/neo/neo/client/app.py", line 448, in _load
    raise NEOStorageNotFoundError()
NEOStorageNotFoundError

======================================================================
ERROR: test_loadBefore (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 299, in test_loadBefore
    result = app.loadBefore(oid, tid1)
  File "/home/baobab/neo/neo/neo/client/app.py", line 497, in loadBefore
    data, start, end = self._load(oid, tid=tid)
  File "/home/baobab/neo/neo/neo/client/app.py", line 448, in _load
    raise NEOStorageNotFoundError()
NEOStorageNotFoundError

======================================================================
ERROR: test_loadSerial (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 266, in test_loadSerial
    result = app.loadSerial(oid, tid1)
  File "/home/baobab/neo/neo/neo/client/app.py", line 488, in loadSerial
    return self._load(oid, serial=serial)[0]
  File "/home/baobab/neo/neo/neo/client/app.py", line 448, in _load
    raise NEOStorageNotFoundError()
NEOStorageNotFoundError

======================================================================
ERROR: test_new_oid (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 152, in test_new_oid
    new_oid = app.new_oid()
  File "/home/baobab/neo/neo/neo/client/app.py", line 361, in new_oid
    self._askPrimary(protocol.askNewOIDs(100))
  File "/home/baobab/neo/neo/neo/client/app.py", line 338, in _askPrimary
    self._waitMessage(conn, msg_id, self.primary_handler)
  File "./neo/client/tests/testClientApp.py", line 41, in _waitMessage
    handler.dispatch(conn, conn.fakeReceived())
  File "/home/baobab/neo/neo/neo/client/handler.py", line 52, in dispatch
    super(BaseHandler, self).dispatch(conn, packet)
  File "/home/baobab/neo/neo/neo/handler.py", line 184, in dispatch
    t = packet.getType()
AttributeError: 'NoneType' object has no attribute 'getType'

======================================================================
ERROR: test_tpc_begin (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 337, in test_tpc_begin
    self.assertRaises(NEOStorageError, app.tpc_begin, transaction=txn, tid=None)
  File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/home/baobab/neo/neo/neo/client/app.py", line 514, in tpc_begin
    self._askPrimary(protocol.askNewTID())
  File "/home/baobab/neo/neo/neo/client/app.py", line 338, in _askPrimary
    self._waitMessage(conn, msg_id, self.primary_handler)
  File "./neo/client/tests/testClientApp.py", line 41, in _waitMessage
    handler.dispatch(conn, conn.fakeReceived())
  File "/home/baobab/neo/neo/neo/client/handler.py", line 52, in dispatch
    super(BaseHandler, self).dispatch(conn, packet)
  File "/home/baobab/neo/neo/neo/handler.py", line 184, in dispatch
    t = packet.getType()
AttributeError: 'NoneType' object has no attribute 'getType'

======================================================================
ERROR: test_tpc_finish2 (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 585, in test_tpc_finish2
    self.assertRaises(NEOStorageError, app.tpc_finish, txn, hook)
  File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/home/baobab/neo/neo/neo/client/app.py", line 672, in tpc_finish
    self._askPrimary(p)
  File "/home/baobab/neo/neo/neo/client/app.py", line 338, in _askPrimary
    self._waitMessage(conn, msg_id, self.primary_handler)
  File "./neo/client/tests/testClientApp.py", line 41, in _waitMessage
    handler.dispatch(conn, conn.fakeReceived())
  File "/home/baobab/neo/neo/neo/client/handler.py", line 52, in dispatch
    super(BaseHandler, self).dispatch(conn, packet)
  File "/home/baobab/neo/neo/neo/handler.py", line 184, in dispatch
    t = packet.getType()
AttributeError: 'NoneType' object has no attribute 'getType'

======================================================================
ERROR: test_tpc_finish3 (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 610, in test_tpc_finish3
    app.tpc_finish(txn, hook)
  File "/home/baobab/neo/neo/neo/client/app.py", line 672, in tpc_finish
    self._askPrimary(p)
  File "/home/baobab/neo/neo/neo/client/app.py", line 338, in _askPrimary
    self._waitMessage(conn, msg_id, self.primary_handler)
  File "./neo/client/tests/testClientApp.py", line 41, in _waitMessage
    handler.dispatch(conn, conn.fakeReceived())
  File "/home/baobab/neo/neo/neo/client/handler.py", line 52, in dispatch
    super(BaseHandler, self).dispatch(conn, packet)
  File "/home/baobab/neo/neo/neo/handler.py", line 184, in dispatch
    t = packet.getType()
AttributeError: 'NoneType' object has no attribute 'getType'

======================================================================
ERROR: test_undo2 (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 656, in test_undo2
    self.finishTransaction(app)
  File "./neo/client/tests/testClientApp.py", line 118, in finishTransaction
    app.tpc_finish(txn)
  File "/home/baobab/neo/neo/neo/client/app.py", line 672, in tpc_finish
    self._askPrimary(p)
  File "/home/baobab/neo/neo/neo/client/app.py", line 338, in _askPrimary
    self._waitMessage(conn, msg_id, self.primary_handler)
  File "./neo/client/tests/testClientApp.py", line 41, in _waitMessage
    handler.dispatch(conn, conn.fakeReceived())
  File "/home/baobab/neo/neo/neo/client/handler.py", line 52, in dispatch
    super(BaseHandler, self).dispatch(conn, packet)
  File "/home/baobab/neo/neo/neo/handler.py", line 184, in dispatch
    t = packet.getType()
AttributeError: 'NoneType' object has no attribute 'getType'

======================================================================
FAIL: _askPrimary is private but test it anyway
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 856, in test_askPrimary
    self.checkAskNewTid(conn)
  File "/home/baobab/neo/neo/neo/tests/base.py", line 201, in checkAskNewTid
    return self.checkAskPacket(conn, protocol.ASK_NEW_TID, **kw)
  File "/home/baobab/neo/neo/neo/tests/base.py", line 118, in checkAskPacket
    self.assertEquals(len(calls), 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_store2 (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 403, in test_store2
    self.checkDispatcherRegisterCalled(app, conn)
  File "./neo/client/tests/testClientApp.py", line 127, in checkDispatcherRegisterCalled
    self.assertTrue(isinstance(calls[0].getParam(2), Queue))
AssertionError

======================================================================
FAIL: test_store3 (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 432, in test_store3
    self.checkDispatcherRegisterCalled(app, conn)
  File "./neo/client/tests/testClientApp.py", line 127, in checkDispatcherRegisterCalled
    self.assertTrue(isinstance(calls[0].getParam(2), Queue))
AssertionError

======================================================================
FAIL: test_tpc_abort2 (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 540, in test_tpc_abort2
    self.checkNotifyPacket(app.master_conn, ABORT_TRANSACTION)
  File "/home/baobab/neo/neo/neo/tests/base.py", line 144, in checkNotifyPacket
    self.assertTrue(len(calls) > packet_number)
AssertionError

----------------------------------------------------------------------
Ran 26 tests in 0.139s

FAILED (failures=4, errors=9)
Unhandled exception in thread started by 
Error in sys.excepthook:

Original exception was:
Unhandled exception in thread started by 
Error in sys.excepthook:

Original exception was:
Unhandled exception in thread started by 
Error in sys.excepthook:

Original exception was:
Unhandled exception in thread started by 
Error in sys.excepthook:

Original exception was:
Unhandled exception in thread started by 
Error in sys.excepthook:

Original exception was:
Unhandled exception in thread started by 
Error in sys.excepthook:

Original exception was:
Unhandled exception in thread started by 
Error in sys.excepthook:

Original exception was:


More information about the Neo-report mailing list