[Neo-report] Neo : 379 Tests, 49 Errors, 23 Failures
gregory at nexedi.com
gregory at nexedi.com
Wed Jan 13 12:05:56 CET 2010
NEO TESTS REPORT
Date : 2010-01-13
Node : sd-9157
Processor : VIA Esther processor 2000MHz (32bit)
System : Linux (2.6.12-27mdk)
Directory : /tmp/neo_bTLVSX
Status : 81.003%
Test Module | run | success | errors | fails | time
--------------------------+---------+---------+---------+---------+----------
ClientApp | 26 | 26 | . | . | 1.65s
ClientHandler | 53 | 33 | 18 | 2 | 0.20s
ConnectionPool | 1 | 1 | . | . | 0.00s
--------------------------+---------+---------+---------+---------+----------
neo.tests.client | | | | |
--------------------------+---------+---------+---------+---------+----------
Cluster | 3 | 3 | . | . | 19.54s
ImportExport | 2 | 2 | . | . | 12.63s
Master | 4 | 1 | . | 3 | 49.92s
Storage | 12 | 10 | 1 | 1 | 155.17s
ZODB | 16 | 16 | . | . | 80.06s
--------------------------+---------+---------+---------+---------+----------
neo.tests.functional | | | | |
--------------------------+---------+---------+---------+---------+----------
ClientHandler | 11 | 3 | 4 | 4 | 0.20s
ElectionHandler | 21 | 1 | 17 | 3 | 0.06s
MasterApp | 2 | 2 | . | . | 0.02s
MasterPT | 7 | 3 | 1 | 3 | 0.02s
RecoveryHandler | 6 | . | 1 | 5 | 0.03s
StorageHandler | 9 | . | 7 | 2 | 0.04s
VerificationHandler | 9 | 9 | . | . | 0.11s
--------------------------+---------+---------+---------+---------+----------
neo.tests.master | | | | |
--------------------------+---------+---------+---------+---------+----------
ClientHandler | 18 | 18 | . | . | 2.03s
InitializationHandler | 4 | 4 | . | . | 0.36s
MasterHandler | 10 | 10 | . | . | 0.81s
StorageApp | 3 | 3 | . | . | 0.25s
StorageHandler | 13 | 13 | . | . | 1.23s
StorageMySQLdb | 35 | 35 | . | . | 2.48s
VerificationHandler | 13 | 13 | . | . | 1.13s
--------------------------+---------+---------+---------+---------+----------
neo.tests.storage | | | | |
--------------------------+---------+---------+---------+---------+----------
Bootstrap | 2 | 2 | . | . | 0.30s
Connection | 16 | 16 | . | . | 0.06s
Dispatcher | 3 | 3 | . | . | 0.00s
Event | 2 | 2 | . | . | 0.01s
Handler | 1 | 1 | . | . | 0.00s
Nodes | 13 | 13 | . | . | 0.01s
PT | 10 | 10 | . | . | 0.01s
Protocol | 53 | 53 | . | . | 0.01s
Util | 1 | 1 | . | . | 0.00s
--------------------------+---------+---------+---------+---------+----------
neo.tests | | | | |
--------------------------+---------+---------+---------+---------+----------
Summary | 379 | 307 | 49 | 23 | 328.33s
--------------------------+---------+---------+---------+---------+----------
ERRORS:
neo/tests/master/testClientHandler.py MasterClientHandlerTests.test_05_notifyNodeInformation
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 82, in test_05_notifyNodeInformation
self.assertRaises(RuntimeError, service.notifyNodeInformation, conn, packet, node_list)
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/neo_tests/neo/neo/handler.py", line 166, in notifyNodeInformation
raise UnexpectedPacketError
UnexpectedPacketError
-------------------------------------------------------------
neo/tests/master/testClientHandler.py MasterClientHandlerTests.test_06_answerLastIDs
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 166, in test_06_answerLastIDs
self.assertRaises(OperationFailure, service.answerLastIDs, conn, packet, None, None, new_ptid)
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/neo_tests/neo/neo/handler.py", line 172, in answerLastIDs
raise UnexpectedPacketError
UnexpectedPacketError
-------------------------------------------------------------
neo/tests/master/testClientHandler.py MasterClientHandlerTests.test_12_askLastIDs
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 265, in test_12_askLastIDs
service.askLastIDs(conn, packet)
File "/home/neo_tests/neo/neo/handler.py", line 169, in askLastIDs
raise UnexpectedPacketError
UnexpectedPacketError
-------------------------------------------------------------
neo/tests/master/testClientHandler.py MasterClientHandlerTests.test_13_askUnfinishedTransactions
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 279, in test_13_askUnfinishedTransactions
service.askUnfinishedTransactions(conn, packet)
File "/home/neo_tests/neo/neo/handler.py", line 193, in askUnfinishedTransactions
raise UnexpectedPacketError
UnexpectedPacketError
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_09_answerPrimary1
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 136, in test_09_answerPrimary1
connector_handler = DoNothingConnector)
File "/home/neo_tests/neo/neo/connection.py", line 450, in __init__
self.handler.connectionCompleted(self)
File "/home/neo_tests/neo/neo/master/handlers/election.py", line 81, in connectionCompleted
conn.ask(Packets.AskPrimary())
File "/home/neo_tests/neo/neo/connection.py", line 34, in decorator
return func(self, *args, **kw)
File "/home/neo_tests/neo/neo/connection.py", line 414, in ask
additional_timeout=additional_timeout)
TypeError: expectMessage() got an unexpected keyword argument 'timeout'
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_09_answerPrimary2
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 157, in test_09_answerPrimary2
connector_handler = DoNothingConnector)
File "/home/neo_tests/neo/neo/connection.py", line 450, in __init__
self.handler.connectionCompleted(self)
File "/home/neo_tests/neo/neo/master/handlers/election.py", line 81, in connectionCompleted
conn.ask(Packets.AskPrimary())
File "/home/neo_tests/neo/neo/connection.py", line 34, in decorator
return func(self, *args, **kw)
File "/home/neo_tests/neo/neo/connection.py", line 414, in ask
additional_timeout=additional_timeout)
TypeError: expectMessage() got an unexpected keyword argument 'timeout'
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_09_answerPrimary3
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 176, in test_09_answerPrimary3
connector_handler = DoNothingConnector)
File "/home/neo_tests/neo/neo/connection.py", line 450, in __init__
self.handler.connectionCompleted(self)
File "/home/neo_tests/neo/neo/master/handlers/election.py", line 81, in connectionCompleted
conn.ask(Packets.AskPrimary())
File "/home/neo_tests/neo/neo/connection.py", line 34, in decorator
return func(self, *args, **kw)
File "/home/neo_tests/neo/neo/connection.py", line 414, in ask
additional_timeout=additional_timeout)
TypeError: expectMessage() got an unexpected keyword argument 'timeout'
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_09_answerPrimary4
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 198, in test_09_answerPrimary4
connector_handler = DoNothingConnector)
File "/home/neo_tests/neo/neo/connection.py", line 450, in __init__
self.handler.connectionCompleted(self)
File "/home/neo_tests/neo/neo/master/handlers/election.py", line 81, in connectionCompleted
conn.ask(Packets.AskPrimary())
File "/home/neo_tests/neo/neo/connection.py", line 34, in decorator
return func(self, *args, **kw)
File "/home/neo_tests/neo/neo/connection.py", line 414, in ask
additional_timeout=additional_timeout)
TypeError: expectMessage() got an unexpected keyword argument 'timeout'
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_09_answerPrimary5
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 219, in test_09_answerPrimary5
connector_handler = DoNothingConnector)
File "/home/neo_tests/neo/neo/connection.py", line 450, in __init__
self.handler.connectionCompleted(self)
File "/home/neo_tests/neo/neo/master/handlers/election.py", line 81, in connectionCompleted
conn.ask(Packets.AskPrimary())
File "/home/neo_tests/neo/neo/connection.py", line 34, in decorator
return func(self, *args, **kw)
File "/home/neo_tests/neo/neo/connection.py", line 414, in ask
additional_timeout=additional_timeout)
TypeError: expectMessage() got an unexpected keyword argument 'timeout'
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_04_connectionClosed
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 247, in setUp
self.app = Application(**config)
TypeError: type object argument after ** must be a dictionary
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_05_timeoutExpired
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 247, in setUp
self.app = Application(**config)
TypeError: type object argument after ** must be a dictionary
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_06_peerBroken1
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 247, in setUp
self.app = Application(**config)
TypeError: type object argument after ** must be a dictionary
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_06_peerBroken2
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 247, in setUp
self.app = Application(**config)
TypeError: type object argument after ** must be a dictionary
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_07_packetReceived
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 247, in setUp
self.app = Application(**config)
TypeError: type object argument after ** must be a dictionary
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_08_AcceptIdentification1
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 247, in setUp
self.app = Application(**config)
TypeError: type object argument after ** must be a dictionary
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_08_AcceptIdentification2
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 247, in setUp
self.app = Application(**config)
TypeError: type object argument after ** must be a dictionary
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_08_AcceptIdentification3
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 247, in setUp
self.app = Application(**config)
TypeError: type object argument after ** must be a dictionary
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_10_RequestIdentification
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 247, in setUp
self.app = Application(**config)
TypeError: type object argument after ** must be a dictionary
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_12_announcePrimary
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 247, in setUp
self.app = Application(**config)
TypeError: type object argument after ** must be a dictionary
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_13_reelectPrimary
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 247, in setUp
self.app = Application(**config)
TypeError: type object argument after ** must be a dictionary
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_14_notifyNodeInformation
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 247, in setUp
self.app = Application(**config)
TypeError: type object argument after ** must be a dictionary
-------------------------------------------------------------
neo/tests/master/testMasterPT.py MasterPartitionTableTests.test_16_make
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testMasterPT.py", line 385, in test_16_make
pt.make([sn1, sn2, sn3, sn4, sn5,])
File "/home/neo_tests/neo/neo/master/pt.py", line 47, in make
raise RuntimeError, 'cannot make a partition table with an ' \
RuntimeError: cannot make a partition table with an empty storage node list
-------------------------------------------------------------
neo/tests/master/testRecoveryHandler.py MasterRecoveryTests.test_09_answerLastIDs
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testRecoveryHandler.py", line 161, in test_09_answerLastIDs
new_ptid = unpack('!Q', lptid)[0]
TypeError: unpack() argument 2 must be string or read-only buffer, not None
-------------------------------------------------------------
neo/tests/master/testStorageHandler.py MasterStorageHandlerTests.test_05_notifyNodeInformation
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 74, in test_05_notifyNodeInformation
self.assertRaises(RuntimeError, service.notifyNodeInformation, conn, packet, node_list)
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/neo_tests/neo/neo/handler.py", line 166, in notifyNodeInformation
raise UnexpectedPacketError
UnexpectedPacketError
-------------------------------------------------------------
neo/tests/master/testStorageHandler.py MasterStorageHandlerTests.test_06_answerLastIDs
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 149, in test_06_answerLastIDs
self.assertRaises(OperationFailure, service.answerLastIDs, conn, packet, None, None, new_ptid)
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/neo_tests/neo/neo/handler.py", line 172, in answerLastIDs
raise UnexpectedPacketError
UnexpectedPacketError
-------------------------------------------------------------
neo/tests/master/testStorageHandler.py MasterStorageHandlerTests.test_10_notifyInformationLocked
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 161, in test_10_notifyInformationLocked
upper, lower = unpack('!LL', self.app.ltid)
TypeError: unpack() argument 2 must be string or read-only buffer, not None
-------------------------------------------------------------
neo/tests/master/testStorageHandler.py MasterStorageHandlerTests.test_14_notifyPartitionChanges
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 249, in test_14_notifyPartitionChanges
conn, packet, None, None)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 115, in checkUnexpectedPacketRaised
self.assertRaises(protocol.UnexpectedPacketError, method, *args, **kwargs)
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/neo_tests/neo/neo/master/handlers/storage.py", line 103, in notifyPartitionChanges
for cell in cell_list:
TypeError: iteration over non-sequence
-------------------------------------------------------------
neo/tests/master/testStorageHandler.py MasterStorageHandlerTests.test_15_peerBroken
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 310, in test_15_peerBroken
self.assertEquals(self.app.nm.getByUUID(uuid).getState(), NodeStates.RUNNING)
AttributeError: 'NoneType' object has no attribute 'getState'
-------------------------------------------------------------
neo/tests/master/testStorageHandler.py MasterStorageHandlerTests.test_16_timeoutExpired
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 359, in test_16_timeoutExpired
self.assertEquals(self.app.nm.getByUUID(uuid).getState(), NodeStates.RUNNING)
AttributeError: 'NoneType' object has no attribute 'getState'
-------------------------------------------------------------
neo/tests/master/testStorageHandler.py MasterStorageHandlerTests.test_17_connectionClosed
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 408, in test_17_connectionClosed
self.assertEquals(self.app.nm.getByUUID(uuid).getState(), NodeStates.RUNNING)
AttributeError: 'NoneType' object has no attribute 'getState'
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_StopOperation
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 804, in test_StopOperation
raise NotImplementedError
NotImplementedError
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_initialMasterConnectionClosed
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 156, in test_initialMasterConnectionClosed
self._testInitialMasterWithMethod(self._testConnectionClosed)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 75, in _testInitialMasterWithMethod
method(self.getDispatcher(), app, PrimaryBootstrapHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 153, in _testConnectionClosed
client_handler.connectionClosed(conn)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_initialMasterConnectionFailed
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 143, in test_initialMasterConnectionFailed
self._testInitialMasterWithMethod(self._testConnectionFailed)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 75, in _testInitialMasterWithMethod
method(self.getDispatcher(), app, PrimaryBootstrapHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 140, in _testConnectionFailed
client_handler.connectionFailed(conn)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_initialMasterPeerBroken
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 189, in test_initialMasterPeerBroken
self._testInitialMasterWithMethod(self._testPeerBroken)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 75, in _testInitialMasterWithMethod
method(self.getDispatcher(), app, PrimaryBootstrapHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 186, in _testPeerBroken
client_handler.peerBroken(conn)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_initialMasterTimeoutExpired
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 173, in test_initialMasterTimeoutExpired
self._testInitialMasterWithMethod(self._testTimeoutExpired)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 75, in _testInitialMasterWithMethod
method(self.getDispatcher(), app, PrimaryBootstrapHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 170, in _testTimeoutExpired
client_handler.timeoutExpired(conn)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_knownNodeSendPartitionTable
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 505, in test_knownNodeSendPartitionTable
client_handler.sendPartitionTable(conn, None, test_ptid, test_row_list)
File "/home/neo_tests/neo/neo/handler.py", line 181, in sendPartitionTable
raise UnexpectedPacketError
UnexpectedPacketError
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_knownStorageNotifyNodeInformation
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 602, in test_knownStorageNotifyNodeInformation
nm = self._testNotifyNodeInformation(test_node, getByUUID=node)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 557, in _testNotifyNodeInformation
client_handler.notifyNodeInformation(conn, None, test_node_list)
File "/home/neo_tests/neo/neo/client/handlers/master.py", line 169, in notifyNodeInformation
conn = self.app.em.getConnectionByUUID(uuid)
AttributeError: App instance has no attribute 'em'
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_masterAcceptIdentification
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 245, in test_masterAcceptIdentification
client_handler.AcceptIdentification(conn, None,
AttributeError: 'PrimaryBootstrapHandler' object has no attribute 'AcceptIdentification'
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_masterConnectionClosed
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 160, in test_masterConnectionClosed
PrimaryNotificationsHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 84, in _testMasterWithMethod
method(dispatcher, app, handler_class, uuid=uuid, conn=app.master_conn)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 153, in _testConnectionClosed
client_handler.connectionClosed(conn)
File "/home/neo_tests/neo/neo/client/handlers/master.py", line 111, in connectionClosed
super(PrimaryNotificationsHandler, self).connectionClosed(conn)
File "/home/neo_tests/neo/neo/handler.py", line 129, in connectionClosed
self.connectionLost(conn, NodeStates.TEMPORARILY_DOWN)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 50, in connectionLost
self.app.dispatcher.unregister(conn)
AttributeError: MockCallable instance has no attribute 'unregister'
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_masterPeerBroken
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 192, in test_masterPeerBroken
self._testMasterWithMethod(self._testPeerBroken, PrimaryNotificationsHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 84, in _testMasterWithMethod
method(dispatcher, app, handler_class, uuid=uuid, conn=app.master_conn)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 186, in _testPeerBroken
client_handler.peerBroken(conn)
File "/home/neo_tests/neo/neo/client/handlers/master.py", line 126, in peerBroken
BaseHandler.peerBroken(self, conn)
File "/home/neo_tests/neo/neo/handler.py", line 134, in peerBroken
self.connectionLost(conn, NodeStates.BROKEN)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 50, in connectionLost
self.app.dispatcher.unregister(conn)
AttributeError: MockCallable instance has no attribute 'unregister'
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_masterTimeoutExpired
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 176, in test_masterTimeoutExpired
self._testMasterWithMethod(self._testTimeoutExpired, PrimaryNotificationsHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 84, in _testMasterWithMethod
method(dispatcher, app, handler_class, uuid=uuid, conn=app.master_conn)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 170, in _testTimeoutExpired
client_handler.timeoutExpired(conn)
File "/home/neo_tests/neo/neo/client/handlers/master.py", line 119, in timeoutExpired
BaseHandler.timeoutExpired(self, conn)
File "/home/neo_tests/neo/neo/handler.py", line 124, in timeoutExpired
self.connectionLost(conn, NodeStates.TEMPORARILY_DOWN)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 50, in connectionLost
self.app.dispatcher.unregister(conn)
AttributeError: MockCallable instance has no attribute 'unregister'
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_storageConnectionClosed
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 164, in test_storageConnectionClosed
StorageBootstrapHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 123, in _testStorageWithMethod
method(dispatcher, app, handler_class, conn=conn)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 153, in _testConnectionClosed
client_handler.connectionClosed(conn)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_storageConnectionFailed
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 147, in test_storageConnectionFailed
StorageBootstrapHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 123, in _testStorageWithMethod
method(dispatcher, app, handler_class, conn=conn)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 140, in _testConnectionFailed
client_handler.connectionFailed(conn)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_storagePeerBroken
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 196, in test_storagePeerBroken
StorageBootstrapHandler, state=NodeStates.BROKEN)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 123, in _testStorageWithMethod
method(dispatcher, app, handler_class, conn=conn)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 186, in _testPeerBroken
client_handler.peerBroken(conn)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_storageTimeoutExpired
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 180, in test_storageTimeoutExpired
StorageBootstrapHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 123, in _testStorageWithMethod
method(dispatcher, app, handler_class, conn=conn)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 170, in _testTimeoutExpired
client_handler.timeoutExpired(conn)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_unknownNodeAnswerPrimary
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 299, in test_unknownNodeAnswerPrimary
client_handler.answerPrimary(conn, None, INVALID_UUID, test_master_list)
File "/home/neo_tests/neo/neo/client/handlers/master.py", line 68, in answerPrimary
if uuid is not None and n.getUUID() != uuid:
AttributeError: 'NoneType' object has no attribute 'getUUID'
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_unknownNodeSendPartitionTable
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 480, in test_unknownNodeSendPartitionTable
client_handler.sendPartitionTable(conn, None, test_ptid, test_row_list)
File "/home/neo_tests/neo/neo/handler.py", line 181, in sendPartitionTable
raise UnexpectedPacketError
UnexpectedPacketError
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_unknownStorageNotifyNodeInformation
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 587, in test_unknownStorageNotifyNodeInformation
nm = self._testNotifyNodeInformation(test_node, getByUUID=None)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 557, in _testNotifyNodeInformation
client_handler.notifyNodeInformation(conn, None, test_node_list)
File "/home/neo_tests/neo/neo/client/handlers/master.py", line 169, in notifyNodeInformation
conn = self.app.em.getConnectionByUUID(uuid)
AttributeError: App instance has no attribute 'em'
-------------------------------------------------------------
neo/tests/functional/testStorage.py StorageTests.testStartWithManyPartitions
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 387, in testStartWithManyPartitions
self.__setup(storage_number=2, partitions=5000, master_node_count=1)
File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 64, in __setup
self.neo.start(except_storages=stopped_processes)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 252, in start
neoctl.enableStorageList([x[2] for x in storage_node_list])
File "/home/neo_tests/neo/neo/neoctl/neoctl.py", line 72, in enableStorageList
response = self.__ask(packet)
File "/home/neo_tests/neo/neo/neoctl/neoctl.py", line 60, in __ask
raise NotReadyException, 'Connection closed'
NotReadyException: Connection closed
-------------------------------------------------------------
FAILURES:
neo/tests/master/testClientHandler.py MasterClientHandlerTests.test_09_finishTransaction
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 227, in test_09_finishTransaction
self.checkLockInformation(storage_conn)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 229, in checkLockInformation
return self.checkAskPacket(conn, Packets.LockInformation, **kw)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 180, in checkAskPacket
self.assertEquals(len(calls), 1)
AssertionError: 0 != 1
-------------------------------------------------------------
neo/tests/master/testClientHandler.py MasterClientHandlerTests.test_15_peerBroken
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 314, in test_15_peerBroken
self.failUnless(lptid < self.app.pt.getID())
AssertionError
-------------------------------------------------------------
neo/tests/master/testClientHandler.py MasterClientHandlerTests.test_16_timeoutExpired
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 363, in test_16_timeoutExpired
self.assertRaises(OperationFailure, service.timeoutExpired, conn)
AssertionError: OperationFailure not raised
-------------------------------------------------------------
neo/tests/master/testClientHandler.py MasterClientHandlerTests.test_17_connectionClosed
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 407, in test_17_connectionClosed
self.assertRaises(OperationFailure, service.connectionClosed, conn)
AssertionError: OperationFailure not raised
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_01_connectionStarted
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 82, in test_01_connectionStarted
self.assertEqual(len(self.app.unconnected_master_node_set), 1)
AssertionError: 2 != 1
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_03_connectionFailed
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 101, in test_03_connectionFailed
self.assertEqual(len(self.app.unconnected_master_node_set), 1)
AssertionError: 2 != 1
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_11_askPrimary
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 124, in test_11_askPrimary
self.assertEqual(len(self.app.nm.getMasterList()), 2)
AssertionError: 3 != 2
-------------------------------------------------------------
neo/tests/master/testMasterPT.py MasterPartitionTableTests.test_11_findLeastUsedNode
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testMasterPT.py", line 87, in test_11_findLeastUsedNode
self.assertEqual(node, sn3)
AssertionError: None != <StorageNode(uuid=2aa21a4ad7953239afdcc379933b5618, address=('127.0.0.3', 19001), state=UNKNOWN)>
-------------------------------------------------------------
neo/tests/master/testMasterPT.py MasterPartitionTableTests.test_15_dropNode
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testMasterPT.py", line 327, in test_15_dropNode
self.assertEqual(len(cell_list), 2)
AssertionError: 1 != 2
-------------------------------------------------------------
neo/tests/master/testMasterPT.py MasterPartitionTableTests.test_17_tweak
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testMasterPT.py", line 467, in test_17_tweak
self.assertEqual(len(cells), 3)
AssertionError: 1 != 3
-------------------------------------------------------------
neo/tests/master/testRecoveryHandler.py MasterRecoveryTests.test_01_connectionClosed
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testRecoveryHandler.py", line 72, in test_01_connectionClosed
NodeStates.TEMPORARILY_DOWN)
AssertionError: <EnumItem RUNNING (1)> != <EnumItem TEMPORARILY_DOWN (2)>
-------------------------------------------------------------
neo/tests/master/testRecoveryHandler.py MasterRecoveryTests.test_02_timeoutExpired
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testRecoveryHandler.py", line 81, in test_02_timeoutExpired
NodeStates.TEMPORARILY_DOWN)
AssertionError: <EnumItem RUNNING (1)> != <EnumItem TEMPORARILY_DOWN (2)>
-------------------------------------------------------------
neo/tests/master/testRecoveryHandler.py MasterRecoveryTests.test_03_peerBroken
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testRecoveryHandler.py", line 91, in test_03_peerBroken
NodeStates.BROKEN)
AssertionError: <EnumItem RUNNING (1)> != <EnumItem BROKEN (4)>
-------------------------------------------------------------
neo/tests/master/testRecoveryHandler.py MasterRecoveryTests.test_08_notifyNodeInformation
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testRecoveryHandler.py", line 101, in test_08_notifyNodeInformation
self.assertEqual(len(self.app.nm.getList()), 0)
AssertionError: 2 != 0
-------------------------------------------------------------
neo/tests/master/testRecoveryHandler.py MasterRecoveryTests.test_10_answerPartitionTable
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testRecoveryHandler.py", line 215, in test_10_answerPartitionTable
self.checkUnexpectedPacketRaised(recovery.answerPartitionTable, conn, packet, None, cell_list)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 115, in checkUnexpectedPacketRaised
self.assertRaises(protocol.UnexpectedPacketError, method, *args, **kwargs)
AssertionError
-------------------------------------------------------------
neo/tests/master/testStorageHandler.py MasterStorageHandlerTests.test_12_askLastIDs
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 210, in test_12_askLastIDs
self.assertEqual(loid, oid)
AssertionError: '\x00\x00\x00\x00\x00\x00\x00\x00' != None
-------------------------------------------------------------
neo/tests/master/testStorageHandler.py MasterStorageHandlerTests.test_13_askUnfinishedTransactions
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 225, in test_13_askUnfinishedTransactions
self.assertEqual(len(tid_list), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_knownNodeNotifyPartitionChanges
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 714, in test_knownNodeNotifyPartitionChanges
self.assertEquals(len(calls), 3)
AssertionError: 0 != 3
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_ping
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 67, in test_ping
client_handler.packetReceived(conn, Packets.Ping())
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 46, in packetReceived
self.dispatch(conn, packet)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 34, in dispatch
super(BaseHandler, self).dispatch(conn, packet)
File "/home/neo_tests/neo/neo/handler.py", line 73, in dispatch
self.__unexpectedPacket(conn, packet, *e.args)
File "/home/neo_tests/neo/neo/handler.py", line 59, in __unexpectedPacket
conn.answer(protocol.protocolError(message), packet.getId())
File "/home/neo_tests/neo/neo/protocol.py", line 246, in getId
assert self._id is not None, "No identifier applied on the packet"
AssertionError: No identifier applied on the packet
-------------------------------------------------------------
neo/tests/functional/testMaster.py MasterTests.testMasterSequentialStart
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/functional/testMaster.py", line 96, in testMasterSequentialStart
state=NodeStates.RUNNING)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 381, in expectAllMasters
self.expectCondition(callback, timeout, delay)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 371, in expectCondition
raise AssertionError, 'Timeout while expecting condition. ' \
AssertionError: Timeout while expecting condition. History: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
-------------------------------------------------------------
neo/tests/functional/testMaster.py MasterTests.testStoppingPrimaryWithOneSecondary
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/functional/testMaster.py", line 72, in testStoppingPrimaryWithOneSecondary
state=NodeStates.RUNNING)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 381, in expectAllMasters
self.expectCondition(callback, timeout, delay)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 371, in expectCondition
raise AssertionError, 'Timeout while expecting condition. ' \
AssertionError: Timeout while expecting condition. History: [2, 2, 2, 2, 2, 2, 2, 2, 2, 2]
-------------------------------------------------------------
neo/tests/functional/testMaster.py MasterTests.testStoppingPrimaryWithTwoSecondaries
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/functional/testMaster.py", line 54, in testStoppingPrimaryWithTwoSecondaries
self.neo.expectAllMasters(MASTER_NODE_COUNT)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 381, in expectAllMasters
self.expectCondition(callback, timeout, delay)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 371, in expectCondition
raise AssertionError, 'Timeout while expecting condition. ' \
AssertionError: Timeout while expecting condition. History: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
-------------------------------------------------------------
neo/tests/functional/testStorage.py StorageTests.testDropNodeThenRestartCluster
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 410, in testDropNodeThenRestartCluster
self.neo.start(except_storages=[started[0]])
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 246, in start
raise AssertionError, 'Timeout when starting cluster'
AssertionError: Timeout when starting cluster
-------------------------------------------------------------
More information about the Neo-report
mailing list