[Neo-report] Neo : 383 Tests, 19 Errors, 3 Failures
gregory at nexedi.com
gregory at nexedi.com
Tue Feb 2 12:06:33 CET 2010
NEO TESTS REPORT
Date : 2010-02-02
Node : sd-9157
Processor : VIA Esther processor 2000MHz (32bit)
System : Linux (2.6.12-27mdk)
Directory : /tmp/neo_s7vGcm
Status : 94.256%
Test Module | run | success | errors | fails | time
--------------------------+---------+---------+---------+---------+----------
ClientApp | 26 | 26 | . | . | 1.83s
ClientHandler | 51 | 33 | 18 | . | 0.31s
ConnectionPool | 1 | 1 | . | . | 0.00s
--------------------------+---------+---------+---------+---------+----------
neo.tests.client | | | | |
--------------------------+---------+---------+---------+---------+----------
Client | 4 | 3 | . | 1 | 16.94s
Cluster | 4 | 3 | . | 1 | 51.19s
ImportExport | 2 | 2 | . | . | 12.82s
Master | 4 | 4 | . | . | 47.58s
Storage | 12 | 10 | 1 | 1 | 164.74s
ZODB | 16 | 16 | . | . | 72.26s
--------------------------+---------+---------+---------+---------+----------
neo.tests.functional | | | | |
--------------------------+---------+---------+---------+---------+----------
ClientHandler | 7 | 7 | . | . | 0.14s
ElectionHandler | 25 | 25 | . | . | 0.26s
MasterApp | 2 | 2 | . | . | 0.10s
MasterPT | 7 | 7 | . | . | 0.08s
Recovery | 5 | 5 | . | . | 0.07s
StorageHandler | 7 | 7 | . | . | 0.97s
Transactions | 4 | 4 | . | . | 0.00s
Verification | 9 | 9 | . | . | 0.13s
--------------------------+---------+---------+---------+---------+----------
neo.tests.master | | | | |
--------------------------+---------+---------+---------+---------+----------
ClientHandler | 18 | 18 | . | . | 1.93s
InitializationHandler | 4 | 4 | . | . | 0.39s
MasterHandler | 10 | 10 | . | . | 0.87s
StorageApp | 3 | 3 | . | . | 0.27s
StorageHandler | 13 | 13 | . | . | 1.27s
StorageMySQLdb | 35 | 35 | . | . | 2.45s
VerificationHandler | 13 | 13 | . | . | 1.16s
--------------------------+---------+---------+---------+---------+----------
neo.tests.storage | | | | |
--------------------------+---------+---------+---------+---------+----------
Bootstrap | 2 | 2 | . | . | 1.69s
Connection | 16 | 16 | . | . | 0.06s
Dispatcher | 3 | 3 | . | . | 0.00s
Event | 2 | 2 | . | . | 0.01s
Handler | 1 | 1 | . | . | 0.02s
Nodes | 13 | 13 | . | . | 0.06s
PT | 10 | 10 | . | . | 0.07s
Protocol | 54 | 54 | . | . | 0.01s
--------------------------+---------+---------+---------+---------+----------
neo.tests | | | | |
--------------------------+---------+---------+---------+---------+----------
Summary | 383 | 361 | 19 | 3 | 379.67s
--------------------------+---------+---------+---------+---------+----------
ERRORS:
neo/tests/client/testClientHandler.py ClientHandlerTests.test_StopOperation
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 756, in test_StopOperation
raise NotImplementedError
NotImplementedError
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_initialMasterConnectionClosed
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 158, in test_initialMasterConnectionClosed
self._testInitialMasterWithMethod(self._testConnectionClosed)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 77, in _testInitialMasterWithMethod
method(self.getDispatcher(), app, PrimaryBootstrapHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 155, in _testConnectionClosed
client_handler.connectionClosed(conn)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_initialMasterConnectionFailed
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 145, in test_initialMasterConnectionFailed
self._testInitialMasterWithMethod(self._testConnectionFailed)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 77, in _testInitialMasterWithMethod
method(self.getDispatcher(), app, PrimaryBootstrapHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 142, in _testConnectionFailed
client_handler.connectionFailed(conn)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_initialMasterPeerBroken
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 191, in test_initialMasterPeerBroken
self._testInitialMasterWithMethod(self._testPeerBroken)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 77, in _testInitialMasterWithMethod
method(self.getDispatcher(), app, PrimaryBootstrapHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 188, in _testPeerBroken
client_handler.peerBroken(conn)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_initialMasterTimeoutExpired
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 175, in test_initialMasterTimeoutExpired
self._testInitialMasterWithMethod(self._testTimeoutExpired)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 77, in _testInitialMasterWithMethod
method(self.getDispatcher(), app, PrimaryBootstrapHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 172, in _testTimeoutExpired
client_handler.timeoutExpired(conn)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_initialNotifyPartitionChanges
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 569, in test_initialNotifyPartitionChanges
args=(conn, None, None, None))
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 271, in _testHandleUnexpectedPacketCalledWithMedhod
self.assertRaises(UnexpectedPacketError, method, *args, **dict(kw))
File "/usr/lib/python2.4/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
TypeError: notifyPartitionChanges() takes exactly 4 arguments (5 given)
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_knownNodeNotifyPartitionChanges
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 663, in test_knownNodeNotifyPartitionChanges
client_handler.notifyPartitionChanges(conn, None, test_ptid + 1, test_cell_list)
TypeError: notifyPartitionChanges() takes exactly 4 arguments (5 given)
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_knownStorageNotifyNodeInformation
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 554, in test_knownStorageNotifyNodeInformation
nm = self._testNotifyNodeInformation(test_node, getByUUID=node)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 509, in _testNotifyNodeInformation
client_handler.notifyNodeInformation(conn, test_node_list)
File "/home/neo_tests/neo/neo/client/handlers/master.py", line 161, in notifyNodeInformation
conn = self.app.em.getConnectionByUUID(uuid)
AttributeError: App instance has no attribute 'em'
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_masterConnectionClosed
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 162, in test_masterConnectionClosed
PrimaryNotificationsHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 86, in _testMasterWithMethod
method(dispatcher, app, handler_class, uuid=uuid, conn=app.master_conn)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 155, in _testConnectionClosed
client_handler.connectionClosed(conn)
File "/home/neo_tests/neo/neo/client/handlers/master.py", line 103, in connectionClosed
super(PrimaryNotificationsHandler, self).connectionClosed(conn)
File "/home/neo_tests/neo/neo/handler.py", line 129, in connectionClosed
self.connectionLost(conn, NodeStates.TEMPORARILY_DOWN)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 50, in connectionLost
self.app.dispatcher.unregister(conn)
AttributeError: MockCallable instance has no attribute 'unregister'
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_masterPeerBroken
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 194, in test_masterPeerBroken
self._testMasterWithMethod(self._testPeerBroken, PrimaryNotificationsHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 86, in _testMasterWithMethod
method(dispatcher, app, handler_class, uuid=uuid, conn=app.master_conn)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 188, in _testPeerBroken
client_handler.peerBroken(conn)
File "/home/neo_tests/neo/neo/client/handlers/master.py", line 118, in peerBroken
BaseHandler.peerBroken(self, conn)
File "/home/neo_tests/neo/neo/handler.py", line 134, in peerBroken
self.connectionLost(conn, NodeStates.BROKEN)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 50, in connectionLost
self.app.dispatcher.unregister(conn)
AttributeError: MockCallable instance has no attribute 'unregister'
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_masterTimeoutExpired
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 178, in test_masterTimeoutExpired
self._testMasterWithMethod(self._testTimeoutExpired, PrimaryNotificationsHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 86, in _testMasterWithMethod
method(dispatcher, app, handler_class, uuid=uuid, conn=app.master_conn)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 172, in _testTimeoutExpired
client_handler.timeoutExpired(conn)
File "/home/neo_tests/neo/neo/client/handlers/master.py", line 111, in timeoutExpired
BaseHandler.timeoutExpired(self, conn)
File "/home/neo_tests/neo/neo/handler.py", line 124, in timeoutExpired
self.connectionLost(conn, NodeStates.TEMPORARILY_DOWN)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 50, in connectionLost
self.app.dispatcher.unregister(conn)
AttributeError: MockCallable instance has no attribute 'unregister'
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_ping
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 69, in test_ping
client_handler.packetReceived(conn, packet)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 46, in packetReceived
self.dispatch(conn, packet)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 34, in dispatch
super(BaseHandler, self).dispatch(conn, packet)
File "/home/neo_tests/neo/neo/handler.py", line 74, in dispatch
self.__unexpectedPacket(conn, packet, *e.args)
File "/home/neo_tests/neo/neo/handler.py", line 61, in __unexpectedPacket
self.peerBroken(conn)
File "/home/neo_tests/neo/neo/handler.py", line 134, in peerBroken
self.connectionLost(conn, NodeStates.BROKEN)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 50, in connectionLost
self.app.dispatcher.unregister(conn)
AttributeError: 'NoneType' object has no attribute 'dispatcher'
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_storageConnectionClosed
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 166, in test_storageConnectionClosed
StorageBootstrapHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 125, in _testStorageWithMethod
method(dispatcher, app, handler_class, conn=conn)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 155, in _testConnectionClosed
client_handler.connectionClosed(conn)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_storageConnectionFailed
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 149, in test_storageConnectionFailed
StorageBootstrapHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 125, in _testStorageWithMethod
method(dispatcher, app, handler_class, conn=conn)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 142, in _testConnectionFailed
client_handler.connectionFailed(conn)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_storagePeerBroken
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 198, in test_storagePeerBroken
StorageBootstrapHandler, state=NodeStates.BROKEN)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 125, in _testStorageWithMethod
method(dispatcher, app, handler_class, conn=conn)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 188, in _testPeerBroken
client_handler.peerBroken(conn)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_storageTimeoutExpired
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 182, in test_storageTimeoutExpired
StorageBootstrapHandler)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 125, in _testStorageWithMethod
method(dispatcher, app, handler_class, conn=conn)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 172, in _testTimeoutExpired
client_handler.timeoutExpired(conn)
File "/home/neo_tests/neo/neo/client/handlers/__init__.py", line 57, in unexpectedInAnswerHandler
raise Exception('Unexpected event in an answer handler')
Exception: Unexpected event in an answer handler
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_unknownNodeAnswerPrimary
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 297, in test_unknownNodeAnswerPrimary
client_handler.answerPrimary(conn, INVALID_UUID, test_master_list)
File "/home/neo_tests/neo/neo/client/handlers/master.py", line 60, in answerPrimary
if uuid is not None and n.getUUID() != uuid:
AttributeError: 'NoneType' object has no attribute 'getUUID'
-------------------------------------------------------------
neo/tests/client/testClientHandler.py ClientHandlerTests.test_unknownStorageNotifyNodeInformation
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 539, in test_unknownStorageNotifyNodeInformation
nm = self._testNotifyNodeInformation(test_node, getByUUID=None)
File "/home/neo_tests/neo/neo/tests/client/testClientHandler.py", line 509, in _testNotifyNodeInformation
client_handler.notifyNodeInformation(conn, test_node_list)
File "/home/neo_tests/neo/neo/client/handlers/master.py", line 161, in notifyNodeInformation
conn = self.app.em.getConnectionByUUID(uuid)
AttributeError: App instance has no attribute 'em'
-------------------------------------------------------------
neo/tests/functional/testStorage.py StorageTests.testStartWithManyPartitions
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 387, in testStartWithManyPartitions
self.__setup(storage_number=2, partitions=5000, master_node_count=1)
File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 64, in __setup
self.neo.start(except_storages=stopped_processes)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 261, in start
neoctl.enableStorageList([x[2] for x in storage_node_list])
File "/home/neo_tests/neo/neo/neoctl/neoctl.py", line 71, in enableStorageList
response = self.__ask(packet)
File "/home/neo_tests/neo/neo/neoctl/neoctl.py", line 59, in __ask
raise NotReadyException, 'Connection closed'
NotReadyException: Connection closed
-------------------------------------------------------------
FAILURES:
neo/tests/functional/testClient.py ClientTests.testIsolationWithNewConnection
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/functional/testClient.py", line 169, in testIsolationWithNewConnection
self.assertEqual(c2.root()['item'], 0)
AssertionError: 1 != 0
-------------------------------------------------------------
neo/tests/functional/testCluster.py ClusterTests.testElectionWithManyMasters
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/functional/testCluster.py", line 74, in testElectionWithManyMasters
self.neo.expectAllMasters(MASTER_COUNT)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 390, in expectAllMasters
self.expectCondition(callback, timeout, delay)
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 380, in expectCondition
raise AssertionError, 'Timeout while expecting condition. ' \
AssertionError: Timeout while expecting condition. History: [18, 18, 18, 18, 18, 18, 18, 18, 18, 18]
-------------------------------------------------------------
neo/tests/functional/testStorage.py StorageTests.testDropNodeThenRestartCluster
-------------------------------------------------------------
Traceback (most recent call last):
File "/home/neo_tests/neo/neo/tests/functional/testStorage.py", line 410, in testDropNodeThenRestartCluster
self.neo.start(except_storages=[started[0]])
File "/home/neo_tests/neo/neo/tests/functional/__init__.py", line 255, in start
raise AssertionError, 'Timeout when starting cluster'
AssertionError: Timeout when starting cluster
-------------------------------------------------------------
More information about the Neo-report
mailing list