[Neo-report] Neo : 472 Tests, 21 Errors, 9 Failures

gregory at nexedi.com gregory at nexedi.com
Thu Feb 25 10:11:05 CET 2010


                               NEO TESTS REPORT


    Date        : 2010-02-25
    Node        : blade9
    Processor   :  (64bit)
    System      : Linux (2.6.26-2-amd64)
    Directory   : /tmp/neo_yHo4Yl
    Status      :  93.644%
        
              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   |     .   |     .   |   7.26s   
                  Cluster |     4   |     4   |     .   |     .   |  16.13s   
             ImportExport |     2   |     1   |     1   |     .   |   4.73s   
                   Master |     4   |     4   |     .   |     .   |  38.23s   
                  Storage |    13   |    13   |     .   |     .   |  74.66s   
--------------------------+---------+---------+---------+---------+----------
     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.66s   
    InitializationHandler |     4   |     4   |     .   |     .   |   0.18s   
            MasterHandler |    12   |    12   |     .   |     .   |   0.51s   
               StorageApp |     3   |     3   |     .   |     .   |   0.11s   
           StorageHandler |    13   |    13   |     .   |     .   |   0.50s   
           StorageMySQLdb |    35   |    35   |     .   |     .   |   1.06s   
             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   |    13   |     2   |     .   |  41.00s   
                 Conflict |     5   |     5   |     .   |     .   |  15.58s   
                  History |     4   |     4   |     .   |     .   |  10.86s   
                 Iterator |     8   |     3   |     3   |     2   |  17.76s   
                       MT |     5   |     2   |     1   |     2   | 312.23s   
               Persistent |     1   |     1   |     .   |     .   |   3.13s   
                 ReadOnly |     2   |     2   |     .   |     .   |   6.26s   
                 Revision |     7   |     4   |     2   |     1   |  20.18s   
          Synchronization |    11   |    11   |     .   |     .   |  31.01s   
                     Undo |    18   |     4   |    11   |     3   |  43.81s   
                     ZODB |    16   |    15   |     1   |     .   |  48.25s   
--------------------------+---------+---------+---------+---------+----------
           neo.tests.zodb |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                  Summary |   472   |   442   |    21   |     9   | 696.18s   
--------------------------+---------+---------+---------+---------+----------





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 662, in tpc_vote
    result = self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 637, 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 0x0384567c38810399 2010-02-25 09:00:13.243116)
-------------------------------------------------------------

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 27, in wrapped
    return func(self, *args, **kw)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 55, in tpc_begin
    status=status)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 543, in tpc_begin
    raise NEOStorageError('tpc_begin failed')
NEOStorageError: tpc_begin failed
-------------------------------------------------------------

neo/tests/zodb/testBasic.py BasicTests.checkWriteAfterAbort
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/BasicStorage.py", line 131, in checkWriteAfterAbort
    self._dostore(oid=oid, data=MinPO(6))
  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 662, in tpc_vote
    result = self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 636, in waitStoreResponses
    _waitAnyMessage()
  File "/srv/neo/repository/trunk/neo/client/app.py", line 208, in _waitAnyMessage
    _handlePacket(conn, packet)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 187, in _handlePacket
    handler.dispatch(conn, packet)
  File "/srv/neo/repository/trunk/neo/handler.py", line 63, in dispatch
    method(conn, *args)
  File "/srv/neo/repository/trunk/neo/client/handlers/storage.py", line 77, in answerStoreObject
    object_stored_counter_dict[oid] += 1
KeyError: '\x00\x00\x00\x00\x00\x00\x00\x01'
-------------------------------------------------------------

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 95, in iterator
    return self.app.iterator(start, stop)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 974, 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.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 27, in wrapped
    return func(self, *args, **kw)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 101, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 806, in undo
    raise UndoError("no previous record", oid)
UndoError: Undo error 0x01: no previous record
-------------------------------------------------------------

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 204, in do_iterator
    for obj in iter:
  File "/srv/neo/repository/trunk/neo/client/iterator.py", line 101, in next
    oid_list = txn['oids']
KeyError: 'oids'
-------------------------------------------------------------

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 27, in wrapped
    return func(self, *args, **kw)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 55, in tpc_begin
    status=status)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 543, in tpc_begin
    raise NEOStorageError('tpc_begin failed')
NEOStorageError: tpc_begin failed
-------------------------------------------------------------

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.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 27, in wrapped
    return func(self, *args, **kw)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 101, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 806, in undo
    raise UndoError("no previous record", oid)
UndoError: Undo error 0x01: no previous record
-------------------------------------------------------------

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 101, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 818, in undo
    self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 637, 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 0x0384568436f60e99 2010-02-25 09:08:12.881522, serial currently committed 0x038456843709f122 2010-02-25 09:08:12.899727)
-------------------------------------------------------------

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 144, 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 27, in wrapped
    return func(self, *args, **kw)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 101, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 806, 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 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 101, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 818, in undo
    self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 637, 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 0x038456845f6feb44 2010-02-25 09:08:22.368090, serial currently committed 0x038456845f948799 2010-02-25 09:08:22.401608)
-------------------------------------------------------------

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 27, in wrapped
    return func(self, *args, **kw)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 101, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 806, 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 27, in wrapped
    return func(self, *args, **kw)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 55, in tpc_begin
    status=status)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 543, in tpc_begin
    raise NEOStorageError('tpc_begin failed')
NEOStorageError: tpc_begin failed
-------------------------------------------------------------

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 101, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 818, in undo
    self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 637, 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 0x03845684b0485a11 2010-02-25 09:08:41.316240, serial currently committed 0x03845684b05f0000 2010-02-25 09:08:41.336975)
-------------------------------------------------------------

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 101, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 806, in undo
    raise UndoError("no previous record", oid)
UndoError: Undo error 0x01: no previous record
-------------------------------------------------------------

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 27, in wrapped
    return func(self, *args, **kw)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 101, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 806, 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 27, in wrapped
    return func(self, *args, **kw)
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 101, in undo
    tryToResolveConflict=self.tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 818, in undo
    self.waitStoreResponses(tryToResolveConflict)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 637, 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 0x03845684d8bd6700 2010-02-25 09:08:50.798403, serial currently committed 0x03845684d8d249dd 2010-02-25 09:08:50.817525)
-------------------------------------------------------------

neo/tests/zodb/testZODB.py NEOZODBTests.checkFailingCommitSticks
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope-2.8.8/lib/python/ZODB/tests/testZODB.py", line 590, in checkFailingCommitSticks
    transaction.get().abort()
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 499, in abort
    self._synchronizers.map(lambda s: s.afterCompletion(self))
  File "/srv/zope-2.8.8/lib/python/ZODB/utils.py", line 266, in map
    f(elt)
  File "/srv/zope-2.8.8/lib/python/transaction/_transaction.py", line 499, in <lambda>
    self._synchronizers.map(lambda s: s.afterCompletion(self))
  File "/srv/zope-2.8.8/lib/python/ZODB/Connection.py", line 674, in _storage_sync
    sync()
  File "/srv/neo/repository/trunk/neo/client/Storage.py", line 138, in sync
    self.app.sync()
  File "/srv/neo/repository/trunk/neo/client/app.py", line 1006, in sync
    self._waitAnyMessage(False)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 208, in _waitAnyMessage
    _handlePacket(conn, packet)
  File "/srv/neo/repository/trunk/neo/client/app.py", line 187, in _handlePacket
    handler.dispatch(conn, packet)
  File "/srv/neo/repository/trunk/neo/handler.py", line 63, in dispatch
    method(conn, *args)
  File "/srv/neo/repository/trunk/neo/client/handlers/storage.py", line 77, in answerStoreObject
    object_stored_counter_dict[oid] += 1
KeyError: '\x00\x00\x00\x00\x00\x00\x00\x00'
-------------------------------------------------------------


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\x84V}\x94\x9a\x153' != '\x03\x84V}\x94\xa2\x8f\x99'
-------------------------------------------------------------

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/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 217, in _checkNThreads
    self.failIf(t.isAlive(), "thread failed to finish in 60 seconds")
AssertionError: thread failed to finish in 60 seconds
-------------------------------------------------------------

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 217, in _checkNThreads
    self.failIf(t.isAlive(), "thread failed to finish in 60 seconds")
AssertionError: thread failed to finish in 60 seconds
-------------------------------------------------------------

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.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: [{'description': '', 'time': 1267088886.3234081, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xfa\xd9\x00', 'packed': False}, {'description': '', 'time': 1267088886.317215, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xf4\x15U', 'packed': False}, {'description': '', 'time': 1267088886.3113079, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xed\xa1\x99', 'packed': False}, {'description': '', 'time': 1267088886.3053579, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xe7!\xdd', 'packed': False}, {'description': '', 'time': 1267088886.2996778, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xe0\xed\xaa', 'packed': False}, {'description': '', 'time': 1267088886.2937317, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xdao\x00', 'packed': False}, {'description': '', 'time': 1267088886.2880049, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xd4-\xaa', 'packed': False}, {'description': '', 'time': 1267088886.2819829, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xcd\x99\xbb', 'packed': False}, {'description': '', 'time': 1267088886.2764349, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xc7\x8af', 'packed': False}, {'description': '', 'time': 1267088886.2705317, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xc1\x17\xcc', 'packed': False}, {'description': '', 'time': 1267088886.2640429, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xba\x01f', 'packed': False}, {'description': '', 'time': 1267088886.2570391, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xb2Z\xee', 'packed': False}, {'description': '', 'time': 1267088886.2513409, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xac!\xaa', 'packed': False}, {'description': '', 'time': 1267088886.2454381, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xa5\xaf\x11', 'packed': False}, {'description': '', 'time': 1267088886.2394347, 'user_name': '', 'id': '\x03\x84V\x84\x1a\x9f w', 'packed': False}, {'description': '', 'time': 1267088886.2332497, 'user_name': '', 'id': '\x03\x84V\x84\x1a\x98_\x00', 'packed': False}, {'description': '', 'time': 1267088886.2272229, 'user_name': '', 'id': '\x03\x84V\x84\x1a\x91\xc9\xbb', 'packed': False}, {'description': '', 'time': 1267088886.2209001, 'user_name': '', 'id': '\x03\x84V\x84\x1a\x8a\xe1\xbb', 'packed': False}, {'description': '', 'time': 1267088886.2144208, 'user_name': '', 'id': '\x03\x84V\x84\x1a\x83\xce\x11', 'packed': False}, {'description': 'initial database creation', 'time': 1267088886.2075548, 'user_name': '', 'id': '\x03\x84V\x84\x1a|N3', 'packed': False}] != [{'description': '', 'time': 1267088886.3679609, 'user_name': '', 'id': '\x03\x84V\x84\x1b+\x82\xee', 'packed': False}, {'description': '', 'time': 1267088886.3621588, 'user_name': '', 'id': '\x03\x84V\x84\x1b%,\x99', 'packed': False}, {'description': '', 'time': 1267088886.3553677, 'user_name': '', 'id': '\x03\x84V\x84\x1b\x1d\xc1\xaa', 'packed': False}, {'description': '', 'time': 1267088886.3491797, 'user_name': '', 'id': '\x03\x84V\x84\x1b\x16\xfff', 'packed': False}, {'description': '', 'time': 1267088886.3433361, 'user_name': '', 'id': '\x03\x84V\x84\x1b\x10\x9dU', 'packed': False}, {'description': '', 'time': 1267088886.3371277, 'user_name': '', 'id': '\x03\x84V\x84\x1b\t\xd5f', 'packed': False}, {'description': '', 'time': 1267088886.3311577, 'user_name': '', 'id': '\x03\x84V\x84\x1b\x03P\x11', 'packed': False}, {'description': '', 'time': 1267088886.3234081, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xfa\xd9\x00', 'packed': False}, {'description': '', 'time': 1267088886.317215, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xf4\x15U', 'packed': False}, {'description': '', 'time': 1267088886.3113079, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xed\xa1\x99', 'packed': False}, {'description': '', 'time': 1267088886.3053579, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xe7!\xdd', 'packed': False}, {'description': '', 'time': 1267088886.2996778, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xe0\xed\xaa', 'packed': False}, {'description': '', 'time': 1267088886.2937317, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xdao\x00', 'packed': False}, {'description': '', 'time': 1267088886.2880049, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xd4-\xaa', 'packed': False}, {'description': '', 'time': 1267088886.2819829, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xcd\x99\xbb', 'packed': False}, {'description': '', 'time': 1267088886.2764349, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xc7\x8af', 'packed': False}, {'description': '', 'time': 1267088886.2705317, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xc1\x17\xcc', 'packed': False}, {'description': '', 'time': 1267088886.2640429, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xba\x01f', 'packed': False}, {'description': '', 'time': 1267088886.2570391, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xb2Z\xee', 'packed': False}, {'description': '', 'time': 1267088886.2513409, 'user_name': '', 'id': '\x03\x84V\x84\x1a\xac!\xaa', 'packed': False}]
-------------------------------------------------------------

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 755, in _exercise_info_indices
    self.assertEqual(default, allofem[:20])
AssertionError: [{'description': '', 'time': 1267088889.656816, 'user_name': '', 'id': '\x03\x84V\x84)3\xd1w', 'packed': False}, {'description': '', 'time': 1267088889.6516528, 'user_name': '', 'id': '\x03\x84V\x84).-\xcc', 'packed': False}, {'description': '', 'time': 1267088889.645575, 'user_name': '', 'id': "\x03\x84V\x84)'\x8aD", 'packed': False}, {'description': '', 'time': 1267088889.640121, 'user_name': '', 'id': '\x03\x84V\x84)!\x953', 'packed': False}, {'description': '', 'time': 1267088889.6339679, 'user_name': '', 'id': '\x03\x84V\x84)\x1a\xdc\xbb', 'packed': False}, {'description': '', 'time': 1267088889.627522, 'user_name': '', 'id': '\x03\x84V\x84)\x13\xd2D', 'packed': False}, {'description': '', 'time': 1267088889.620626, 'user_name': '', 'id': '\x03\x84V\x84)\x0cJ\x00', 'packed': False}, {'description': '', 'time': 1267088889.613265, 'user_name': '', 'id': '\x03\x84V\x84)\x04?\xbb', 'packed': False}, {'description': '', 'time': 1267088889.6075029, 'user_name': '', 'id': '\x03\x84V\x84(\xfd\xf4\x88', 'packed': False}, {'description': '', 'time': 1267088889.6018291, 'user_name': '', 'id': '\x03\x84V\x84(\xf7\xc2\x00', 'packed': False}, {'description': '', 'time': 1267088889.595294, 'user_name': '', 'id': '\x03\x84V\x84(\xf0\x9e\xaa', 'packed': False}, {'description': '', 'time': 1267088889.5898046, 'user_name': '', 'id': '\x03\x84V\x84(\xea\x9f\xcc', 'packed': False}, {'description': '', 'time': 1267088889.5844188, 'user_name': '', 'id': '\x03\x84V\x84(\xe4\xbd\xcc', 'packed': False}, {'description': '', 'time': 1267088889.579185, 'user_name': '', 'id': '\x03\x84V\x84(\xdf\x06D', 'packed': False}, {'description': '', 'time': 1267088889.5730548, 'user_name': '', 'id': '\x03\x84V\x84(\xd8T3', 'packed': False}, {'description': '', 'time': 1267088889.5675178, 'user_name': '', 'id': '\x03\x84V\x84(\xd2G\xee', 'packed': False}, {'description': '', 'time': 1267088889.5608201, 'user_name': '', 'id': '\x03\x84V\x84(\xca\xf7\x11', 'packed': False}, {'description': '', 'time': 1267088889.5550408, 'user_name': '', 'id': '\x03\x84V\x84(\xc4\xa7"', 'packed': False}, {'description': '', 'time': 1267088889.5492768, 'user_name': '', 'id': '\x03\x84V\x84(\xbe[f', 'packed': False}, {'description': 'initial database creation', 'time': 1267088889.5425882, 'user_name': '', 'id': '\x03\x84V\x84(\xb7\r\x00', 'packed': False}] != [{'description': '', 'time': 1267088889.6944518, 'user_name': '', 'id': '\x03\x84V\x84)\\\xedD', 'packed': False}, {'description': '', 'time': 1267088889.6892209, 'user_name': '', 'id': '\x03\x84V\x84)W6\x88', 'packed': False}, {'description': '', 'time': 1267088889.6836567, 'user_name': '', 'id': '\x03\x84V\x84)Q"\xbb', 'packed': False}, {'description': '', 'time': 1267088889.678236, 'user_name': '', 'id': '\x03\x84V\x84)K6\xee', 'packed': False}, {'description': '', 'time': 1267088889.6728759, 'user_name': '', 'id': '\x03\x84V\x84)E\\"', 'packed': False}, {'description': '', 'time': 1267088889.6676731, 'user_name': '', 'id': '\x03\x84V\x84)?\xadU', 'packed': False}, {'description': '', 'time': 1267088889.6627898, 'user_name': '', 'id': '\x03\x84V\x84):W\xee', 'packed': False}, {'description': '', 'time': 1267088889.656816, 'user_name': '', 'id': '\x03\x84V\x84)3\xd1w', 'packed': False}, {'description': '', 'time': 1267088889.6516528, 'user_name': '', 'id': '\x03\x84V\x84).-\xcc', 'packed': False}, {'description': '', 'time': 1267088889.645575, 'user_name': '', 'id': "\x03\x84V\x84)'\x8aD", 'packed': False}, {'description': '', 'time': 1267088889.640121, 'user_name': '', 'id': '\x03\x84V\x84)!\x953', 'packed': False}, {'description': '', 'time': 1267088889.6339679, 'user_name': '', 'id': '\x03\x84V\x84)\x1a\xdc\xbb', 'packed': False}, {'description': '', 'time': 1267088889.627522, 'user_name': '', 'id': '\x03\x84V\x84)\x13\xd2D', 'packed': False}, {'description': '', 'time': 1267088889.620626, 'user_name': '', 'id': '\x03\x84V\x84)\x0cJ\x00', 'packed': False}, {'description': '', 'time': 1267088889.613265, 'user_name': '', 'id': '\x03\x84V\x84)\x04?\xbb', 'packed': False}, {'description': '', 'time': 1267088889.6075029, 'user_name': '', 'id': '\x03\x84V\x84(\xfd\xf4\x88', 'packed': False}, {'description': '', 'time': 1267088889.6018291, 'user_name': '', 'id': '\x03\x84V\x84(\xf7\xc2\x00', 'packed': False}, {'description': '', 'time': 1267088889.595294, 'user_name': '', 'id': '\x03\x84V\x84(\xf0\x9e\xaa', 'packed': False}, {'description': '', 'time': 1267088889.5898046, 'user_name': '', 'id': '\x03\x84V\x84(\xea\x9f\xcc', 'packed': False}, {'description': '', 'time': 1267088889.5844188, 'user_name': '', 'id': '\x03\x84V\x84(\xe4\xbd\xcc', 'packed': False}]
-------------------------------------------------------------

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