[Neo-report] Neo : 414 Tests, 7 Errors, 4 Failures

aurel at nexedi.com aurel at nexedi.com
Thu Jun 11 00:09:19 CEST 2009


Date : 2009-06-11

Ran unit test of  ./neo/master/tests/testMasterVerificationHandler.py
Ran 15 tests in 0.116s
OK

Ran unit test of  ./neo/master/tests/testMasterRecoveryHandler.py
Ran 10 tests in 0.071s
OK

Ran unit test of  ./neo/master/tests/testMasterElectionHandler.py
Ran 21 tests in 0.133s
OK

Ran unit test of  ./neo/master/tests/testMasterService.py
Ran 17 tests in 2.269s
OK

Ran unit test of  ./neo/master/tests/testMasterApp.py
Ran 6 tests in 0.031s
OK

Ran unit test of  ./neo/tests/testProtocol.py
Ran 56 tests in 0.007s
OK

Ran unit test of  ./neo/tests/testNodes.py
Ran 5 tests in 0.003s
OK

Ran unit test of  ./neo/tests/testConfig.py
Ran 1 test in 0.003s
OK

Ran unit test of  ./neo/tests/testPT.py
Ran 17 tests in 0.017s
OK

Ran unit test of  ./neo/tests/testConnection.py
Ran 16 tests in 0.059s
OK

Ran unit test of  ./neo/tests/testEvent.py
Ran 2 tests in 0.006s
OK

Ran unit test of  ./neo/tests/testHandler.py
Ran 5 tests in 0.013s
OK

Ran unit test of  ./neo/storage/tests/testStorageVerificationHandler.py
Ran 20 tests in 1.835s
OK

Ran unit test of  ./neo/storage/tests/testStorageBootstrapHandler.py
Ran 24 tests in 2.096s
OK

Ran unit test of  ./neo/storage/tests/testStorageMySQLdb.py
Ran 36 tests in 2.546s
OK

Ran unit test of  ./neo/storage/tests/testStorageOperation.py
Ran 58 tests in 4.967s
FAILED (failures=1)

Ran unit test of  ./neo/storage/tests/testStorageApp.py
Ran 4 tests in 0.379s
OK

Ran unit test of  ./neo/client/tests/testConnectionPool.py
Ran 1 test in 0.001s
OK

Ran unit test of  ./neo/client/tests/testClientHandler.py
Ran 57 tests in 0.126s
FAILED (errors=1)

Ran unit test of  ./neo/client/tests/testZODB.py
Ran 16 tests in 490.993s
OK

Ran unit test of  ./neo/client/tests/testDispatcher.py
Ran 1 test in 0.000s
OK

Ran unit test of  ./neo/client/tests/testClientApp.py
Ran 26 tests in 2.128s
FAILED (failures=3, errors=6)

-------------- next part --------------
Ran unit test of  ./neo/master/tests/testMasterVerificationHandler.py
..ERROR:root:127.0.0.1:10011 is broken
.ERROR:root:reject an alien cluster
.....CRITICAL:root:got later information in verification
.......
----------------------------------------------------------------------
Ran 15 tests in 0.116s

OK
Ran unit test of  ./neo/master/tests/testMasterRecoveryHandler.py
..ERROR:root:127.0.0.1:10011 is broken
.ERROR:root:reject an alien cluster
......WARNING:root:got answer partition table from f1964d99cf7108b69ebef0f67bd978c6 while waiting for None
.
----------------------------------------------------------------------
Ran 10 tests in 0.071s

OK
Ran unit test of  ./neo/master/tests/testMasterElectionHandler.py
.....ERROR:root:127.0.0.1:10011 is broken
.ERROR:root:127.0.0.1:10011 is broken
..ERROR:root:127.0.0.1:10011 is not a master node
.ERROR:root:127.0.0.2:10011 is not a master node
.......ERROR:root:reject an alien cluster
.....
----------------------------------------------------------------------
Ran 21 tests in 0.133s

OK
Ran unit test of  ./neo/master/tests/testMasterService.py
ERROR:root:reject an alien cluster
.....CRITICAL:root:got later information in service
.....WARNING:root:aborting transaction None does not exist
...WARNING:root:only up-to-date state should be sent
WARNING:root:only a cell itself should send this packet
.ERROR:root:127.0.0.1:10021 is broken
ERROR:root:127.0.0.1:10022 is broken
ERROR:root:127.0.0.1:11022 is broken
...
----------------------------------------------------------------------
Ran 17 tests in 2.269s

OK
Ran unit test of  ./neo/master/tests/testMasterApp.py
......
----------------------------------------------------------------------
Ran 6 tests in 0.031s

OK
Ran unit test of  ./neo/tests/testProtocol.py
........................................................
----------------------------------------------------------------------
Ran 56 tests in 0.007s

OK
Ran unit test of  ./neo/tests/testNodes.py
.....
----------------------------------------------------------------------
Ran 5 tests in 0.003s

OK
Ran unit test of  ./neo/tests/testConfig.py
.
----------------------------------------------------------------------
Ran 1 test in 0.003s

OK
Ran unit test of  ./neo/tests/testPT.py
.................
----------------------------------------------------------------------
Ran 17 tests in 0.017s

OK
Ran unit test of  ./neo/tests/testConnection.py
................
----------------------------------------------------------------------
Ran 16 tests in 0.059s

OK
Ran unit test of  ./neo/tests/testEvent.py
..
----------------------------------------------------------------------
Ran 2 tests in 0.006s

OK
Ran unit test of  ./neo/tests/testHandler.py
....ERROR:root:127.0.0.1:10000 is broken
ERROR:root:127.0.0.1:10000 is broken
ERROR:root:127.0.0.1:10000 is broken
ERROR:root:127.0.0.1:10000 is broken
.
----------------------------------------------------------------------
Ran 5 tests in 0.013s

OK
Ran unit test of  ./neo/storage/tests/testStorageVerificationHandler.py
.CRITICAL:root:the primary master node times out
.CRITICAL:root:the primary master node is dead
.ERROR:root:127.0.0.1:11011 is broken
CRITICAL:root:the primary master node is broken
.ERROR:root:reject an alien cluster
................
----------------------------------------------------------------------
Ran 20 tests in 1.835s

OK
Ran unit test of  ./neo/storage/tests/testStorageBootstrapHandler.py
.....ERROR:root:127.0.0.1:10010 is broken
ERROR:root:127.0.0.1:10010 is broken
....ERROR:root:reject an alien cluster
.....ERROR:root:127.0.0.1:10020 is not a master node
.ERROR:root:127.0.0.1:10010 is waiting for 127.0.0.1:10020
.........
----------------------------------------------------------------------
Ran 24 tests in 2.096s

OK
Ran unit test of  ./neo/storage/tests/testStorageMySQLdb.py
....................................
----------------------------------------------------------------------
Ran 36 tests in 2.546s

OK
Ran unit test of  ./neo/storage/tests/testStorageOperation.py
.....CRITICAL:root:the primary master node times out
..CRITICAL:root:the primary master node is dead
..ERROR:root:127.0.0.1:10010 is broken
CRITICAL:root:the primary master node is broken
..ERROR:root:reject an alien cluster
..ERROR:root:reject an unknown node 910df16842ac931572766eca9d58b861
..........F..................................
======================================================================
FAIL: test_14_handleNotifyPartitionChanges2 (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 538, in test_14_handleNotifyPartitionChanges2
    self.assertEquals(len(calls), 2)
AssertionError: 3 != 2

----------------------------------------------------------------------
Ran 58 tests in 4.967s

FAILED (failures=1)
Ran unit test of  ./neo/storage/tests/testStorageApp.py
....
----------------------------------------------------------------------
Ran 4 tests in 0.379s

OK
Ran unit test of  ./neo/client/tests/testConnectionPool.py
.
----------------------------------------------------------------------
Ran 1 test in 0.001s

OK
Ran unit test of  ./neo/client/tests/testClientHandler.py
............E............................................
======================================================================
ERROR: test_StopOperation (__main__.ClientHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientHandler.py", line 918, in test_StopOperation
    raise NotImplementedError
NotImplementedError

----------------------------------------------------------------------
Ran 57 tests in 0.126s

FAILED (errors=1)
Ran unit test of  ./neo/client/tests/testZODB.py
................
----------------------------------------------------------------------
Ran 16 tests in 490.993s

OK
Using temp directory '/tmp/neo_vuUZO-'.
Ran unit test of  ./neo/client/tests/testDispatcher.py
.
----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
Ran unit test of  ./neo/client/tests/testClientApp.py
E.F...WARNING:root:oid 0000000000000078 not found because of connection failure
ERROR:root:wrong checksum from node None for oid 0000000000000078
EERROR:root:wrong checksum from node None for oid 0000000000000022
EERROR:root:wrong checksum from node None for oid 00000000000000c3
E...FF..E....ERROR:root:127.0.0.1:0 is broken
...ERROR:root:wrong checksum from node FakeServer for oid 0000000000000002
ERROR:root:wrong checksum from node FakeServer for oid 0000000000000002
E.
======================================================================
ERROR: _askPrimary is private but test it anyway
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 891, in test_askPrimary
    self.assertRaises(NEOStorageError, app._askPrimary, packet)
  File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/home/baobab/neo/neo/neo/client/app.py", line 311, in _askPrimary
    conn.lock()
AttributeError: 'NoneType' object has no attribute 'lock'

======================================================================
ERROR: test_load (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 248, in test_load
    result = app.load(oid)
  File "/home/baobab/neo/neo/neo/client/app.py", line 458, in load
    return self._load(oid, cache=1)[:2]
  File "/home/baobab/neo/neo/neo/client/app.py", line 427, in _load
    raise NEOStorageNotFoundError()
NEOStorageNotFoundError

======================================================================
ERROR: test_loadBefore (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 326, in test_loadBefore
    result = app.loadBefore(oid, tid1)
  File "/home/baobab/neo/neo/neo/client/app.py", line 476, in loadBefore
    data, start, end = self._load(oid, tid=tid)
  File "/home/baobab/neo/neo/neo/client/app.py", line 427, in _load
    raise NEOStorageNotFoundError()
NEOStorageNotFoundError

======================================================================
ERROR: test_loadSerial (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 293, in test_loadSerial
    result = app.loadSerial(oid, tid1)
  File "/home/baobab/neo/neo/neo/client/app.py", line 467, in loadSerial
    return self._load(oid, serial=serial)[0]
  File "/home/baobab/neo/neo/neo/client/app.py", line 427, in _load
    raise NEOStorageNotFoundError()
NEOStorageNotFoundError

======================================================================
ERROR: test_tpc_begin (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 364, in test_tpc_begin
    self.assertRaises(NEOStorageError, app.tpc_begin, transaction=txn, tid=None)
  File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/home/baobab/neo/neo/neo/client/app.py", line 493, in tpc_begin
    self._askPrimary(protocol.askNewTID())
  File "/home/baobab/neo/neo/neo/client/app.py", line 311, in _askPrimary
    conn.lock()
AttributeError: 'NoneType' object has no attribute 'lock'

======================================================================
ERROR: test_undo2 (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 723, in test_undo2
    self.assertRaises(ConflictError, app.undo, tid3, txn4, wrapper)
  File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/home/baobab/neo/neo/neo/client/app.py", line 712, in undo
    raise UndoError("no previous record", oid)
UndoError: Undo error 0x02: no previous record

======================================================================
FAIL: test_connectToPrimaryMasterNode (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 838, in test_connectToPrimaryMasterNode
    self.assertTrue(app.master_conn, neo.connection.MTClientConnection)
AssertionError: <class 'neo.connection.MTClientConnection'>

======================================================================
FAIL: test_store2 (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 430, in test_store2
    self.checkDispatcherRegisterCalled(app, conn)
  File "./neo/client/tests/testClientApp.py", line 154, in checkDispatcherRegisterCalled
    self.assertTrue(isinstance(calls[0].getParam(2), Queue))
AssertionError

======================================================================
FAIL: test_store3 (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientApp.py", line 459, in test_store3
    self.checkDispatcherRegisterCalled(app, conn)
  File "./neo/client/tests/testClientApp.py", line 154, in checkDispatcherRegisterCalled
    self.assertTrue(isinstance(calls[0].getParam(2), Queue))
AssertionError

----------------------------------------------------------------------
Ran 26 tests in 2.128s

FAILED (failures=3, errors=6)


More information about the Neo-report mailing list