[Neo-report] Neo : 450 Tests, 30 Errors, 12 Failures

gregory at nexedi.com gregory at nexedi.com
Fri Feb 19 09:59:50 CET 2010


                               NEO TESTS REPORT


    Date        : 2010-02-19
    Node        : blade9
    Processor   :  (64bit)
    System      : Linux (2.6.26-2-amd64)
    Directory   : /tmp/neo_Fuk94H
    Status      :  90.667%
        
              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   |     .   |     .   |  10.30s   
                  Cluster |     4   |     4   |     .   |     .   |  16.74s   
             ImportExport |     2   |     1   |     1   |     .   |   5.20s   
                   Master |     4   |     4   |     .   |     .   |  41.34s   
                  Storage |    13   |    12   |     .   |     1   |  70.59s   
--------------------------+---------+---------+---------+---------+----------
     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.00s   
           StorageHandler |     7   |     7   |     .   |     .   |   0.15s   
             Transactions |     4   |     4   |     .   |     .   |   0.00s   
             Verification |     9   |     9   |     .   |     .   |   0.01s   
--------------------------+---------+---------+---------+---------+----------
         neo.tests.master |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
            ClientHandler |    17   |    17   |     .   |     .   |   0.68s   
    InitializationHandler |     4   |     4   |     .   |     .   |   0.18s   
            MasterHandler |    12   |    12   |     .   |     .   |   0.48s   
               StorageApp |     3   |     3   |     .   |     .   |   0.12s   
           StorageHandler |    13   |    13   |     .   |     .   |   0.49s   
           StorageMySQLdb |    35   |    34   |     .   |     1   |   1.04s   
             Transactions |    13   |    13   |     .   |     .   |   0.00s   
      VerificationHandler |    13   |    13   |     .   |     .   |   0.52s   
--------------------------+---------+---------+---------+---------+----------
        neo.tests.storage |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                Bootstrap |     2   |     2   |     .   |     .   |   0.38s   
               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   |  40.49s   
                 Conflict |     5   |     5   |     .   |     .   |  12.46s   
                  History |     4   |     4   |     .   |     .   |  12.43s   
                 Iterator |     8   |     2   |     4   |     2   |  18.79s   
                       MT |     5   |     2   |     3   |     .   |  84.94s   
               Persistent |     1   |     1   |     .   |     .   |   3.14s   
                 ReadOnly |     2   |     2   |     .   |     .   |   6.27s   
                 Revision |     7   |     2   |     5   |     .   |  16.62s   
          Synchronization |    11   |     7   |     .   |     4   |  25.92s   
                     Undo |    18   |     1   |    15   |     2   |  42.28s   
                     ZODB |    16   |    16   |     .   |     .   |  42.59s   
--------------------------+---------+---------+---------+---------+----------
           neo.tests.zodb |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                  Summary |   450   |   408   |    30   |    12   | 455.33s   
--------------------------+---------+---------+---------+---------+----------





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 56, in tpc_vote
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 649, in tpc_vote
    result = self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 624, in waitStoreResponses
    conflicts = _handleConflicts(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 605, 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 0x038434b50d399933 2010-02-19 08:53:03.099608)
-------------------------------------------------------------

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 75, in getSerial
    return self.app.getSerial(oid = oid)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 408, 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 50, in tpc_begin
    status=status)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 535, in tpc_begin
    raise NEOStorageError('tpc_begin failed')
NEOStorageError: tpc_begin failed
-------------------------------------------------------------

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 93, in iterator
    return self.app.iterator(start, stop)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 954, 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/testIterator.py IteratorTests.checkUndoZombieNonVersion
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/IteratorStorage.py", line 103, in checkUndoZombieNonVersion
    oids = self._storage.undo(tid, t)
  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 787, in undo
    raise UndoError("no previous record", oid)
UndoError: Undo error 0x01: no previous record
-------------------------------------------------------------

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 427, in _commitResources
    rm.tpc_vote(self)
  File "/srv/zope-2.8.8/lib/python/ZODB/Connection.py", line 637, in tpc_vote
    s = vote(transaction)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 56, in tpc_vote
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 649, in tpc_vote
    result = self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 623, in waitStoreResponses
    _waitAnyMessage()
  File "/srv/neo/repository/trunk/neo/client/app.py", line 200, in _waitAnyMessage
    _handlePacket(conn, packet)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 182, in _handlePacket
    handler.dispatch(conn, packet)
  File "/srv/neo/repository/trunk/neo/handler.py", line 58, in dispatch
    method = self.packet_dispatch_table[packet.getType()]
AttributeError: 'NoneType' object has no attribute 'getType'
-------------------------------------------------------------

neo/tests/zodb/testMT.py MTTests.check4ExtStorageThread
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/MTStorage.py", line 236, in check4ExtStorageThread
    self._checkNThreads(4, ExtStorageClientThread, self._storage, 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 175, in runtest
    meth()
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/MTStorage.py", line 195, in do_undoLog
    self.storage.undoLog(0, -20)
TypeError: undoLog() takes exactly 4 arguments (3 given)
-------------------------------------------------------------

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 427, in _commitResources
    rm.tpc_vote(self)
  File "/srv/zope-2.8.8/lib/python/ZODB/Connection.py", line 637, in tpc_vote
    s = vote(transaction)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 56, in tpc_vote
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 649, in tpc_vote
    result = self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 623, in waitStoreResponses
    _waitAnyMessage()
  File "/srv/neo/repository/trunk/neo/client/app.py", line 200, in _waitAnyMessage
    _handlePacket(conn, packet)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 182, in _handlePacket
    handler.dispatch(conn, packet)
  File "/srv/neo/repository/trunk/neo/handler.py", line 58, in dispatch
    method = self.packet_dispatch_table[packet.getType()]
AttributeError: 'NoneType' object has no attribute 'getType'
-------------------------------------------------------------

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 50, in tpc_begin
    status=status)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 535, 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 90, 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 90, 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 144, 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 100, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 787, 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 100, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 800, in undo
    self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 624, in waitStoreResponses
    conflicts = _handleConflicts(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 605, in _handleConflicts
    serials=(tid, serial), data=data)
ConflictError: database conflict error (oid 0x01, class ZODB.tests.MinPO.MinPO, serial this txn started with 0x038434b9231b4b66 2010-02-19 08:57:08.228114, serial currently committed 0x038434b92330b177 2010-02-19 08:57:08.247705)
-------------------------------------------------------------

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 136, 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 100, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 787, 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 144, 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 100, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 787, 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 50, in tpc_begin
    status=status)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 535, 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 144, 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 144, 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 100, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 800, in undo
    self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 624, in waitStoreResponses
    conflicts = _handleConflicts(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 605, in _handleConflicts
    serials=(tid, serial), data=data)
ConflictError: database conflict error (oid 0x01, class ZODB.tests.MinPO.MinPO, serial this txn started with 0x038434b98906cc11 2010-02-19 08:57:32.115598, serial currently committed 0x038434b9891db7ee 2010-02-19 08:57:32.136583)
-------------------------------------------------------------

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 144, 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 144, 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 100, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 787, 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 100, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 800, in undo
    self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 624, in waitStoreResponses
    conflicts = _handleConflicts(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 605, in _handleConflicts
    serials=(tid, serial), data=data)
ConflictError: database conflict error (oid 0x01, class ZODB.tests.ConflictResolution.PCounter2, serial this txn started with 0x038434b9cbb5a688 2010-02-19 08:57:47.744431, serial currently committed 0x038434b9cbc9fe77 2010-02-19 08:57:47.763056)
-------------------------------------------------------------


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/storage/testStorageMySQLdb.py StorageMySQSLdbTests.test_28_getTIDList
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/storage/testStorageMySQLdb.py", line 623, in test_28_getTIDList
    self.assertEquals(result, [tid4, tid3, tid2, tid1])
AssertionError: ['\x00\x00\x00\x00\x00\x00\x00\x00', '\x00\x00\x00\x00\x00\x00\x00\x01', '\x00\x00\x00\x00\x00\x00\x00\x02', '\x00\x00\x00\x00\x00\x00\x00\x03'] != ['\x00\x00\x00\x00\x00\x00\x00\x03', '\x00\x00\x00\x00\x00\x00\x00\x02', '\x00\x00\x00\x00\x00\x00\x00\x01', '\x00\x00\x00\x00\x00\x00\x00\x00']
-------------------------------------------------------------

neo/tests/functional/testStorage.py StorageTests.testSequentialStorageKill
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testStorage.py", line 245, in testSequentialStorageKill
    self.neo.expectOudatedCells(number=0)
  File "/srv/neo/repository/trunk/neo/tests/functional/__init__.py", line 443, in expectOudatedCells
    self.expectCondition(callback, timeout, delay)
  File "/srv/neo/repository/trunk/neo/tests/functional/__init__.py", line 397, in expectCondition
    raise AssertionError, 'Timeout while expecting condition. ' \
AssertionError: Timeout while expecting condition. History: [20, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10]
-------------------------------------------------------------

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\x844\xb6o\xfe\xa3U' != '\x03\x844\xb6p\x087\x00'
-------------------------------------------------------------

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/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.checkIndicesInUndoInfo
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 783, in checkIndicesInUndoInfo
    self._exercise_info_indices("undoInfo")
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/TransactionalUndoStorage.py", line 755, in _exercise_info_indices
    self.assertEqual(default, allofem[:20])
AssertionError: [{'id': '\x03\x844\xb9\x07{`\xcc', 'user_name': '', 'description': '', 'time': 1266569821.753581}, {'id': '\x03\x844\xb9\x07t\xe3\x88', 'user_name': '', 'description': '', 'time': 1266569821.7476397}, {'id': '\x03\x844\xb9\x07nP\x88', 'user_name': '', 'description': '', 'time': 1266569821.741621}, {'id': '\x03\x844\xb9\x07f\x8a\xbb', 'user_name': '', 'description': '', 'time': 1266569821.7345047}, {'id': '\x03\x844\xb9\x07_d\x11', 'user_name': '', 'description': '', 'time': 1266569821.7279577}, {'id': '\x03\x844\xb9\x07X}\xbb', 'user_name': '', 'description': '', 'time': 1266569821.7216411}, {'id': '\x03\x844\xb9\x07R>\x00', 'user_name': '', 'description': '', 'time': 1266569821.71592}, {'id': '\x03\x844\xb9\x07K\xf7\x99', 'user_name': '', 'description': '', 'time': 1266569821.710175}, {'id': '\x03\x844\xb9\x07E\xb1w', 'user_name': '', 'description': '', 'time': 1266569821.7044311}, {'id': '\x03\x844\xb9\x07?\x9a\x99', 'user_name': '', 'description': '', 'time': 1266569821.6988559}, {'id': '\x03\x844\xb9\x078\xe4\xdd', 'user_name': '', 'description': '', 'time': 1266569821.6927128}, {'id': '\x03\x844\xb9\x072e"', 'user_name': '', 'description': '', 'time': 1266569821.6867628}, {'id': '\x03\x844\xb9\x07*\xb9\xee', 'user_name': '', 'description': '', 'time': 1266569821.6797419}, {'id': '\x03\x844\xb9\x07$\x16f', 'user_name': '', 'description': '', 'time': 1266569821.6736641}, {'id': '\x03\x844\xb9\x07\x1b\xff3', 'user_name': '', 'description': '', 'time': 1266569821.6662569}, {'id': '\x03\x844\xb9\x07\x15\x0fU', 'user_name': '', 'description': '', 'time': 1266569821.6599059}, {'id': '\x03\x844\xb9\x07\r#\xcc', 'user_name': '', 'description': '', 'time': 1266569821.6526546}, {'id': '\x03\x844\xb9\x07\x06Y"', 'user_name': '', 'description': '', 'time': 1266569821.6464367}, {'id': '\x03\x844\xb9\x06\xff\n3', 'user_name': '', 'description': '', 'time': 1266569821.6397457}, {'id': '\x03\x844\xb9\x06\xf7\xc0\x00', 'user_name': '', 'description': 'initial database creation', 'time': 1266569821.6330719}] != [{'id': '\x03\x844\xb9\x07\xa7o\x00', 'user_name': '', 'description': '', 'time': 1266569821.7939148}, {'id': '\x03\x844\xb9\x07\xa1\x80\xee', 'user_name': '', 'description': '', 'time': 1266569821.788486}, {'id': '\x03\x844\xb9\x07\x9b`D', 'user_name': '', 'description': '', 'time': 1266569821.782876}, {'id': '\x03\x844\xb9\x07\x95$w', 'user_name': '', 'description': '', 'time': 1266569821.7771688}, {'id': '\x03\x844\xb9\x07\x8e\xe4w', 'user_name': '', 'description': '', 'time': 1266569821.7714467}, {'id': '\x03\x844\xb9\x07\x88\xda3', 'user_name': '', 'description': '', 'time': 1266569821.7659168}, {'id': '\x03\x844\xb9\x07\x81\xaf\xdd', 'user_name': '', 'description': '', 'time': 1266569821.759357}, {'id': '\x03\x844\xb9\x07{`\xcc', 'user_name': '', 'description': '', 'time': 1266569821.753581}, {'id': '\x03\x844\xb9\x07t\xe3\x88', 'user_name': '', 'description': '', 'time': 1266569821.7476397}, {'id': '\x03\x844\xb9\x07nP\x88', 'user_name': '', 'description': '', 'time': 1266569821.741621}, {'id': '\x03\x844\xb9\x07f\x8a\xbb', 'user_name': '', 'description': '', 'time': 1266569821.7345047}, {'id': '\x03\x844\xb9\x07_d\x11', 'user_name': '', 'description': '', 'time': 1266569821.7279577}, {'id': '\x03\x844\xb9\x07X}\xbb', 'user_name': '', 'description': '', 'time': 1266569821.7216411}, {'id': '\x03\x844\xb9\x07R>\x00', 'user_name': '', 'description': '', 'time': 1266569821.71592}, {'id': '\x03\x844\xb9\x07K\xf7\x99', 'user_name': '', 'description': '', 'time': 1266569821.710175}, {'id': '\x03\x844\xb9\x07E\xb1w', 'user_name': '', 'description': '', 'time': 1266569821.7044311}, {'id': '\x03\x844\xb9\x07?\x9a\x99', 'user_name': '', 'description': '', 'time': 1266569821.6988559}, {'id': '\x03\x844\xb9\x078\xe4\xdd', 'user_name': '', 'description': '', 'time': 1266569821.6927128}, {'id': '\x03\x844\xb9\x072e"', 'user_name': '', 'description': '', 'time': 1266569821.6867628}, {'id': '\x03\x844\xb9\x07*\xb9\xee', 'user_name': '', 'description': '', 'time': 1266569821.6797419}]
-------------------------------------------------------------

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