[Neo-report] NEO tests [master:2862-g9d8081f:py2.5]: 633 Tests, 5 Errors, 3 Failures

neo-report at nexedi.com neo-report at nexedi.com
Tue Oct 25 19:45:11 CEST 2011


Title                     : NEO tests [master:2862-g9d8081f:py2.5]
Date                      : 2011-10-25
Node                      : blade1
Machine                   : x86_64
System                    : Linux
Python                    : 2.5.5

Directory                 : /tmp/neo_tests/1319564500.3829989
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   |     .   |  15.94s   
                  Cluster |     6   |     6   |     .   |     .   |  10.93s   
                   Master |     4   |     4   |     .   |     .   |  36.05s   
                  Storage |    15   |    15   |     .   |     .   |  47.95s   
--------------------------+---------+---------+---------+---------+----------
     neo.tests.functional |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
            ClientHandler |     6   |     6   |     .   |     .   |   0.01s   
          ElectionHandler |    23   |    23   |     .   |     .   |   0.04s   
                MasterApp |     2   |     2   |     .   |     .   |   0.00s   
                 MasterPT |     7   |     7   |     .   |     .   |   0.01s   
                 Recovery |     3   |     3   |     .   |     .   |   0.03s   
           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   |     .   |     .   |   3.19s   
       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   |    31   |     1   |     .   |   0.27s   
             Transactions |    19   |    19   |     .   |     .   |   0.02s   
      VerificationHandler |    11   |    11   |     .   |     .   |   0.11s   
--------------------------+---------+---------+---------+---------+----------
        neo.tests.storage |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                Bootstrap |     2   |     2   |     .   |     .   |   0.03s   
               Connection |    75   |    75   |     .   |     .   |   0.09s   
               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   |     .   |   3.43s   
--------------------------+---------+---------+---------+---------+----------
       neo.tests.threaded |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                    Basic |    16   |    16   |     .   |     .   |  12.69s   
                 Conflict |     5   |     5   |     .   |     .   |   3.87s   
                  History |     1   |     1   |     .   |     .   |   0.81s   
                 Iterator |     9   |     9   |     .   |     .   |   7.10s   
                       MT |     5   |     5   |     .   |     .   |   7.23s   
                     Pack |    14   |    12   |     .   |     2   |  16.55s   
               Persistent |     1   |     1   |     .   |     .   |   0.81s   
                 ReadOnly |     2   |     2   |     .   |     .   |   1.60s   
                 Revision |     7   |     7   |     .   |     .   |   7.46s   
          Synchronization |     7   |     7   |     .   |     .   |   5.24s   
                     Undo |    17   |    16   |     .   |     1   |  15.84s   
                     ZODB |    10   |    10   |     .   |     .   |   8.91s   
--------------------------+---------+---------+---------+---------+----------
           neo.tests.zodb |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                  Summary |   633   |   625   |     5   |     3   | 208.78s   
--------------------------+---------+---------+---------+---------+----------



ERRORS:
neo.tests.storage.testStorageMySQLdb.StorageMySQSLdbTests.test_deleteTransaction
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/neoppod/neo/tests/storage/testStorageDBTests.py", line 363, in test_deleteTransaction
    self.db.deleteTransaction(tid2, [oid2])
  File "/home/neo/neoppod/neo/storage/database/mysqldb.py", line 560, in deleteTransaction
    checksum_set.update(*q("SELECT hash" + sql))
TypeError: update() takes exactly one argument (0 given)
-------------------------------------------------------------

neo.tests.threaded.test.Test.testDeadlockAvoidance
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/neoppod/neo/tests/threaded/test.py", line 224, in testDeadlockAvoidance
    self.assertEqual(self._testDeadlockAvoidance([1, 3]),
  File "/home/neo/neoppod/neo/tests/threaded/test.py", line 198, in _testDeadlockAvoidance
    t.join()
  File "/home/neo/neoppod/neo/tests/threaded/__init__.py", line 673, in run
    apply(*self.__target)
  File "/home/neo/py2.5/eggs/transaction-1.1.1-py2.5.egg/transaction/_manager.py", line 89, in commit
    return self.get().commit()
  File "/home/neo/py2.5/eggs/transaction-1.1.1-py2.5.egg/transaction/_transaction.py", line 329, in commit
    self._commitResources()
  File "/home/neo/py2.5/eggs/transaction-1.1.1-py2.5.egg/transaction/_transaction.py", line 446, in _commitResources
    rm.tpc_vote(self)
  File "/home/neo/py2.5/src/ZODB3/src/ZODB/Connection.py", line 780, in tpc_vote
    s = vote(transaction)
  File "/home/neo/neoppod/neo/client/Storage.py", line 35, in wrapped
    return func(self, *args, **kw)
  File "/home/neo/neoppod/neo/client/Storage.py", line 141, in tpc_vote
    tryToResolveConflict=self.tryToResolveConflict)
  File "/home/neo/neoppod/neo/client/app.py", line 700, in tpc_vote
    result = self.waitStoreResponses(txn_context, tryToResolveConflict)
  File "/home/neo/neoppod/neo/client/app.py", line 679, in waitStoreResponses
    tryToResolveConflict)
  File "/home/neo/neoppod/neo/client/app.py", line 648, in _handleConflicts
    serial), data=data)
ConflictError: database conflict error (oid 0x01, class neo.tests.threaded.test.PCounterWithResolution, serial this txn started with 0x0391f805cafde066 2011-10-25 17:41:47.576181, 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/neoppod/neo/tests/threaded/test.py", line 373, in testStorageReconnectDuringTransactionLog
    ZERO_TID, c.root()._p_serial, 10)
  File "/home/neo/neoppod/neo/client/app.py", line 963, in transactionLog
    conn = self.cp.getConnForNode(node)
  File "/home/neo/neoppod/neo/client/pool.py", line 168, in getConnForNode
    conn = self._initNodeConnection(node)
  File "/home/neo/neoppod/neo/client/pool.py", line 69, in _initNodeConnection
    app._ask(conn, p, handler=app.storage_bootstrap_handler)
  File "/home/neo/neoppod/neo/client/app.py", line 240, in _ask
    _handlePacket(qconn, qpacket)
  File "/home/neo/neoppod/neo/client/app.py", line 177, in _handlePacket
    handler.dispatch(conn, packet)
  File "/home/neo/neoppod/neo/lib/handler.py", line 55, in dispatch
    method(conn, *args)
  File "/home/neo/neoppod/neo/client/handlers/storage.py", line 106, 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/neoppod/neo/tests/threaded/test.py", line 384, in testStorageReconnectDuringUndoLog
    t1, = cluster.client.undoLog(0, 10)
  File "/home/neo/neoppod/neo/client/app.py", line 923, in undoLog
    conn = self.cp.getConnForNode(storage_node)
  File "/home/neo/neoppod/neo/client/pool.py", line 168, in getConnForNode
    conn = self._initNodeConnection(node)
  File "/home/neo/neoppod/neo/client/pool.py", line 69, in _initNodeConnection
    app._ask(conn, p, handler=app.storage_bootstrap_handler)
  File "/home/neo/neoppod/neo/client/app.py", line 240, in _ask
    _handlePacket(qconn, qpacket)
  File "/home/neo/neoppod/neo/client/app.py", line 177, in _handlePacket
    handler.dispatch(conn, packet)
  File "/home/neo/neoppod/neo/lib/handler.py", line 55, in dispatch
    method(conn, *args)
  File "/home/neo/neoppod/neo/client/handlers/storage.py", line 138, 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/neoppod/neo/tests/functional/testClient.py", line 228, in testExportFileStorageBug
    self.testExport(True)
  File "/home/neo/neoppod/neo/tests/functional/testClient.py", line 224, in testExport
    self.__checkTree(root['trees'])
  File "/home/neo/neoppod/neo/tests/functional/testClient.py", line 165, in __checkTree
    self.__checkTree(tree.right, depth)
  File "/home/neo/neoppod/neo/tests/functional/testClient.py", line 166, in __checkTree
    self.__checkTree(tree.left, depth)
AttributeError: 'Tree' object has no attribute 'left'
-------------------------------------------------------------


FAILURES:
neo.tests.zodb.testPack.PackableTests.checkPackAllRevisions
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/py2.5/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/py2.5/src/ZODB3/src/ZODB/tests/PackableStorage.py", line 655, in checkPackUndoLog
    self.assertEqual(1,len(self._storage.undoLog()))
  File "/home/neo/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/py2.5/src/ZODB3/src/ZODB/tests/TransactionalUndoStorage.py", line 463, in checkTransactionalUndoAfterPack
    self.assertEqual(len(info2), 2)
  File "/home/neo/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