[Neo-report] Neo : 558 Tests, 7 Errors, 10 Failures

gregory at nexedi.com gregory at nexedi.com
Mon Jul 5 10:16:09 CEST 2010


                               NEO TESTS REPORT


    Date        : 2010-07-05
    Node        : blade8
    Processor   : Intel(R) Xeon(R) CPU           E5410  @ 2.33GHz (64bit)
    System      : Linux (2.6.29.6-server-1mnb)
    Directory   : /tmp/neo_Wyhlsw
    Status      :  96.953%
        
              Test Module |   run   | success |  errors |  fails  |   time   
--------------------------+---------+---------+---------+---------+----------
                ClientApp |    27   |    27   |     .   |     .   |   0.05s   
           ConnectionPool |     2   |     2   |     .   |     .   |   0.00s   
            MasterHandler |    14   |    14   |     .   |     .   |   0.01s   
           StorageHandler |    16   |    16   |     .   |     .   |   0.01s   
--------------------------+---------+---------+---------+---------+----------
         neo.tests.client |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                   Client |     9   |     8   |     .   |     1   |  92.60s   
                  Cluster |     5   |     2   |     1   |     2   | 135.74s   
                   Master |     4   |     4   |     .   |     .   |  38.95s   
                  Storage |    16   |    10   |     .   |     6   | 391.16s   
--------------------------+---------+---------+---------+---------+----------
     neo.tests.functional |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
            ClientHandler |     8   |     8   |     .   |     .   |   0.02s   
          ElectionHandler |    24   |    24   |     .   |     .   |   0.03s   
                MasterApp |     1   |     1   |     .   |     .   |   0.00s   
                 MasterPT |     7   |     7   |     .   |     .   |   0.01s   
                 Recovery |     5   |     5   |     .   |     .   |   0.01s   
           StorageHandler |     8   |     8   |     .   |     .   |   0.19s   
             Transactions |     6   |     6   |     .   |     .   |   0.00s   
             Verification |     8   |     8   |     .   |     .   |   0.01s   
--------------------------+---------+---------+---------+---------+----------
         neo.tests.master |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
            ClientHandler |    17   |    17   |     .   |     .   |   0.61s   
    IdentificationHandler |     3   |     3   |     .   |     .   |   0.01s   
    InitializationHandler |     4   |     4   |     .   |     .   |   0.14s   
            MasterHandler |    12   |    12   |     .   |     .   |   0.42s   
               StorageApp |     3   |     3   |     .   |     .   |   0.11s   
           StorageHandler |    13   |    13   |     .   |     .   |   0.76s   
           StorageMySQLdb |    37   |    37   |     .   |     .   |   1.86s   
             Transactions |    18   |    18   |     .   |     .   |   0.01s   
      VerificationHandler |    13   |    13   |     .   |     .   |   0.51s   
--------------------------+---------+---------+---------+---------+----------
        neo.tests.storage |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                Bootstrap |     2   |     2   |     .   |     .   |   0.28s   
               Connection |    80   |    80   |     .   |     .   |   0.05s   
               Dispatcher |     5   |     5   |     .   |     .   |   0.00s   
                    Event |     1   |     1   |     .   |     .   |   0.00s   
                  Handler |     1   |     1   |     .   |     .   |   0.00s   
                    Nodes |    14   |    14   |     .   |     .   |   0.00s   
                       PT |    10   |    10   |     .   |     .   |   0.00s   
                 Protocol |    73   |    73   |     .   |     .   |   0.00s   
                     Util |     1   |     1   |     .   |     .   |   0.00s   
--------------------------+---------+---------+---------+---------+----------
                neo.tests |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                    Basic |    15   |    15   |     .   |     .   |  48.43s   
                 Conflict |     5   |     5   |     .   |     .   |  15.67s   
                  History |     4   |     4   |     .   |     .   |  17.09s   
                 Iterator |     8   |     7   |     1   |     .   |  27.25s   
                       MT |     5   |     5   |     .   |     .   |  19.18s   
               Persistent |     1   |     1   |     .   |     .   |   8.19s   
                 ReadOnly |     2   |     2   |     .   |     .   |  10.56s   
                 Revision |     7   |     5   |     1   |     1   |  27.65s   
          Synchronization |    11   |    11   |     .   |     .   |  31.94s   
                     Undo |    17   |    13   |     4   |     .   |  50.67s   
                     ZODB |    16   |    16   |     .   |     .   |  38.88s   
--------------------------+---------+---------+---------+---------+----------
           neo.tests.zodb |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                  Summary |   558   |   541   |     7   |    10   | 959.04s   
--------------------------+---------+---------+---------+---------+----------





ERRORS:
neo/tests/functional/testCluster.py ClusterTests.testElectionWithManyMasters
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testCluster.py", line 75, in testElectionWithManyMasters
    temp_dir=self.getTempDirectory())
  File "/srv/neo/repository/trunk/neo/tests/functional/__init__.py", line 164, in __init__
    self.setupDB()
  File "/srv/neo/repository/trunk/neo/tests/functional/__init__.py", line 243, in setupDB
    cursor.execute('DROP DATABASE IF EXISTS `%s`' % (database, ))
  File "/usr/lib64/python2.4/site-packages/MySQLdb/cursors.py", line 166, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib64/python2.4/site-packages/MySQLdb/connections.py", line 35, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (1010, "Error dropping database (can't rmdir './test_neo1', errno: 39)")
-------------------------------------------------------------

neo/tests/zodb/testIterator.py IteratorTests.checkExtendedIteration
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope/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 1122, in iterator
    return Iterator(self, start, stop)
  File "/srv/neo/repository/trunk/neo/client/iterator.py", line 79, in __init__
    raise NotImplementedError('partial scan not implemented yet')
NotImplementedError: partial scan not implemented yet
-------------------------------------------------------------

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

neo/tests/zodb/testUndo.py UndoTests.checkPackAfterUndoDeletion
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/zope/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 154, in pack
    raise NotImplementedError
NotImplementedError
-------------------------------------------------------------

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

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

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


FAILURES:
neo/tests/functional/testClient.py ClientTests.testLockTimeout
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testClient.py", line 256, in testLockTimeout
    self.runWithTimeout(40, test)
  File "/srv/neo/repository/trunk/neo/tests/functional/__init__.py", line 536, in runWithTimeout
    self.assertFalse(thread.isAlive(), 'Run timeout')
AssertionError: Run timeout
-------------------------------------------------------------

neo/tests/functional/testCluster.py ClusterTests.testClusterBreaksWithTwoNodes
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testCluster.py", line 53, in testClusterBreaksWithTwoNodes
    self.neo.start()
  File "/srv/neo/repository/trunk/neo/tests/functional/__init__.py", line 290, in start
    raise AssertionError, 'Timeout when starting cluster'
AssertionError: Timeout when starting cluster
-------------------------------------------------------------

neo/tests/functional/testCluster.py ClusterTests.testClusterDoesntBreakWithTwoNodesOneReplica
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testCluster.py", line 65, in testClusterDoesntBreakWithTwoNodesOneReplica
    self.neo.start()
  File "/srv/neo/repository/trunk/neo/tests/functional/__init__.py", line 290, in start
    raise AssertionError, 'Timeout when starting cluster'
AssertionError: Timeout when starting cluster
-------------------------------------------------------------

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

neo/tests/functional/testStorage.py StorageTests.testPartitionTableReorganizedAfterDrop
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testStorage.py", line 341, in testPartitionTableReorganizedAfterDrop
    partitions=10, pending_number=0)
  File "/srv/neo/repository/trunk/neo/tests/functional/testStorage.py", line 64, in __setup
    self.neo.start(except_storages=stopped_processes)
  File "/srv/neo/repository/trunk/neo/tests/functional/__init__.py", line 290, in start
    raise AssertionError, 'Timeout when starting cluster'
AssertionError: Timeout when starting cluster
-------------------------------------------------------------

neo/tests/functional/testStorage.py StorageTests.testPartitionTableReorganizedWithNewStorage
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testStorage.py", line 328, in testPartitionTableReorganizedWithNewStorage
    self.neo.expectOudatedCells(number=0)
  File "/srv/neo/repository/trunk/neo/tests/functional/__init__.py", line 472, in expectOudatedCells
    self.expectCondition(callback, timeout, delay)
  File "/srv/neo/repository/trunk/neo/tests/functional/__init__.py", line 426, in expectCondition
    raise AssertionError, 'Timeout while expecting condition. ' \
AssertionError: Timeout while expecting condition. History: [5, 5, 4, 4, 4, 4, 3, 2, 2, 1]
-------------------------------------------------------------

neo/tests/functional/testStorage.py StorageTests.testRecoveryWithMultiplePT
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testStorage.py", line 500, in testRecoveryWithMultiplePT
    pending_number=0, partitions=10)
  File "/srv/neo/repository/trunk/neo/tests/functional/testStorage.py", line 64, in __setup
    self.neo.start(except_storages=stopped_processes)
  File "/srv/neo/repository/trunk/neo/tests/functional/__init__.py", line 290, in start
    raise AssertionError, 'Timeout when starting cluster'
AssertionError: Timeout when starting cluster
-------------------------------------------------------------

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

neo/tests/functional/testStorage.py StorageTests.testRestartWithMissingStorage
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testStorage.py", line 494, in testRestartWithMissingStorage
    self.__expectUnknown(started[1])
  File "/srv/neo/repository/trunk/neo/tests/functional/testStorage.py", line 127, in __expectUnknown
    self.neo.expectStorageState(process.getUUID(), NodeStates.UNKNOWN)
  File "/srv/neo/repository/trunk/neo/tests/functional/__init__.py", line 452, in expectStorageState
    timeout,delay)
  File "/srv/neo/repository/trunk/neo/tests/functional/__init__.py", line 444, in __expectNodeState
    self.expectCondition(callback, timeout, delay)
  File "/srv/neo/repository/trunk/neo/tests/functional/__init__.py", line 426, in expectCondition
    raise AssertionError, 'Timeout while expecting condition. ' \
AssertionError: Timeout while expecting condition. History: [None, None, None, None, None, None, None, None, None, None]
-------------------------------------------------------------

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



More information about the Neo-report mailing list