[Neo-report] Neo : 414 Tests, 9 Errors, 7 Failures
aurel at nexedi.com
aurel at nexedi.com
Sat Jun 13 12:09:27 CEST 2009
Date : 2009-06-13
Ran unit test of ./neo/master/tests/testMasterVerificationHandler.py
Ran 15 tests in 0.120s
OK
Ran unit test of ./neo/master/tests/testMasterRecoveryHandler.py
Ran 10 tests in 0.073s
OK
Ran unit test of ./neo/master/tests/testMasterElectionHandler.py
Ran 21 tests in 0.135s
OK
Ran unit test of ./neo/master/tests/testMasterService.py
Ran 17 tests in 2.271s
OK
Ran unit test of ./neo/master/tests/testMasterApp.py
Ran 6 tests in 0.033s
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.046s
OK
Ran unit test of ./neo/tests/testEvent.py
Ran 2 tests in 0.007s
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.799s
OK
Ran unit test of ./neo/storage/tests/testStorageBootstrapHandler.py
Ran 24 tests in 0.440s
FAILED (failures=1)
Ran unit test of ./neo/storage/tests/testStorageMySQLdb.py
Ran 36 tests in 2.387s
OK
Ran unit test of ./neo/storage/tests/testStorageOperation.py
Ran 58 tests in 4.837s
FAILED (failures=1)
Ran unit test of ./neo/storage/tests/testStorageApp.py
Ran 4 tests in 0.367s
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 57 tests in 0.102s
FAILED (errors=1)
Ran unit test of ./neo/client/tests/testZODB.py
Ran 16 tests in 500.583s
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.146s
FAILED (failures=4, errors=8)
-------------- 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.120s
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 83dd1aef8d3568458ea05203ee99e391 while waiting for None
.
----------------------------------------------------------------------
Ran 10 tests in 0.073s
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.135s
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.271s
OK
Ran unit test of ./neo/master/tests/testMasterApp.py
......
----------------------------------------------------------------------
Ran 6 tests in 0.033s
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.046s
OK
Ran unit test of ./neo/tests/testEvent.py
..
----------------------------------------------------------------------
Ran 2 tests in 0.007s
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.799s
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
..F......
======================================================================
FAIL: test_09_handleAcceptNodeIdentification5 (__main__.StorageBootstrapTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/storage/tests/testStorageBootstrapHandler.py", line 421, in test_09_handleAcceptNodeIdentification5
self.assertEqual(None, self.app.dm.getNumPartitions())
AssertionError: None != 1
----------------------------------------------------------------------
Ran 24 tests in 0.440s
FAILED (failures=1)
Ran unit test of ./neo/storage/tests/testStorageMySQLdb.py
....................................
----------------------------------------------------------------------
Ran 36 tests in 2.387s
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 198d7d96cebfa60cfbf7da0d77016579
..........F..................................
======================================================================
FAIL: test_14_handleNotifyPartitionChanges2 (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/storage/tests/testStorageOperation.py", line 492, in test_14_handleNotifyPartitionChanges2
self.assertEquals(len(calls), 2)
AssertionError: 3 != 2
----------------------------------------------------------------------
Ran 58 tests in 4.837s
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 121, in test_01_loadPartitionTable
self.assertEqual(cell_list[0].getUUID(), client_uuid)
AssertionError: '\x86\x0e\x88H\xbf\x14\xf5^\x84\xf87Oq\x93\xc2\x00' != '\\\x86\x0e\x88H\xbf\x14\xf5^\x84\xf87Oq\x93\xc2'
----------------------------------------------------------------------
Ran 4 tests in 0.367s
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............................................
======================================================================
ERROR: test_StopOperation (__main__.ClientHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientHandler.py", line 913, in test_StopOperation
raise NotImplementedError
NotImplementedError
----------------------------------------------------------------------
Ran 57 tests in 0.102s
FAILED (errors=1)
Ran unit test of ./neo/client/tests/testZODB.py
................
----------------------------------------------------------------------
Ran 16 tests in 500.583s
OK
Using temp directory '/tmp/neo_V7Mwnz'.
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
DEBUG:root:master node address are
FDEBUG:root:master node address are
.DEBUG:root:master node address are 127.0.0.1:10010 127.0.0.1:10011
DEBUG:root:connecting to primary master...
DEBUG:root:connection started for 127.0.0.1:10010
INFO:root:initializing connector
DEBUG:root:connection completed for 127.0.0.1:10010
DEBUG:root:adding #0x0000 REQUEST_NODE_IDENTIFICATION to None (127.0.0.1:10010)
DEBUG:root:connection started for 127.0.0.1:10011
INFO:root:initializing connector
DEBUG:root:connection completed for 127.0.0.1:10011
DEBUG:root:adding #0x0000 REQUEST_NODE_IDENTIFICATION to None (127.0.0.1:10011)
DEBUG:root:connection started for 192.168.1.1:10000
INFO:root:initializing connector
DEBUG:root:connection completed for 192.168.1.1:10000
DEBUG:root:adding #0x0000 REQUEST_NODE_IDENTIFICATION to None (192.168.1.1:10000)
INFO:root:connected to primary master node Fake master node
.DEBUG:root:master node address are 127.0.0.1:10010
.DEBUG:root:master node address are 127.0.0.1:10010
.DEBUG:root:master node address are 127.0.0.1:10010
.DEBUG:root:master node address are 127.0.0.1:10010
DEBUG:root:trying to load 000000000000009b from 00000000000000000000000000000000
WARNING:root:oid 000000000000009b not found because of connection failure
DEBUG:root:trying to load 000000000000009b from 00000000000000000000000000000000
INFO:root:oid 000000000000009b not found
DEBUG:root:trying to load 000000000000009b from 00000000000000000000000000000000
ERROR:root:wrong checksum from node None for oid 000000000000009b
INFO:root:oid 000000000000009b not found
EDEBUG:root:master node address are 127.0.0.1:10010
DEBUG:root:loading 000000000000005a before 0000000000000002
DEBUG:root:trying to load 000000000000005a from 00000000000000000000000000000000
INFO:root:oid 000000000000005a not found
DEBUG:root:loading 000000000000005a before 0000000000000001
DEBUG:root:trying to load 000000000000005a from 00000000000000000000000000000000
ERROR:root:wrong checksum from node None for oid 000000000000005a
INFO:root:oid 000000000000005a not found
EDEBUG:root:master node address are 127.0.0.1:10010
DEBUG:root:loading 00000000000000a5 at 0000000000000002
DEBUG:root:trying to load 00000000000000a5 from 00000000000000000000000000000000
INFO:root:oid 00000000000000a5 not found
DEBUG:root:loading 00000000000000a5 at 0000000000000001
DEBUG:root:trying to load 00000000000000a5 from 00000000000000000000000000000000
ERROR:root:wrong checksum from node None for oid 00000000000000a5
INFO:root:oid 00000000000000a5 not found
EDEBUG:root:master node address are 127.0.0.1:10010
EDEBUG:root:master node address are 127.0.0.1:10010
.DEBUG:root:master node address are 127.0.0.1:10010
DEBUG:root:storing oid 000000000000000b serial 0000000000000024
.DEBUG:root:master node address are 127.0.0.1:10010
DEBUG:root:storing oid 000000000000000b serial 000000000000003b
FDEBUG:root:master node address are 127.0.0.1:10010
DEBUG:root:storing oid 000000000000000b serial 0000000000000069
FDEBUG:root:master node address are 127.0.0.1:10010
.DEBUG:root:master node address are 127.0.0.1:10010
FDEBUG:root:master node address are 127.0.0.1:10010
EDEBUG:root:master node address are 127.0.0.1:10010
.DEBUG:root:master node address are 127.0.0.1:10010
EDEBUG:root:master node address are 127.0.0.1:10010
EDEBUG:root:master node address are 127.0.0.1:10010
.DEBUG:root:master node address are 127.0.0.1:10010
INFO:root:voting object FakeServer FakeState
INFO:root:voting object FakeServer FakeState
INFO:root:unexpected packet type ANSWER_NEW_OIDS
ERROR:root:127.0.0.1:0 is broken
.DEBUG:root:master node address are 127.0.0.1:10010
INFO:root:voting object FakeServer FakeState
INFO:root:voting object FakeServer FakeState
.DEBUG:root:master node address are 127.0.0.1:10010
.DEBUG:root:master node address are 127.0.0.1:10010
INFO:root:voting object FakeServer FakeState
INFO:root:voting object FakeServer FakeState
EDEBUG:root:master node address are 127.0.0.1:10010
INFO:root:UndoLog, tids ['\x00\x00\x00\x00\x00\x00\x00\x02', '\x00\x00\x00\x00\x00\x00\x00\x01']
.
======================================================================
ERROR: test_load (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientApp.py", line 221, in test_load
result = app.load(oid)
File "/home/baobab/neo/neo/neo/client/app.py", line 479, in load
return self._load(oid, cache=1)[:2]
File "/home/baobab/neo/neo/neo/client/app.py", line 448, in _load
raise NEOStorageNotFoundError()
NEOStorageNotFoundError
======================================================================
ERROR: test_loadBefore (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientApp.py", line 299, in test_loadBefore
result = app.loadBefore(oid, tid1)
File "/home/baobab/neo/neo/neo/client/app.py", line 497, in loadBefore
data, start, end = self._load(oid, tid=tid)
File "/home/baobab/neo/neo/neo/client/app.py", line 448, in _load
raise NEOStorageNotFoundError()
NEOStorageNotFoundError
======================================================================
ERROR: test_loadSerial (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientApp.py", line 266, in test_loadSerial
result = app.loadSerial(oid, tid1)
File "/home/baobab/neo/neo/neo/client/app.py", line 488, in loadSerial
return self._load(oid, serial=serial)[0]
File "/home/baobab/neo/neo/neo/client/app.py", line 448, in _load
raise NEOStorageNotFoundError()
NEOStorageNotFoundError
======================================================================
ERROR: test_new_oid (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientApp.py", line 152, in test_new_oid
new_oid = app.new_oid()
File "/home/baobab/neo/neo/neo/client/app.py", line 361, in new_oid
self._askPrimary(protocol.askNewOIDs(100))
File "/home/baobab/neo/neo/neo/client/app.py", line 338, in _askPrimary
self._waitMessage(conn, msg_id, self.primary_handler)
File "./neo/client/tests/testClientApp.py", line 41, in _waitMessage
handler.dispatch(conn, conn.fakeReceived())
File "/home/baobab/neo/neo/neo/client/handler.py", line 53, in dispatch
super(BaseHandler, self).dispatch(conn, packet)
File "/home/baobab/neo/neo/neo/handler.py", line 184, in dispatch
t = packet.getType()
AttributeError: 'NoneType' object has no attribute 'getType'
======================================================================
ERROR: test_tpc_begin (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientApp.py", line 337, 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 514, in tpc_begin
self._askPrimary(protocol.askNewTID())
File "/home/baobab/neo/neo/neo/client/app.py", line 338, in _askPrimary
self._waitMessage(conn, msg_id, self.primary_handler)
File "./neo/client/tests/testClientApp.py", line 41, in _waitMessage
handler.dispatch(conn, conn.fakeReceived())
File "/home/baobab/neo/neo/neo/client/handler.py", line 53, in dispatch
super(BaseHandler, self).dispatch(conn, packet)
File "/home/baobab/neo/neo/neo/handler.py", line 184, in dispatch
t = packet.getType()
AttributeError: 'NoneType' object has no attribute 'getType'
======================================================================
ERROR: test_tpc_finish2 (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientApp.py", line 585, in test_tpc_finish2
self.assertRaises(NEOStorageError, app.tpc_finish, txn, hook)
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/baobab/neo/neo/neo/client/app.py", line 672, in tpc_finish
self._askPrimary(p)
File "/home/baobab/neo/neo/neo/client/app.py", line 338, in _askPrimary
self._waitMessage(conn, msg_id, self.primary_handler)
File "./neo/client/tests/testClientApp.py", line 41, in _waitMessage
handler.dispatch(conn, conn.fakeReceived())
File "/home/baobab/neo/neo/neo/client/handler.py", line 53, in dispatch
super(BaseHandler, self).dispatch(conn, packet)
File "/home/baobab/neo/neo/neo/handler.py", line 184, in dispatch
t = packet.getType()
AttributeError: 'NoneType' object has no attribute 'getType'
======================================================================
ERROR: test_tpc_finish3 (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientApp.py", line 610, in test_tpc_finish3
app.tpc_finish(txn, hook)
File "/home/baobab/neo/neo/neo/client/app.py", line 672, in tpc_finish
self._askPrimary(p)
File "/home/baobab/neo/neo/neo/client/app.py", line 338, in _askPrimary
self._waitMessage(conn, msg_id, self.primary_handler)
File "./neo/client/tests/testClientApp.py", line 41, in _waitMessage
handler.dispatch(conn, conn.fakeReceived())
File "/home/baobab/neo/neo/neo/client/handler.py", line 53, in dispatch
super(BaseHandler, self).dispatch(conn, packet)
File "/home/baobab/neo/neo/neo/handler.py", line 184, in dispatch
t = packet.getType()
AttributeError: 'NoneType' object has no attribute 'getType'
======================================================================
ERROR: test_undo2 (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientApp.py", line 656, in test_undo2
self.finishTransaction(app)
File "./neo/client/tests/testClientApp.py", line 118, in finishTransaction
app.tpc_finish(txn)
File "/home/baobab/neo/neo/neo/client/app.py", line 672, in tpc_finish
self._askPrimary(p)
File "/home/baobab/neo/neo/neo/client/app.py", line 338, in _askPrimary
self._waitMessage(conn, msg_id, self.primary_handler)
File "./neo/client/tests/testClientApp.py", line 41, in _waitMessage
handler.dispatch(conn, conn.fakeReceived())
File "/home/baobab/neo/neo/neo/client/handler.py", line 53, in dispatch
super(BaseHandler, self).dispatch(conn, packet)
File "/home/baobab/neo/neo/neo/handler.py", line 184, in dispatch
t = packet.getType()
AttributeError: 'NoneType' object has no attribute 'getType'
======================================================================
FAIL: _askPrimary is private but test it anyway
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientApp.py", line 856, in test_askPrimary
self.checkAskNewTid(conn)
File "/home/baobab/neo/neo/neo/tests/base.py", line 283, in checkAskNewTid
return self.checkAskPacket(conn, protocol.ASK_NEW_TID, **kw)
File "/home/baobab/neo/neo/neo/tests/base.py", line 200, in checkAskPacket
self.assertEquals(len(calls), 1)
AssertionError: 0 != 1
======================================================================
FAIL: test_store2 (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientApp.py", line 403, in test_store2
self.checkDispatcherRegisterCalled(app, conn)
File "./neo/client/tests/testClientApp.py", line 127, 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 432, in test_store3
self.checkDispatcherRegisterCalled(app, conn)
File "./neo/client/tests/testClientApp.py", line 127, in checkDispatcherRegisterCalled
self.assertTrue(isinstance(calls[0].getParam(2), Queue))
AssertionError
======================================================================
FAIL: test_tpc_abort2 (__main__.ClientApplicationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./neo/client/tests/testClientApp.py", line 540, in test_tpc_abort2
self.checkNotifyPacket(app.master_conn, ABORT_TRANSACTION)
File "/home/baobab/neo/neo/neo/tests/base.py", line 226, in checkNotifyPacket
self.assertTrue(len(calls) > packet_number)
AssertionError
----------------------------------------------------------------------
Ran 26 tests in 2.146s
FAILED (failures=4, errors=8)
Unhandled exception in thread started by
Error in sys.excepthook:
Original exception was:
Unhandled exception in thread started by
Error in sys.excepthook:
Original exception was:
Unhandled exception in thread started by
Error in sys.excepthook:
Original exception was:
Unhandled exception in thread started by
Error in sys.excepthook:
Original exception was:
Unhandled exception in thread started by
Error in sys.excepthook:
Original exception was:
Unhandled exception in thread started by
Error in sys.excepthook:
Original exception was:
Unhandled exception in thread started by
Error in sys.excepthook:
Original exception was:
Unhandled exception in thread started by
Error in sys.excepthook:
Original exception was:
Unhandled exception in thread started by
Error in sys.excepthook:
Original exception was:
Unhandled exception in thread started by
Error in sys.excepthook:
Original exception was:
More information about the Neo-report
mailing list