[Neo-report] Neo : 399 Tests, 1 Errors, 4 Failures

aurel at nexedi.com aurel at nexedi.com
Mon Jun 8 09:39:27 CEST 2009


Date : 2009-06-08

Ran unit test of  ./neo/master/tests/testMasterVerificationHandler.py
Ran 15 tests in 0.219s
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.130s
OK

Ran unit test of  ./neo/master/tests/testMasterService.py
Ran 17 tests in 3.811s
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.003s
OK

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

Ran unit test of  ./neo/tests/testConnection.py
Ran 16 tests in 0.061s
FAILED (failures=2)

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.950s
OK

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

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

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

Ran unit test of  ./neo/storage/tests/testStorageApp.py
Ran 4 tests in 0.375s
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 58 tests in 0.114s
FAILED (failures=1, errors=1)

Ran unit test of  ./neo/client/tests/testZODB.py
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.141s
OK

-------------- 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.219s

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 917f32e3f6599c0fbc715b6c4557321b 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.130s

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 3.811s

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.003s

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

OK
Ran unit test of  ./neo/tests/testConnection.py
.....F......F...
======================================================================
FAIL: test_06_Connection_send (__main__.testConnection)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/tests/testConnection.py", line 398, in test_06_Connection_send
    self.assertEqual(bc.write_buf, "testdata" + "second" + "third")
AssertionError: '' != 'testdatasecondthird'

======================================================================
FAIL: test_13_ClientConnection_writable (__main__.testConnection)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/tests/testConnection.py", line 931, in test_13_ClientConnection_writable
    self.assertEqual(bc.write_buf, "testdata")
AssertionError: '' != 'testdata'

----------------------------------------------------------------------
Ran 16 tests in 0.061s

FAILED (failures=2)
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.950s

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.595s

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

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 348d1c3d1b87c42b2e3a94ec1f2ed19e
..........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), 3)
AssertionError: 2 != 3

----------------------------------------------------------------------
Ran 58 tests in 4.973s

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

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................F............................
======================================================================
ERROR: test_StopOperation (__main__.ClientEventHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientHandler.py", line 925, in test_StopOperation
    raise NotImplementedError
NotImplementedError

======================================================================
FAIL: test_knownNodeNotifyPartitionChanges (__main__.ClientEventHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/client/tests/testClientHandler.py", line 840, in test_knownNodeNotifyPartitionChanges
    self.assertEquals(len(calls), 2)
AssertionError: 0 != 2

----------------------------------------------------------------------
Ran 58 tests in 0.114s

FAILED (failures=1, errors=1)
Ran unit test of  ./neo/client/tests/testZODB.py
.............Traceback (most recent call last):
  File "/home/baobab/neo/neo/neomaster", line 46, in ?
    app.run()
  File "/home/baobab/neo/neo/neo/master/app.py", line 107, in run
    self.playPrimaryRole()
  File "/home/baobab/neo/neo/neo/master/app.py", line 717, in playPrimaryRole
    self.provideService()
  File "/home/baobab/neo/neo/neo/master/app.py", line 659, in provideService
    em.poll(1)
  File "/home/baobab/neo/neo/neo/event.py", line 190, in poll
    conn.readable()
  File "/home/baobab/neo/neo/neo/connection.py", line 205, in readable
    self.analyse()
  File "/home/baobab/neo/neo/neo/connection.py", line 236, in analyse
    self.handler.packetReceived(self, packet)
  File "/home/baobab/neo/neo/neo/handler.py", line 133, in packetReceived
    self.dispatch(conn, packet)
  File "/home/baobab/neo/neo/neo/handler.py", line 188, in dispatch
    method(conn, packet, *args)
  File "/home/baobab/neo/neo/neo/handler.py", line 207, in handleError
    method(conn, packet, message)
  File "/home/baobab/neo/neo/neo/handler.py", line 391, in handleProtocolError
    raise RuntimeError, 'protocol error: %s' % (message,)
RuntimeError: protocol error: protocol error: unexpected packet type ANSWER_PRIMARY_MASTER
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 0000000000000040
.ERROR:root:wrong checksum from node None for oid 000000000000001c
ERROR:root:wrong checksum from node None for oid 000000000000001c
.ERROR:root:wrong checksum from node None for oid 0000000000000041
.............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
ERROR:root:wrong checksum from node FakeServer for oid 0000000000000002
..
----------------------------------------------------------------------
Ran 26 tests in 2.141s

OK
Error invalid load key, 'O'.


More information about the Neo-report mailing list