[Neo-report] Neo : 415 Tests, 17 Errors, 4 Failures
aurel at nexedi.com
aurel at nexedi.com
Tue Jun 9 13:22:17 CEST 2009
Date : 2009-06-09
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.069s
OK
Ran unit test of ./neo/master/tests/testMasterElectionHandler.py
Ran 21 tests in 0.131s
OK
Ran unit test of ./neo/master/tests/testMasterService.py
Ran 17 tests in 2.178s
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.002s
OK
Ran unit test of ./neo/tests/testConfig.py
Ran 1 test in 0.004s
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.062s
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.014s
OK
Ran unit test of ./neo/storage/tests/testStorageVerificationHandler.py
Ran 20 tests in 1.793s
OK
Ran unit test of ./neo/storage/tests/testStorageBootstrapHandler.py
Ran 24 tests in 2.052s
OK
Ran unit test of ./neo/storage/tests/testStorageMySQLdb.py
Ran 36 tests in 2.487s
OK
Ran unit test of ./neo/storage/tests/testStorageOperation.py
Ran 58 tests in 4.873s
FAILED (failures=1)
Ran unit test of ./neo/storage/tests/testStorageApp.py
Ran 4 tests in 0.372s
FAILED (failures=1)
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 58 tests in 0.096s
FAILED (failures=2, errors=13)
Ran unit test of ./neo/client/tests/testZODB.py
Ran 16 tests in 486.068s
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.123s
FAILED (errors=4)
-------------- 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 ae965b599b0d6b0328ce7b3aa5729552 while waiting for None
.
----------------------------------------------------------------------
Ran 10 tests in 0.069s
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.131s
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.178s
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.002s
OK
Ran unit test of ./neo/tests/testConfig.py
.
----------------------------------------------------------------------
Ran 1 test in 0.004s
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.062s
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.014s
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.793s
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.052s
OK
Ran unit test of ./neo/storage/tests/testStorageMySQLdb.py
....................................
----------------------------------------------------------------------
Ran 36 tests in 2.487s
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 ea8bcb14410455a62c9a8740de204b57
..........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.873s
FAILED (failures=1)
Ran unit test of ./neo/storage/tests/testStorageApp.py
F...
======================================================================
FAIL: test_01_loadPartitionTable (__main__.StorageAppTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/storage/tests/testStorageApp.py", line 166, in test_01_loadPartitionTable
self.assertEqual(cell_list[0].getUUID(), client_uuid)
AssertionError: '\x1e\x95\xca\xe4\xe3\xd8\xf1\xa4\x87x\x12Y\xca\xee\x08\x00' != '\x1e\x95\xca\xe4\xe3\xd8\xf1\xa4\\\x87x\x12Y\xca\xee\x08'
----------------------------------------------------------------------
Ran 4 tests in 0.372s
FAILED (failures=1)
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..E.....E........F.E..F.EEE.EE.EE.E..........E..
======================================================================
ERROR: test_InvalidateObjects (__main__.ClientHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientHandler.py", line 892, in test_InvalidateObjects
client_handler = PrimaryNotificationsHandler(app )
TypeError: __init__() takes exactly 3 arguments (2 given)
======================================================================
ERROR: test_StopOperation (__main__.ClientHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientHandler.py", line 929, in test_StopOperation
raise NotImplementedError
NotImplementedError
======================================================================
ERROR: test_ignoreOutdatedPTIDNotifyPartitionChanges (__main__.ClientHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientHandler.py", line 780, in test_ignoreOutdatedPTIDNotifyPartitionChanges
client_handler = PrimaryNotificationsHandler(app)
TypeError: __init__() takes exactly 3 arguments (2 given)
======================================================================
ERROR: test_knownNodeNotifyPartitionChanges (__main__.ClientHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientHandler.py", line 828, in test_knownNodeNotifyPartitionChanges
client_handler = PrimaryNotificationsHandler(app)
TypeError: __init__() takes exactly 3 arguments (2 given)
======================================================================
ERROR: test_masterConnectionClosed (__main__.ClientHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientHandler.py", line 200, in test_masterConnectionClosed
PrimaryNotificationsHandler)
File "./neo/client/tests/testClientHandler.py", line 122, in _testMasterWithMethod
method(dispatcher, app, handler_class, uuid=uuid)
File "./neo/client/tests/testClientHandler.py", line 190, in _testConnectionClosed
client_handler = self.instanciateHandler(handler_class, app, dispatcher)
File "./neo/client/tests/testClientHandler.py", line 94, in instanciateHandler
return handler_class(app)
TypeError: __init__() takes exactly 3 arguments (2 given)
======================================================================
ERROR: test_masterPeerBroken (__main__.ClientHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientHandler.py", line 236, in test_masterPeerBroken
self._testMasterWithMethod(self._testPeerBroken, PrimaryNotificationsHandler)
File "./neo/client/tests/testClientHandler.py", line 122, in _testMasterWithMethod
method(dispatcher, app, handler_class, uuid=uuid)
File "./neo/client/tests/testClientHandler.py", line 227, in _testPeerBroken
client_handler = self.instanciateHandler(handler_class, app, dispatcher)
File "./neo/client/tests/testClientHandler.py", line 94, in instanciateHandler
return handler_class(app)
TypeError: __init__() takes exactly 3 arguments (2 given)
======================================================================
ERROR: test_masterTimeoutExpired (__main__.ClientHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientHandler.py", line 218, in test_masterTimeoutExpired
self._testMasterWithMethod(self._testTimeoutExpired, PrimaryNotificationsHandler)
File "./neo/client/tests/testClientHandler.py", line 122, in _testMasterWithMethod
method(dispatcher, app, handler_class, uuid=uuid)
File "./neo/client/tests/testClientHandler.py", line 209, in _testTimeoutExpired
client_handler = self.instanciateHandler(handler_class, app, dispatcher)
File "./neo/client/tests/testClientHandler.py", line 94, in instanciateHandler
return handler_class(app)
TypeError: __init__() takes exactly 3 arguments (2 given)
======================================================================
ERROR: test_noPrimaryMasterNotifyPartitionChanges (__main__.ClientHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientHandler.py", line 745, in test_noPrimaryMasterNotifyPartitionChanges
client_handler = PrimaryNotificationsHandler(app)
TypeError: __init__() takes exactly 3 arguments (2 given)
======================================================================
ERROR: test_nonIterableParameterRaisesNotifyNodeInformation (__main__.ClientHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientHandler.py", line 627, in test_nonIterableParameterRaisesNotifyNodeInformation
client_handler = PrimaryNotificationsHandler(app)
TypeError: __init__() takes exactly 3 arguments (2 given)
======================================================================
ERROR: test_nonMasterNotifyNodeInformation (__main__.ClientHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientHandler.py", line 613, in test_nonMasterNotifyNodeInformation
client_handler = PrimaryNotificationsHandler(app)
TypeError: __init__() takes exactly 3 arguments (2 given)
======================================================================
ERROR: test_nonMasterNotifyPartitionChanges (__main__.ClientHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientHandler.py", line 731, in test_nonMasterNotifyPartitionChanges
client_handler = PrimaryNotificationsHandler(app)
TypeError: __init__() takes exactly 3 arguments (2 given)
======================================================================
ERROR: test_nonPrimaryMasterNotifyPartitionChanges (__main__.ClientHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientHandler.py", line 764, in test_nonPrimaryMasterNotifyPartitionChanges
client_handler = PrimaryNotificationsHandler(app)
TypeError: __init__() takes exactly 3 arguments (2 given)
======================================================================
ERROR: test_unknownNodeNotifyPartitionChanges (__main__.ClientHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientHandler.py", line 798, in test_unknownNodeNotifyPartitionChanges
client_handler = PrimaryNotificationsHandler(app)
TypeError: __init__() takes exactly 3 arguments (2 given)
======================================================================
FAIL: test_knownMasterNotifyNodeInformation (__main__.ClientHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientHandler.py", line 675, in test_knownMasterNotifyNodeInformation
self.assertEqual(len(nm.mockGetNamedCalls('add')), 0)
AssertionError: 1 != 0
======================================================================
FAIL: test_knownStorageNotifyNodeInformation (__main__.ClientHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientHandler.py", line 698, in test_knownStorageNotifyNodeInformation
self.assertEqual(len(nm.mockGetNamedCalls('add')), 0)
AssertionError: 1 != 0
----------------------------------------------------------------------
Ran 58 tests in 0.096s
FAILED (failures=2, errors=13)
Ran unit test of ./neo/client/tests/testZODB.py
................
----------------------------------------------------------------------
Ran 16 tests in 486.068s
OK
Using temp directory '/home/baobab/tmp/neo_3ysrtX'.
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
......ERROR:root:wrong checksum from node None for oid 0000000000000019
EERROR:root:wrong checksum from node None for oid 0000000000000029
EERROR:root:wrong checksum from node None for oid 0000000000000018
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: test_load (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientApp.py", line 232, in test_load
result = app.load(oid)
File "/home/baobab/neo/neo/neo/client/app.py", line 457, in load
return self._load(oid, cache=1)[:2]
File "/home/baobab/neo/neo/neo/client/app.py", line 426, in _load
raise NEOStorageNotFoundError()
NEOStorageNotFoundError
======================================================================
ERROR: test_loadBefore (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientApp.py", line 310, in test_loadBefore
result = app.loadBefore(oid, tid1)
File "/home/baobab/neo/neo/neo/client/app.py", line 475, in loadBefore
data, start, end = self._load(oid, tid=tid)
File "/home/baobab/neo/neo/neo/client/app.py", line 426, in _load
raise NEOStorageNotFoundError()
NEOStorageNotFoundError
======================================================================
ERROR: test_loadSerial (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientApp.py", line 277, in test_loadSerial
result = app.loadSerial(oid, tid1)
File "/home/baobab/neo/neo/neo/client/app.py", line 466, in loadSerial
return self._load(oid, serial=serial)[0]
File "/home/baobab/neo/neo/neo/client/app.py", line 426, in _load
raise NEOStorageNotFoundError()
NEOStorageNotFoundError
======================================================================
ERROR: test_undo2 (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientApp.py", line 707, 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 711, in undo
raise UndoError("no previous record", oid)
UndoError: Undo error 0x02: no previous record
----------------------------------------------------------------------
Ran 26 tests in 2.123s
FAILED (errors=4)
More information about the Neo-report
mailing list