[Neo-report] Neo : 382 Tests, 34 Errors, 11 Failures

gregory at nexedi.com gregory at nexedi.com
Fri Jan 29 13:53:05 CET 2010


                               NEO TESTS REPORT


    Date        : 2010-01-29
    Node        : sd-9157
    Processor   : VIA Esther processor 2000MHz (32bit)
    System      : Linux (2.6.12-27mdk)
    Directory   : /home/neo_tests/tmp/neo_ga7_jb
    Status      :  88.220%
        
              Test Module |   run   | success |  errors |  fails  |   time   
--------------------------+---------+---------+---------+---------+----------
                ClientApp |    26   |    26   |     .   |     .   |   1.17s   
            ClientHandler |    51   |    31   |    18   |     2   |   0.17s   
           ConnectionPool |     1   |     1   |     .   |     .   |   0.00s   
--------------------------+---------+---------+---------+---------+----------
         neo.tests.client |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                   Client |     4   |     3   |     .   |     1   |  18.07s   
                  Cluster |     4   |     4   |     .   |     .   |  38.52s   
             ImportExport |     2   |     2   |     .   |     .   |  15.68s   
                   Master |     4   |     4   |     .   |     .   |  46.77s   
                  Storage |    12   |     9   |     .   |     3   | 136.40s   
                     ZODB |    16   |    16   |     .   |     .   |  69.86s   
--------------------------+---------+---------+---------+---------+----------
     neo.tests.functional |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
            ClientHandler |     7   |     7   |     .   |     .   |   0.05s   
          ElectionHandler |    24   |     3   |    16   |     5   |   0.15s   
                MasterApp |     2   |     2   |     .   |     .   |   0.01s   
                 MasterPT |     7   |     7   |     .   |     .   |   0.02s   
          RecoveryHandler |     5   |     5   |     .   |     .   |   0.03s   
           StorageHandler |     7   |     7   |     .   |     .   |   0.51s   
             Transactions |     4   |     4   |     .   |     .   |   0.00s   
      VerificationHandler |     9   |     9   |     .   |     .   |   0.05s   
--------------------------+---------+---------+---------+---------+----------
         neo.tests.master |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
            ClientHandler |    18   |    18   |     .   |     .   |   1.61s   
    InitializationHandler |     4   |     4   |     .   |     .   |   0.40s   
            MasterHandler |    10   |    10   |     .   |     .   |   0.86s   
               StorageApp |     3   |     3   |     .   |     .   |   0.28s   
           StorageHandler |    13   |    13   |     .   |     .   |   1.11s   
           StorageMySQLdb |    35   |    35   |     .   |     .   |   2.52s   
      VerificationHandler |    13   |    13   |     .   |     .   |   1.21s   
--------------------------+---------+---------+---------+---------+----------
        neo.tests.storage |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                Bootstrap |     2   |     2   |     .   |     .   |   0.43s   
               Connection |    16   |    16   |     .   |     .   |   0.07s   
               Dispatcher |     3   |     3   |     .   |     .   |   0.00s   
                    Event |     2   |     2   |     .   |     .   |   0.01s   
                  Handler |     1   |     1   |     .   |     .   |   0.00s   
                    Nodes |    13   |    13   |     .   |     .   |   0.01s   
                       PT |    10   |    10   |     .   |     .   |   0.01s   
                 Protocol |    54   |    54   |     .   |     .   |   0.01s   
--------------------------+---------+---------+---------+---------+----------
                neo.tests |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                  Summary |   382   |   337   |    34   |    11   | 336.00s   
--------------------------+---------+---------+---------+---------+----------





ERRORS:
neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_01_connectionStarted
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 79, in test_01_connectionStarted
    uuid = self.identifyToMasterNode(port=self.master_port)
TypeError: identifyToMasterNode() got an unexpected keyword argument 'port'
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_02_connectionCompleted
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 90, in test_02_connectionCompleted
    uuid = self.identifyToMasterNode(port=self.master_port)
TypeError: identifyToMasterNode() got an unexpected keyword argument 'port'
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_03_connectionFailed
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 98, in test_03_connectionFailed
    uuid = self.identifyToMasterNode(port=self.master_port)
TypeError: identifyToMasterNode() got an unexpected keyword argument 'port'
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_11_askPrimary
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 116, in test_11_askPrimary
    uuid = self.identifyToMasterNode(port=self.master_port)
TypeError: identifyToMasterNode() got an unexpected keyword argument 'port'
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterServerElectionTests.testAnnouncePrimary1
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 660, in testAnnouncePrimary1
    self.checkUnexpectedPacketRaised(announce, conn, packet)
  File "/home/neo_tests/neo/neo/tests/__init__.py", line 158, 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/election.py", line 256, in announcePrimary
    raise protocol.ProtocolError('Not identified')
ProtocolError: Not identified
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_04_connectionClosed
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 296, in test_04_connectionClosed
    uuid = self.identifyToMasterNode(port=self.master_port)
AttributeError: 'MasterServerElectionTests' object has no attribute 'master_port'
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_05_timeoutExpired
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 310, in test_05_timeoutExpired
    uuid = self.identifyToMasterNode(port=self.master_port)
AttributeError: 'MasterServerElectionTests' object has no attribute 'master_port'
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_06_peerBroken1
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 324, in test_06_peerBroken1
    uuid = self.identifyToMasterNode(port=self.master_port)
AttributeError: 'MasterServerElectionTests' object has no attribute 'master_port'
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_06_peerBroken2
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 338, in test_06_peerBroken2
    uuid = self.identifyToMasterNode(port=self.master_port)
AttributeError: 'MasterServerElectionTests' object has no attribute 'master_port'
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_07_packetReceived
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 357, in test_07_packetReceived
    uuid = self.identifyToMasterNode(port=self.master_port)
AttributeError: 'MasterServerElectionTests' object has no attribute 'master_port'
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_08_AcceptIdentification1
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 378, in test_08_AcceptIdentification1
    conn = ClientConnection(self.app.em, self.election, addr = ("127.0.0.1", self.master_port),
AttributeError: 'MasterServerElectionTests' object has no attribute 'master_port'
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_08_AcceptIdentification2
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 401, in test_08_AcceptIdentification2
    conn = ClientConnection(self.app.em, self.election, addr = ("127.0.0.1", self.master_port),
AttributeError: 'MasterServerElectionTests' object has no attribute 'master_port'
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_08_AcceptIdentification3
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 421, in test_08_AcceptIdentification3
    conn = ClientConnection(self.app.em, self.election, addr = ("127.0.0.1", self.master_port),
AttributeError: 'MasterServerElectionTests' object has no attribute 'master_port'
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_10_RequestIdentification
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 446, in test_10_RequestIdentification
    args = (NodeTypes.MASTER, uuid, ('127.0.0.1', self.storage_port),
AttributeError: 'MasterServerElectionTests' object has no attribute 'storage_port'
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_13_reelectPrimary
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 528, in test_13_reelectPrimary
    uuid = self.identifyToMasterNode(port=self.master_port)
AttributeError: 'MasterServerElectionTests' object has no attribute 'master_port'
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterServerElectionTests.test_14_notifyNodeInformation
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 545, in test_14_notifyNodeInformation
    self.checkIdenficationRequired(election.notifyNodeInformation, conn, packet, node_list)
  File "/home/neo_tests/neo/neo/tests/__init__.py", line 162, in checkIdenficationRequired
    self.checkUnexpectedPacketRaised(method, *args, **kwargs)
  File "/home/neo_tests/neo/neo/tests/__init__.py", line 158, 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/election.py", line 31, in notifyNodeInformation
    raise protocol.ProtocolError('Not identified')
ProtocolError: Not identified
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_StopOperation
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 758, in test_StopOperation
    raise NotImplementedError
NotImplementedError
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_clientAcceptIdentification
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 221, in test_clientAcceptIdentification
    0, 0, INVALID_UUID
TypeError: acceptIdentification() takes exactly 8 arguments (9 given)
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_initialMasterConnectionClosed
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 156, in test_initialMasterConnectionClosed
    self._testInitialMasterWithMethod(self._testConnectionClosed)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 75, in _testInitialMasterWithMethod
    method(self.getDispatcher(), app, PrimaryBootstrapHandler)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 153, in _testConnectionClosed
    client_handler.connectionClosed(conn)
  File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
    raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_initialMasterConnectionFailed
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 143, in test_initialMasterConnectionFailed
    self._testInitialMasterWithMethod(self._testConnectionFailed)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 75, in _testInitialMasterWithMethod
    method(self.getDispatcher(), app, PrimaryBootstrapHandler)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 140, in _testConnectionFailed
    client_handler.connectionFailed(conn)
  File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
    raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_initialMasterPeerBroken
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 189, in test_initialMasterPeerBroken
    self._testInitialMasterWithMethod(self._testPeerBroken)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 75, in _testInitialMasterWithMethod
    method(self.getDispatcher(), app, PrimaryBootstrapHandler)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 186, in _testPeerBroken
    client_handler.peerBroken(conn)
  File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
    raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_initialMasterTimeoutExpired
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 173, in test_initialMasterTimeoutExpired
    self._testInitialMasterWithMethod(self._testTimeoutExpired)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 75, in _testInitialMasterWithMethod
    method(self.getDispatcher(), app, PrimaryBootstrapHandler)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 170, in _testTimeoutExpired
    client_handler.timeoutExpired(conn)
  File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
    raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_knownStorageNotifyNodeInformation
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 556, in test_knownStorageNotifyNodeInformation
    nm = self._testNotifyNodeInformation(test_node, getByUUID=node)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 511, in _testNotifyNodeInformation
    client_handler.notifyNodeInformation(conn, None, test_node_list)
  File "/home/neo_tests/neo/neo/client/handlers/master.py", line 161, in notifyNodeInformation
    conn = self.app.em.getConnectionByUUID(uuid)
AttributeError: App instance has no attribute 'em'
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_masterAcceptIdentification
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 246, in test_masterAcceptIdentification
    NodeTypes.MASTER, uuid, ('127.0.0.1', 10010), 10, 2, your_uuid)
TypeError: acceptIdentification() takes exactly 8 arguments (9 given)
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_masterConnectionClosed
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 160, in test_masterConnectionClosed
    PrimaryNotificationsHandler)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 84, in _testMasterWithMethod
    method(dispatcher, app, handler_class, uuid=uuid, conn=app.master_conn)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 153, in _testConnectionClosed
    client_handler.connectionClosed(conn)
  File "/home/neo_tests/neo/neo/client/handlers/master.py", line 103, in connectionClosed
    super(PrimaryNotificationsHandler, self).connectionClosed(conn)
  File "/home/neo_tests/neo/neo/handler.py", line 129, in connectionClosed
    self.connectionLost(conn, NodeStates.TEMPORARILY_DOWN)
  File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 50, in connectionLost
    self.app.dispatcher.unregister(conn)
AttributeError: MockCallable instance has no attribute 'unregister'
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_masterPeerBroken
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 192, in test_masterPeerBroken
    self._testMasterWithMethod(self._testPeerBroken, PrimaryNotificationsHandler)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 84, in _testMasterWithMethod
    method(dispatcher, app, handler_class, uuid=uuid, conn=app.master_conn)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 186, in _testPeerBroken
    client_handler.peerBroken(conn)
  File "/home/neo_tests/neo/neo/client/handlers/master.py", line 118, in peerBroken
    BaseHandler.peerBroken(self, conn)
  File "/home/neo_tests/neo/neo/handler.py", line 134, in peerBroken
    self.connectionLost(conn, NodeStates.BROKEN)
  File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 50, in connectionLost
    self.app.dispatcher.unregister(conn)
AttributeError: MockCallable instance has no attribute 'unregister'
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_masterTimeoutExpired
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 176, in test_masterTimeoutExpired
    self._testMasterWithMethod(self._testTimeoutExpired, PrimaryNotificationsHandler)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 84, in _testMasterWithMethod
    method(dispatcher, app, handler_class, uuid=uuid, conn=app.master_conn)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 170, in _testTimeoutExpired
    client_handler.timeoutExpired(conn)
  File "/home/neo_tests/neo/neo/client/handlers/master.py", line 111, in timeoutExpired
    BaseHandler.timeoutExpired(self, conn)
  File "/home/neo_tests/neo/neo/handler.py", line 124, in timeoutExpired
    self.connectionLost(conn, NodeStates.TEMPORARILY_DOWN)
  File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 50, in connectionLost
    self.app.dispatcher.unregister(conn)
AttributeError: MockCallable instance has no attribute 'unregister'
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_storageAcceptIdentification
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 266, in test_storageAcceptIdentification
    NodeTypes.STORAGE, uuid, ('127.0.0.1', 10010), 0, 0, INVALID_UUID)
TypeError: acceptIdentification() takes exactly 8 arguments (9 given)
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_storageConnectionClosed
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 164, in test_storageConnectionClosed
    StorageBootstrapHandler)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 123, in _testStorageWithMethod
    method(dispatcher, app, handler_class, conn=conn)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 153, in _testConnectionClosed
    client_handler.connectionClosed(conn)
  File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
    raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_storageConnectionFailed
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 147, in test_storageConnectionFailed
    StorageBootstrapHandler)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 123, in _testStorageWithMethod
    method(dispatcher, app, handler_class, conn=conn)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 140, in _testConnectionFailed
    client_handler.connectionFailed(conn)
  File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
    raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_storagePeerBroken
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 196, in test_storagePeerBroken
    StorageBootstrapHandler, state=NodeStates.BROKEN)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 123, in _testStorageWithMethod
    method(dispatcher, app, handler_class, conn=conn)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 186, in _testPeerBroken
    client_handler.peerBroken(conn)
  File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
    raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_storageTimeoutExpired
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 180, in test_storageTimeoutExpired
    StorageBootstrapHandler)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 123, in _testStorageWithMethod
    method(dispatcher, app, handler_class, conn=conn)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 170, in _testTimeoutExpired
    client_handler.timeoutExpired(conn)
  File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
    raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_unknownNodeAnswerPrimary
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 299, in test_unknownNodeAnswerPrimary
    client_handler.answerPrimary(conn, None, INVALID_UUID, test_master_list)
  File "/home/neo_tests/neo/neo/client/handlers/master.py", line 60, in answerPrimary
    if uuid is not None and n.getUUID() != uuid:
AttributeError: 'NoneType' object has no attribute 'getUUID'
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_unknownStorageNotifyNodeInformation
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 541, in test_unknownStorageNotifyNodeInformation
    nm = self._testNotifyNodeInformation(test_node, getByUUID=None)
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 511, in _testNotifyNodeInformation
    client_handler.notifyNodeInformation(conn, None, test_node_list)
  File "/home/neo_tests/neo/neo/client/handlers/master.py", line 161, in notifyNodeInformation
    conn = self.app.em.getConnectionByUUID(uuid)
AttributeError: App instance has no attribute 'em'
-------------------------------------------------------------


FAILURES:
neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_09_answerPrimary1
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 139, in test_09_answerPrimary1
    self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_09_answerPrimary2
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 160, in test_09_answerPrimary2
    self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_09_answerPrimary3
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 180, in test_09_answerPrimary3
    self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_09_answerPrimary4
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 201, in test_09_answerPrimary4
    self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------

neo/tests/master/testElectionHandler.py MasterClientElectionTests.test_09_answerPrimary5
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/master/testElectionHandler.py", line 223, in test_09_answerPrimary5
    self.assertEqual(len(self.app.unconnected_master_node_set), 0)
AssertionError: 1 != 0
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_knownNodeNotifyPartitionChanges
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 668, in test_knownNodeNotifyPartitionChanges
    self.assertEquals(len(calls), 3)
AssertionError: 0 != 3
-------------------------------------------------------------

neo/tests/client/testClientHandler.py ClientHandlerTests.test_ping
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 67, in test_ping
    client_handler.packetReceived(conn, Packets.Ping())
  File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 46, in packetReceived
    self.dispatch(conn, packet)
  File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 34, in dispatch
    super(BaseHandler, self).dispatch(conn, packet)
  File "/home/neo_tests/neo/neo/handler.py", line 73, in dispatch
    self.__unexpectedPacket(conn, packet, *e.args)
  File "/home/neo_tests/neo/neo/handler.py", line 59, in __unexpectedPacket
    conn.answer(protocol.protocolError(message), packet.getId())
  File "/home/neo_tests/neo/neo/protocol.py", line 245, in getId
    assert self._id is not None, "No identifier applied on the packet"
AssertionError: No identifier applied on the packet
-------------------------------------------------------------

neo/tests/functional/testClient.py ClientTests.testIsolationWithNewConnection
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/functional/testClient.py", line 169, in testIsolationWithNewConnection
    self.assertEqual(c2.root()['item'], 0)
AssertionError: 1 != 0
-------------------------------------------------------------

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

neo/tests/functional/testStorage.py StorageTests.testOudatedCellsOnDownStorage
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 193, in testOudatedCellsOnDownStorage
    self.__checkReplicationDone()
  File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 103, in __checkReplicationDone
    self.__checkDatabase(db_name)
  File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 82, in __checkDatabase
    self.neo.expectCondition(callback)
  File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 380, in expectCondition
    raise AssertionError, 'Timeout while expecting condition. ' \
AssertionError: Timeout while expecting condition. History: [1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L]
-------------------------------------------------------------

neo/tests/functional/testStorage.py StorageTests.testReplicationWithoutBreak
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 136, in testReplicationWithoutBreak
    self.__checkReplicationDone()
  File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 103, in __checkReplicationDone
    self.__checkDatabase(db_name)
  File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 82, in __checkDatabase
    self.neo.expectCondition(callback)
  File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 380, in expectCondition
    raise AssertionError, 'Timeout while expecting condition. ' \
AssertionError: Timeout while expecting condition. History: [1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L]
-------------------------------------------------------------



More information about the Neo-report mailing list