[Neo-report] NEO tests [v0.10.x:2870-gaa3dd5a:py2.6]: 633 Tests, 5 Errors, 3 Failures

neo-report at nexedi.com neo-report at nexedi.com
Fri Feb 10 18:38:35 CET 2012


Title                     : NEO tests [v0.10.x:2870-gaa3dd5a:py2.6]
Date                      : 2012-02-10
Node                      : blade1
Machine                   : x86_64
System                    : Linux
Python                    : 2.6.6

Directory                 : /tmp/neo_tests/1328895305.3004351
Status                    : 98.736%
NEO_TEST_ZODB_FUNCTIONAL  : 1

                               NEO TESTS REPORT

              Test Module |   run   | success |  errors |  fails  |   time   
--------------------------+---------+---------+---------+---------+----------
                ClientApp |    23   |    23   |     .   |     .   |   1.04s   
           ConnectionPool |     5   |     5   |     .   |     .   |   1.00s   
            MasterHandler |    14   |    14   |     .   |     .   |   0.01s   
           StorageHandler |    14   |    14   |     .   |     .   |   0.01s   
--------------------------+---------+---------+---------+---------+----------
         neo.tests.client |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                   Client |    10   |     9   |     1   |     .   |  16.02s   
                  Cluster |     6   |     6   |     .   |     .   |   9.99s   
                   Master |     4   |     4   |     .   |     .   |  35.02s   
                  Storage |    15   |    15   |     .   |     .   |  49.44s   
--------------------------+---------+---------+---------+---------+----------
     neo.tests.functional |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
            ClientHandler |     6   |     6   |     .   |     .   |   0.02s   
          ElectionHandler |    23   |    23   |     .   |     .   |   0.04s   
                MasterApp |     2   |     2   |     .   |     .   |   0.03s   
                 MasterPT |     7   |     7   |     .   |     .   |   0.01s   
                 Recovery |     3   |     3   |     .   |     .   |   0.01s   
           StorageHandler |     8   |     8   |     .   |     .   |   0.07s   
             Transactions |     9   |     9   |     .   |     .   |   0.01s   
             Verification |     6   |     6   |     .   |     .   |   0.01s   
--------------------------+---------+---------+---------+---------+----------
         neo.tests.master |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
            ClientHandler |    18   |    18   |     .   |     .   |   0.14s   
    IdentificationHandler |     3   |     3   |     .   |     .   |   0.01s   
    InitializationHandler |     2   |     2   |     .   |     .   |   0.02s   
            MasterHandler |    11   |    11   |     .   |     .   |   0.08s   
              Replication |    10   |    10   |     .   |     .   |   2.76s   
       ReplicationHandler |    21   |    21   |     .   |     .   |   0.02s   
               Replicator |     7   |     7   |     .   |     .   |   0.00s   
               StorageApp |     3   |     3   |     .   |     .   |   0.02s   
             StorageBTree |    24   |    24   |     .   |     .   |   0.01s   
           StorageHandler |     9   |     9   |     .   |     .   |   0.07s   
           StorageMySQLdb |    32   |    32   |     .   |     .   |   0.27s   
             Transactions |    19   |    19   |     .   |     .   |   0.02s   
      VerificationHandler |    11   |    11   |     .   |     .   |   0.11s   
--------------------------+---------+---------+---------+---------+----------
        neo.tests.storage |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                Bootstrap |     2   |     2   |     .   |     .   |   0.03s   
               Connection |    75   |    75   |     .   |     .   |   0.08s   
               Dispatcher |     5   |     5   |     .   |     .   |   0.00s   
                    Event |     1   |     1   |     .   |     .   |   0.00s   
                  Handler |     1   |     1   |     .   |     .   |   0.00s   
                    Nodes |    14   |    14   |     .   |     .   |   0.01s   
                       PT |    11   |    11   |     .   |     .   |   0.01s   
                 Protocol |    87   |    87   |     .   |     .   |   0.02s   
                     Util |     4   |     4   |     .   |     .   |   0.00s   
--------------------------+---------+---------+---------+---------+----------
                neo.tests |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                          |    14   |    11   |     3   |     .   |   2.41s   
--------------------------+---------+---------+---------+---------+----------
       neo.tests.threaded |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                    Basic |    16   |    15   |     1   |     .   |  11.94s   
                 Conflict |     5   |     5   |     .   |     .   |   3.89s   
                  History |     1   |     1   |     .   |     .   |   0.81s   
                 Iterator |     9   |     9   |     .   |     .   |   7.22s   
                       MT |     5   |     5   |     .   |     .   |   7.06s   
                     Pack |    14   |    12   |     .   |     2   |  16.63s   
               Persistent |     1   |     1   |     .   |     .   |   0.81s   
                 ReadOnly |     2   |     2   |     .   |     .   |   1.60s   
                 Revision |     7   |     7   |     .   |     .   |   7.79s   
          Synchronization |     7   |     7   |     .   |     .   |   5.24s   
                     Undo |    17   |    16   |     .   |     1   |  15.80s   
                     ZODB |    10   |    10   |     .   |     .   |   8.82s   
--------------------------+---------+---------+---------+---------+----------
           neo.tests.zodb |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                  Summary |   633   |   625   |     5   |     3   | 206.44s   
--------------------------+---------+---------+---------+---------+----------



ERRORS:
neo.tests.threaded.test.Test.testDeadlockAvoidance
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/v0.10.x/neoppod/neo/tests/threaded/test.py", line 224, in testDeadlockAvoidance
    self.assertEqual(self._testDeadlockAvoidance([1, 3]),
  File "/home/neo/v0.10.x/neoppod/neo/tests/threaded/test.py", line 198, in _testDeadlockAvoidance
    t.join()
  File "/home/neo/v0.10.x/neoppod/neo/tests/threaded/__init__.py", line 676, in run
    apply(*self.__target)
  File "/home/neo/v0.10.x/py2.6/eggs/transaction-1.2.0-py2.6.egg/transaction/_manager.py", line 89, in commit
    return self.get().commit()
  File "/home/neo/v0.10.x/py2.6/eggs/transaction-1.2.0-py2.6.egg/transaction/_transaction.py", line 342, in commit
    reraise(t, v, tb)
  File "/home/neo/v0.10.x/py2.6/eggs/transaction-1.2.0-py2.6.egg/transaction/_transaction.py", line 333, in commit
    self._commitResources()
  File "/home/neo/v0.10.x/py2.6/eggs/transaction-1.2.0-py2.6.egg/transaction/_transaction.py", line 473, in _commitResources
    reraise(t, v, tb)
  File "/home/neo/v0.10.x/py2.6/eggs/transaction-1.2.0-py2.6.egg/transaction/_transaction.py", line 450, in _commitResources
    rm.tpc_vote(self)
  File "/home/neo/v0.10.x/py2.6/src/ZODB3/src/ZODB/Connection.py", line 777, in tpc_vote
    s = vote(transaction)
  File "/home/neo/v0.10.x/neoppod/neo/client/Storage.py", line 35, in wrapped
    return func(self, *args, **kw)
  File "/home/neo/v0.10.x/neoppod/neo/client/Storage.py", line 141, in tpc_vote
    tryToResolveConflict=self.tryToResolveConflict)
  File "/home/neo/v0.10.x/neoppod/neo/client/app.py", line 708, in tpc_vote
    result = self.waitStoreResponses(txn_context, tryToResolveConflict)
  File "/home/neo/v0.10.x/neoppod/neo/client/app.py", line 687, in waitStoreResponses
    tryToResolveConflict)
  File "/home/neo/v0.10.x/neoppod/neo/client/app.py", line 656, in _handleConflicts
    serial), data=data)
ConflictError: database conflict error (oid 0x01, class neo.tests.threaded.test.PCounterWithResolution, serial this txn started with 0x03945d1f337f48bb 2012-02-10 17:35:12.069657, serial currently committed 0x03 1900-01-01 00:00:00.000000)
-------------------------------------------------------------

neo.tests.threaded.test.Test.testStorageReconnectDuringTransactionLog
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/v0.10.x/neoppod/neo/tests/threaded/test.py", line 373, in testStorageReconnectDuringTransactionLog
    ZERO_TID, c.root()._p_serial, 10)
  File "/home/neo/v0.10.x/neoppod/neo/client/app.py", line 972, in transactionLog
    conn = self.cp.getConnForNode(node)
  File "/home/neo/v0.10.x/neoppod/neo/client/pool.py", line 168, in getConnForNode
    conn = self._initNodeConnection(node)
  File "/home/neo/v0.10.x/neoppod/neo/client/pool.py", line 69, in _initNodeConnection
    app._ask(conn, p, handler=app.storage_bootstrap_handler)
  File "/home/neo/v0.10.x/neoppod/neo/client/app.py", line 240, in _ask
    _handlePacket(qconn, qpacket)
  File "/home/neo/v0.10.x/neoppod/neo/client/app.py", line 177, in _handlePacket
    handler.dispatch(conn, packet)
  File "/home/neo/v0.10.x/neoppod/neo/lib/handler.py", line 55, in dispatch
    method(conn, *args)
  File "/home/neo/v0.10.x/neoppod/neo/client/handlers/storage.py", line 127, in answerTIDsFrom
    assert not tids_from.intersection(set(tid_list))
AttributeError: 'NoneType' object has no attribute 'intersection'
-------------------------------------------------------------

neo.tests.threaded.test.Test.testStorageReconnectDuringUndoLog
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/v0.10.x/neoppod/neo/tests/threaded/test.py", line 384, in testStorageReconnectDuringUndoLog
    t1, = cluster.client.undoLog(0, 10)
  File "/home/neo/v0.10.x/neoppod/neo/client/app.py", line 932, in undoLog
    conn = self.cp.getConnForNode(storage_node)
  File "/home/neo/v0.10.x/neoppod/neo/client/pool.py", line 168, in getConnForNode
    conn = self._initNodeConnection(node)
  File "/home/neo/v0.10.x/neoppod/neo/client/pool.py", line 69, in _initNodeConnection
    app._ask(conn, p, handler=app.storage_bootstrap_handler)
  File "/home/neo/v0.10.x/neoppod/neo/client/app.py", line 240, in _ask
    _handlePacket(qconn, qpacket)
  File "/home/neo/v0.10.x/neoppod/neo/client/app.py", line 177, in _handlePacket
    handler.dispatch(conn, packet)
  File "/home/neo/v0.10.x/neoppod/neo/lib/handler.py", line 55, in dispatch
    method(conn, *args)
  File "/home/neo/v0.10.x/neoppod/neo/client/handlers/storage.py", line 159, in answerTIDs
    self.app.getHandlerData().update(tid_list)
AttributeError: 'NoneType' object has no attribute 'update'
-------------------------------------------------------------

neo.tests.functional.testClient.ClientTests.testExportFileStorageBug
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/v0.10.x/neoppod/neo/tests/functional/testClient.py", line 228, in testExportFileStorageBug
    self.testExport(True)
  File "/home/neo/v0.10.x/neoppod/neo/tests/functional/testClient.py", line 224, in testExport
    self.__checkTree(root['trees'])
  File "/home/neo/v0.10.x/neoppod/neo/tests/functional/testClient.py", line 165, in __checkTree
    self.__checkTree(tree.right, depth)
  File "/home/neo/v0.10.x/neoppod/neo/tests/functional/testClient.py", line 166, in __checkTree
    self.__checkTree(tree.left, depth)
AttributeError: 'Tree' object has no attribute 'left'
-------------------------------------------------------------

neo.tests.zodb.testBasic.BasicTests.check_checkCurrentSerialInTransaction
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/v0.10.x/py2.6/src/ZODB3/src/ZODB/tests/BasicStorage.py", line 257, in check_checkCurrentSerialInTransaction
    self._storage.tpc_vote(t)
  File "/home/neo/v0.10.x/neoppod/neo/client/Storage.py", line 35, in wrapped
    return func(self, *args, **kw)
  File "/home/neo/v0.10.x/neoppod/neo/client/Storage.py", line 141, in tpc_vote
    tryToResolveConflict=self.tryToResolveConflict)
  File "/home/neo/v0.10.x/neoppod/neo/client/app.py", line 708, in tpc_vote
    result = self.waitStoreResponses(txn_context, tryToResolveConflict)
  File "/home/neo/v0.10.x/neoppod/neo/client/app.py", line 684, in waitStoreResponses
    _waitAnyTransactionMessage(txn_context)
  File "/home/neo/v0.10.x/neoppod/neo/client/app.py", line 214, in _waitAnyTransactionMessage
    self._waitAnyMessage(queue, block=block)
  File "/home/neo/v0.10.x/neoppod/neo/client/app.py", line 202, in _waitAnyMessage
    _handlePacket(conn, packet)
  File "/home/neo/v0.10.x/neoppod/neo/client/app.py", line 177, in _handlePacket
    handler.dispatch(conn, packet)
  File "/home/neo/v0.10.x/neoppod/neo/lib/handler.py", line 55, in dispatch
    method(conn, *args)
  File "/home/neo/v0.10.x/neoppod/neo/client/handlers/storage.py", line 104, in answerStoreObject
    size = len(data)
TypeError: object of type 'object' has no len()
-------------------------------------------------------------


FAILURES:
neo.tests.zodb.testPack.PackableTests.checkPackAllRevisions
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/v0.10.x/py2.6/src/ZODB3/src/ZODB/tests/PackableStorage.py", line 360, in checkPackAllRevisions
    raises(KeyError, self._storage.loadSerial, oid, revid3)
AssertionError: KeyError not raised
-------------------------------------------------------------

neo.tests.zodb.testPack.PackableTests.checkPackUndoLog
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/v0.10.x/py2.6/src/ZODB3/src/ZODB/tests/PackableStorage.py", line 655, in checkPackUndoLog
    self.assertEqual(1,len(self._storage.undoLog()))
  File "/home/neo/v0.10.x/neoppod/neo/tests/__init__.py", line 144, in assertEqual
    return super(NeoTestBase, self).assertEqual(first, second, msg=msg)
AssertionError: 1 != 3
-------------------------------------------------------------

neo.tests.zodb.testUndo.UndoTests.checkTransactionalUndoAfterPack
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/v0.10.x/py2.6/src/ZODB3/src/ZODB/tests/TransactionalUndoStorage.py", line 463, in checkTransactionalUndoAfterPack
    self.assertEqual(len(info2), 2)
  File "/home/neo/v0.10.x/neoppod/neo/tests/__init__.py", line 144, in assertEqual
    return super(NeoTestBase, self).assertEqual(first, second, msg=msg)
AssertionError: 4 != 2
-------------------------------------------------------------






More information about the Neo-report mailing list