[Neo-report] NEO tests (r2619): 659 Tests, 7 Errors, 6 Failures

gregory at nexedi.com gregory at nexedi.com
Wed Jan 19 11:11:54 CET 2011


Title                     : NEO tests (r2619)
Date                      : 2011-01-19
Node                      : blade1
Machine                   : x86_64
System                    : Linux
Python                    : 2.5.2

Directory                 : /tmp/neo_DWiZyj
Status                    : 98.027%
NEO_TEST_ZODB_PARTITIONS  : 2

                               NEO TESTS REPORT

              Test Module |   run   | success |  errors |  fails  |   time   
--------------------------+---------+---------+---------+---------+----------
                ClientApp |    32   |    32   |     .   |     .   |   1.05s   
           ConnectionPool |     5   |     5   |     .   |     .   |   1.00s   
            MasterHandler |    15   |    15   |     .   |     .   |   0.01s   
           StorageHandler |    17   |    17   |     .   |     .   |   0.01s   
--------------------------+---------+---------+---------+---------+----------
         neo.tests.client |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                   Client |     9   |     9   |     .   |     .   |  51.42s   
                  Cluster |     7   |     7   |     .   |     .   |  28.98s   
                   Master |     4   |     4   |     .   |     .   |  40.22s   
                  Storage |    16   |    14   |     1   |     1   |  88.94s   
--------------------------+---------+---------+---------+---------+----------
     neo.tests.functional |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
            ClientHandler |     8   |     8   |     .   |     .   |   0.02s   
          ElectionHandler |    24   |    24   |     .   |     .   |   0.04s   
                MasterApp |     2   |     2   |     .   |     .   |   0.03s   
                 MasterPT |     7   |     7   |     .   |     .   |   0.01s   
                 Recovery |     5   |     5   |     .   |     .   |   0.01s   
           StorageHandler |    10   |    10   |     .   |     .   |   0.17s   
             Transactions |     9   |     7   |     2   |     .   |   0.01s   
             Verification |     8   |     8   |     .   |     .   |   0.01s   
--------------------------+---------+---------+---------+---------+----------
         neo.tests.master |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
            ClientHandler |    18   |    18   |     .   |     .   |   0.36s   
    IdentificationHandler |     3   |     3   |     .   |     .   |   0.01s   
    InitializationHandler |     4   |     4   |     .   |     .   |   0.08s   
            MasterHandler |    13   |    13   |     .   |     .   |   0.25s   
              Replication |    10   |    10   |     .   |     .   |   2.59s   
       ReplicationHandler |    21   |    21   |     .   |     .   |   0.01s   
               Replicator |     8   |     8   |     .   |     .   |   0.00s   
               StorageApp |     3   |     3   |     .   |     .   |   0.06s   
             StorageBTree |    29   |    29   |     .   |     .   |   0.01s   
           StorageHandler |     9   |     9   |     .   |     .   |   0.17s   
           StorageMySQLdb |    38   |    38   |     .   |     .   |   0.73s   
             Transactions |    19   |    19   |     .   |     .   |   0.01s   
      VerificationHandler |    13   |    13   |     .   |     .   |   0.26s   
--------------------------+---------+---------+---------+---------+----------
        neo.tests.storage |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                Bootstrap |     2   |     2   |     .   |     .   |   0.08s   
               Connection |    80   |    76   |     4   |     .   |   0.06s   
               Dispatcher |     5   |     5   |     .   |     .   |   0.00s   
                    Event |     1   |     1   |     .   |     .   |   0.00s   
                  Handler |     1   |     1   |     .   |     .   |   0.00s   
                    Nodes |    14   |    14   |     .   |     .   |   0.00s   
                       PT |    11   |    11   |     .   |     .   |   0.00s   
                 Protocol |    84   |    84   |     .   |     .   |   0.01s   
                     Util |     1   |     1   |     .   |     .   |   0.00s   
--------------------------+---------+---------+---------+---------+----------
                neo.tests |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                    Basic |    16   |    15   |     .   |     1   |  32.87s   
                 Conflict |     5   |     5   |     .   |     .   |  10.35s   
                  History |     1   |     1   |     .   |     .   |   2.10s   
                 Iterator |     9   |     9   |     .   |     .   |  18.75s   
                       MT |     5   |     5   |     .   |     .   |  13.92s   
                     Pack |    14   |    12   |     .   |     2   |  35.17s   
               Persistent |     1   |     1   |     .   |     .   |   2.10s   
                 ReadOnly |     2   |     2   |     .   |     .   |   5.19s   
                 Revision |     7   |     7   |     .   |     .   |  16.49s   
          Synchronization |     7   |     7   |     .   |     .   |  14.52s   
                     Undo |    17   |    16   |     .   |     1   |  38.19s   
                     ZODB |    10   |     9   |     .   |     1   |  21.35s   
--------------------------+---------+---------+---------+---------+----------
           neo.tests.zodb |         |         |         |         |          
--------------------------+---------+---------+---------+---------+----------
                  Summary |   659   |   646   |     7   |     6   | 427.63s   
--------------------------+---------+---------+---------+---------+----------



ERRORS:
neo.tests.testConnection.ConnectionTests.test_Connection_recv4
-------------------------------------------------------------
Traceback (most recent call last):
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/tests/testConnection.py", line 272, in test_Connection_recv4
    self.assertRaises(ConnectorException, bc._recv)
  File "/usr/lib/python2.5/unittest.py", line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/lib/connection.py", line 567, in _recv
    'Unknown connection error: %r', self.connector)
  File "/usr/lib/python2.5/logging/__init__.py", line 971, in debug
    apply(self._log, (DEBUG, msg, args), kwargs)
  File "/usr/lib/python2.5/logging/__init__.py", line 1100, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra)
  File "/usr/lib/python2.5/logging/__init__.py", line 1080, in makeRecord
    rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
  File "/usr/lib/python2.5/logging/__init__.py", line 237, in __init__
    if args and (len(args) == 1) and args[0] and (type(args[0]) == types.DictType):
TypeError: __nonzero__ should return an int
-------------------------------------------------------------

neo.tests.testConnection.ConnectionTests.test_Connection_send7
-------------------------------------------------------------
Traceback (most recent call last):
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/tests/testConnection.py", line 365, in test_Connection_send7
    self.assertRaises(ConnectorException, bc._send)
  File "/usr/lib/python2.5/unittest.py", line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/lib/connection.py", line 596, in _send
    'Unknown connection error: %r', self.connector)
  File "/usr/lib/python2.5/logging/__init__.py", line 971, in debug
    apply(self._log, (DEBUG, msg, args), kwargs)
  File "/usr/lib/python2.5/logging/__init__.py", line 1100, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra)
  File "/usr/lib/python2.5/logging/__init__.py", line 1080, in makeRecord
    rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
  File "/usr/lib/python2.5/logging/__init__.py", line 237, in __init__
    if args and (len(args) == 1) and args[0] and (type(args[0]) == types.DictType):
TypeError: __nonzero__ should return an int
-------------------------------------------------------------

neo.tests.testConnection.MTConnectionTests.test_Connection_recv4
-------------------------------------------------------------
Traceback (most recent call last):
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/tests/testConnection.py", line 272, in test_Connection_recv4
    self.assertRaises(ConnectorException, bc._recv)
  File "/usr/lib/python2.5/unittest.py", line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/lib/connection.py", line 567, in _recv
    'Unknown connection error: %r', self.connector)
  File "/usr/lib/python2.5/logging/__init__.py", line 971, in debug
    apply(self._log, (DEBUG, msg, args), kwargs)
  File "/usr/lib/python2.5/logging/__init__.py", line 1100, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra)
  File "/usr/lib/python2.5/logging/__init__.py", line 1080, in makeRecord
    rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
  File "/usr/lib/python2.5/logging/__init__.py", line 237, in __init__
    if args and (len(args) == 1) and args[0] and (type(args[0]) == types.DictType):
TypeError: __nonzero__ should return an int
-------------------------------------------------------------

neo.tests.testConnection.MTConnectionTests.test_Connection_send7
-------------------------------------------------------------
Traceback (most recent call last):
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/tests/testConnection.py", line 365, in test_Connection_send7
    self.assertRaises(ConnectorException, bc._send)
  File "/usr/lib/python2.5/unittest.py", line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/lib/connection.py", line 596, in _send
    'Unknown connection error: %r', self.connector)
  File "/usr/lib/python2.5/logging/__init__.py", line 971, in debug
    apply(self._log, (DEBUG, msg, args), kwargs)
  File "/usr/lib/python2.5/logging/__init__.py", line 1100, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra)
  File "/usr/lib/python2.5/logging/__init__.py", line 1080, in makeRecord
    rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
  File "/usr/lib/python2.5/logging/__init__.py", line 237, in __init__
    if args and (len(args) == 1) and args[0] and (type(args[0]) == types.DictType):
TypeError: __nonzero__ should return an int
-------------------------------------------------------------

neo.tests.master.testTransactions.testTransactionManager.testAbortFor
-------------------------------------------------------------
Traceback (most recent call last):
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/tests/master/testTransactions.py", line 109, in testAbortFor
    txnman.abortFor(node2)
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/master/transactions.py", line 422, in abortFor
    neo.lib.logging.debug('Abort TXN for %s', node)
  File "/usr/lib/python2.5/logging/__init__.py", line 971, in debug
    apply(self._log, (DEBUG, msg, args), kwargs)
  File "/usr/lib/python2.5/logging/__init__.py", line 1100, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra)
  File "/usr/lib/python2.5/logging/__init__.py", line 1080, in makeRecord
    rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
  File "/usr/lib/python2.5/logging/__init__.py", line 237, in __init__
    if args and (len(args) == 1) and args[0] and (type(args[0]) == types.DictType):
TypeError: __nonzero__ should return an int
-------------------------------------------------------------

neo.tests.master.testTransactions.testTransactionManager.testClientDisconectsAfterBegin
-------------------------------------------------------------
Traceback (most recent call last):
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/tests/master/testTransactions.py", line 239, in testClientDisconectsAfterBegin
    tm.abortFor(node1)
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/master/transactions.py", line 422, in abortFor
    neo.lib.logging.debug('Abort TXN for %s', node)
  File "/usr/lib/python2.5/logging/__init__.py", line 971, in debug
    apply(self._log, (DEBUG, msg, args), kwargs)
  File "/usr/lib/python2.5/logging/__init__.py", line 1100, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra)
  File "/usr/lib/python2.5/logging/__init__.py", line 1080, in makeRecord
    rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
  File "/usr/lib/python2.5/logging/__init__.py", line 237, in __init__
    if args and (len(args) == 1) and args[0] and (type(args[0]) == types.DictType):
TypeError: __nonzero__ should return an int
-------------------------------------------------------------

neo.tests.functional.testStorage.StorageTests.testDropNodeThenRestartCluster
-------------------------------------------------------------
Traceback (most recent call last):
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/tests/functional/testStorage.py", line 433, in testDropNodeThenRestartCluster
    self.neo.stop()
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/tests/functional/__init__.py", line 334, in stop
    process.wait()
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/tests/functional/__init__.py", line 134, in wait
    self.command, self.arg_dict, result))
NodeProcessError: '/neo/environments/py2.5-ZODB3.10/bin/neostorage' {'--cluster': 'neo_16', '--adapter': 'MySQL', '--database': 'neo:neo at test_neo0', '--verbose': True, '--logfile': '/tmp/neo_Iwcgve/neo.tests.functional.testStorage.StorageTests.testDropNodeThenRestartCluster/storage_0.log', '--name': 'storage_0', '--uuid': '21d2e5babef740581e040df4bc02b4c7', '--masters': '127.0.0.1:51317'} exited with status 1
-------------------------------------------------------------


FAILURES:
neo.tests.functional.testStorage.StorageTests.testRestartWithMissingStorage
-------------------------------------------------------------
Traceback (most recent call last):
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/tests/functional/testStorage.py", line 488, in testRestartWithMissingStorage
    self.neo.expectUnknown(started[1])
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/tests/functional/__init__.py", line 502, in expectUnknown
    delay)
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/tests/functional/__init__.py", line 490, in expectStorageState
    timeout, delay)
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/tests/functional/__init__.py", line 482, in __expectNodeState
    self.expectCondition(callback, timeout, delay)
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/tests/functional/__init__.py", line 465, in expectCondition
    'History: %s' % (opaque_history, )
AssertionError: Timeout while expecting condition. History: [None, None, None, None, None, None, None, None, None, None, None]
-------------------------------------------------------------

neo.tests.zodb.testBasic.BasicTests.check_tid_ordering_w_commit
-------------------------------------------------------------
Traceback (most recent call last):
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/neo-0.1.0-py2.5.egg/neo/tests/zodb/testBasic.py", line 27, in check_tid_ordering_w_commit
    self.fail("Test disabled")
AssertionError: Test disabled
-------------------------------------------------------------

neo.tests.zodb.testPack.PackableTests.checkPackAllRevisions
-------------------------------------------------------------
Traceback (most recent call last):
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/ZODB3-3.10.0-py2.5-linux-x86_64.egg/ZODB/tests/PackableStorage.py", line 360, in checkPackAllRevisions
    raises(KeyError, self._storage.loadSerial, oid, revid3)
AssertionError: KeyError not raised
-------------------------------------------------------------

neo.tests.zodb.testPack.PackableTests.checkPackUndoLog
-------------------------------------------------------------
Traceback (most recent call last):
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/ZODB3-3.10.0-py2.5-linux-x86_64.egg/ZODB/tests/PackableStorage.py", line 655, in checkPackUndoLog
    self.assertEqual(1,len(self._storage.undoLog()))
AssertionError: 1 != 3
-------------------------------------------------------------

neo.tests.zodb.testUndo.UndoTests.checkTransactionalUndoAfterPack
-------------------------------------------------------------
Traceback (most recent call last):
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/ZODB3-3.10.0-py2.5-linux-x86_64.egg/ZODB/tests/TransactionalUndoStorage.py", line 463, in checkTransactionalUndoAfterPack
    self.assertEqual(len(info2), 2)
AssertionError: 4 != 2
-------------------------------------------------------------

neo.tests.zodb.testZODB.NEOZODBTests.checkResetCache
-------------------------------------------------------------
Traceback (most recent call last):
  File "/neo/environments/py2.5-ZODB3.10/lib/python2.5/site-packages/ZODB3-3.10.0-py2.5-linux-x86_64.egg/ZODB/tests/testZODB.py", line 135, in checkResetCache
    self.assert_(len(conn._cache) > 0)  # Precondition
AssertionError
-------------------------------------------------------------






More information about the Neo-report mailing list