[Neo-report] Neo : 450 Tests, 32 Errors, 9 Failures

gregory at nexedi.com gregory at nexedi.com
Wed Feb 17 16:53:39 CET 2010


                               NEO TESTS REPORT


    Date        : 2010-02-17
    Node        : blade9
    Processor   :  (64bit)
    System      : Linux (2.6.26-2-amd64)
    Directory   : /tmp/neo_IIZTLx
    Status      :  90.889%
        
              Test Module |   run   | success |  errors |  fails  |   time   
--------------------------+---------+---------+---------+---------+----------
                ClientApp |    27   |    27   |     .   |     .   |   1.12s   
           ConnectionPool |     1   |     1   |     .   |     .   |   0.00s   
            MasterHandler |    14   |    14   |     .   |     .   |   0.01s   
           StorageHandler |    11   |    11   |     .   |     .   |   0.00s   
--------------------------+---------+---------+---------+---------+----------
         neo.tests.client |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                   Client |     4   |     4   |     .   |     .   |  11.86s   
                  Cluster |     4   |     4   |     .   |     .   |  21.90s   
             ImportExport |     2   |     2   |     .   |     .   |   7.06s   
                   Master |     4   |     4   |     .   |     .   |  39.25s   
                  Storage |    13   |    13   |     .   |     .   |  72.98s   
--------------------------+---------+---------+---------+---------+----------
     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.67s   
    InitializationHandler |     4   |     4   |     .   |     .   |   0.16s   
            MasterHandler |    12   |    12   |     .   |     .   |   0.48s   
               StorageApp |     3   |     3   |     .   |     .   |   0.13s   
           StorageHandler |    13   |    13   |     .   |     .   |   0.48s   
           StorageMySQLdb |    35   |    35   |     .   |     .   |   1.09s   
             Transactions |    13   |    13   |     .   |     .   |   0.00s   
      VerificationHandler |    13   |    13   |     .   |     .   |   0.57s   
--------------------------+---------+---------+---------+---------+----------
        neo.tests.storage |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                Bootstrap |     2   |     2   |     .   |     .   |   0.11s   
               Connection |    16   |    16   |     .   |     .   |   0.02s   
               Dispatcher |     4   |     4   |     .   |     .   |   0.00s   
                    Event |     2   |     2   |     .   |     .   |   0.00s   
                  Handler |     1   |     .   |     .   |     1   |   0.00s   
                    Nodes |    13   |    13   |     .   |     .   |   0.00s   
                       PT |    10   |    10   |     .   |     .   |   0.00s   
                 Protocol |    54   |    54   |     .   |     .   |   0.00s   
--------------------------+---------+---------+---------+---------+----------
                neo.tests |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                    Basic |    15   |    12   |     2   |     1   |  45.15s   
                 Conflict |     5   |     5   |     .   |     .   |  15.57s   
                  History |     4   |     3   |     1   |     .   |  11.89s   
                 Iterator |     8   |     3   |     3   |     2   |  22.34s   
                       MT |     5   |     3   |     2   |     .   |  87.07s   
               Persistent |     1   |     .   |     1   |     .   |   2.62s   
                 ReadOnly |     2   |     .   |     2   |     .   |   5.26s   
                 Revision |     7   |     2   |     5   |     .   |  19.69s   
          Synchronization |    11   |     7   |     .   |     4   |  32.09s   
                     Undo |    18   |     1   |    16   |     1   |  48.45s   
                     ZODB |    16   |    16   |     .   |     .   |  50.50s   
--------------------------+---------+---------+---------+---------+----------
           neo.tests.zodb |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                  Summary |   450   |   409   |    32   |     9   | 498.76s   
--------------------------+---------+---------+---------+---------+----------





ERRORS:
neo/tests/zodb/testBasic.py BasicTests.checkGetSerial
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/BasicStorage.py", line 170, in checkGetSerial
    self.assertRaises(KeyError, self._storage.getSerial, oid)
  File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 102, in getSerial
    return self.app.getSerial(oid = oid)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 406, in getSerial
    return hist[1][0][0]
IndexError: list index out of range
-------------------------------------------------------------

neo/tests/zodb/testBasic.py BasicTests.checkTwoArgBegin
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/BasicStorage.py", line 182, in checkTwoArgBegin
    self._storage.tpc_begin(t, tid)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 59, in tpc_begin
    status=status)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 533, in tpc_begin
    raise NEOStorageError('tpc_begin failed')
NEOStorageError: tpc_begin failed
-------------------------------------------------------------

neo/tests/zodb/testHistory.py HistoryTests.checkSimpleHistory
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/HistoryStorage.py", line 28, in checkSimpleHistory
    self.assertRaises(KeyError,self._storage.history,oid)
  File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
TypeError: history() takes at least 3 arguments (2 given)
-------------------------------------------------------------

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 120, in iterator
    return self.app.iterator(start, stop)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 903, 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/testIterator.py IteratorTests.checkLoadEx
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/IteratorStorage.py", line 155, in checkLoadEx
    data, tid, ver = self._storage.loadEx(oid, "")
AttributeError: Storage instance has no attribute 'loadEx'
-------------------------------------------------------------

neo/tests/zodb/testMT.py MTTests.check2ZODBThreads
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/MTStorage.py", line 221, in check2ZODBThreads
    self._checkNThreads(2, ZODBClientThread, db, self)
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/MTStorage.py", line 215, in _checkNThreads
    t.join(60)
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/MTStorage.py", line 39, in run
    self.runtest()
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/MTStorage.py", line 64, in runtest
    d = self.get_thread_dict(root)
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/MTStorage.py", line 95, in get_thread_dict
    transaction.commit()
  File "/srv/zope-2.8.8/lib/python/transaction/_manager.py", line 84, in commit
    self.get().commit(sub)
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 381, in commit
    self._saveCommitishError() # This raises!
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 379, in commit
    self._commitResources()
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 424, in _commitResources
    rm.commit(self)
  File "/srv/zope-2.8.8/lib/python/ZODB/Connection.py", line 462, in commit
    self._commit(transaction)
  File "/srv/zope-2.8.8/lib/python/ZODB/Connection.py", line 503, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/srv/zope-2.8.8/lib/python/ZODB/Connection.py", line 526, in _store_objects
    s = self._storage.store(oid, serial, p, self._version, transaction)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 81, in store
    transaction = transaction)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 584, in store
    raise NEOStorageError('tpc_store failed')
NEOStorageError: tpc_store failed
-------------------------------------------------------------

neo/tests/zodb/testMT.py MTTests.check7ZODBThreads
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/MTStorage.py", line 226, in check7ZODBThreads
    self._checkNThreads(7, ZODBClientThread, db, self)
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/MTStorage.py", line 215, in _checkNThreads
    t.join(60)
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/MTStorage.py", line 39, in run
    self.runtest()
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/MTStorage.py", line 64, in runtest
    d = self.get_thread_dict(root)
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/MTStorage.py", line 95, in get_thread_dict
    transaction.commit()
  File "/srv/zope-2.8.8/lib/python/transaction/_manager.py", line 84, in commit
    self.get().commit(sub)
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 381, in commit
    self._saveCommitishError() # This raises!
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 379, in commit
    self._commitResources()
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 424, in _commitResources
    rm.commit(self)
  File "/srv/zope-2.8.8/lib/python/ZODB/Connection.py", line 462, in commit
    self._commit(transaction)
  File "/srv/zope-2.8.8/lib/python/ZODB/Connection.py", line 503, in _commit
    self._store_objects(ObjectWriter(obj), transaction)
  File "/srv/zope-2.8.8/lib/python/ZODB/Connection.py", line 526, in _store_objects
    s = self._storage.store(oid, serial, p, self._version, transaction)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 81, in store
    transaction = transaction)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 584, in store
    raise NEOStorageError('tpc_store failed')
NEOStorageError: tpc_store failed
-------------------------------------------------------------

neo/tests/zodb/testPersistent.py PersistentTests.checkUpdatesPersist
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/PersistentStorage.py", line 49, in checkUpdatesPersist
    self.open()
AttributeError: 'PersistentTests' object has no attribute 'open'
-------------------------------------------------------------

neo/tests/zodb/testReadOnly.py ReadOnlyTests.checkReadMethods
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/ReadOnlyStorage.py", line 34, in checkReadMethods
    self._make_readonly()
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/ReadOnlyStorage.py", line 29, in _make_readonly
    self.open(read_only=True)
AttributeError: 'ReadOnlyTests' object has no attribute 'open'
-------------------------------------------------------------

neo/tests/zodb/testReadOnly.py ReadOnlyTests.checkWriteMethods
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/ReadOnlyStorage.py", line 48, in checkWriteMethods
    self._make_readonly()
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/ReadOnlyStorage.py", line 29, in _make_readonly
    self.open(read_only=True)
AttributeError: 'ReadOnlyTests' object has no attribute 'open'
-------------------------------------------------------------

neo/tests/zodb/testRevision.py RevisionTests.checkLoadBefore
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/RevisionStorage.py", line 55, in checkLoadBefore
    revs.append(self._storage.loadEx(oid, ""))
AttributeError: Storage instance has no attribute 'loadEx'
-------------------------------------------------------------

neo/tests/zodb/testRevision.py RevisionTests.checkLoadBeforeConsecutiveTids
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/RevisionStorage.py", line 158, in checkLoadBeforeConsecutiveTids
    revid1 = helper(1, None, 1)
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/RevisionStorage.py", line 148, in helper
    self._storage.tpc_begin(t, p64(tid))
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 59, in tpc_begin
    status=status)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 533, in tpc_begin
    raise NEOStorageError('tpc_begin failed')
NEOStorageError: tpc_begin failed
-------------------------------------------------------------

neo/tests/zodb/testRevision.py RevisionTests.checkLoadBeforeCreation
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/RevisionStorage.py", line 172, in checkLoadBeforeCreation
    results = self._storage.loadBefore(oid2, revid2)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 117, in loadBefore
    raise POSException.POSKeyError (oid, tid)
POSKeyError: 0x02
-------------------------------------------------------------

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 80, in checkLoadBeforeEdges
    self.assertEqual(self._storage.loadBefore(oid, revid1), None)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 117, in loadBefore
    raise POSException.POSKeyError (oid, tid)
POSKeyError: 0x01
-------------------------------------------------------------

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 125, in checkLoadBeforeUndo
    self._undo(tid, [oid], note="undo %d" % i)
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/StorageTestBase.py", line 224, in _undo
    return self._storage.lastTransaction()
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 171, in lastTransaction
    raise NotImplementedError
NotImplementedError
-------------------------------------------------------------

neo/tests/zodb/testUndo.py UndoTests.checkCreationUndoneGetSerial
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 156, in checkCreationUndoneGetSerial
    self._storage.undo(tid, t)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 128, in undo
    txn = txn, wrapper = self)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 731, in undo
    raise UndoError("no previous record", oid)
UndoError: Undo error 0x01: no previous record
-------------------------------------------------------------

neo/tests/zodb/testUndo.py UndoTests.checkIndicesInUndoLog
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 786, in checkIndicesInUndoLog
    self._exercise_info_indices("undoLog")
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 744, in _exercise_info_indices
    allofem = info_func(0, 100000)
TypeError: undoLog() takes exactly 4 arguments (3 given)
-------------------------------------------------------------

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 128, in undo
    txn = txn, wrapper = self)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 754, in undo
    data = data)
ConflictError: database conflict error (oid 0x01, class ZODB.tests.MinPO.MinPO, serial this txn started with <neo.client.exception.NEOStorageConflictError instance at 0x7fc07652d950>, serial currently committed 0x03842b16cd1e5f22 2010-02-17 15:50:48.074681)
-------------------------------------------------------------

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 163, 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 592, in checkPackAfterUndoManyTimes
    txn.commit()
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 381, in commit
    self._saveCommitishError() # This raises!
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 379, in commit
    self._commitResources()
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 424, in _commitResources
    rm.commit(self)
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 552, in commit
    self.manager.commit(o, txn)
  File "/srv/zope-2.8.8/lib/python/ZODB/DB.py", line 794, in commit
    tid, oids = self._db._storage.undo(self._tid, t)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 128, in undo
    txn = txn, wrapper = self)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 731, in undo
    raise UndoError("no previous record", oid)
UndoError: Undo error 0x03: no previous record
-------------------------------------------------------------

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 122, in checkSimpleTransactionalUndo
    self._undo(info[0]["id"], [oid], note="undo1")
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/StorageTestBase.py", line 224, in _undo
    return self._storage.lastTransaction()
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 171, in lastTransaction
    raise NotImplementedError
NotImplementedError
-------------------------------------------------------------

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 470, in checkTransactionalUndoAfterPackWithObjectUnlinkFromRoot
    root['obj'] = o1
  File "/srv/zope-2.8.8/lib/python/persistent/mapping.py", line 53, in __setitem__
    self._p_changed = 1
  File "/srv/zope-2.8.8/lib/python/ZODB/Connection.py", line 834, in register
    self._register(obj)
  File "/srv/zope-2.8.8/lib/python/ZODB/Connection.py", line 844, in _register
    self.transaction_manager.get().join(self)
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 258, in join
    self._prior_operation_failed() # doesn't return
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 252, in _prior_operation_failed
    raise TransactionFailedError("An operation previously failed, "
TransactionFailedError: An operation previously failed, with traceback:

  File "/srv/neo/repository//trunk/tools/runner", line 362, in ?
    runner.run('ZODB tests', ZODB_TEST_MODULES)
  File "/srv/neo/repository//trunk/tools/runner", line 138, in run
    suite.run(self)
  File "/usr/lib/python2.4/unittest.py", line 424, in run
    test(result)
  File "/usr/lib/python2.4/unittest.py", line 428, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python2.4/unittest.py", line 424, in run
    test(result)
  File "/usr/lib/python2.4/unittest.py", line 281, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 592, in checkPackAfterUndoManyTimes
    txn.commit()
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 381, in commit
    self._saveCommitishError() # This raises!
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 379, in commit
    self._commitResources()
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 424, in _commitResources
    rm.commit(self)
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 552, in commit
    self.manager.commit(o, txn)
  File "/srv/zope-2.8.8/lib/python/ZODB/DB.py", line 794, in commit
    tid, oids = self._db._storage.undo(self._tid, t)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 128, in undo
    txn = txn, wrapper = self)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 731, in undo
    raise UndoError("no previous record", oid)
UndoError: Undo error 0x03: no previous record

-------------------------------------------------------------

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 634, in checkTransactionalUndoIterator
    s.tpc_begin(t, tid)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 59, in tpc_begin
    status=status)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 533, in tpc_begin
    raise NEOStorageError('tpc_begin failed')
NEOStorageError: tpc_begin failed
-------------------------------------------------------------

neo/tests/zodb/testUndo.py UndoTests.checkTwoObjectUndo
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 239, in checkTwoObjectUndo
    self._undo(info[0]['id'], [oid1, oid2])
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/StorageTestBase.py", line 224, in _undo
    return self._storage.lastTransaction()
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 171, in lastTransaction
    raise NotImplementedError
NotImplementedError
-------------------------------------------------------------

neo/tests/zodb/testUndo.py UndoTests.checkTwoObjectUndoAgain
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 333, in checkTwoObjectUndoAgain
    self._undo(info[0]["id"], [oid1, oid2])
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/StorageTestBase.py", line 224, in _undo
    return self._storage.lastTransaction()
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 171, in lastTransaction
    raise NotImplementedError
NotImplementedError
-------------------------------------------------------------

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 128, in undo
    txn = txn, wrapper = self)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 754, in undo
    data = data)
ConflictError: database conflict error (oid 0x01, class ZODB.tests.MinPO.MinPO, serial this txn started with <neo.client.exception.NEOStorageConflictError instance at 0x7fc076610f38>, serial currently committed 0x03842b1746adcb33 2010-02-17 15:51:16.565363)
-------------------------------------------------------------

neo/tests/zodb/testUndo.py UndoTests.checkUndoConflictResolution
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/ConflictResolution.py", line 160, in checkUndoConflictResolution
    self._storage.undo(tid, t)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 128, in undo
    txn = txn, wrapper = self)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 754, in undo
    data = data)
ConflictError: database conflict error (oid 0x01, class ZODB.tests.ConflictResolution.PCounter, serial this txn started with <neo.client.exception.NEOStorageConflictError instance at 0x7fc076602368>, serial currently committed 0x03842b17540c7aaa 2010-02-17 15:51:19.698925)
-------------------------------------------------------------

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 170, in checkUndoCreationBranch1
    self._undo(info[0]['id'], [oid])
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/StorageTestBase.py", line 224, in _undo
    return self._storage.lastTransaction()
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 171, in lastTransaction
    raise NotImplementedError
NotImplementedError
-------------------------------------------------------------

neo/tests/zodb/testUndo.py UndoTests.checkUndoCreationBranch2
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 188, in checkUndoCreationBranch2
    self._undo(info[0]['id'], [oid])
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/StorageTestBase.py", line 224, in _undo
    return self._storage.lastTransaction()
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 171, in lastTransaction
    raise NotImplementedError
NotImplementedError
-------------------------------------------------------------

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 718, in checkUndoLogMetadata
    root['obj'] = o1
  File "/srv/zope-2.8.8/lib/python/persistent/mapping.py", line 53, in __setitem__
    self._p_changed = 1
  File "/srv/zope-2.8.8/lib/python/ZODB/Connection.py", line 834, in register
    self._register(obj)
  File "/srv/zope-2.8.8/lib/python/ZODB/Connection.py", line 844, in _register
    self.transaction_manager.get().join(self)
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 258, in join
    self._prior_operation_failed() # doesn't return
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 252, in _prior_operation_failed
    raise TransactionFailedError("An operation previously failed, "
TransactionFailedError: An operation previously failed, with traceback:

  File "/srv/neo/repository//trunk/tools/runner", line 362, in ?
    runner.run('ZODB tests', ZODB_TEST_MODULES)
  File "/srv/neo/repository//trunk/tools/runner", line 138, in run
    suite.run(self)
  File "/usr/lib/python2.4/unittest.py", line 424, in run
    test(result)
  File "/usr/lib/python2.4/unittest.py", line 428, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python2.4/unittest.py", line 424, in run
    test(result)
  File "/usr/lib/python2.4/unittest.py", line 281, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 592, in checkPackAfterUndoManyTimes
    txn.commit()
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 381, in commit
    self._saveCommitishError() # This raises!
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 379, in commit
    self._commitResources()
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 424, in _commitResources
    rm.commit(self)
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 552, in commit
    self.manager.commit(o, txn)
  File "/srv/zope-2.8.8/lib/python/ZODB/DB.py", line 794, in commit
    tid, oids = self._db._storage.undo(self._tid, t)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 128, in undo
    txn = txn, wrapper = self)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 731, in undo
    raise UndoError("no previous record", oid)
UndoError: Undo error 0x03: no previous record

-------------------------------------------------------------

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 128, in undo
    txn = txn, wrapper = self)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 754, in undo
    data = data)
ConflictError: database conflict error (oid 0x01, class ZODB.tests.ConflictResolution.PCounter2, serial this txn started with <neo.client.exception.NEOStorageConflictError instance at 0x7fc07669b488>, serial currently committed 0x03842b17895056ee 2010-02-17 15:51:32.182928)
-------------------------------------------------------------


FAILURES:
neo/tests/testHandler.py HandlerTests.test_dispatch
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/testHandler.py", line 61, 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/testBasic.py BasicTests.checkBasics
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/BasicStorage.py", line 55, in checkBasics
    assert 0, "Should have failed, invalid transaction."
AssertionError: Should have failed, invalid transaction.
-------------------------------------------------------------

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\x84+\x13\xdej\xe7\xdd' != '\x03\x84+\x13\xdes\xb6\xaa'
-------------------------------------------------------------

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 125, in checkTransactionExtensionFromIterator
    self.assertEqual(txn._extension, {})
AssertionError: None != {}
-------------------------------------------------------------

neo/tests/zodb/testSynchronization.py SynchronizationTests.checkAbortVersionNotCommitting
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/Synchronization.py", line 89, in checkAbortVersionNotCommitting
    VERSION, Transaction())
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/Synchronization.py", line 79, in verifyNotCommitting
    self.assertRaises(StorageTransactionError, callable, *args)
AssertionError: StorageTransactionError not raised
-------------------------------------------------------------

neo/tests/zodb/testSynchronization.py SynchronizationTests.checkAbortVersionWrongTrans
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/Synchronization.py", line 93, in checkAbortVersionWrongTrans
    VERSION, Transaction())
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/Synchronization.py", line 84, in verifyWrongTrans
    self.assertRaises(StorageTransactionError, callable, *args)
AssertionError: StorageTransactionError not raised
-------------------------------------------------------------

neo/tests/zodb/testSynchronization.py SynchronizationTests.checkCommitVersionNotCommitting
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/Synchronization.py", line 97, in checkCommitVersionNotCommitting
    VERSION, "", Transaction())
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/Synchronization.py", line 79, in verifyNotCommitting
    self.assertRaises(StorageTransactionError, callable, *args)
AssertionError: StorageTransactionError not raised
-------------------------------------------------------------

neo/tests/zodb/testSynchronization.py SynchronizationTests.checkCommitVersionWrongTrans
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/Synchronization.py", line 101, in checkCommitVersionWrongTrans
    VERSION, "", Transaction())
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/Synchronization.py", line 84, in verifyWrongTrans
    self.assertRaises(StorageTransactionError, callable, *args)
AssertionError: StorageTransactionError 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