[Neo-report] Neo : 472 Tests, 14 Errors, 5 Failures

gregory at nexedi.com gregory at nexedi.com
Sun Feb 28 19:08:26 CET 2010


                               NEO TESTS REPORT


    Date        : 2010-02-28
    Node        : blade9
    Processor   :  (64bit)
    System      : Linux (2.6.26-2-amd64)
    Directory   : /tmp/neo_XNRCVc
    Status      :  95.975%
        
              Test Module |   run   | success |  errors |  fails  |   time   
--------------------------+---------+---------+---------+---------+----------
                ClientApp |    27   |    27   |     .   |     .   |   1.11s   
           ConnectionPool |     1   |     1   |     .   |     .   |   0.00s   
            MasterHandler |    14   |    14   |     .   |     .   |   0.01s   
           StorageHandler |    11   |    11   |     .   |     .   |   0.00s   
--------------------------+---------+---------+---------+---------+----------
         neo.tests.client |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                   Client |     4   |     4   |     .   |     .   |   5.74s   
                  Cluster |     4   |     4   |     .   |     .   |  17.66s   
             ImportExport |     2   |     1   |     1   |     .   |   5.25s   
                   Master |     4   |     4   |     .   |     .   |  39.79s   
                  Storage |    13   |    13   |     .   |     .   |  73.65s   
--------------------------+---------+---------+---------+---------+----------
     neo.tests.functional |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
            ClientHandler |     7   |     7   |     .   |     .   |   0.01s   
          ElectionHandler |    25   |    25   |     .   |     .   |   0.03s   
                MasterApp |     2   |     2   |     .   |     .   |   0.00s   
                 MasterPT |     7   |     7   |     .   |     .   |   0.01s   
                 Recovery |     5   |     5   |     .   |     .   |   0.01s   
           StorageHandler |     7   |     7   |     .   |     .   |   0.16s   
             Transactions |     4   |     4   |     .   |     .   |   0.00s   
             Verification |     9   |     9   |     .   |     .   |   0.01s   
--------------------------+---------+---------+---------+---------+----------
         neo.tests.master |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
            ClientHandler |    17   |    17   |     .   |     .   |   0.70s   
    InitializationHandler |     4   |     4   |     .   |     .   |   0.18s   
            MasterHandler |    12   |    12   |     .   |     .   |   0.46s   
               StorageApp |     3   |     3   |     .   |     .   |   0.12s   
           StorageHandler |    13   |    13   |     .   |     .   |   0.51s   
           StorageMySQLdb |    35   |    35   |     .   |     .   |   1.08s   
             Transactions |    13   |    13   |     .   |     .   |   0.00s   
      VerificationHandler |    13   |    13   |     .   |     .   |   0.55s   
--------------------------+---------+---------+---------+---------+----------
        neo.tests.storage |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                Bootstrap |     2   |     2   |     .   |     .   |   0.13s   
               Connection |    37   |    37   |     .   |     .   |   0.02s   
               Dispatcher |     4   |     4   |     .   |     .   |   0.00s   
                    Event |     2   |     2   |     .   |     .   |   0.00s   
                  Handler |     1   |     .   |     .   |     1   |   0.00s   
                    Nodes |    14   |    14   |     .   |     .   |   0.00s   
                       PT |    10   |    10   |     .   |     .   |   0.00s   
                 Protocol |    54   |    54   |     .   |     .   |   0.00s   
--------------------------+---------+---------+---------+---------+----------
                neo.tests |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                    Basic |    15   |    15   |     .   |     .   |  45.17s   
                 Conflict |     5   |     5   |     .   |     .   |  12.46s   
                  History |     4   |     4   |     .   |     .   |  12.41s   
                 Iterator |     8   |     4   |     2   |     2   |  22.87s   
                       MT |     5   |     5   |     .   |     .   |  16.95s   
               Persistent |     1   |     1   |     .   |     .   |   3.14s   
                 ReadOnly |     2   |     2   |     .   |     .   |   4.73s   
                 Revision |     7   |     5   |     1   |     1   |  20.69s   
          Synchronization |    11   |    11   |     .   |     .   |  29.42s   
                     Undo |    18   |     7   |    10   |     1   |  49.26s   
                     ZODB |    16   |    16   |     .   |     .   |  39.52s   
--------------------------+---------+---------+---------+---------+----------
           neo.tests.zodb |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                  Summary |   472   |   453   |    14   |     5   | 403.82s   
--------------------------+---------+---------+---------+---------+----------





ERRORS:
neo/tests/functional/testImportExport.py ImportExportTests.testImport
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testImportExport.py", line 91, in testImport
    neo_storage.copyTransactionsFrom(dfs_storage, verbose=0)
  File "/srv/zope-2.8.8/lib/python/ZODB/BaseStorage.py", line 433, in copyTransactionsFrom
    self.tpc_vote(transaction)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 27, in wrapped
    return func(self, *args, **kw)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 60, in tpc_vote
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 665, in tpc_vote
    result = self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 639, in waitStoreResponses
    conflicts = _handleConflicts(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 618, in _handleConflicts
    serials=(tid, serial), data=data)
ConflictError: database conflict error (oid 0x00, class persistent.mapping.PersistentMapping, serial this txn started with None, serial currently committed 0x0384697a74bdcf99 2010-02-28 18:02:27.361277)
-------------------------------------------------------------

neo/tests/zodb/testIterator.py IteratorTests.checkClose
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/IteratorStorage.py", line 60, in checkClose
    self.assertRaises(IOError, txniter.__getitem__, 0)
AttributeError: 'Iterator' object has no attribute '__getitem__'
-------------------------------------------------------------

neo/tests/zodb/testIterator.py IteratorTests.checkExtendedIteration
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/IteratorStorage.py", line 178, in checkExtendedIteration
    txniter = self._storage.iterator(revid1, revid4)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 94, in iterator
    return self.app.iterator(start, stop)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 984, in iterator
    return Iterator(self, start, stop)
  File "/srv/neo/repository/trunk/neo/client/iterator.py", line 79, in __init__
    raise NotImplementedError('partial scan not implemented yet')
NotImplementedError: partial scan not implemented yet
-------------------------------------------------------------

neo/tests/zodb/testRevision.py RevisionTests.checkLoadBeforeUndo
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/RevisionStorage.py", line 131, in checkLoadBeforeUndo
    self.assertEqual(data, t[0])
TypeError: unsubscriptable object
-------------------------------------------------------------

neo/tests/zodb/testUndo.py UndoTests.checkNotUndoable
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 386, in checkNotUndoable
    tid, t)
  File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 27, in wrapped
    return func(self, *args, **kw)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 100, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 828, in undo
    self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 639, in waitStoreResponses
    conflicts = _handleConflicts(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 618, in _handleConflicts
    serials=(tid, serial), data=data)
ConflictError: database conflict error (oid 0x01, class ZODB.tests.MinPO.MinPO, serial this txn started with 0x0384697d879e3e88 2010-02-28 18:05:31.785502, serial currently committed 0x0384697d87b21e44 2010-02-28 18:05:31.803697)
-------------------------------------------------------------

neo/tests/zodb/testUndo.py UndoTests.checkPackAfterUndoDeletion
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 561, in checkPackAfterUndoDeletion
    self._storage.pack(t, referencesf)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 143, in pack
    raise NotImplementedError
NotImplementedError
-------------------------------------------------------------

neo/tests/zodb/testUndo.py UndoTests.checkPackAfterUndoManyTimes
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 603, in checkPackAfterUndoManyTimes
    self._storage.pack(t, referencesf)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 143, in pack
    raise NotImplementedError
NotImplementedError
-------------------------------------------------------------

neo/tests/zodb/testUndo.py UndoTests.checkSimpleTransactionalUndo
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 128, in checkSimpleTransactionalUndo
    self._undo(info[2]["id"], [oid], note="undo2")
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/StorageTestBase.py", line 217, in _undo
    tid, oids = self._storage.undo(tid, t)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 27, in wrapped
    return func(self, *args, **kw)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 100, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 828, in undo
    self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 639, in waitStoreResponses
    conflicts = _handleConflicts(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 618, in _handleConflicts
    serials=(tid, serial), data=data)
ConflictError: database conflict error (oid 0x01, class ZODB.tests.MinPO.MinPO, serial this txn started with 0x0384697db361b1cc 2010-02-28 18:05:42.042567, serial currently committed 0x0384697db3840833 2010-02-28 18:05:42.074004)
-------------------------------------------------------------

neo/tests/zodb/testUndo.py UndoTests.checkTransactionalUndoAfterPackWithObjectUnlinkFromRoot
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 496, in checkTransactionalUndoAfterPackWithObjectUnlinkFromRoot
    self._storage.pack(packtime, referencesf)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 143, in pack
    raise NotImplementedError
NotImplementedError
-------------------------------------------------------------

neo/tests/zodb/testUndo.py UndoTests.checkTransactionalUndoIterator
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 646, in checkTransactionalUndoIterator
    description="update %s" % i)
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/StorageTestBase.py", line 197, in _dostore
    r2 = self._storage.tpc_vote(t)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 27, in wrapped
    return func(self, *args, **kw)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 60, in tpc_vote
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 665, in tpc_vote
    result = self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 639, in waitStoreResponses
    conflicts = _handleConflicts(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 618, in _handleConflicts
    serials=(tid, serial), data=data)
ConflictError: database conflict error (oid 0x01, class ZODB.tests.MinPO.MinPO, serial this txn started with 0x00 1900-01-01 00:00:00.000000, serial currently committed 0x0384697ddbf9bf77 2010-02-28 18:05:51.556776)
-------------------------------------------------------------

neo/tests/zodb/testUndo.py UndoTests.checkTwoObjectUndoAtOnce
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 286, in checkTwoObjectUndoAtOnce
    tid, oids1 = self._storage.undo(tid1, t)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 27, in wrapped
    return func(self, *args, **kw)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 100, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 828, in undo
    self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 639, in waitStoreResponses
    conflicts = _handleConflicts(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 618, in _handleConflicts
    serials=(tid, serial), data=data)
ConflictError: database conflict error (oid 0x01, class ZODB.tests.MinPO.MinPO, serial this txn started with 0x0384697dfdc96422 2010-02-28 18:05:59.481254, serial currently committed 0x0384697dfdde0500 2010-02-28 18:05:59.500140)
-------------------------------------------------------------

neo/tests/zodb/testUndo.py UndoTests.checkUndoCreationBranch1
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 177, in checkUndoCreationBranch1
    self._undo(info[2]['id'], [oid])
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/StorageTestBase.py", line 217, in _undo
    tid, oids = self._storage.undo(tid, t)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 27, in wrapped
    return func(self, *args, **kw)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 100, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 828, in undo
    self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 639, in waitStoreResponses
    conflicts = _handleConflicts(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 618, in _handleConflicts
    serials=(tid, serial), data=data)
ConflictError: database conflict error (oid 0x01, class ., serial this txn started with 0x0384697e1892ee88 2010-02-28 18:06:05.759520, serial currently committed 0x0384697e18b36fbb 2010-02-28 18:06:05.789279)
-------------------------------------------------------------

neo/tests/zodb/testUndo.py UndoTests.checkUndoLogMetadata
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 725, in checkUndoLogMetadata
    self.assertEqual(d['k2'],'this is transaction metadata')
KeyError: 'k2'
-------------------------------------------------------------

neo/tests/zodb/testUndo.py UndoTests.checkUndoUnresolvable
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/ConflictResolution.py", line 182, in checkUndoUnresolvable
    tid, t)
  File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 27, in wrapped
    return func(self, *args, **kw)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 100, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 828, in undo
    self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 639, in waitStoreResponses
    conflicts = _handleConflicts(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 618, in _handleConflicts
    serials=(tid, serial), data=data)
ConflictError: database conflict error (oid 0x01, class ZODB.tests.ConflictResolution.PCounter2, serial this txn started with 0x0384697e40b64b33 2010-02-28 18:06:15.166895, serial currently committed 0x0384697e40ca15ee 2010-02-28 18:06:15.185015)
-------------------------------------------------------------


FAILURES:
neo/tests/testHandler.py HandlerTests.test_dispatch
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/testHandler.py", line 63, in test_dispatch
    self.checkErrorPacket(conn)
  File "/srv/neo/repository/trunk/neo/tests/__init__.py", line 211, in checkErrorPacket
    self.assertEquals(len(calls), 1)
AssertionError: 0 != 1
-------------------------------------------------------------

neo/tests/zodb/testIterator.py IteratorTests.checkSimpleIteration
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/IteratorStorage.py", line 53, in checkSimpleIteration
    self.iter_verify(txniter, [revid1, revid2, revid3], 11)
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/IteratorStorage.py", line 33, in iter_verify
    eq(reciter.tid, revid)
AssertionError: '\x03\x84i{\xebEef' != '\x03\x84i{\xebM\x0f\xcc'
-------------------------------------------------------------

neo/tests/zodb/testIterator.py IteratorTests.checkTransactionExtensionFromIterator
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/IteratorStorage.py", line 127, in checkTransactionExtensionFromIterator
    self.assertEqual(count, 1)
AssertionError: 2 != 1
-------------------------------------------------------------

neo/tests/zodb/testRevision.py RevisionTests.checkLoadBeforeEdges
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/RevisionStorage.py", line 75, in checkLoadBeforeEdges
    oid, p64(0))
AssertionError: KeyError not raised
-------------------------------------------------------------

neo/tests/zodb/testUndo.py UndoTests.checkTransactionalUndoAfterPack
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 440, in checkTransactionalUndoAfterPack
    eq(len(info), 3)
AssertionError: 4 != 3
-------------------------------------------------------------



More information about the Neo-report mailing list