[Neo-report] Neo : 395 Tests, 92 Errors, 48 Failures
gregory at nexedi.com
gregory at nexedi.com
Sun Sep 20 00:05:11 CEST 2009
NEO TESTS REPORT
Date : 2009-09-20
Node : sd-9157
Processor : VIA Esther processor 2000MHz (32bit)
System : Linux (2.6.12-27mdk)
Directory : /tmp/neo_ASePd2
Status : 64.557%
Test Module | run | success | errors | fails | time
--------------------------+---------+---------+---------+---------+----------
ClientApp | 26 | 8 | 16 | 2 | 1.31s
ClientHandler | 56 | 31 | 23 | 2 | 0.12s
ConnectionPool | 1 | 1 | . | . | 0.00s
Dispatcher | 1 | . | 1 | . | 0.00s
--------------------------+---------+---------+---------+---------+----------
neo.tests.client | | | | |
--------------------------+---------+---------+---------+---------+----------
Cluster | 3 | 3 | . | . | 15.55s
ImportExport | 2 | 2 | . | . | 11.91s
Master | 4 | 2 | . | 2 | 105.70s
Storage | 12 | 10 | 1 | 1 | 111.13s
ZODB | 16 | 16 | . | . | 52.98s
--------------------------+---------+---------+---------+---------+----------
neo.tests.functional | | | | |
--------------------------+---------+---------+---------+---------+----------
ClientHandler | 11 | 2 | 7 | 2 | 0.05s
ElectionHandler | 21 | 1 | 9 | 11 | 0.09s
MasterApp | 5 | 2 | 3 | . | 0.02s
MasterPT | 7 | 3 | 1 | 3 | 0.01s
RecoveryHandler | 6 | . | 2 | 4 | 0.03s
StorageHandler | 9 | . | 7 | 2 | 0.10s
VerificationHandler | 11 | 6 | 2 | 3 | 0.05s
--------------------------+---------+---------+---------+---------+----------
neo.tests.master | | | | |
--------------------------+---------+---------+---------+---------+----------
ClientHandler | 18 | 15 | 3 | . | 1.46s
InitializationHandler | 4 | 3 | . | 1 | 0.33s
MasterHandler | 10 | 6 | 1 | 3 | 0.80s
StorageApp | 4 | 2 | 2 | . | 0.33s
StorageHandler | 13 | 9 | 4 | . | 1.05s
StorageMySQLdb | 36 | 32 | 1 | 3 | 2.34s
VerificationHandler | 13 | 10 | 1 | 2 | 1.10s
--------------------------+---------+---------+---------+---------+----------
neo.tests.storage | | | | |
--------------------------+---------+---------+---------+---------+----------
Bootstrap | 16 | 2 | 8 | 6 | 1.31s
Connection | 16 | 16 | . | . | 0.07s
Event | 2 | 1 | . | 1 | 0.01s
Handler | 1 | 1 | . | . | 0.00s
Nodes | 5 | 5 | . | . | 0.00s
PT | 10 | 10 | . | . | 0.01s
Protocol | 56 | 56 | . | . | 0.01s
--------------------------+---------+---------+---------+---------+----------
neo.tests | | | | |
--------------------------+---------+---------+---------+---------+----------
Summary | 395 | 255 | 92 | 48 | 307.86s
--------------------------+---------+---------+---------+---------+----------
ERRORS:
test_04_timeoutExpired (neo.tests.testBootstrap.BootstrapManagerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/testBootstrap.py", line 110, in test_04_timeoutExpired
self.assertEquals(self.app.primary_master_node, None)
AttributeError: 'Application' object has no attribute 'primary_master_node'
-------------------------------------------------------------
test_05_connectionClosed (neo.tests.testBootstrap.BootstrapManagerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/testBootstrap.py", line 130, in test_05_connectionClosed
self.assertEquals(self.app.primary_master_node, None)
AttributeError: 'Application' object has no attribute 'primary_master_node'
-------------------------------------------------------------
test_06_peerBroken (neo.tests.testBootstrap.BootstrapManagerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/testBootstrap.py", line 150, in test_06_peerBroken
self.assertEquals(self.app.primary_master_node, None)
AttributeError: 'Application' object has no attribute 'primary_master_node'
-------------------------------------------------------------
test_07_handleNotReady (neo.tests.testBootstrap.BootstrapManagerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/testBootstrap.py", line 170, in test_07_handleNotReady
self.assertEquals(self.app.primary_master_node, None)
AttributeError: 'Application' object has no attribute 'primary_master_node'
-------------------------------------------------------------
test_09_handleAcceptNodeIdentification2 (neo.tests.testBootstrap.BootstrapManagerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/testBootstrap.py", line 205, in test_09_handleAcceptNodeIdentification2
num_replicas=self.app.num_replicas,
AttributeError: 'Application' object has no attribute 'num_replicas'
-------------------------------------------------------------
test_09_handleAcceptNodeIdentification3 (neo.tests.testBootstrap.BootstrapManagerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/testBootstrap.py", line 224, in test_09_handleAcceptNodeIdentification3
num_replicas=self.app.num_replicas,
AttributeError: 'Application' object has no attribute 'num_replicas'
-------------------------------------------------------------
test_09_handleAcceptNodeIdentification4 (neo.tests.testBootstrap.BootstrapManagerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/testBootstrap.py", line 253, in test_09_handleAcceptNodeIdentification4
num_replicas=self.app.num_replicas,
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
TypeError: handleAcceptNodeIdentification() got an unexpected keyword argument 'ip_address'
-------------------------------------------------------------
test_10_handleAnswerPrimaryMaster02 (neo.tests.testBootstrap.BootstrapManagerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/testBootstrap.py", line 307, in test_10_handleAnswerPrimaryMaster02
known_master_list=known_masters
File "/home/neo_tests/neo/neo/bootstrap.py", line 65, in handleAnswerPrimaryMaster
for address, uuid in known_master_list:
ValueError: too many values to unpack
-------------------------------------------------------------
test_05_handleNotifyNodeInformation (neo.tests.master.testClientHandler.MasterClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 88, 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/baobab/neo/neo/neo/handler.py", line 187, in handleNotifyNodeInformation
UnexpectedPacketError
-------------------------------------------------------------
test_06_handleAnswerLastIDs (neo.tests.master.testClientHandler.MasterClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 163, 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/baobab/neo/neo/neo/handler.py", line 193, in handleAnswerLastIDs
UnexpectedPacketError
-------------------------------------------------------------
test_07_handleAskBeginTransaction (neo.tests.master.testClientHandler.MasterClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 177, in test_07_handleAskBeginTransaction
service.handleAskBeginTransaction(conn, packet)
TypeError: handleAskBeginTransaction() takes exactly 4 arguments (3 given)
-------------------------------------------------------------
test_09_handleFinishTransaction (neo.tests.master.testClientHandler.MasterClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 209, in test_09_handleFinishTransaction
self.app.pt.dropNode(old_node)
File "/home/baobab/neo/neo/neo/master/pt.py", line 81, in dropNode
AttributeError: 'NoneType' object has no attribute 'getUUID'
-------------------------------------------------------------
test_15_peerBroken (neo.tests.master.testClientHandler.MasterClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 300, in test_15_peerBroken
self.app.pt.make(self.app.nm.getStorageNodeList())
File "/home/baobab/neo/neo/neo/master/pt.py", line 48, in make
RuntimeError: cannot make a partition table with an empty storage node list
-------------------------------------------------------------
test_16_timeoutExpired (neo.tests.master.testClientHandler.MasterClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 341, in test_16_timeoutExpired
self.app.pt.make(self.app.nm.getStorageNodeList())
File "/home/baobab/neo/neo/neo/master/pt.py", line 48, in make
RuntimeError: cannot make a partition table with an empty storage node list
-------------------------------------------------------------
test_17_connectionClosed (neo.tests.master.testClientHandler.MasterClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 382, in test_17_connectionClosed
self.app.pt.make(self.app.nm.getStorageNodeList())
File "/home/baobab/neo/neo/neo/master/pt.py", line 48, in make
RuntimeError: cannot make a partition table with an empty storage node list
-------------------------------------------------------------
test_01_connectionStarted (neo.tests.master.testElectionHandler.MasterClientElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 98, in test_01_connectionStarted
uuid = self.identifyToMasterNode(node_type=MASTER_NODE_TYPE, port=self.master_port)
AttributeError: 'MasterClientElectionTests' object has no attribute 'identifyToMasterNode'
-------------------------------------------------------------
test_02_connectionCompleted (neo.tests.master.testElectionHandler.MasterClientElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 109, in test_02_connectionCompleted
uuid = self.identifyToMasterNode(node_type=MASTER_NODE_TYPE, port=self.master_port)
AttributeError: 'MasterClientElectionTests' object has no attribute 'identifyToMasterNode'
-------------------------------------------------------------
test_03_connectionFailed (neo.tests.master.testElectionHandler.MasterClientElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 117, in test_03_connectionFailed
uuid = self.identifyToMasterNode(node_type=MASTER_NODE_TYPE, port=self.master_port)
AttributeError: 'MasterClientElectionTests' object has no attribute 'identifyToMasterNode'
-------------------------------------------------------------
test_07_packetReceived (neo.tests.master.testElectionHandler.MasterServerElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 255, in test_07_packetReceived
"127.0.0.1", self.master_port, 1009, 2, self.app.uuid)
TypeError: acceptNodeIdentification() takes exactly 6 arguments (7 given)
-------------------------------------------------------------
test_08_handleAcceptNodeIdentification1 (neo.tests.master.testElectionHandler.MasterServerElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 276, in test_08_handleAcceptNodeIdentification1
p = protocol.acceptNodeIdentification(*args)
TypeError: acceptNodeIdentification() takes exactly 6 arguments (7 given)
-------------------------------------------------------------
test_08_handleAcceptNodeIdentification2 (neo.tests.master.testElectionHandler.MasterServerElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 299, in test_08_handleAcceptNodeIdentification2
p = protocol.acceptNodeIdentification(*args)
TypeError: acceptNodeIdentification() takes exactly 6 arguments (7 given)
-------------------------------------------------------------
test_08_handleAcceptNodeIdentification3 (neo.tests.master.testElectionHandler.MasterServerElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 319, in test_08_handleAcceptNodeIdentification3
p = protocol.acceptNodeIdentification(*args)
TypeError: acceptNodeIdentification() takes exactly 6 arguments (7 given)
-------------------------------------------------------------
test_10_handleRequestNodeIdentification (neo.tests.master.testElectionHandler.MasterServerElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 451, in test_10_handleRequestNodeIdentification
packet = protocol.requestNodeIdentification(*args)
TypeError: requestNodeIdentification() takes exactly 4 arguments (5 given)
-------------------------------------------------------------
test_14_handleNotifyNodeInformation (neo.tests.master.testElectionHandler.MasterServerElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 603, in test_14_handleNotifyNodeInformation
election.handleNotifyNodeInformation(conn, packet, node_list)
File "/home/baobab/neo/neo/neo/master/handlers/election.py", line 36, in handleNotifyNodeInformation
ValueError: too many values to unpack
-------------------------------------------------------------
test_02_getNextOID (neo.tests.master.testMasterApp.MasterAppTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testMasterApp.py", line 42, in test_02_getNextOID
self.assertRaises(RuntimeError, self.app.getNextOID)
AttributeError: 'Application' object has no attribute 'getNextOID'
-------------------------------------------------------------
test_03_getNextTID (neo.tests.master.testMasterApp.MasterAppTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testMasterApp.py", line 52, in test_03_getNextTID
ntid = self.app.getNextTID()
AttributeError: 'Application' object has no attribute 'getNextTID'
-------------------------------------------------------------
test_04_getPartition (neo.tests.master.testMasterApp.MasterAppTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testMasterApp.py", line 61, in test_04_getPartition
p = self.app.getPartition(p64(1))
AttributeError: 'Application' object has no attribute 'getPartition'
-------------------------------------------------------------
test_16_make (neo.tests.master.testMasterPT.MasterPartitionTableTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/master/testMasterPT.py", line 388, in test_16_make
File "/home/baobab/neo/neo/neo/master/pt.py", line 48, in make
RuntimeError: cannot make a partition table with an empty storage node list
-------------------------------------------------------------
test_08_handleNotifyNodeInformation (neo.tests.master.testRecoveryHandler.MasterRecoveryTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testRecoveryHandler.py", line 123, in test_08_handleNotifyNodeInformation
recovery.handleNotifyNodeInformation(conn, packet, node_list)
File "/home/baobab/neo/neo/neo/handler.py", line 187, in handleNotifyNodeInformation
UnexpectedPacketError
-------------------------------------------------------------
test_09_handleAnswerLastIDs (neo.tests.master.testRecoveryHandler.MasterRecoveryTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testRecoveryHandler.py", line 177, in test_09_handleAnswerLastIDs
new_ptid = unpack('!Q', lptid)[0]
TypeError: unpack() argument 2 must be string or read-only buffer, not None
-------------------------------------------------------------
test_05_handleNotifyNodeInformation (neo.tests.master.testStorageHandler.MasterStorageHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 83, 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/baobab/neo/neo/neo/handler.py", line 187, in handleNotifyNodeInformation
UnexpectedPacketError
-------------------------------------------------------------
test_06_handleAnswerLastIDs (neo.tests.master.testStorageHandler.MasterStorageHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 149, 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/baobab/neo/neo/neo/handler.py", line 193, in handleAnswerLastIDs
UnexpectedPacketError
-------------------------------------------------------------
test_10_handleNotifyInformationLocked (neo.tests.master.testStorageHandler.MasterStorageHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 161, in test_10_handleNotifyInformationLocked
upper, lower = unpack('!LL', self.app.ltid)
TypeError: unpack() argument 2 must be string or read-only buffer, not None
-------------------------------------------------------------
test_14_handleNotifyPartitionChanges (neo.tests.master.testStorageHandler.MasterStorageHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 247, in test_14_handleNotifyPartitionChanges
conn, packet, None, None)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 170, 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/baobab/neo/neo/neo/master/handlers/storage.py", line 92, in handleNotifyPartitionChanges
TypeError: iteration over non-sequence
-------------------------------------------------------------
test_15_peerBroken (neo.tests.master.testStorageHandler.MasterStorageHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 307, in test_15_peerBroken
self.assertEquals(self.app.nm.getNodeByUUID(uuid).getState(), RUNNING_STATE)
AttributeError: 'NoneType' object has no attribute 'getState'
-------------------------------------------------------------
test_16_timeoutExpired (neo.tests.master.testStorageHandler.MasterStorageHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 353, in test_16_timeoutExpired
self.assertEquals(self.app.nm.getNodeByUUID(uuid).getState(), RUNNING_STATE)
AttributeError: 'NoneType' object has no attribute 'getState'
-------------------------------------------------------------
test_17_connectionClosed (neo.tests.master.testStorageHandler.MasterStorageHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 399, in test_17_connectionClosed
self.assertEquals(self.app.nm.getNodeByUUID(uuid).getState(), RUNNING_STATE)
AttributeError: 'NoneType' object has no attribute 'getState'
-------------------------------------------------------------
test_08_handleNotifyNodeInformation (neo.tests.master.testVerificationHandler.MasterVerificationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testVerificationHandler.py", line 132, in test_08_handleNotifyNodeInformation
verification.handleNotifyNodeInformation(conn, packet, node_list)
File "/home/baobab/neo/neo/neo/handler.py", line 187, in handleNotifyNodeInformation
UnexpectedPacketError
-------------------------------------------------------------
test_10_handleAnswerPartitionTable (neo.tests.master.testVerificationHandler.MasterVerificationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testVerificationHandler.py", line 204, in test_10_handleAnswerPartitionTable
verification.handleAnswerPartitionTable(conn, packet, None, [])
File "/home/baobab/neo/neo/neo/handler.py", line 199, in handleAnswerPartitionTable
UnexpectedPacketError
-------------------------------------------------------------
test_05_dealWithClientFailure (neo.tests.storage.testClientHandler.StorageClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testClientHandler.py", line 96, in test_05_dealWithClientFailure
client.setUUID(uuid)
File "/home/baobab/neo/neo/neo/node.py", line 57, in setUUID
AttributeError: 'NoneType' object has no attribute 'unregisterUUID'
-------------------------------------------------------------
test_25_handleAskTIDs2 (neo.tests.storage.testClientHandler.StorageClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testClientHandler.py", line 188, in test_25_handleAskTIDs2
self.operation.handleAskTIDs(conn, packet, 1, 2, 1)
File "/home/baobab/neo/neo/neo/storage/handlers/__init__.py", line 88, in handleAskTIDs
AttributeError: 'NoneType' object has no attribute 'getPartitions'
-------------------------------------------------------------
test_25_handleAskTIDs3 (neo.tests.storage.testClientHandler.StorageClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testClientHandler.py", line 202, in test_25_handleAskTIDs3
self.operation.handleAskTIDs(conn, packet, 1, 2, INVALID_PARTITION)
File "/home/baobab/neo/neo/neo/storage/handlers/__init__.py", line 79, in handleAskTIDs
TypeError: an integer is required
-------------------------------------------------------------
test_14_handleNotifyPartitionChanges1 (neo.tests.storage.testMasterHandler.StorageMasterHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testMasterHandler.py", line 110, in test_14_handleNotifyPartitionChanges1
self.operation.handleNotifyPartitionChanges(conn, packet, 0, ())
File "/home/baobab/neo/neo/neo/storage/handlers/master.py", line 42, in handleNotifyPartitionChanges
AttributeError: 'NoneType' object has no attribute 'getID'
-------------------------------------------------------------
test_01_loadPartitionTable (neo.tests.storage.testStorageApp.StorageAppTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testStorageApp.py", line 103, in test_01_loadPartitionTable
self.app.dm.query("insert into pt (rid, uuid, state) values ('%s', '%s', %d)" %
File "/home/baobab/neo/neo/neo/storage/mysqldb.py", line 95, in query
ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'm', 0)' at line 1")
-------------------------------------------------------------
test_04_getPartition (neo.tests.storage.testStorageApp.StorageAppTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testStorageApp.py", line 148, in test_04_getPartition
p = self.app.getPartition(p64(1))
AttributeError: 'Application' object has no attribute 'getPartition'
-------------------------------------------------------------
test_25_handleAskOIDs2 (neo.tests.storage.testStorageHandler.StorageStorageHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testStorageHandler.py", line 206, in test_25_handleAskOIDs2
self.operation.handleAskOIDs(conn, packet, 1, 2, 1)
File "/home/baobab/neo/neo/neo/storage/handlers/storage.py", line 50, in handleAskOIDs
AttributeError: 'NoneType' object has no attribute 'getPartitions'
-------------------------------------------------------------
test_25_handleAskOIDs3 (neo.tests.storage.testStorageHandler.StorageStorageHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testStorageHandler.py", line 220, in test_25_handleAskOIDs3
self.operation.handleAskOIDs(conn, packet, 1, 2, INVALID_PARTITION)
File "/home/baobab/neo/neo/neo/storage/handlers/storage.py", line 42, in handleAskOIDs
TypeError: an integer is required
-------------------------------------------------------------
test_25_handleAskTIDs2 (neo.tests.storage.testStorageHandler.StorageStorageHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testStorageHandler.py", line 146, in test_25_handleAskTIDs2
self.operation.handleAskTIDs(conn, packet, 1, 2, 1)
File "/home/baobab/neo/neo/neo/storage/handlers/__init__.py", line 88, in handleAskTIDs
AttributeError: 'NoneType' object has no attribute 'getPartitions'
-------------------------------------------------------------
test_25_handleAskTIDs3 (neo.tests.storage.testStorageHandler.StorageStorageHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testStorageHandler.py", line 160, in test_25_handleAskTIDs3
self.operation.handleAskTIDs(conn, packet, 1, 2, INVALID_PARTITION)
File "/home/baobab/neo/neo/neo/storage/handlers/__init__.py", line 79, in handleAskTIDs
TypeError: an integer is required
-------------------------------------------------------------
test_16_getPartitionTable (neo.tests.storage.testStorageMySQLdb.StorageMySQSLdbTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testStorageMySQLdb.py", line 227, in test_16_getPartitionTable
pt = self.db.getPartitionTable()
File "/home/baobab/neo/neo/neo/storage/mysqldb.py", line 252, in getPartitionTable
File "/home/neo_tests/neo/neo/util.py", line 48, in bin
ret.append(chr(int(s[:2], 16)))
ValueError: invalid literal for int():
-------------------------------------------------------------
test_07_handleAskLastIDs (neo.tests.storage.testVerificationHandler.StorageVerificationHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testVerificationHandler.py", line 111, in test_07_handleAskLastIDs
self.assertEqual(ptid, self.app.ptid)
AttributeError: 'Application' object has no attribute 'ptid'
-------------------------------------------------------------
test_askPrimary (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 877, in test_askPrimary
TypeError: askBeginTransaction() takes exactly 1 argument (0 given)
-------------------------------------------------------------
test_askStorage (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 851, in test_askStorage
TypeError: askBeginTransaction() takes exactly 1 argument (0 given)
-------------------------------------------------------------
test_getSerial (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 176, in test_getSerial
File "/home/neo_tests/neo/neo/client/app.py", line 527, in getSerial
hist = self.history(oid, length = 1, object_only = 1)
File "/home/neo_tests/neo/neo/client/app.py", line 955, 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
-------------------------------------------------------------
test_history (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 771, in test_history
File "/home/neo_tests/neo/neo/client/app.py", line 955, 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
-------------------------------------------------------------
test_load (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 206, in test_load
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/neo_tests/neo/neo/client/app.py", line 620, in load
return self._load(oid, cache=1)[:2]
File "/home/neo_tests/neo/neo/client/app.py", line 538, in _load
if len(cell_list) == 0:
TypeError: len() of unsized object
-------------------------------------------------------------
test_loadBefore (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 297, in test_loadBefore
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/neo_tests/neo/neo/client/app.py", line 636, in loadBefore
data, start, end = self._load(oid, tid=tid)
File "/home/neo_tests/neo/neo/client/app.py", line 538, in _load
if len(cell_list) == 0:
TypeError: len() of unsized object
-------------------------------------------------------------
test_loadSerial (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 260, in test_loadSerial
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/neo_tests/neo/neo/client/app.py", line 629, in loadSerial
return self._load(oid, serial=serial)[0]
File "/home/neo_tests/neo/neo/client/app.py", line 538, in _load
if len(cell_list) == 0:
TypeError: len() of unsized object
-------------------------------------------------------------
test_store1 (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 380, in test_store1
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/neo_tests/neo/neo/client/app.py", line 668, in store
if len(cell_list) == 0:
TypeError: len() of unsized object
-------------------------------------------------------------
test_store2 (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 407, in test_store2
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/neo_tests/neo/neo/client/app.py", line 668, in store
if len(cell_list) == 0:
TypeError: len() of unsized object
-------------------------------------------------------------
test_store3 (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 436, in test_store3
File "/home/neo_tests/neo/neo/client/app.py", line 668, in store
if len(cell_list) == 0:
TypeError: len() of unsized object
-------------------------------------------------------------
test_tpc_abort2 (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 545, in test_tpc_abort2
File "/home/neo_tests/neo/neo/client/app.py", line 755, in tpc_abort
cell_set |= set(self._getCellListForOID(oid, writable=True))
TypeError: iteration over non-sequence
-------------------------------------------------------------
test_tpc_begin (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 335, in test_tpc_begin
File "/home/neo_tests/neo/neo/client/app.py", line 654, in tpc_begin
self._askPrimary(protocol.askBeginTransaction(tid))
File "/home/neo_tests/neo/neo/client/app.py", line 360, in _askPrimary
self._waitMessage(conn, msg_id, self.primary_handler)
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 48, in _waitMessage
File "/home/baobab/neo/neo/neo/handler.py", line 88, in dispatch
AttributeError: 'NoneType' object has no attribute 'getType'
-------------------------------------------------------------
test_tpc_vote2 (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 475, in test_tpc_vote2
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/neo_tests/neo/neo/client/app.py", line 725, in tpc_vote
for cell in cell_list:
TypeError: iteration over non-sequence
-------------------------------------------------------------
test_tpc_vote3 (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 503, in test_tpc_vote3
File "/home/neo_tests/neo/neo/client/app.py", line 725, in tpc_vote
for cell in cell_list:
TypeError: iteration over non-sequence
-------------------------------------------------------------
test_undo2 (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 662, in test_undo2
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 94, in beginTransaction
File "/home/neo_tests/neo/neo/client/app.py", line 654, in tpc_begin
self._askPrimary(protocol.askBeginTransaction(tid))
File "/home/neo_tests/neo/neo/client/app.py", line 360, in _askPrimary
self._waitMessage(conn, msg_id, self.primary_handler)
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 48, in _waitMessage
File "/home/baobab/neo/neo/neo/handler.py", line 88, in dispatch
AttributeError: 'NoneType' object has no attribute 'getType'
-------------------------------------------------------------
test_undoLog (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 742, in test_undoLog
File "/home/neo_tests/neo/neo/client/app.py", line 947, in undoLog
return self.__undoLog(first, last, filter, block)
File "/home/neo_tests/neo/neo/client/app.py", line 916, in __undoLog
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
-------------------------------------------------------------
test_StopOperation (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 868, in test_StopOperation
NotImplementedError
-------------------------------------------------------------
test_initialMasterConnectionClosed (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 155, in test_initialMasterConnectionClosed
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 78, in _testInitialMasterWithMethod
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 152, in _testConnectionClosed
File "/home/baobab/neo/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
test_initialMasterConnectionFailed (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 142, in test_initialMasterConnectionFailed
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 78, in _testInitialMasterWithMethod
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 139, in _testConnectionFailed
File "/home/baobab/neo/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
test_initialMasterPeerBroken (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 192, in test_initialMasterPeerBroken
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 78, in _testInitialMasterWithMethod
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 189, in _testPeerBroken
File "/home/baobab/neo/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
test_initialMasterTimeoutExpired (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 174, in test_initialMasterTimeoutExpired
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 78, in _testInitialMasterWithMethod
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 171, in _testTimeoutExpired
File "/home/baobab/neo/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
test_knownMasterNotifyNodeInformation (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 605, in test_knownMasterNotifyNodeInformation
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 581, in _testNotifyNodeInformation
File "/home/baobab/neo/neo/neo/handler.py", line 187, in handleNotifyNodeInformation
UnexpectedPacketError
-------------------------------------------------------------
test_knownNodeKnownUUIDNodeAnswerPrimaryMaster (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 352, in test_knownNodeKnownUUIDNodeAnswerPrimaryMaster
File "/home/baobab/neo/neo/neo/client/handlers/master.py", line 65, in handleAnswerPrimaryMaster
ValueError: too many values to unpack
-------------------------------------------------------------
test_knownNodeSendPartitionTable (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 530, in test_knownNodeSendPartitionTable
File "/home/baobab/neo/neo/neo/handler.py", line 202, in handleSendPartitionTable
UnexpectedPacketError
-------------------------------------------------------------
test_knownStorageNotifyNodeInformation (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 634, in test_knownStorageNotifyNodeInformation
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 581, in _testNotifyNodeInformation
File "/home/baobab/neo/neo/neo/handler.py", line 187, in handleNotifyNodeInformation
UnexpectedPacketError
-------------------------------------------------------------
test_masterConnectionClosed (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 159, in test_masterConnectionClosed
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 87, in _testMasterWithMethod
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 152, in _testConnectionClosed
File "/home/baobab/neo/neo/neo/client/handlers/master.py", line 115, in connectionClosed
File "/home/baobab/neo/neo/neo/handler.py", line 150, in connectionClosed
File "/home/baobab/neo/neo/neo/client/handlers/__init__.py", line 50, in connectionLost
AttributeError: MockCallable instance has no attribute 'unregister'
-------------------------------------------------------------
test_masterPeerBroken (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 195, in test_masterPeerBroken
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 87, in _testMasterWithMethod
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 189, in _testPeerBroken
File "/home/baobab/neo/neo/neo/client/handlers/master.py", line 129, in peerBroken
File "/home/baobab/neo/neo/neo/handler.py", line 155, in peerBroken
File "/home/baobab/neo/neo/neo/client/handlers/__init__.py", line 50, in connectionLost
AttributeError: MockCallable instance has no attribute 'unregister'
-------------------------------------------------------------
test_masterTimeoutExpired (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 177, in test_masterTimeoutExpired
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 87, in _testMasterWithMethod
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 171, in _testTimeoutExpired
File "/home/baobab/neo/neo/neo/client/handlers/master.py", line 122, in timeoutExpired
File "/home/baobab/neo/neo/neo/handler.py", line 145, in timeoutExpired
File "/home/baobab/neo/neo/neo/client/handlers/__init__.py", line 50, in connectionLost
AttributeError: MockCallable instance has no attribute 'unregister'
-------------------------------------------------------------
test_newSendPartitionTable (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 487, in test_newSendPartitionTable
File "/home/baobab/neo/neo/neo/handler.py", line 202, in handleSendPartitionTable
UnexpectedPacketError
-------------------------------------------------------------
test_nonMasterSendPartitionTable (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 472, in test_nonMasterSendPartitionTable
File "/home/baobab/neo/neo/neo/handler.py", line 202, in handleSendPartitionTable
UnexpectedPacketError
-------------------------------------------------------------
test_ping (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 70, in test_ping
File "/home/baobab/neo/neo/neo/client/handlers/__init__.py", line 46, in packetReceived
File "/home/baobab/neo/neo/neo/client/handlers/__init__.py", line 34, in dispatch
File "/home/baobab/neo/neo/neo/handler.py", line 94, in dispatch
File "/home/baobab/neo/neo/neo/handler.py", line 82, in __unexpectedPacket
File "/home/baobab/neo/neo/neo/handler.py", line 155, in peerBroken
File "/home/baobab/neo/neo/neo/client/handlers/__init__.py", line 50, in connectionLost
AttributeError: 'NoneType' object has no attribute 'dispatcher'
-------------------------------------------------------------
test_storageConnectionClosed (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 163, in test_storageConnectionClosed
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 122, in _testStorageWithMethod
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 152, in _testConnectionClosed
File "/home/baobab/neo/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
test_storageConnectionFailed (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 146, in test_storageConnectionFailed
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 122, in _testStorageWithMethod
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 139, in _testConnectionFailed
File "/home/baobab/neo/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
test_storagePeerBroken (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 199, in test_storagePeerBroken
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 122, in _testStorageWithMethod
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 189, in _testPeerBroken
File "/home/baobab/neo/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
test_storageTimeoutExpired (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 181, in test_storageTimeoutExpired
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 122, in _testStorageWithMethod
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 171, in _testTimeoutExpired
File "/home/baobab/neo/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
test_unknownMasterNotifyNodeInformation (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 590, in test_unknownMasterNotifyNodeInformation
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 581, in _testNotifyNodeInformation
File "/home/baobab/neo/neo/neo/handler.py", line 187, in handleNotifyNodeInformation
UnexpectedPacketError
-------------------------------------------------------------
test_unknownNodeAnswerPrimaryMaster (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 300, in test_unknownNodeAnswerPrimaryMaster
File "/home/baobab/neo/neo/neo/client/handlers/master.py", line 74, in handleAnswerPrimaryMaster
File "/home/baobab/neo/neo/neo/node.py", line 57, in setUUID
AttributeError: 'NoneType' object has no attribute 'unregisterUUID'
-------------------------------------------------------------
test_unknownNodeSendPartitionTable (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 505, in test_unknownNodeSendPartitionTable
File "/home/baobab/neo/neo/neo/handler.py", line 202, in handleSendPartitionTable
UnexpectedPacketError
-------------------------------------------------------------
test_unknownStorageNotifyNodeInformation (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 619, in test_unknownStorageNotifyNodeInformation
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 581, in _testNotifyNodeInformation
File "/home/baobab/neo/neo/neo/handler.py", line 187, in handleNotifyNodeInformation
UnexpectedPacketError
-------------------------------------------------------------
test_register (neo.tests.client.testDispatcher.DispatcherTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testDispatcher.py", line 39, in test_register
self.assertEqual(dispatcher.getQueue(conn, packet), None)
AttributeError: Dispatcher instance has no attribute 'getQueue'
-------------------------------------------------------------
testStartWithManyPartitions (neo.tests.functional.testStorage.StorageTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/functional/testStorage.py", line 389, in testStartWithManyPartitions
File "/home/baobab/neo/neo/neo/tests/functional/testStorage.py", line 66, in __setup
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 273, in start
neoctl.enableStorageList([x[2] for x in storage_node_list])
File "/home/baobab/neo/neo/neo/neoctl/neoctl.py", line 71, in enableStorageList
File "/home/baobab/neo/neo/neo/neoctl/neoctl.py", line 59, in __ask
NotReadyException: Connection closed
-------------------------------------------------------------
FAILURES:
test_02_connectionFailed (neo.tests.testBootstrap.BootstrapManagerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/testBootstrap.py", line 76, in test_02_connectionFailed
self.assertEquals(self.app.primary_master_node, None)
AssertionError: <neo.node.MasterNode object at 0xb74e610c> != None
-------------------------------------------------------------
test_09_handleAcceptNodeIdentification5 (neo.tests.testBootstrap.BootstrapManagerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/testBootstrap.py", line 268, in test_09_handleAcceptNodeIdentification5
self.assertEqual(self.app.dm.getNumPartitions(), self.num_partitions)
AssertionError: None != 1009
-------------------------------------------------------------
test_10_handleAnswerPrimaryMaster03 (neo.tests.testBootstrap.BootstrapManagerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/testBootstrap.py", line 333, in test_10_handleAnswerPrimaryMaster03
self.assertEquals(self.app.primary_master_node, None)
AssertionError: <neo.node.MasterNode object at 0xb749222c> != None
-------------------------------------------------------------
test_10_handleAnswerPrimaryMaster04 (neo.tests.testBootstrap.BootstrapManagerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/testBootstrap.py", line 355, in test_10_handleAnswerPrimaryMaster04
self.assertEquals(self.app.primary_master_node, pmn)
AssertionError: None != <neo.node.MasterNode object at 0xb749260c>
-------------------------------------------------------------
test_10_handleAnswerPrimaryMaster05 (neo.tests.testBootstrap.BootstrapManagerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/testBootstrap.py", line 377, in test_10_handleAnswerPrimaryMaster05
self.assertEquals(self.app.primary_master_node, pmn)
AssertionError: None != <neo.node.MasterNode object at 0xb74929ec>
-------------------------------------------------------------
test_10_handleAnswerPrimaryMaster06 (neo.tests.testBootstrap.BootstrapManagerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/testBootstrap.py", line 398, in test_10_handleAnswerPrimaryMaster06
self.checkRequestNodeIdentification(conn)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 290, in checkRequestNodeIdentification
return self.checkAskPacket(conn, protocol.REQUEST_NODE_IDENTIFICATION, **kw)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 234, in checkAskPacket
self.assertEquals(len(calls), 1)
AssertionError: 0 != 1
-------------------------------------------------------------
test_02_IdleEvent (neo.tests.testEvent.EventTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/testEvent.py", line 171, in test_02_IdleEvent
AssertionError: 0 != 1
-------------------------------------------------------------
test_12_handleAskLastIDs (neo.tests.master.testClientHandler.MasterClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 262, in test_12_handleAskLastIDs
packet = self.checkAnswerLastIDs(conn, answered_packet=packet)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 329, in checkAnswerLastIDs
return self.checkAnswerPacket(conn, protocol.ANSWER_LAST_IDS, **kw)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 251, in checkAnswerPacket
self.assertEquals(a_packet, answered_packet)
AssertionError: None != <neo.protocol.Packet object at 0xb740d12c>
-------------------------------------------------------------
test_13_handleAskUnfinishedTransactions (neo.tests.master.testClientHandler.MasterClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 276, in test_13_handleAskUnfinishedTransactions
packet = self.checkAnswerUnfinishedTransactions(conn, answered_packet=packet)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 332, in checkAnswerUnfinishedTransactions
return self.checkAnswerPacket(conn, protocol.ANSWER_UNFINISHED_TRANSACTIONS, **kw)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 251, in checkAnswerPacket
self.assertEquals(a_packet, answered_packet)
AssertionError: None != <neo.protocol.Packet object at 0xb740c4cc>
-------------------------------------------------------------
test_04_connectionClosed (neo.tests.master.testElectionHandler.MasterServerElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 203, in test_04_connectionClosed
self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
test_05_timeoutExpired (neo.tests.master.testElectionHandler.MasterServerElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 215, in test_05_timeoutExpired
self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
test_06_peerBroken1 (neo.tests.master.testElectionHandler.MasterServerElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 227, in test_06_peerBroken1
self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
test_06_peerBroken2 (neo.tests.master.testElectionHandler.MasterServerElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 244, in test_06_peerBroken2
self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
test_09_handleAnswerPrimaryMaster1 (neo.tests.master.testElectionHandler.MasterServerElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 346, in test_09_handleAnswerPrimaryMaster1
self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
test_09_handleAnswerPrimaryMaster2 (neo.tests.master.testElectionHandler.MasterServerElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 367, in test_09_handleAnswerPrimaryMaster2
self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
test_09_handleAnswerPrimaryMaster3 (neo.tests.master.testElectionHandler.MasterServerElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 387, in test_09_handleAnswerPrimaryMaster3
self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
test_09_handleAnswerPrimaryMaster4 (neo.tests.master.testElectionHandler.MasterServerElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 408, in test_09_handleAnswerPrimaryMaster4
self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
test_09_handleAnswerPrimaryMaster5 (neo.tests.master.testElectionHandler.MasterServerElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 430, in test_09_handleAnswerPrimaryMaster5
self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------
test_11_handleAskPrimaryMaster (neo.tests.master.testElectionHandler.MasterServerElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 542, in test_11_handleAskPrimaryMaster
self.assertEquals(len(conn.mockGetNamedCalls("answer")), 1)
AssertionError: 0 != 1
-------------------------------------------------------------
test_12_handleAnnouncePrimaryMaster (neo.tests.master.testElectionHandler.MasterServerElectionTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 566, in test_12_handleAnnouncePrimaryMaster
self.assertNotEqual(self.app.primary_master_node, None)
AssertionError: None == None
-------------------------------------------------------------
test_11_findLeastUsedNode (neo.tests.master.testMasterPT.MasterPartitionTableTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/master/testMasterPT.py", line 90, in test_11_findLeastUsedNode
AssertionError: None != <neo.node.StorageNode object at 0xb7467d4c>
-------------------------------------------------------------
test_15_dropNode (neo.tests.master.testMasterPT.MasterPartitionTableTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/master/testMasterPT.py", line 330, in test_15_dropNode
AssertionError: 1 != 2
-------------------------------------------------------------
test_17_tweak (neo.tests.master.testMasterPT.MasterPartitionTableTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/master/testMasterPT.py", line 470, in test_17_tweak
AssertionError: 1 != 3
-------------------------------------------------------------
test_01_connectionClosed (neo.tests.master.testRecoveryHandler.MasterRecoveryTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testRecoveryHandler.py", line 98, in test_01_connectionClosed
self.assertEqual(self.app.nm.getNodeByServer(conn.getAddress()).getState(), TEMPORARILY_DOWN_STATE)
AssertionError: <EnumItem 'RUNNING_STATE' (0)> != <EnumItem 'TEMPORARILY_DOWN_STATE' (1)>
-------------------------------------------------------------
test_02_timeoutExpired (neo.tests.master.testRecoveryHandler.MasterRecoveryTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testRecoveryHandler.py", line 105, in test_02_timeoutExpired
self.assertEqual(self.app.nm.getNodeByServer(conn.getAddress()).getState(), TEMPORARILY_DOWN_STATE)
AssertionError: <EnumItem 'RUNNING_STATE' (0)> != <EnumItem 'TEMPORARILY_DOWN_STATE' (1)>
-------------------------------------------------------------
test_03_peerBroken (neo.tests.master.testRecoveryHandler.MasterRecoveryTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testRecoveryHandler.py", line 113, in test_03_peerBroken
self.assertEqual(self.app.nm.getNodeByServer(conn.getAddress()).getState(), BROKEN_STATE)
AssertionError: <EnumItem 'RUNNING_STATE' (0)> != <EnumItem 'BROKEN_STATE' (3)>
-------------------------------------------------------------
test_10_handleAnswerPartitionTable (neo.tests.master.testRecoveryHandler.MasterRecoveryTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testRecoveryHandler.py", line 231, in test_10_handleAnswerPartitionTable
self.checkUnexpectedPacketRaised(recovery.handleAnswerPartitionTable, conn, packet, None, cell_list)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 170, in checkUnexpectedPacketRaised
self.assertRaises(protocol.UnexpectedPacketError, method, *args, **kwargs)
AssertionError
-------------------------------------------------------------
test_12_handleAskLastIDs (neo.tests.master.testStorageHandler.MasterStorageHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 207, in test_12_handleAskLastIDs
packet = self.checkAnswerLastIDs(conn, answered_packet=packet)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 329, in checkAnswerLastIDs
return self.checkAnswerPacket(conn, protocol.ANSWER_LAST_IDS, **kw)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 251, in checkAnswerPacket
self.assertEquals(a_packet, answered_packet)
AssertionError: None != <neo.protocol.Packet object at 0xb7464f4c>
-------------------------------------------------------------
test_13_handleAskUnfinishedTransactions (neo.tests.master.testStorageHandler.MasterStorageHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 221, in test_13_handleAskUnfinishedTransactions
packet = self.checkAnswerUnfinishedTransactions(conn, answered_packet=packet)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 332, in checkAnswerUnfinishedTransactions
return self.checkAnswerPacket(conn, protocol.ANSWER_UNFINISHED_TRANSACTIONS, **kw)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 251, in checkAnswerPacket
self.assertEquals(a_packet, answered_packet)
AssertionError: None != <neo.protocol.Packet object at 0xb745c5ac>
-------------------------------------------------------------
test_01_connectionClosed (neo.tests.master.testVerificationHandler.MasterVerificationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testVerificationHandler.py", line 90, in test_01_connectionClosed
self.assertEqual(self.app.nm.getNodeByServer(conn.getAddress()).getState(), TEMPORARILY_DOWN_STATE)
AssertionError: <EnumItem 'RUNNING_STATE' (0)> != <EnumItem 'TEMPORARILY_DOWN_STATE' (1)>
-------------------------------------------------------------
test_02_timeoutExpired (neo.tests.master.testVerificationHandler.MasterVerificationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testVerificationHandler.py", line 103, in test_02_timeoutExpired
self.assertEqual(self.app.nm.getNodeByServer(conn.getAddress()).getState(), TEMPORARILY_DOWN_STATE)
AssertionError: <EnumItem 'RUNNING_STATE' (0)> != <EnumItem 'TEMPORARILY_DOWN_STATE' (1)>
-------------------------------------------------------------
test_03_peerBroken (neo.tests.master.testVerificationHandler.MasterVerificationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/master/testVerificationHandler.py", line 116, in test_03_peerBroken
self.assertEqual(self.app.nm.getNodeByServer(conn.getAddress()).getState(), BROKEN_STATE)
AssertionError: <EnumItem 'RUNNING_STATE' (0)> != <EnumItem 'BROKEN_STATE' (3)>
-------------------------------------------------------------
test_09_handleSendPartitionTable (neo.tests.storage.testInitializationHandler.StorageInitializationHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testInitializationHandler.py", line 115, in test_09_handleSendPartitionTable
self.assertEqual(self.app.dm.getPartitionTable(), ())
AssertionError: [] != ()
-------------------------------------------------------------
test_14_handleNotifyPartitionChanges2 (neo.tests.storage.testMasterHandler.StorageMasterHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testMasterHandler.py", line 143, in test_14_handleNotifyPartitionChanges2
self.assertEquals(app.ptid, ptid2)
AssertionError: '\xb2\x83\xc3aE\x8f\\\x86\xef?9\x9ay\x93\x96\xd7' != '\xfc\xac]UxM\xb2c\n\x1bZ\xe1:}\xc0\x18'
-------------------------------------------------------------
test_22_handleLockInformation2 (neo.tests.storage.testMasterHandler.StorageMasterHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testMasterHandler.py", line 181, in test_22_handleLockInformation2
self.checkNotifyInformationLocked(conn, answered_packet=packet)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 281, in checkNotifyInformationLocked
return self.checkAnswerPacket(conn, protocol.NOTIFY_INFORMATION_LOCKED, **kw)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 251, in checkAnswerPacket
self.assertEquals(a_packet, answered_packet)
AssertionError: None != <neo.protocol.Packet object at 0xb71a488c>
-------------------------------------------------------------
test_23_handleUnlockInformation2 (neo.tests.storage.testMasterHandler.StorageMasterHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testMasterHandler.py", line 208, in test_23_handleUnlockInformation2
self.checkNotifyInformationLocked(conn, answered_packet=packet)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 281, in checkNotifyInformationLocked
return self.checkAnswerPacket(conn, protocol.NOTIFY_INFORMATION_LOCKED, **kw)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 251, in checkAnswerPacket
self.assertEquals(a_packet, answered_packet)
AssertionError: None != <neo.protocol.Packet object at 0xb71a55cc>
-------------------------------------------------------------
test_17_getLastOID (neo.tests.storage.testStorageMySQLdb.StorageMySQSLdbTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testStorageMySQLdb.py", line 240, in test_17_getLastOID
self.assertEquals(result, '\x00' * 7 + '\x03')
AssertionError: None != '\x00\x00\x00\x00\x00\x00\x00\x03'
-------------------------------------------------------------
test_22_setGetPartitionTable (neo.tests.storage.testStorageMySQLdb.StorageMySQSLdbTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testStorageMySQLdb.py", line 389, in test_22_setGetPartitionTable
self.assertEquals(result[0], (1, uuid2, 0))
AssertionError: (1L, '00000000000000000000000000000002', 0) != (1, '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02', 0)
-------------------------------------------------------------
test_23_changePartitionTable (neo.tests.storage.testStorageMySQLdb.StorageMySQSLdbTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testStorageMySQLdb.py", line 349, in test_23_changePartitionTable
self.assertEquals(result[0], (1, uuid2, 0))
AssertionError: (1L, '00000000000000000000000000000002', 0) != (1, '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02', 0)
-------------------------------------------------------------
test_10_handleNotifyPartitionChanges (neo.tests.storage.testVerificationHandler.StorageVerificationHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testVerificationHandler.py", line 199, in test_10_handleNotifyPartitionChanges
self.verification.handleNotifyPartitionChanges(conn, packet, ptid, (cell, ))
File "/home/baobab/neo/neo/neo/storage/handlers/verification.py", line 65, in handleNotifyPartitionChanges
File "/home/baobab/neo/neo/neo/pt.py", line 194, in update
AssertionError
-------------------------------------------------------------
test_14_handleAskTransactionInformation (neo.tests.storage.testVerificationHandler.StorageVerificationHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/storage/testVerificationHandler.py", line 302, in test_14_handleAskTransactionInformation
code, message = self.checkErrorPacket(conn, decode=True)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 226, in checkErrorPacket
self.assertEquals(packet.getType(), protocol.ERROR)
AssertionError: <EnumItem 'ANSWER_TRANSACTION_INFORMATION' (32798)> != <EnumItem 'ERROR' (32768)>
-------------------------------------------------------------
test_tpc_finish2 (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 597, in test_tpc_finish2
File "/home/neo_tests/neo/neo/tests/__init__.py", line 314, in checkFinishTransaction
return self.checkAskPacket(conn, protocol.FINISH_TRANSACTION, **kw)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 236, in checkAskPacket
self.assertTrue(isinstance(packet, protocol.Packet))
AssertionError
-------------------------------------------------------------
test_tpc_finish3 (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientApp.py", line 622, in test_tpc_finish3
File "/home/neo_tests/neo/neo/tests/__init__.py", line 314, in checkFinishTransaction
return self.checkAskPacket(conn, protocol.FINISH_TRANSACTION, **kw)
File "/home/neo_tests/neo/neo/tests/__init__.py", line 236, in checkAskPacket
self.assertTrue(isinstance(packet, protocol.Packet))
AssertionError
-------------------------------------------------------------
test_knownNodeNotifyPartitionChanges (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 778, in test_knownNodeNotifyPartitionChanges
AssertionError: 0 != 3
-------------------------------------------------------------
test_unknownNodeNotifyPartitionChanges (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/client/testClientHandler.py", line 745, in test_unknownNodeNotifyPartitionChanges
AssertionError: 0 != 1
-------------------------------------------------------------
testStoppingPrimaryMasterWithOneSecondary (neo.tests.functional.testMaster.MasterTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/functional/testMaster.py", line 75, in testStoppingPrimaryMasterWithOneSecondary
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 402, in expectAllMasters
self.expectCondition(callback, timeout, delay)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 392, in expectCondition
raise AssertionError, 'Timeout while expecting condition. ' \
AssertionError: Timeout while expecting condition. History: [2, 2, 2, 2, 2, 2, 2, 2, 2, 2]
-------------------------------------------------------------
testStoppingSecondaryMaster (neo.tests.functional.testMaster.MasterTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/functional/testMaster.py", line 45, in testStoppingSecondaryMaster
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 402, in expectAllMasters
self.expectCondition(callback, timeout, delay)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 392, in expectCondition
raise AssertionError, 'Timeout while expecting condition. ' \
AssertionError: Timeout while expecting condition. History: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
-------------------------------------------------------------
testVerificationTriggered (neo.tests.functional.testStorage.StorageTests)
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/baobab/neo/neo/neo/tests/functional/testStorage.py", line 215, in testVerificationTriggered
File "/home/baobab/neo/neo/neo/tests/functional/testStorage.py", line 119, in __expectUnavailable
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 418, in expectStorageState
timeout,delay)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 410, in __expectNodeState
self.expectCondition(callback, timeout, delay)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 392, 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