[Neo-report] NEO tests [master:2957-g870a223:py2.6]: 630 Tests, 3 Errors, 9 Failures

neo-report at nexedi.com neo-report at nexedi.com
Thu Jan 19 20:52:00 CET 2012


Title                     : NEO tests [master:2957-g870a223:py2.6]
Date                      : 2012-01-19
Node                      : blade1
Machine                   : x86_64
System                    : Linux
Python                    : 2.6.6

Directory                 : /tmp/neo_tests/1327002413.1899531
Status                    : 98.095%
NEO_TEST_ZODB_FUNCTIONAL  : 1

                               NEO TESTS REPORT

              Test Module |   run   | success |  errors |  fails  |   time   
--------------------------+---------+---------+---------+---------+----------
                ClientApp |    23   |    23   |     .   |     .   |   2.04s   
           ConnectionPool |     5   |     5   |     .   |     .   |   1.00s   
            MasterHandler |    14   |    14   |     .   |     .   |   0.01s   
           StorageHandler |    14   |    14   |     .   |     .   |   0.01s   
--------------------------+---------+---------+---------+---------+----------
         neo.tests.client |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                   Client |    10   |     9   |     1   |     .   |  20.24s   
                  Cluster |     7   |     7   |     .   |     .   |  20.53s   
                   Master |     4   |     4   |     .   |     .   |  16.36s   
                  Storage |    13   |    13   |     .   |     .   |  52.09s   
--------------------------+---------+---------+---------+---------+----------
     neo.tests.functional |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
            ClientHandler |     6   |     6   |     .   |     .   |   0.02s   
          ElectionHandler |    20   |    20   |     .   |     .   |   0.04s   
                MasterApp |     2   |     2   |     .   |     .   |   0.00s   
                 MasterPT |     7   |     7   |     .   |     .   |   0.01s   
                 Recovery |     3   |     3   |     .   |     .   |   0.03s   
           StorageHandler |     8   |     8   |     .   |     .   |   0.08s   
             Transactions |     9   |     9   |     .   |     .   |   0.01s   
             Verification |     6   |     6   |     .   |     .   |   0.01s   
--------------------------+---------+---------+---------+---------+----------
         neo.tests.master |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
            ClientHandler |    18   |    18   |     .   |     .   |   0.15s   
    IdentificationHandler |     3   |     3   |     .   |     .   |   0.01s   
    InitializationHandler |     2   |     2   |     .   |     .   |   0.02s   
            MasterHandler |    10   |    10   |     .   |     .   |   0.08s   
              Replication |    10   |    10   |     .   |     .   |   2.66s   
       ReplicationHandler |    21   |    20   |     .   |     1   |   0.02s   
               Replicator |     7   |     7   |     .   |     .   |   0.00s   
               StorageApp |     3   |     3   |     .   |     .   |   0.03s   
             StorageBTree |    24   |    24   |     .   |     .   |   0.01s   
           StorageHandler |     9   |     9   |     .   |     .   |   0.07s   
           StorageMySQLdb |    32   |    28   |     1   |     3   |   0.28s   
             Transactions |    19   |    17   |     .   |     2   |   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 |    17   |    17   |     .   |     .   |   0.01s   
                       PT |    10   |    10   |     .   |     .   |   0.01s   
                 Protocol |    87   |    87   |     .   |     .   |   0.02s   
                     Util |     4   |     4   |     .   |     .   |   0.00s   
--------------------------+---------+---------+---------+---------+----------
                neo.tests |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                          |    14   |    13   |     1   |     .   |   2.25s   
--------------------------+---------+---------+---------+---------+----------
       neo.tests.threaded |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                    Basic |    16   |    16   |     .   |     .   |  29.51s   
                 Conflict |     5   |     5   |     .   |     .   |   9.13s   
                  History |     1   |     1   |     .   |     .   |   1.86s   
                 Iterator |     9   |     9   |     .   |     .   |  16.56s   
                       MT |     5   |     5   |     .   |     .   |  12.29s   
                     Pack |    14   |    12   |     .   |     2   |  31.08s   
               Persistent |     1   |     1   |     .   |     .   |   1.86s   
                 ReadOnly |     2   |     2   |     .   |     .   |   3.69s   
                 Revision |     7   |     7   |     .   |     .   |  14.94s   
          Synchronization |     7   |     7   |     .   |     .   |  12.62s   
                     Undo |    17   |    16   |     .   |     1   |  33.56s   
                     ZODB |    10   |    10   |     .   |     .   |  19.26s   
--------------------------+---------+---------+---------+---------+----------
           neo.tests.zodb |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                  Summary |   630   |   618   |     3   |     9   | 304.69s   
--------------------------+---------+---------+---------+---------+----------



ERRORS:
neo.tests.storage.testStorageMySQLdb.StorageMySQSLdbTests.test_findUndoTID
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/master/neoppod/neo/tests/storage/testStorageDBTests.py", line 591, in test_findUndoTID
    db.unlockData((foo, bar))
  File "/home/neo/master/neoppod/neo/storage/database/manager.py", line 345, in unlockData
    count = refcount[data_id] - 1
KeyError: '33333333333333333333'
-------------------------------------------------------------

neo.tests.threaded.test.Test.testDeadlockAvoidance
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/master/neoppod/neo/tests/threaded/test.py", line 225, in testDeadlockAvoidance
    self.assertEqual(self._testDeadlockAvoidance([1, 3]),
  File "/home/neo/master/neoppod/neo/tests/threaded/test.py", line 199, in _testDeadlockAvoidance
    t.join()
  File "/home/neo/master/neoppod/neo/tests/threaded/__init__.py", line 734, in run
    apply(*self.__target)
  File "/home/neo/master/py2.6/eggs/transaction-1.2.0-py2.6.egg/transaction/_manager.py", line 89, in commit
    return self.get().commit()
  File "/home/neo/master/py2.6/eggs/transaction-1.2.0-py2.6.egg/transaction/_transaction.py", line 342, in commit
    reraise(t, v, tb)
  File "/home/neo/master/py2.6/eggs/transaction-1.2.0-py2.6.egg/transaction/_transaction.py", line 333, in commit
    self._commitResources()
  File "/home/neo/master/py2.6/eggs/transaction-1.2.0-py2.6.egg/transaction/_transaction.py", line 473, in _commitResources
    reraise(t, v, tb)
  File "/home/neo/master/py2.6/eggs/transaction-1.2.0-py2.6.egg/transaction/_transaction.py", line 450, in _commitResources
    rm.tpc_vote(self)
  File "/home/neo/master/py2.6/src/ZODB3/src/ZODB/Connection.py", line 777, in tpc_vote
    s = vote(transaction)
  File "/home/neo/master/neoppod/neo/client/Storage.py", line 34, in wrapped
    return func(self, *args, **kw)
  File "/home/neo/master/neoppod/neo/client/Storage.py", line 130, in tpc_vote
    tryToResolveConflict=self.tryToResolveConflict)
  File "/home/neo/master/neoppod/neo/client/app.py", line 700, in tpc_vote
    result = self.waitStoreResponses(txn_context, tryToResolveConflict)
  File "/home/neo/master/neoppod/neo/client/app.py", line 679, in waitStoreResponses
    tryToResolveConflict)
  File "/home/neo/master/neoppod/neo/client/app.py", line 649, in _handleConflicts
    serial), data=data)
ConflictError: database conflict error (oid 0x01, class neo.tests.threaded.test.PCounterWithResolution, serial this txn started with 0x0393e1e304531dbb 2012-01-19 19:47:01.013595, serial currently committed 0x03 1900-01-01 00:00:00.000000)
-------------------------------------------------------------

neo.tests.functional.testClient.ClientTests.testExportFileStorageBug
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/master/neoppod/neo/tests/functional/testClient.py", line 228, in testExportFileStorageBug
    self.testExport(True)
  File "/home/neo/master/neoppod/neo/tests/functional/testClient.py", line 224, in testExport
    self.__checkTree(root['trees'])
  File "/home/neo/master/neoppod/neo/tests/functional/testClient.py", line 165, in __checkTree
    self.__checkTree(tree.right, depth)
  File "/home/neo/master/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.storage.testStorageMySQLdb.StorageMySQSLdbTests.test_deleteObject
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/master/neoppod/neo/tests/storage/testStorageDBTests.py", line 400, in test_deleteObject
    (tid2, None, 1, "0" * 20, '', None))
  File "/home/neo/master/neoppod/neo/tests/__init__.py", line 144, in assertEqual
    return super(NeoTestBase, self).assertEqual(first, second, msg=msg)
AssertionError: ('\x03\x93\xe1\xe2\xe7\x80\xcf\x11', None, None, None, None, None) != ('\x03\x93\xe1\xe2\xe7\x80\xcf\x11', None, 1, '00000000000000000000', '', None)
-------------------------------------------------------------

neo.tests.storage.testStorageMySQLdb.StorageMySQSLdbTests.test_dropUnfinishedData
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/master/neoppod/neo/tests/storage/testStorageDBTests.py", line 283, in test_dropUnfinishedData
    self.assertEqual(result, (tid1, None, 1, "0"*20, '', None))
  File "/home/neo/master/neoppod/neo/tests/__init__.py", line 144, in assertEqual
    return super(NeoTestBase, self).assertEqual(first, second, msg=msg)
AssertionError: ('\x03\x93\xe1\xe2\xe7\xb3\x81\xaa', None, None, None, None, None) != ('\x03\x93\xe1\xe2\xe7\xb3\x81\xaa', None, 1, '00000000000000000000', '', None)
-------------------------------------------------------------

neo.tests.storage.testStorageMySQLdb.StorageMySQSLdbTests.test_getObject
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/master/neoppod/neo/tests/storage/testStorageDBTests.py", line 202, in test_getObject
    self.assertEqual(self.db.getObject(oid1), OBJECT_T1_NO_NEXT)
  File "/home/neo/master/neoppod/neo/tests/__init__.py", line 144, in assertEqual
    return super(NeoTestBase, self).assertEqual(first, second, msg=msg)
AssertionError: ('\x03\x93\xe1\xe2\xe7\xdf\x10\xdd', None, None, None, None, None) != ('\x03\x93\xe1\xe2\xe7\xdf\x10\xdd', None, 1, '00000000000000000000', '', None)
-------------------------------------------------------------

neo.tests.storage.testTransactions.TransactionManagerTests.testSimpleCase
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/master/neoppod/neo/tests/storage/testTransactions.py", line 142, in testSimpleCase
    ], txn)
  File "/home/neo/master/neoppod/neo/tests/storage/testTransactions.py", line 115, in _checkTransactionStored
    calls[0].checkArgs(*args)
  File "/home/neo/master/neoppod/mock.py", line 204, in checkArgs
    assert args == self.params, "%r != %r" % (args, self.params)
AssertionError: ('\x03\x93\xe1\xe2\xe9\x15\x0b\xbb', [('\x00\x00\x00\x00\x00\x00\x00\x01', '00000000000000000001', None), ('\x00\x00\x00\x00\x00\x00\x00\x02', '00000000000000000002', None)], (['\x00\x00\x00\x00\x00\x00\x00\x01', '\x00\x00\x00\x00\x00\x00\x00\x02'], 'USER', 'DESC', 'EXT', False)) != ('\x03\x93\xe1\xe2\xe9\x15\x0b\xbb', [('\x00\x00\x00\x00\x00\x00\x00\x01', None, None), ('\x00\x00\x00\x00\x00\x00\x00\x02', None, None)], (['\x00\x00\x00\x00\x00\x00\x00\x01', '\x00\x00\x00\x00\x00\x00\x00\x02'], 'USER', 'DESC', 'EXT', False))
-------------------------------------------------------------

neo.tests.storage.testTransactions.TransactionManagerTests.test_getObjectFromTransaction
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/master/neoppod/neo/tests/storage/testTransactions.py", line 346, in test_getObjectFromTransaction
    (obj1[0], obj1[2], obj1[4]))
  File "/home/neo/master/neoppod/neo/tests/__init__.py", line 144, in assertEqual
    return super(NeoTestBase, self).assertEqual(first, second, msg=msg)
AssertionError: ('\x00\x00\x00\x00\x00\x00\x00\x01', None, None) != ('\x00\x00\x00\x00\x00\x00\x00\x01', '00000000000000000001', None)
-------------------------------------------------------------

neo.tests.storage.testReplicationHandler.StorageReplicationHandlerTests.test_answerObject
-------------------------------------------------------------
Traceback (most recent call last):
  File "/home/neo/master/neoppod/neo/tests/storage/testReplicationHandler.py", line 279, in test_answerObject
    None, False)
  File "/home/neo/master/neoppod/mock.py", line 204, in checkArgs
    assert args == self.params, "%r != %r" % (args, self.params)
AssertionError: ('\x03\x93\xe1\xe2\xe9,|\xaa', [('\x00\x00\x00\x00\x00\x00\x00\x01', '00000000000000000000', None)], None, False) != ('\x03\x93\xe1\xe2\xe9,|\xaa', [('\x00\x00\x00\x00\x00\x00\x00\x01', None, None)], None, False)
-------------------------------------------------------------

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