[Neo-report] Neo : 394 Tests, 12 Errors, 49 Failures

aurel at nexedi.com aurel at nexedi.com
Fri May 29 10:08:05 CEST 2009


Date : 2009-05-29

Ran unit test of  ./neo/master/tests/testMasterVerificationHandler.py
Ran 15 tests in 0.120s
FAILED (failures=8)

Ran unit test of  ./neo/master/tests/testMasterRecoveryHandler.py
Ran 10 tests in 0.066s
FAILED (failures=4)

Ran unit test of  ./neo/master/tests/testMasterElectionHandler.py
Ran 21 tests in 0.129s
FAILED (failures=2)

Ran unit test of  ./neo/master/tests/testMasterService.py
Ran 17 tests in 3.105s
FAILED (errors=11)

Ran unit test of  ./neo/master/tests/testMasterApp.py
Ran 6 tests in 0.030s
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.017s
OK

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

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

Ran unit test of  ./neo/storage/tests/testStorageVerificationHandler.py
Ran 20 tests in 2.179s
FAILED (failures=12)

Ran unit test of  ./neo/storage/tests/testStorageBootstrapHandler.py
Ran 24 tests in 2.106s
FAILED (failures=3)

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

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

Ran unit test of  ./neo/storage/tests/testStorageApp.py
Ran 4 tests in 0.779s
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.098s
FAILED (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.513s
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
..ERROR:root:127.0.0.1:10011 is broken
F.ERROR:root:127.0.0.1:10011 is broken
FERROR:root:127.0.0.1:10021 is broken
F.ERROR:root:127.0.0.1:10021 is broken
FERROR:root:127.0.0.1:10021 is broken
FERROR:root:127.0.0.1:10021 is broken
FERROR:root:127.0.0.1:10021 is broken
FERROR:root:127.0.0.1:10021 is broken
F
======================================================================
FAIL: test_06_handleAnnouncePrimaryMaster (__main__.MasterVerificationeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterVerificationHandler.py", line 563, in test_06_handleAnnouncePrimaryMaster
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterVerificationHandler.py", line 183, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_08_handleNotifyNodeInformation (__main__.MasterVerificationeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterVerificationHandler.py", line 591, in test_08_handleNotifyNodeInformation
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterVerificationHandler.py", line 183, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_09_handleAnswerLastIDs (__main__.MasterVerificationeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterVerificationHandler.py", line 657, in test_09_handleAnswerLastIDs
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterVerificationHandler.py", line 183, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_11_handleAnswerUnfinishedTransactions (__main__.MasterVerificationeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterVerificationHandler.py", line 708, in test_11_handleAnswerUnfinishedTransactions
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterVerificationHandler.py", line 183, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_12_handleAnswerTransactionInformation (__main__.MasterVerificationeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterVerificationHandler.py", line 752, in test_12_handleAnswerTransactionInformation
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterVerificationHandler.py", line 183, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_13_handleTidNotFound (__main__.MasterVerificationeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterVerificationHandler.py", line 824, in test_13_handleTidNotFound
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterVerificationHandler.py", line 183, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_14_handleAnswerObjectPresent (__main__.MasterVerificationeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterVerificationHandler.py", line 862, in test_14_handleAnswerObjectPresent
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterVerificationHandler.py", line 183, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_15_handleOidNotFound (__main__.MasterVerificationeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterVerificationHandler.py", line 901, in test_15_handleOidNotFound
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterVerificationHandler.py", line 183, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

----------------------------------------------------------------------
Ran 15 tests in 0.120s

FAILED (failures=8)
Ran unit test of  ./neo/master/tests/testMasterRecoveryHandler.py
..ERROR:root:127.0.0.1:10011 is broken
.ERROR:root:reject an alien cluster
..ERROR:root:127.0.0.1:10011 is broken
F.ERROR:root:127.0.0.1:10011 is broken
FERROR:root:127.0.0.1:10021 is broken
FERROR:root:127.0.0.1:10011 is broken
F
======================================================================
FAIL: test_06_handleAnnouncePrimaryMaster (__main__.MasterRecoveryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterRecoveryHandler.py", line 544, in test_06_handleAnnouncePrimaryMaster
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterRecoveryHandler.py", line 179, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_08_handleNotifyNodeInformation (__main__.MasterRecoveryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterRecoveryHandler.py", line 574, in test_08_handleNotifyNodeInformation
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterRecoveryHandler.py", line 179, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_09_handleAnswerLastIDs (__main__.MasterRecoveryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterRecoveryHandler.py", line 641, in test_09_handleAnswerLastIDs
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterRecoveryHandler.py", line 179, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_10_handleAnswerPartitionTable (__main__.MasterRecoveryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterRecoveryHandler.py", line 685, in test_10_handleAnswerPartitionTable
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterRecoveryHandler.py", line 179, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

----------------------------------------------------------------------
Ran 10 tests in 0.066s

FAILED (failures=4)
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
..ERROR:root:127.0.0.1:10011 is broken
F.ERROR:root:127.0.0.1:10011 is broken
F
======================================================================
FAIL: test_12_handleAnnouncePrimaryMaster (__main__.MasterElectionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterElectionHandler.py", line 608, in test_12_handleAnnouncePrimaryMaster
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterElectionHandler.py", line 200, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_14_handleNotifyNodeInformation (__main__.MasterElectionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterElectionHandler.py", line 649, in test_14_handleNotifyNodeInformation
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterElectionHandler.py", line 200, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

----------------------------------------------------------------------
Ran 21 tests in 0.129s

FAILED (failures=2)
Ran unit test of  ./neo/master/tests/testMasterService.py
ERROR:root:reject an alien cluster
..ERROR:root:127.0.0.1:10021 is broken
E.ERROR:root:127.0.0.1:10021 is broken
EERROR:root:127.0.0.1:10021 is broken
EERROR:root:127.0.0.1:10021 is broken
EERROR:root:127.0.0.1:10021 is broken
EERROR:root:127.0.0.1:10021 is broken
EERROR:root:127.0.0.1:10021 is broken
EERROR:root:127.0.0.1:10021 is broken
EERROR:root:127.0.0.1:10021 is broken
EERROR:root:127.0.0.1:10021 is broken
EERROR:root:127.0.0.1:10021 is broken
EERROR: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
...
======================================================================
ERROR: test_03_handleAnnouncePrimaryMaster (__main__.MasterServiceTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterService.py", line 435, in test_03_handleAnnouncePrimaryMaster
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterService.py", line 129, in checkCalledAbort
    call = conn.mockGetNamedCalls("answer")[packet_number]
IndexError: list index out of range

======================================================================
ERROR: test_05_handleNotifyNodeInformation (__main__.MasterServiceTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterService.py", line 457, in test_05_handleNotifyNodeInformation
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterService.py", line 129, in checkCalledAbort
    call = conn.mockGetNamedCalls("answer")[packet_number]
IndexError: list index out of range

======================================================================
ERROR: test_06_handleAnswerLastIDs (__main__.MasterServiceTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterService.py", line 534, in test_06_handleAnswerLastIDs
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterService.py", line 129, in checkCalledAbort
    call = conn.mockGetNamedCalls("answer")[packet_number]
IndexError: list index out of range

======================================================================
ERROR: test_07_handleAskNewTID (__main__.MasterServiceTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterService.py", line 571, in test_07_handleAskNewTID
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterService.py", line 129, in checkCalledAbort
    call = conn.mockGetNamedCalls("answer")[packet_number]
IndexError: list index out of range

======================================================================
ERROR: test_08_handleAskNewOIDs (__main__.MasterServiceTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterService.py", line 601, in test_08_handleAskNewOIDs
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterService.py", line 129, in checkCalledAbort
    call = conn.mockGetNamedCalls("answer")[packet_number]
IndexError: list index out of range

======================================================================
ERROR: test_09_handleFinishTransaction (__main__.MasterServiceTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterService.py", line 627, in test_09_handleFinishTransaction
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterService.py", line 129, in checkCalledAbort
    call = conn.mockGetNamedCalls("answer")[packet_number]
IndexError: list index out of range

======================================================================
ERROR: test_10_handleNotifyInformationLocked (__main__.MasterServiceTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterService.py", line 680, in test_10_handleNotifyInformationLocked
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterService.py", line 129, in checkCalledAbort
    call = conn.mockGetNamedCalls("answer")[packet_number]
IndexError: list index out of range

======================================================================
ERROR: test_11_handleAbortTransaction (__main__.MasterServiceTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterService.py", line 754, in test_11_handleAbortTransaction
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterService.py", line 129, in checkCalledAbort
    call = conn.mockGetNamedCalls("answer")[packet_number]
IndexError: list index out of range

======================================================================
ERROR: test_12_handleAskLastIDs (__main__.MasterServiceTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterService.py", line 787, in test_12_handleAskLastIDs
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterService.py", line 129, in checkCalledAbort
    call = conn.mockGetNamedCalls("answer")[packet_number]
IndexError: list index out of range

======================================================================
ERROR: test_13_handleAskUnfinishedTransactions (__main__.MasterServiceTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterService.py", line 809, in test_13_handleAskUnfinishedTransactions
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterService.py", line 129, in checkCalledAbort
    call = conn.mockGetNamedCalls("answer")[packet_number]
IndexError: list index out of range

======================================================================
ERROR: test_14_handleNotifyPartitionChanges (__main__.MasterServiceTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/master/tests/testMasterService.py", line 839, in test_14_handleNotifyPartitionChanges
    self.checkCalledAbort(conn)
  File "./neo/master/tests/testMasterService.py", line 129, in checkCalledAbort
    call = conn.mockGetNamedCalls("answer")[packet_number]
IndexError: list index out of range

----------------------------------------------------------------------
Ran 17 tests in 3.105s

FAILED (errors=11)
Ran unit test of  ./neo/master/tests/testMasterApp.py
......
----------------------------------------------------------------------
Ran 6 tests in 0.030s

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

OK
Ran unit test of  ./neo/tests/testConnection.py
....WARNING:root:recv called on <neo.connection.Connection object at 0xb7b142ec>(('127.0.0.7', 93413)) failed.
.WARNING:root:send called on <neo.connection.Connection object at 0xb7b14cec>(('127.0.0.7', 93413)) failed.
......Traceback (most recent call last):
  File "/home/baobab/neo/neo/neo/connection.py", line 359, in __init__
    connector.makeClientConnection(addr)
  File "/home/baobab/neo/neo/mock.py", line 256, in __call__
    return self.makeCall(params, kwparams)
  File "/home/baobab/neo/neo/mock.py", line 275, in makeCall
    return func(*allPosParams, **kwparams)
  File "./neo/tests/testConnection.py", line 788, in makeClientConnection
    raise ValueError
ValueError
WARNING:root:init called on <neo.connection.ClientConnection object at 0xb7b2350c>(('127.0.0.7', 93413)) failed.
...Traceback (most recent call last):
  File "/home/baobab/neo/neo/neo/connection.py", line 359, in __init__
    connector.makeClientConnection(addr)
  File "/home/baobab/neo/neo/mock.py", line 256, in __call__
    return self.makeCall(params, kwparams)
  File "/home/baobab/neo/neo/mock.py", line 275, in makeCall
    return func(*allPosParams, **kwparams)
  File "./neo/tests/testConnection.py", line 1023, in makeClientConnection
    raise ValueError
ValueError
WARNING:root:init called on <neo.connection.MTClientConnection object at 0xb7acdc6c>(('127.0.0.7', 93413)) failed.
..
----------------------------------------------------------------------
Ran 16 tests in 0.099s

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

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
.ERROR:root:127.0.0.1:11011 is broken
FERROR:root:127.0.0.1:11011 is broken
FERROR:root:127.0.0.1:11011 is broken
FERROR:root:127.0.0.1:11011 is broken
FERROR:root:127.0.0.1:11011 is broken
FERROR:root:127.0.0.1:11011 is broken
FERROR:root:127.0.0.1:10010 is broken
FERROR:root:127.0.0.1:10010 is broken
FERROR:root:127.0.0.1:10010 is broken
F.ERROR:root:127.0.0.1:10010 is broken
FERROR:root:127.0.0.1:10010 is broken
FERROR:root:127.0.0.1:10010 is broken
F..
======================================================================
FAIL: test_06_handleAcceptNodeIdentification (__main__.StorageVerificationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 311, in test_06_handleAcceptNodeIdentification
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 135, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_07_handleAnswerPrimaryMaster (__main__.StorageVerificationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 321, in test_07_handleAnswerPrimaryMaster
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 135, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_07_handleAskLastIDs (__main__.StorageVerificationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 347, in test_07_handleAskLastIDs
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 135, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_08_handleAskPartitionTable (__main__.StorageVerificationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 406, in test_08_handleAskPartitionTable
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 135, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_09_handleSendPartitionTable (__main__.StorageVerificationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 454, in test_09_handleSendPartitionTable
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 135, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_10_handleNotifyPartitionChanges (__main__.StorageVerificationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 501, in test_10_handleNotifyPartitionChanges
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 135, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_11_handleStartOperation (__main__.StorageVerificationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 538, in test_11_handleStartOperation
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 135, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_12_handleStopOperation (__main__.StorageVerificationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 551, in test_12_handleStopOperation
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 135, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_13_handleAskUnfinishedTransactions (__main__.StorageVerificationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 563, in test_13_handleAskUnfinishedTransactions
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 135, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_15_handleAskObjectPresent (__main__.StorageVerificationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 692, in test_15_handleAskObjectPresent
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 135, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_16_handleDeleteTransaction (__main__.StorageVerificationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 728, in test_16_handleDeleteTransaction
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 135, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_17_handleCommitTransaction (__main__.StorageVerificationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 751, in test_17_handleCommitTransaction
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageVerificationHandler.py", line 135, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

----------------------------------------------------------------------
Ran 20 tests in 2.179s

FAILED (failures=12)
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:127.0.0.1:10010 is broken
F.ERROR:root:reject an alien cluster
....ERROR:root:127.0.0.1:10010 is broken
FERROR: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
...ERROR:root:127.0.0.1:10010 is broken
F.....
======================================================================
FAIL: test_08_handleRequestNodeIdentification1 (__main__.StorageBootstrapTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageBootstrapHandler.py", line 287, in test_08_handleRequestNodeIdentification1
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageBootstrapHandler.py", line 127, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_09_handleAcceptNodeIdentification1 (__main__.StorageBootstrapTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageBootstrapHandler.py", line 420, in test_09_handleAcceptNodeIdentification1
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageBootstrapHandler.py", line 127, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_10_handleAnswerPrimaryMaster01 (__main__.StorageBootstrapTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageBootstrapHandler.py", line 561, in test_10_handleAnswerPrimaryMaster01
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageBootstrapHandler.py", line 127, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

----------------------------------------------------------------------
Ran 24 tests in 2.106s

FAILED (failures=3)
Ran unit test of  ./neo/storage/tests/testStorageMySQLdb.py
....................................
----------------------------------------------------------------------
Ran 36 tests in 2.706s

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
.FERROR:root:reject an alien cluster
..ERROR:root:reject an unknown node 8505ef3f25c75bd58ef43c9464a4e2d1
....FFFFFF.F.FF..FFFF.F............F.F....FFF
======================================================================
FAIL: test_09_handleRequestNodeIdentification1 (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 335, in test_09_handleRequestNodeIdentification1
    name=self.app.name)
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_10_handleAcceptNodeIdentification2 (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 492, in test_10_handleAcceptNodeIdentification2
    your_uuid=INVALID_UUID,
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_11_handleAnswerPrimaryMaster (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 501, in test_11_handleAnswerPrimaryMaster
    known_master_list=()
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_11_handleAskLastIDs (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 508, in test_11_handleAskLastIDs
    _msg_type=ASK_LAST_IDS,
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_12_handleAskPartitionTable (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 516, in test_12_handleAskPartitionTable
    offset_list=()
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_13_handleSendPartitionTable (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 525, in test_13_handleSendPartitionTable
    row_list=()
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_14_handleNotifyPartitionChanges1 (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 534, in test_14_handleNotifyPartitionChanges1
    cell_list=()
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_15_handleStartOperation (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 612, in test_15_handleStartOperation
    _msg_type=START_OPERATION,
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_16_handleStopOperation2 (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 626, in test_16_handleStopOperation2
    _listening=True,
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_17_handleAskUnfinishedTransaction (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 632, in test_17_handleAskUnfinishedTransaction
    _msg_type=ASK_UNFINISHED_TRANSACTIONS,
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_19_handleAskObjectPresent (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 657, in test_19_handleAskObjectPresent
    tid=INVALID_TID,
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_20_handleDeleteTransaction (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 665, in test_20_handleDeleteTransaction
    tid=INVALID_TID,
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_21_handleCommitTransaction (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 673, in test_21_handleCommitTransaction
    tid=INVALID_TID,
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_22_handleLockInformation1 (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 683, in test_22_handleLockInformation1
    tid=INVALID_TID,
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_23_handleUnlockInformation1 (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 712, in test_23_handleUnlockInformation1
    tid=INVALID_TID,
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_27_handleAskStoreTransaction1 (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 863, in test_27_handleAskStoreTransaction1
    oid_list=()
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_28_handleAskStoreObject1 (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 896, in test_28_handleAskStoreObject1
    tid=INVALID_TID
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_29_handleAbortTransaction (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 972, in test_29_handleAbortTransaction
    tid=INVALID_TID
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_30_handleAnswerLastIDs (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 1001, in test_30_handleAnswerLastIDs
    lptid=INVALID_TID,
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

======================================================================
FAIL: test_31_handleAnswerUnfinishedTransactions (__main__.StorageOperationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./neo/storage/tests/testStorageOperation.py", line 1025, in test_31_handleAnswerUnfinishedTransactions
    tid_list=(INVALID_TID, ),
  File "./neo/storage/tests/testStorageOperation.py", line 85, in checkHandleUnexpectedPacket
    self.checkCalledAbort(conn)
  File "./neo/storage/tests/testStorageOperation.py", line 58, in checkCalledAbort
    self.assertEquals(send_calls_len + answer_calls_len, 1)
AssertionError: 0 != 1

----------------------------------------------------------------------
Ran 58 tests in 5.089s

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

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

----------------------------------------------------------------------
Ran 58 tests in 0.098s

FAILED (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 690, in playPrimaryRole
    self.provideService()
  File "/home/baobab/neo/neo/neo/master/app.py", line 632, 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 201, in readable
    self.analyse()
  File "/home/baobab/neo/neo/neo/connection.py", line 231, in analyse
    self.handler.packetReceived(self, packet)
  File "/home/baobab/neo/neo/neo/master/service.py", line 149, in packetReceived
    MasterEventHandler.packetReceived(self, conn, packet)
  File "/home/baobab/neo/neo/neo/handler.py", line 79, in packetReceived
    self.dispatch(conn, packet)
  File "/home/baobab/neo/neo/neo/handler.py", line 100, in dispatch
    method(conn, packet, *args)
  File "/home/baobab/neo/neo/neo/handler.py", line 122, in handleError
    method(conn, packet, message)
  File "/home/baobab/neo/neo/neo/handler.py", line 287, 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 0000000000000044
.ERROR:root:wrong checksum from node None for oid 000000000000001b
ERROR:root:wrong checksum from node None for oid 000000000000001b
.ERROR:root:wrong checksum from node None for oid 0000000000000025
.............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.513s

OK
Error invalid load key, 'O'.


More information about the Neo-report mailing list