[Neo-report] Neo : 386 Tests, 53 Errors, 45 Failures
gregory at nexedi.com
gregory at nexedi.com
Thu Oct 1 00:05:49 CEST 2009
NEO TESTS REPORT
Date : 2009-10-01
Node : sd-9157
Processor : VIA Esther processor 2000MHz (32bit)
System : Linux (2.6.12-27mdk)
Directory : /tmp/neo_X3OOjG
Status : 74.611%
Test Module | run | success | errors | fails | time
--------------------------+---------+---------+---------+---------+----------
ClientApp | 26 | 10 | 16 | . | 0.15s
ClientHandler | 54 | 27 | 20 | 7 | 0.09s
ConnectionPool | 1 | 1 | . | . | 0.00s
--------------------------+---------+---------+---------+---------+----------
neo.tests.client | | | | |
--------------------------+---------+---------+---------+---------+----------
Cluster | 3 | 3 | . | . | 16.63s
ImportExport | 2 | 2 | . | . | 11.14s
Master | 4 | 2 | . | 2 | 61.35s
Storage | 12 | 6 | 1 | 5 | 193.66s
ZODB | 16 | 16 | . | . | 53.88s
--------------------------+---------+---------+---------+---------+----------
neo.tests.functional | | | | |
--------------------------+---------+---------+---------+---------+----------
ClientHandler | 11 | 5 | 2 | 4 | 0.17s
ElectionHandler | 21 | 5 | 1 | 15 | 0.10s
MasterApp | 5 | 2 | 3 | . | 0.09s
MasterPT | 7 | 3 | 1 | 3 | 0.02s
RecoveryHandler | 6 | . | 1 | 5 | 0.03s
StorageHandler | 9 | . | 8 | 1 | 0.04s
VerificationHandler | 9 | 6 | . | 3 | 0.04s
--------------------------+---------+---------+---------+---------+----------
neo.tests.master | | | | |
--------------------------+---------+---------+---------+---------+----------
ClientHandler | 18 | 18 | . | . | 1.44s
InitializationHandler | 4 | 4 | . | . | 0.35s
MasterHandler | 10 | 10 | . | . | 0.81s
StorageApp | 3 | 3 | . | . | 0.25s
StorageHandler | 13 | 13 | . | . | 1.05s
StorageMySQLdb | 36 | 36 | . | . | 2.33s
VerificationHandler | 13 | 13 | . | . | 1.10s
--------------------------+---------+---------+---------+---------+----------
neo.tests.storage | | | | |
--------------------------+---------+---------+---------+---------+----------
Bootstrap | 2 | 2 | . | . | 0.52s
Connection | 16 | 16 | . | . | 0.06s
Dispatcher | 3 | 3 | . | . | 0.00s
Event | 2 | 2 | . | . | 0.01s
Handler | 1 | 1 | . | . | 0.00s
Nodes | 13 | 13 | . | . | 0.02s
PT | 10 | 10 | . | . | 0.01s
Protocol | 56 | 56 | . | . | 0.01s
--------------------------+---------+---------+---------+---------+----------
neo.tests | | | | |
--------------------------+---------+---------+---------+---------+----------
Summary | 386 | 288 | 53 | 45 | 345.35s
--------------------------+---------+---------+---------+---------+----------
ERRORS:
neo/tests/master/testClientHandler.py MasterClientHandlerTests.test_05_handleNotifyNodeInformation
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 92, in test_05_handleNotifyNodeInformation
self.assertRaises(RuntimeError, service.handleNotifyNodeInformation, 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 186, in handleNotifyNodeInformation
raise UnexpectedPacketError
UnexpectedPacketError
-------------------------------------------------------------
neo/tests/master/testClientHandler.py MasterClientHandlerTests.test_06_handleAnswerLastIDs
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 170, in test_06_handleAnswerLastIDs
self.assertRaises(OperationFailure, service.handleAnswerLastIDs, 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 192, in handleAnswerLastIDs
raise UnexpectedPacketError
UnexpectedPacketError
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_14_handleNotifyNodeInformation
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 606, in test_14_handleNotifyNodeInformation
self.assertEqual(len(self.app.nm.getNodeList()), 0)
AttributeError: 'NodeManager' object has no attribute 'getNodeList'
-------------------------------------------------------------
neo/tests/master/testMasterApp.py MasterAppTests.test_02_getNextOID
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testMasterApp.py", line 41, in test_02_getNextOID
self.assertRaises(RuntimeError, self.app.getNextOID)
AttributeError: 'Application' object has no attribute 'getNextOID'
-------------------------------------------------------------
neo/tests/master/testMasterApp.py MasterAppTests.test_03_getNextTID
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testMasterApp.py", line 51, in test_03_getNextTID
ntid = self.app.getNextTID()
AttributeError: 'Application' object has no attribute 'getNextTID'
-------------------------------------------------------------
neo/tests/master/testMasterApp.py MasterAppTests.test_04_getPartition
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testMasterApp.py", line 60, in test_04_getPartition
p = self.app.getPartition(p64(1))
AttributeError: 'Application' object has no attribute 'getPartition'
-------------------------------------------------------------
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 388, 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, \
RuntimeError: cannot make a partition table with an empty storage node list
-------------------------------------------------------------
neo/tests/master/testRecoveryHandler.py MasterRecoveryTests.test_09_handleAnswerLastIDs
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testRecoveryHandler.py", line 176, in test_09_handleAnswerLastIDs
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_handleNotifyNodeInformation
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 82, in test_05_handleNotifyNodeInformation
self.assertRaises(RuntimeError, service.handleNotifyNodeInformation, 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 186, in handleNotifyNodeInformation
raise UnexpectedPacketError
UnexpectedPacketError
-------------------------------------------------------------
neo/tests/master/testStorageHandler.py MasterStorageHandlerTests.test_06_handleAnswerLastIDs
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 151, in test_06_handleAnswerLastIDs
self.assertRaises(OperationFailure, service.handleAnswerLastIDs, 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 192, in handleAnswerLastIDs
raise UnexpectedPacketError
UnexpectedPacketError
-------------------------------------------------------------
neo/tests/master/testStorageHandler.py MasterStorageHandlerTests.test_10_handleNotifyInformationLocked
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 163, in test_10_handleNotifyInformationLocked
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_13_handleAskUnfinishedTransactions
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 230, in test_13_handleAskUnfinishedTransactions
service.handleAskBeginTransaction(conn, packet)
TypeError: handleAskBeginTransaction() takes exactly 4 arguments (3 given)
-------------------------------------------------------------
neo/tests/master/testStorageHandler.py MasterStorageHandlerTests.test_14_handleNotifyPartitionChanges
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 249, in test_14_handleNotifyPartitionChanges
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 92, in handleNotifyPartitionChanges
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 309, in test_15_peerBroken
self.assertEquals(self.app.nm.getByUUID(uuid).getState(), RUNNING_STATE)
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 355, in test_16_timeoutExpired
self.assertEquals(self.app.nm.getByUUID(uuid).getState(), RUNNING_STATE)
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 401, in test_17_connectionClosed
self.assertEquals(self.app.nm.getByUUID(uuid).getState(), RUNNING_STATE)
AttributeError: 'NoneType' object has no attribute 'getState'
-------------------------------------------------------------
neo/tests/client/testClientApp.py ClientApplicationTests.test_askPrimary
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 897, in test_askPrimary
self.checkDispatcherRegisterCalled()
TypeError: checkDispatcherRegisterCalled() takes exactly 3 arguments (1 given)
-------------------------------------------------------------
neo/tests/client/testClientApp.py ClientApplicationTests.test_askStorage
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 871, in test_askStorage
self.checkDispatcherRegisterCalled()
TypeError: checkDispatcherRegisterCalled() takes exactly 3 arguments (1 given)
-------------------------------------------------------------
neo/tests/client/testClientApp.py ClientApplicationTests.test_connectToPrimaryMasterNode
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 798, in test_connectToPrimaryMasterNode
app = self.getApp('127.0.0.1:10010 127.0.0.1:10011')
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 85, in getApp
app = Application(master_nodes, name, connector, **kw)
File "/home/neo_tests/neo/neo/client/app.py", line 255, in __init__
self.master_node_list = parseMasterList(master_nodes)
File "/home/neo_tests/neo/neo/util.py", line 88, in parseMasterList
ip_address, port = node.split(':')
ValueError: too many values to unpack
-------------------------------------------------------------
neo/tests/client/testClientApp.py ClientApplicationTests.test_getSerial
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 188, in test_getSerial
self.assertEquals(app.getSerial(oid), tid)
File "/home/neo_tests/neo/neo/client/app.py", line 519, in getSerial
hist = self.history(oid, length = 1, object_only = 1)
File "/home/neo_tests/neo/neo/client/app.py", line 947, in history
shuffle(cell_list)
File "/usr/lib/python2.4/random.py", line 265, in shuffle
for i in reversed(xrange(1, len(x))):
TypeError: len() of unsized object
-------------------------------------------------------------
neo/tests/client/testClientApp.py ClientApplicationTests.test_history
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 782, in test_history
result = app.history(oid)
File "/home/neo_tests/neo/neo/client/app.py", line 947, in history
shuffle(cell_list)
File "/usr/lib/python2.4/random.py", line 265, in shuffle
for i in reversed(xrange(1, len(x))):
TypeError: len() of unsized object
-------------------------------------------------------------
neo/tests/client/testClientApp.py ClientApplicationTests.test_loadBefore
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 309, in test_loadBefore
self.assertRaises(NEOStorageNotFoundError, app.loadBefore, oid, tid2)
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/neo_tests/neo/neo/client/app.py", line 628, in loadBefore
data, start, end = self._load(oid, tid=tid)
File "/home/neo_tests/neo/neo/client/app.py", line 530, in _load
if len(cell_list) == 0:
TypeError: len() of unsized object
-------------------------------------------------------------
neo/tests/client/testClientApp.py ClientApplicationTests.test_loadSerial
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 272, in test_loadSerial
self.assertRaises(NEOStorageNotFoundError, app.loadSerial, oid, tid2)
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/neo_tests/neo/neo/client/app.py", line 621, in loadSerial
return self._load(oid, serial=serial)[0]
File "/home/neo_tests/neo/neo/client/app.py", line 530, in _load
if len(cell_list) == 0:
TypeError: len() of unsized object
-------------------------------------------------------------
neo/tests/client/testClientApp.py ClientApplicationTests.test_store1
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 391, in test_store1
self.assertRaises(NEOStorageError, app.store, oid, tid, '', None, txn)
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/neo_tests/neo/neo/client/app.py", line 660, in store
if len(cell_list) == 0:
TypeError: len() of unsized object
-------------------------------------------------------------
neo/tests/client/testClientApp.py ClientApplicationTests.test_store2
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 418, in test_store2
self.assertRaises(NEOStorageConflictError, app.store, oid, tid, '', None, txn)
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/neo_tests/neo/neo/client/app.py", line 660, in store
if len(cell_list) == 0:
TypeError: len() of unsized object
-------------------------------------------------------------
neo/tests/client/testClientApp.py ClientApplicationTests.test_store3
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 447, in test_store3
app.store(oid, tid, 'DATA', None, txn)
File "/home/neo_tests/neo/neo/client/app.py", line 660, in store
if len(cell_list) == 0:
TypeError: len() of unsized object
-------------------------------------------------------------
neo/tests/client/testClientApp.py ClientApplicationTests.test_tpc_abort2
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 556, in test_tpc_abort2
app.tpc_abort(txn)
File "/home/neo_tests/neo/neo/client/app.py", line 747, in tpc_abort
cell_set |= set(self._getCellListForOID(oid, writable=True))
TypeError: iteration over non-sequence
-------------------------------------------------------------
neo/tests/client/testClientApp.py ClientApplicationTests.test_tpc_begin
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 347, in test_tpc_begin
app.tpc_begin(transaction=txn, tid=tid)
File "/home/neo_tests/neo/neo/client/app.py", line 646, in tpc_begin
self._askPrimary(protocol.askBeginTransaction(tid))
File "/home/neo_tests/neo/neo/client/app.py", line 353, in _askPrimary
self._waitMessage(conn, msg_id, self.primary_handler)
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 48, in _waitMessage
handler.dispatch(conn, conn.fakeReceived())
File "/home/neo_tests/neo/neo/handler.py", line 87, in dispatch
method = self.packet_dispatch_table[packet.getType()]
AttributeError: 'NoneType' object has no attribute 'getType'
-------------------------------------------------------------
neo/tests/client/testClientApp.py ClientApplicationTests.test_tpc_vote2
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 486, in test_tpc_vote2
self.assertRaises(NEOStorageError, app.tpc_vote, txn)
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/neo_tests/neo/neo/client/app.py", line 717, in tpc_vote
for cell in cell_list:
TypeError: iteration over non-sequence
-------------------------------------------------------------
neo/tests/client/testClientApp.py ClientApplicationTests.test_tpc_vote3
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 514, in test_tpc_vote3
app.tpc_vote(txn)
File "/home/neo_tests/neo/neo/client/app.py", line 717, in tpc_vote
for cell in cell_list:
TypeError: iteration over non-sequence
-------------------------------------------------------------
neo/tests/client/testClientApp.py ClientApplicationTests.test_undo2
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 673, in test_undo2
txn1 = self.beginTransaction(app, tid=tid1)
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 106, in beginTransaction
app.tpc_begin(txn, tid=tid)
File "/home/neo_tests/neo/neo/client/app.py", line 646, in tpc_begin
self._askPrimary(protocol.askBeginTransaction(tid))
File "/home/neo_tests/neo/neo/client/app.py", line 353, in _askPrimary
self._waitMessage(conn, msg_id, self.primary_handler)
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 48, in _waitMessage
handler.dispatch(conn, conn.fakeReceived())
File "/home/neo_tests/neo/neo/handler.py", line 87, in dispatch
method = self.packet_dispatch_table[packet.getType()]
AttributeError: 'NoneType' object has no attribute 'getType'
-------------------------------------------------------------
neo/tests/client/testClientApp.py ClientApplicationTests.test_undoLog
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 753, in test_undoLog
result = app.undoLog(0, 4, filter=txn_filter)
File "/home/neo_tests/neo/neo/client/app.py", line 939, in undoLog
return self.__undoLog(first, last, filter, block)
File "/home/neo_tests/neo/neo/client/app.py", line 922, in __undoLog
raise NeoException, 'Data inconsistency detected: ' \
NeoException: Data inconsistency detected: transaction info for TID '\x00\x00\x00\x00\x00\x00\x00\x02' could not be found
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_StopOperation
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 846, 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 79, 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 79, 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 193, in test_initialMasterPeerBroken
self._testInitialMasterWithMethod(self._testPeerBroken)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 79, in _testInitialMasterWithMethod
method(self.getDispatcher(), app, PrimaryBootstrapHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 190, 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 175, in test_initialMasterTimeoutExpired
self._testInitialMasterWithMethod(self._testTimeoutExpired)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 79, in _testInitialMasterWithMethod
method(self.getDispatcher(), app, PrimaryBootstrapHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 172, 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_knownMasterNotifyNodeInformation
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 583, in test_knownMasterNotifyNodeInformation
getByUUID=node)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 550, in _testNotifyNodeInformation
getByUUID = ReturnValues(node, getNodeByUUID)
NameError: global name 'getNodeByUUID' is not defined
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_knownNodeSendPartitionTable
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 508, in test_knownNodeSendPartitionTable
client_handler.handleSendPartitionTable(conn, None, test_ptid, test_row_list)
File "/home/neo_tests/neo/neo/handler.py", line 201, in handleSendPartitionTable
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 612, in test_knownStorageNotifyNodeInformation
nm = self._testNotifyNodeInformation(test_node, getByUUID=node)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 550, in _testNotifyNodeInformation
getByUUID = ReturnValues(node, getNodeByUUID)
NameError: global name 'getNodeByUUID' is not defined
-------------------------------------------------------------
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 88, 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 113, in connectionClosed
super(PrimaryNotificationsHandler, self).connectionClosed(conn)
File "/home/neo_tests/neo/neo/handler.py", line 149, in connectionClosed
self.connectionLost(conn, protocol.TEMPORARILY_DOWN_STATE)
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 196, in test_masterPeerBroken
self._testMasterWithMethod(self._testPeerBroken, PrimaryNotificationsHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 88, in _testMasterWithMethod
method(dispatcher, app, handler_class, uuid=uuid, conn=app.master_conn)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 190, in _testPeerBroken
client_handler.peerBroken(conn)
File "/home/neo_tests/neo/neo/client/handlers/master.py", line 127, in peerBroken
BaseHandler.peerBroken(self, conn)
File "/home/neo_tests/neo/neo/handler.py", line 154, in peerBroken
self.connectionLost(conn, protocol.BROKEN_STATE)
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 178, in test_masterTimeoutExpired
self._testMasterWithMethod(self._testTimeoutExpired, PrimaryNotificationsHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 88, in _testMasterWithMethod
method(dispatcher, app, handler_class, uuid=uuid, conn=app.master_conn)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 172, in _testTimeoutExpired
client_handler.timeoutExpired(conn)
File "/home/neo_tests/neo/neo/client/handlers/master.py", line 120, in timeoutExpired
BaseHandler.timeoutExpired(self, conn)
File "/home/neo_tests/neo/neo/handler.py", line 144, in timeoutExpired
self.connectionLost(conn, protocol.TEMPORARILY_DOWN_STATE)
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_ping
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 71, in test_ping
client_handler.packetReceived(conn, protocol.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 93, in dispatch
self.__unexpectedPacket(conn, packet, *e.args)
File "/home/neo_tests/neo/neo/handler.py", line 81, in __unexpectedPacket
self.peerBroken(conn)
File "/home/neo_tests/neo/neo/handler.py", line 154, in peerBroken
self.connectionLost(conn, protocol.BROKEN_STATE)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 50, in connectionLost
self.app.dispatcher.unregister(conn)
AttributeError: 'NoneType' object has no attribute 'dispatcher'
-------------------------------------------------------------
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 200, in test_storagePeerBroken
StorageBootstrapHandler, state=BROKEN_STATE)
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 190, 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 182, in test_storageTimeoutExpired
StorageAnswersHandler)
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 172, 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_unknownMasterNotifyNodeInformation
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 568, in test_unknownMasterNotifyNodeInformation
nm = self._testNotifyNodeInformation(test_node, getByUUID=None)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 550, in _testNotifyNodeInformation
getByUUID = ReturnValues(node, getNodeByUUID)
NameError: global name 'getNodeByUUID' is not defined
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_unknownNodeAnswerPrimaryMaster
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 301, in test_unknownNodeAnswerPrimaryMaster
client_handler.handleAnswerPrimaryMaster(conn, None, INVALID_UUID, test_master_list)
File "/home/neo_tests/neo/neo/client/handlers/master.py", line 71, in handleAnswerPrimaryMaster
if n.getUUID() is None or 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 483, in test_unknownNodeSendPartitionTable
client_handler.handleSendPartitionTable(conn, None, test_ptid, test_row_list)
File "/home/neo_tests/neo/neo/handler.py", line 201, in handleSendPartitionTable
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 597, in test_unknownStorageNotifyNodeInformation
nm = self._testNotifyNodeInformation(test_node, getByUUID=None)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 550, in _testNotifyNodeInformation
getByUUID = ReturnValues(node, getNodeByUUID)
NameError: global name 'getNodeByUUID' is not defined
-------------------------------------------------------------
neo/tests/functional/testStorage.py StorageTests.testStartWithManyPartitions
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 390, in testStartWithManyPartitions
self.__setup(storage_number=2, partitions=5000, master_node_count=1)
File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 67, 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_handleFinishTransaction
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 230, in test_09_handleFinishTransaction
self.checkLockInformation(storage_conn)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 228, in checkLockInformation
return self.checkAskPacket(conn, protocol.LOCK_INFORMATION, **kw)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 179, 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 315, 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 361, 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 402, in test_17_connectionClosed
self.assertRaises(OperationFailure, service.connectionClosed, conn)
AssertionError: OperationFailure not raised
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_09_handleAnswerPrimaryMaster1
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 166, in test_09_handleAnswerPrimaryMaster1
self.assertEqual(len(conn.getConnector().mockGetNamedCalls("_addPacket")),1)
AssertionError: 2 != 1
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_09_handleAnswerPrimaryMaster2
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 187, in test_09_handleAnswerPrimaryMaster2
self.assertEqual(len(conn.getConnector().mockGetNamedCalls("_addPacket")),1)
AssertionError: 2 != 1
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_09_handleAnswerPrimaryMaster3
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 208, in test_09_handleAnswerPrimaryMaster3
self.assertEqual(len(conn.getConnector().mockGetNamedCalls("_addPacket")),1)
AssertionError: 2 != 1
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_09_handleAnswerPrimaryMaster4
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 229, in test_09_handleAnswerPrimaryMaster4
self.assertEqual(len(conn.getConnector().mockGetNamedCalls("_addPacket")),1)
AssertionError: 2 != 1
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_09_handleAnswerPrimaryMaster5
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 252, in test_09_handleAnswerPrimaryMaster5
[(("127.0.0.1", self.master_port+1), master_uuid,)])
File "/home/neo_tests/neo/neo/master/handlers/election.py", line 166, in handleAnswerPrimaryMaster
assert n is not None
AssertionError
-------------------------------------------------------------
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 318, in test_04_connectionClosed
self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
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 330, in test_05_timeoutExpired
self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
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 342, in test_06_peerBroken1
self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
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 359, in test_06_peerBroken2
self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
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 374, in test_07_packetReceived
self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_08_handleAcceptNodeIdentification1
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 392, in test_08_handleAcceptNodeIdentification1
self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_08_handleAcceptNodeIdentification2
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 415, in test_08_handleAcceptNodeIdentification2
self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_08_handleAcceptNodeIdentification3
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 435, in test_08_handleAcceptNodeIdentification3
self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_10_handleRequestNodeIdentification
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 468, in test_10_handleRequestNodeIdentification
name="INVALID_NAME",)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 111, in checkProtocolErrorRaised
self.assertRaises(protocol.ProtocolError, method, *args, **kwargs)
AssertionError: ProtocolError not raised
-------------------------------------------------------------
neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_12_handleAnnouncePrimaryMaster
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 555, in test_12_handleAnnouncePrimaryMaster
self.assertNotEqual(self.app.primary_master_node, None)
AssertionError: None == None
-------------------------------------------------------------
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 90, in test_11_findLeastUsedNode
self.assertEqual(node, sn3)
AssertionError: None != <StorageNode(uuid=('127.0.0.3', 19001), address=8f480710001bb86e4f040387e3017390, state=UNKNOWN_STATE)>
-------------------------------------------------------------
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 330, 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 470, 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 97, in test_01_connectionClosed
self.assertEqual(self.app.nm.getByAddress(conn.getAddress()).getState(), TEMPORARILY_DOWN_STATE)
AssertionError: <EnumItem 'RUNNING_STATE' (0)> != <EnumItem 'TEMPORARILY_DOWN_STATE' (1)>
-------------------------------------------------------------
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 104, in test_02_timeoutExpired
self.assertEqual(self.app.nm.getByAddress(conn.getAddress()).getState(), TEMPORARILY_DOWN_STATE)
AssertionError: <EnumItem 'RUNNING_STATE' (0)> != <EnumItem 'TEMPORARILY_DOWN_STATE' (1)>
-------------------------------------------------------------
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 112, in test_03_peerBroken
self.assertEqual(self.app.nm.getByAddress(conn.getAddress()).getState(), BROKEN_STATE)
AssertionError: <EnumItem 'RUNNING_STATE' (0)> != <EnumItem 'BROKEN_STATE' (3)>
-------------------------------------------------------------
neo/tests/master/testRecoveryHandler.py MasterRecoveryTests.test_08_handleNotifyNodeInformation
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testRecoveryHandler.py", line 121, in test_08_handleNotifyNodeInformation
self.assertEqual(len(self.app.nm.getList()), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
neo/tests/master/testRecoveryHandler.py MasterRecoveryTests.test_10_handleAnswerPartitionTable
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testRecoveryHandler.py", line 230, in test_10_handleAnswerPartitionTable
self.checkUnexpectedPacketRaised(recovery.handleAnswerPartitionTable, 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_handleAskLastIDs
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 211, in test_12_handleAskLastIDs
self.assertEqual(loid, oid)
AssertionError: '\x00\x00\x00\x00\x00\x00\x00\x00' != None
-------------------------------------------------------------
neo/tests/master/testVerificationHandler.py MasterVerificationTests.test_01_connectionClosed
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testVerificationHandler.py", line 92, in test_01_connectionClosed
self.assertEqual(self.app.nm.getByAddress(conn.getAddress()).getState(), RUNNING_STATE)
AssertionError: <EnumItem 'UNKNOWN_STATE' (6)> != <EnumItem 'RUNNING_STATE' (0)>
-------------------------------------------------------------
neo/tests/master/testVerificationHandler.py MasterVerificationTests.test_02_timeoutExpired
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testVerificationHandler.py", line 105, in test_02_timeoutExpired
self.assertEqual(self.app.nm.getByAddress(conn.getAddress()).getState(), RUNNING_STATE)
AssertionError: <EnumItem 'UNKNOWN_STATE' (6)> != <EnumItem 'RUNNING_STATE' (0)>
-------------------------------------------------------------
neo/tests/master/testVerificationHandler.py MasterVerificationTests.test_03_peerBroken
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testVerificationHandler.py", line 118, in test_03_peerBroken
self.assertEqual(self.app.nm.getByAddress(conn.getAddress()).getState(), RUNNING_STATE)
AssertionError: <EnumItem 'UNKNOWN_STATE' (6)> != <EnumItem 'RUNNING_STATE' (0)>
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_AnswerPrimaryMaster
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 449, in test_AnswerPrimaryMaster
self.assertEqual(len(getByUUID_call_list), 1)
AssertionError: 0 != 1
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_alreadyDifferentPrimaryAnswerPrimaryMaster
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 395, in test_alreadyDifferentPrimaryAnswerPrimaryMaster
self.assertEqual(len(getByUUID_call_list), 1)
AssertionError: 0 != 1
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_knownNodeKnownUUIDNodeAnswerPrimaryMaster
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 356, in test_knownNodeKnownUUIDNodeAnswerPrimaryMaster
self.assertEqual(len(getByAddress_call_list), 1)
AssertionError: 0 != 1
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_knownNodeNotifyPartitionChanges
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 756, in test_knownNodeNotifyPartitionChanges
self.assertEquals(len(calls), 3)
AssertionError: 0 != 3
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_knownNodeUnknownUUIDNodeAnswerPrimaryMaster
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 330, in test_knownNodeUnknownUUIDNodeAnswerPrimaryMaster
self.assertEqual(len(getByAddress_call_list), 1)
AssertionError: 0 != 1
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_unknownNewPrimaryAnswerPrimaryMaster
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 430, in test_unknownNewPrimaryAnswerPrimaryMaster
self.assertEqual(len(getByUUID_call_list), 1)
AssertionError: 0 != 1
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_unknownNodeNotifyPartitionChanges
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 723, in test_unknownNodeNotifyPartitionChanges
self.assertEqual(len(add_call_list), 1)
AssertionError: 0 != 1
-------------------------------------------------------------
neo/tests/functional/testMaster.py MasterTests.testStoppingPrimaryMasterWithOneSecondary
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/functional/testMaster.py", line 75, in testStoppingPrimaryMasterWithOneSecondary
state=protocol.RUNNING_STATE)
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.testStoppingSecondaryMaster
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/functional/testMaster.py", line 53, in testStoppingSecondaryMaster
self.neo.expectMasterState(uuid, None)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 393, in expectMasterState
delay)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 389, in __expectNodeState
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: [<EnumItem 'RUNNING_STATE' (0)>, <EnumItem 'RUNNING_STATE' (0)>, <EnumItem 'RUNNING_STATE' (0)>, <EnumItem 'RUNNING_STATE' (0)>, <EnumItem 'RUNNING_STATE' (0)>, <EnumItem 'RUNNING_STATE' (0)>, <EnumItem 'RUNNING_STATE' (0)>, <EnumItem 'RUNNING_STATE' (0)>, <EnumItem 'RUNNING_STATE' (0)>, <EnumItem 'RUNNING_STATE' (0)>]
-------------------------------------------------------------
neo/tests/functional/testStorage.py StorageTests.testDropNodeThenRestartCluster
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 413, 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
-------------------------------------------------------------
neo/tests/functional/testStorage.py StorageTests.testOudatedCellsOnDownStorage
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 194, in testOudatedCellsOnDownStorage
self.neo.expectOudatedCells(number=0)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 417, in expectOudatedCells
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: [10, 10, 10, 10, 10, 10, 10, 10, 10, 10]
-------------------------------------------------------------
neo/tests/functional/testStorage.py StorageTests.testReplicationWithoutBreak
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 137, in testReplicationWithoutBreak
self.neo.expectOudatedCells(number=0)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 417, in expectOudatedCells
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: [10, 10, 10, 10, 10, 10, 10, 10, 10, 10]
-------------------------------------------------------------
neo/tests/functional/testStorage.py StorageTests.testSequentialStorageKill
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 233, in testSequentialStorageKill
self.neo.expectOudatedCells(number=0)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 417, in expectOudatedCells
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: [20, 20, 20, 20, 20, 20, 20, 20, 20, 20]
-------------------------------------------------------------
neo/tests/functional/testStorage.py StorageTests.testVerificationTriggered
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 216, in testVerificationTriggered
self.__expectUnavailable(started[0])
File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 120, in __expectUnavailable
protocol.TEMPORARILY_DOWN_STATE)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 397, in expectStorageState
timeout,delay)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 389, in __expectNodeState
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: [<EnumItem 'RUNNING_STATE' (0)>, <EnumItem 'RUNNING_STATE' (0)>, <EnumItem 'RUNNING_STATE' (0)>, <EnumItem 'RUNNING_STATE' (0)>, <EnumItem 'RUNNING_STATE' (0)>, <EnumItem 'RUNNING_STATE' (0)>, <EnumItem 'RUNNING_STATE' (0)>, <EnumItem 'RUNNING_STATE' (0)>, <EnumItem 'RUNNING_STATE' (0)>, <EnumItem 'RUNNING_STATE' (0)>]
-------------------------------------------------------------
More information about the Neo-report
mailing list