[Neo-report] Neo : 386 Tests, 64 Errors, 33 Failures

gregory at nexedi.com gregory at nexedi.com
Wed Sep 23 12:05:28 CEST 2009


                               NEO TESTS REPORT


    Date        : 2009-09-23
    Node        : sd-9157
    Processor   : VIA Esther processor 2000MHz (32bit)
    System      : Linux (2.6.12-27mdk)
    Directory   : /tmp/neo_Le3nFS
    Status      :  74.870%
        
              Test Module |   run   | success |  errors |  fails  |   time   
--------------------------+---------+---------+---------+---------+----------
                ClientApp |    26   |     7   |    17   |     2   |   0.61s   
            ClientHandler |    54   |    32   |    20   |     2   |   0.15s   
           ConnectionPool |     1   |     1   |     .   |     .   |   0.00s   
               Dispatcher |     1   |     .   |     1   |     .   |   0.01s   
--------------------------+---------+---------+---------+---------+----------
         neo.tests.client |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                  Cluster |     3   |     3   |     .   |     .   |  15.93s   
             ImportExport |     2   |     2   |     .   |     .   |  14.21s   
                   Master |     4   |     2   |     .   |     2   |  63.49s   
                  Storage |    12   |    10   |     1   |     1   | 162.46s   
                     ZODB |    16   |    16   |     .   |     .   |  53.87s   
--------------------------+---------+---------+---------+---------+----------
     neo.tests.functional |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
            ClientHandler |    11   |     5   |     2   |     4   |   0.19s   
          ElectionHandler |    21   |     1   |     9   |    11   |   0.15s   
                MasterApp |     5   |     2   |     3   |     .   |   0.03s   
                 MasterPT |     7   |     3   |     1   |     3   |   0.02s   
          RecoveryHandler |     6   |     .   |     2   |     4   |   0.09s   
           StorageHandler |     9   |     .   |     8   |     1   |   0.05s   
      VerificationHandler |     9   |     6   |     .   |     3   |   0.04s   
--------------------------+---------+---------+---------+---------+----------
         neo.tests.master |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
            ClientHandler |    18   |    18   |     .   |     .   |   1.61s   
    InitializationHandler |     4   |     4   |     .   |     .   |   0.35s   
            MasterHandler |    10   |    10   |     .   |     .   |   0.81s   
               StorageApp |     3   |     3   |     .   |     .   |   0.25s   
           StorageHandler |    13   |    13   |     .   |     .   |   1.23s   
           StorageMySQLdb |    36   |    36   |     .   |     .   |   2.57s   
      VerificationHandler |    13   |    13   |     .   |     .   |   1.12s   
--------------------------+---------+---------+---------+---------+----------
        neo.tests.storage |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                Bootstrap |     2   |     2   |     .   |     .   |   0.30s   
               Connection |    16   |    16   |     .   |     .   |   0.06s   
                    Event |     2   |     2   |     .   |     .   |   0.01s   
                  Handler |     1   |     1   |     .   |     .   |   0.00s   
                    Nodes |    15   |    15   |     .   |     .   |   0.01s   
                       PT |    10   |    10   |     .   |     .   |   0.01s   
                 Protocol |    56   |    56   |     .   |     .   |   0.01s   
--------------------------+---------+---------+---------+---------+----------
                neo.tests |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                  Summary |   386   |   289   |    64   |    33   | 319.63s   
--------------------------+---------+---------+---------+---------+----------





ERRORS:
test_05_handleNotifyNodeInformation (neo.tests.master.testClientHandler.MasterClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 96, 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 187, in handleNotifyNodeInformation
    raise UnexpectedPacketError
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 171, 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 193, in handleAnswerLastIDs
    raise UnexpectedPacketError
UnexpectedPacketError
-------------------------------------------------------------

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/neo_tests/neo/neo/master/handlers/election.py", line 36, in handleNotifyNodeInformation
    for node_type, addr, uuid, state in node_list:
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/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 48, in make
    raise RuntimeError, \
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/neo_tests/neo/neo/handler.py", line 187, in handleNotifyNodeInformation
    raise UnexpectedPacketError
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/neo_tests/neo/neo/handler.py", line 187, in handleNotifyNodeInformation
    raise UnexpectedPacketError
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/neo_tests/neo/neo/handler.py", line 193, in handleAnswerLastIDs
    raise UnexpectedPacketError
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_13_handleAskUnfinishedTransactions (neo.tests.master.testStorageHandler.MasterStorageHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testStorageHandler.py", line 228, in test_13_handleAskUnfinishedTransactions
    service.handleAskBeginTransaction(conn, packet)
TypeError: handleAskBeginTransaction() takes exactly 4 arguments (3 given)
-------------------------------------------------------------

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 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
-------------------------------------------------------------

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_askPrimary (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 877, in test_askPrimary
    packet = protocol.askBeginTransaction()
TypeError: askBeginTransaction() takes exactly 1 argument (0 given)
-------------------------------------------------------------

test_askStorage (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 851, in test_askStorage
    packet = protocol.askBeginTransaction()
TypeError: askBeginTransaction() takes exactly 1 argument (0 given)
-------------------------------------------------------------

test_connectToPrimaryMasterNode (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 787, 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 74, 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 87, in parseMasterList
    ip_address, port = node.split(':')
ValueError: too many values to unpack
-------------------------------------------------------------

test_getSerial (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 176, 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
-------------------------------------------------------------

test_history (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 771, 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
-------------------------------------------------------------

test_load (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 206, in test_load
    self.assertRaises(NEOStorageNotFoundError, app.load, oid)
  File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/home/neo_tests/neo/neo/client/app.py", line 612, in load
    return self._load(oid, cache=1)[:2]
  File "/home/neo_tests/neo/neo/client/app.py", line 530, 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/neo_tests/neo/neo/tests/client/testClientApp.py", line 297, 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
-------------------------------------------------------------

test_loadSerial (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 260, 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
-------------------------------------------------------------

test_store1 (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 380, 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
-------------------------------------------------------------

test_store2 (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 407, 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
-------------------------------------------------------------

test_store3 (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 436, 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
-------------------------------------------------------------

test_tpc_abort2 (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 545, 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
-------------------------------------------------------------

test_tpc_begin (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 335, 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 88, in dispatch
    method = self.packet_dispatch_table[packet.getType()]
AttributeError: 'NoneType' object has no attribute 'getType'
-------------------------------------------------------------

test_tpc_vote2 (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 475, 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
-------------------------------------------------------------

test_tpc_vote3 (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 503, 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
-------------------------------------------------------------

test_undo2 (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 662, in test_undo2
    txn1 = self.beginTransaction(app, tid=tid1)
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 94, 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 88, in dispatch
    method = self.packet_dispatch_table[packet.getType()]
AttributeError: 'NoneType' object has no attribute 'getType'
-------------------------------------------------------------

test_undoLog (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 742, 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 908, 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/neo_tests/neo/neo/tests/client/testClientHandler.py", line 846, in test_StopOperation
    raise NotImplementedError
NotImplementedError
-------------------------------------------------------------

test_initialMasterConnectionClosed (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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
-------------------------------------------------------------

test_initialMasterConnectionFailed (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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
-------------------------------------------------------------

test_initialMasterPeerBroken (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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
-------------------------------------------------------------

test_initialMasterTimeoutExpired (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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
-------------------------------------------------------------

test_knownMasterNotifyNodeInformation (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 583, in test_knownMasterNotifyNodeInformation
    getNodeByUUID=node)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 559, in _testNotifyNodeInformation
    client_handler.handleNotifyNodeInformation(conn, None, test_node_list)
  File "/home/neo_tests/neo/neo/handler.py", line 187, in handleNotifyNodeInformation
    raise UnexpectedPacketError
UnexpectedPacketError
-------------------------------------------------------------

test_knownNodeSendPartitionTable (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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 202, in handleSendPartitionTable
    raise UnexpectedPacketError
UnexpectedPacketError
-------------------------------------------------------------

test_knownStorageNotifyNodeInformation (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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, getNodeByUUID=node)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 559, in _testNotifyNodeInformation
    client_handler.handleNotifyNodeInformation(conn, None, test_node_list)
  File "/home/neo_tests/neo/neo/handler.py", line 187, in handleNotifyNodeInformation
    raise UnexpectedPacketError
UnexpectedPacketError
-------------------------------------------------------------

test_masterConnectionClosed (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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 115, in connectionClosed
    super(PrimaryNotificationsHandler, self).connectionClosed(conn)
  File "/home/neo_tests/neo/neo/handler.py", line 150, 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'
-------------------------------------------------------------

test_masterPeerBroken (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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 129, in peerBroken
    BaseHandler.peerBroken(self, conn)
  File "/home/neo_tests/neo/neo/handler.py", line 155, 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'
-------------------------------------------------------------

test_masterTimeoutExpired (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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 122, in timeoutExpired
    BaseHandler.timeoutExpired(self, conn)
  File "/home/neo_tests/neo/neo/handler.py", line 145, 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'
-------------------------------------------------------------

test_ping (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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 94, in dispatch
    self.__unexpectedPacket(conn, packet, *e.args)
  File "/home/neo_tests/neo/neo/handler.py", line 82, in __unexpectedPacket
    self.peerBroken(conn)
  File "/home/neo_tests/neo/neo/handler.py", line 155, 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'
-------------------------------------------------------------

test_storageConnectionClosed (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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
-------------------------------------------------------------

test_storageConnectionFailed (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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
-------------------------------------------------------------

test_storagePeerBroken (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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
-------------------------------------------------------------

test_storageTimeoutExpired (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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
-------------------------------------------------------------

test_unknownMasterNotifyNodeInformation (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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, getNodeByUUID=None)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 559, in _testNotifyNodeInformation
    client_handler.handleNotifyNodeInformation(conn, None, test_node_list)
  File "/home/neo_tests/neo/neo/handler.py", line 187, in handleNotifyNodeInformation
    raise UnexpectedPacketError
UnexpectedPacketError
-------------------------------------------------------------

test_unknownNodeAnswerPrimaryMaster (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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 74, in handleAnswerPrimaryMaster
    n.setUUID(uuid)
  File "/home/neo_tests/neo/neo/node.py", line 65, in setUUID
    self.manager.unregisterUUID(self)
AttributeError: 'NoneType' object has no attribute 'unregisterUUID'
-------------------------------------------------------------

test_unknownNodeSendPartitionTable (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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 202, in handleSendPartitionTable
    raise UnexpectedPacketError
UnexpectedPacketError
-------------------------------------------------------------

test_unknownStorageNotifyNodeInformation (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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, getNodeByUUID=None)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 559, in _testNotifyNodeInformation
    client_handler.handleNotifyNodeInformation(conn, None, test_node_list)
  File "/home/neo_tests/neo/neo/handler.py", line 187, in handleNotifyNodeInformation
    raise UnexpectedPacketError
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/neo_tests/neo/neo/tests/functional/testStorage.py", line 389, in testStartWithManyPartitions
    self.__setup(storage_number=2, partitions=5000, master_node_count=1)
  File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 66, in __setup
    self.neo.start(except_storages=stopped_processes)
  File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 279, in start
    neoctl.enableStorageList([x[2] for x in storage_node_list])
  File "/home/neo_tests/neo/neo/neoctl/neoctl.py", line 71, in enableStorageList
    response = self.__ask(packet)
  File "/home/neo_tests/neo/neo/neoctl/neoctl.py", line 59, in __ask
    raise NotReadyException, 'Connection closed'
NotReadyException: Connection closed
-------------------------------------------------------------


FAILURES:
test_09_handleFinishTransaction (neo.tests.master.testClientHandler.MasterClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 231, 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
-------------------------------------------------------------

test_15_peerBroken (neo.tests.master.testClientHandler.MasterClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 316, in test_15_peerBroken
    self.failUnless(lptid < self.app.pt.getID())
AssertionError
-------------------------------------------------------------

test_16_timeoutExpired (neo.tests.master.testClientHandler.MasterClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 362, in test_16_timeoutExpired
    self.assertRaises(OperationFailure, service.timeoutExpired, conn)
AssertionError: OperationFailure not raised
-------------------------------------------------------------

test_17_connectionClosed (neo.tests.master.testClientHandler.MasterClientHandlerTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testClientHandler.py", line 403, in test_17_connectionClosed
    self.assertRaises(OperationFailure, service.connectionClosed, conn)
AssertionError: OperationFailure not raised
-------------------------------------------------------------

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/neo_tests/neo/neo/tests/master/testMasterPT.py", line 90, in test_11_findLeastUsedNode
    self.assertEqual(node, sn3)
AssertionError: None != <neo.node.StorageNode object at 0xb73e932c>
-------------------------------------------------------------

test_15_dropNode (neo.tests.master.testMasterPT.MasterPartitionTableTests)
-------------------------------------------------------------
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
-------------------------------------------------------------

test_17_tweak (neo.tests.master.testMasterPT.MasterPartitionTableTests)
-------------------------------------------------------------
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
-------------------------------------------------------------

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 115, 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 209, in test_12_handleAskLastIDs
    self.assertEqual(loid, oid)
AssertionError: '\x00\x00\x00\x00\x00\x00\x00\x00' != None
-------------------------------------------------------------

test_01_connectionClosed (neo.tests.master.testVerificationHandler.MasterVerificationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testVerificationHandler.py", line 95, 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 108, 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 121, 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_tpc_finish2 (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 597, in test_tpc_finish2
    self.checkFinishTransaction(app.master_conn)
  File "/home/neo_tests/neo/neo/tests/__init__.py", line 258, in checkFinishTransaction
    return self.checkAskPacket(conn, protocol.FINISH_TRANSACTION, **kw)
  File "/home/neo_tests/neo/neo/tests/__init__.py", line 181, in checkAskPacket
    self.assertTrue(isinstance(packet, protocol.Packet))
AssertionError
-------------------------------------------------------------

test_tpc_finish3 (neo.tests.client.testClientApp.ClientApplicationTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientApp.py", line 622, in test_tpc_finish3
    self.checkFinishTransaction(app.master_conn)
  File "/home/neo_tests/neo/neo/tests/__init__.py", line 258, in checkFinishTransaction
    return self.checkAskPacket(conn, protocol.FINISH_TRANSACTION, **kw)
  File "/home/neo_tests/neo/neo/tests/__init__.py", line 181, in checkAskPacket
    self.assertTrue(isinstance(packet, protocol.Packet))
AssertionError
-------------------------------------------------------------

test_knownNodeNotifyPartitionChanges (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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
-------------------------------------------------------------

test_unknownNodeNotifyPartitionChanges (neo.tests.client.testClientHandler.ClientHandlerTests)
-------------------------------------------------------------
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
-------------------------------------------------------------

testStoppingPrimaryMasterWithOneSecondary (neo.tests.functional.testMaster.MasterTests)
-------------------------------------------------------------
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 408, in expectAllMasters
    self.expectCondition(callback, timeout, delay)
  File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 398, in expectCondition
    raise AssertionError, 'Timeout while expecting condition. ' \
AssertionError: Timeout while expecting condition. History: [2, 2, 2, 2, 2, 2, 2, 2, 2, 2]
-------------------------------------------------------------

testStoppingPrimaryMasterWithTwoSecondaries (neo.tests.functional.testMaster.MasterTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/functional/testMaster.py", line 57, in testStoppingPrimaryMasterWithTwoSecondaries
    self.neo.expectAllMasters(MASTER_NODE_COUNT)
  File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 408, in expectAllMasters
    self.expectCondition(callback, timeout, delay)
  File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 398, in expectCondition
    raise AssertionError, 'Timeout while expecting condition. ' \
AssertionError: Timeout while expecting condition. History: [2, 2, 2, 2, 2, 2, 2, 2, 2, 2]
-------------------------------------------------------------

testDropNodeThenRestartCluster (neo.tests.functional.testStorage.StorageTests)
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 412, in testDropNodeThenRestartCluster
    self.neo.start(except_storages=[started[0]])
  File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 273, in start
    raise AssertionError, 'Timeout when starting cluster'
AssertionError: Timeout when starting cluster
-------------------------------------------------------------



More information about the Neo-report mailing list