[Neo-report] Neo : 558 Tests, 8 Errors, 15 Failures

gregory at nexedi.com gregory at nexedi.com
Wed Jul 28 10:27:22 CEST 2010


                               NEO TESTS REPORT


    Date        : 2010-07-28
    Node        : blade8
    Processor   : Intel(R) Xeon(R) CPU           E5410  @ 2.33GHz (64bit)
    System      : Linux (2.6.29.6-server-1mnb)
    Directory   : /tmp/neo_IRPhEf
    Status      :  95.878%
        
              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   |     2   |     2   |     5   | 282.41s   
                  Cluster |     5   |     4   |     .   |     1   | 148.98s   
                   Master |     4   |     4   |     .   |     .   |  41.13s   
                  Storage |    16   |     8   |     .   |     8   | 353.24s   
--------------------------+---------+---------+---------+---------+----------
     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.20s   
             Transactions |     6   |     6   |     .   |     .   |   0.00s   
             Verification |     8   |     8   |     .   |     .   |   0.01s   
--------------------------+---------+---------+---------+---------+----------
         neo.tests.master |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
            ClientHandler |    17   |    17   |     .   |     .   | 107.46s   
    IdentificationHandler |     3   |     3   |     .   |     .   |   0.01s   
    InitializationHandler |     4   |     4   |     .   |     .   |   0.33s   
            MasterHandler |    12   |    12   |     .   |     .   |  49.86s   
               StorageApp |     3   |     3   |     .   |     .   |  46.63s   
           StorageHandler |    13   |    13   |     .   |     .   | 105.96s   
           StorageMySQLdb |    37   |    37   |     .   |     .   |  73.05s   
             Transactions |    18   |    18   |     .   |     .   |   0.01s   
      VerificationHandler |    13   |    13   |     .   |     .   |  11.11s   
--------------------------+---------+---------+---------+---------+----------
        neo.tests.storage |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                Bootstrap |     2   |     2   |     .   |     .   |  41.31s   
               Connection |    80   |    80   |     .   |     .   |   0.57s   
               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   |     .   |     .   | 115.02s   
                 Conflict |     5   |     5   |     .   |     .   |  32.43s   
                  History |     4   |     4   |     .   |     .   |  17.54s   
                 Iterator |     8   |     7   |     1   |     .   |  23.79s   
                       MT |     5   |     5   |     .   |     .   |  19.33s   
               Persistent |     1   |     1   |     .   |     .   |   3.14s   
                 ReadOnly |     2   |     2   |     .   |     .   |   3.13s   
                 Revision |     7   |     5   |     1   |     1   |  21.21s   
          Synchronization |    11   |    11   |     .   |     .   |  32.15s   
                     Undo |    17   |    13   |     4   |     .   |  39.24s   
                     ZODB |    16   |    16   |     .   |     .   |  38.90s   
--------------------------+---------+---------+---------+---------+----------
           neo.tests.zodb |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                  Summary |   558   |   535   |     8   |    15   | 1608.31s   
--------------------------+---------+---------+---------+---------+----------





ERRORS:
neo/tests/functional/testClient.py ClientTests.testConflictResolutionTriggered2
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testClient.py", line 74, in setUp
    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/functional/testClient.py ClientTests.testGreaterOIDSaved
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testClient.py", line 74, in setUp
    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.testConflictResolutionTriggered1
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testClient.py", line 97, in testConflictResolutionTriggered1
    self.__setup()
  File "/srv/neo/repository/trunk/neo/tests/functional/testClient.py", line 84, in __setup
    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/testClient.py ClientTests.testDelayedLocksCancelled
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testClient.py", line 302, in testDelayedLocksCancelled
    self.runWithTimeout(10, 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/testClient.py ClientTests.testExport
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testClient.py", line 218, in testExport
    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/testClient.py ClientTests.testIsolationWithoutZopeCache
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testClient.py", line 160, in testIsolationWithoutZopeCache
    self.__setup()
  File "/srv/neo/repository/trunk/neo/tests/functional/testClient.py", line 84, in __setup
    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/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/testStorage.py StorageTests.testDropNodeThenRestartCluster
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testStorage.py", line 436, in testDropNodeThenRestartCluster
    self.__checkReplicateCount(self.neo.db_list[1], 1)
  File "/srv/neo/repository/trunk/neo/tests/functional/testStorage.py", line 118, in __checkReplicateCount
    self.neo.expectCondition(callback, timeout, delay)
  File "/srv/neo/repository/trunk/neo/tests/functional/__init__.py", line 417, in expectCondition
    reached, opaque = condition(opaque)
  File "/srv/neo/repository/trunk/neo/tests/functional/testStorage.py", line 115, in callback
    raise AssertionError, 'Regression: %s became %s' % \
AssertionError: Regression: 0 became 1
-------------------------------------------------------------

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, 9, 8, 8, 8, 7, 7, 6, 6]
-------------------------------------------------------------

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, 5, 5, 5, 5, 5, 5, 5, 5]
-------------------------------------------------------------

neo/tests/functional/testStorage.py StorageTests.testRecoveryWithMultiplePT
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testStorage.py", line 503, in testRecoveryWithMultiplePT
    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.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, 10, 10]
-------------------------------------------------------------

neo/tests/functional/testStorage.py StorageTests.testReplicationWithNewStorage
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testStorage.py", line 189, in testReplicationWithNewStorage
    self.__expectPending(stopped[0])
  File "/srv/neo/repository/trunk/neo/tests/functional/testStorage.py", line 124, in __expectPending
    self.neo.expectStorageState(process.getUUID(), NodeStates.PENDING)
  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/functional/testStorage.py StorageTests.testReplicationWithoutBreak
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testStorage.py", line 151, in testReplicationWithoutBreak
    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, 9, 6, 4, 3, 3, 2]
-------------------------------------------------------------

neo/tests/functional/testStorage.py StorageTests.testRestartWithMissingStorage
-------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/neo/repository/trunk/neo/tests/functional/testStorage.py", line 484, in testRestartWithMissingStorage
    self.__expectRunning(started[0])
  File "/srv/neo/repository/trunk/neo/tests/functional/testStorage.py", line 121, in __expectRunning
    self.neo.expectStorageState(process.getUUID(), NodeStates.RUNNING)
  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: [<EnumItem BROKEN (4)>, <EnumItem BROKEN (4)>, <EnumItem BROKEN (4)>, <EnumItem BROKEN (4)>, <EnumItem BROKEN (4)>, <EnumItem BROKEN (4)>, <EnumItem BROKEN (4)>, <EnumItem BROKEN (4)>, <EnumItem BROKEN (4)>, <EnumItem BROKEN (4)>]
-------------------------------------------------------------

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