From neo-report at nexedi.com Thu Apr 3 10:49:29 2014 From: neo-report at nexedi.com (neo-report at nexedi.com) Date: Thu, 3 Apr 2014 10:49:29 +0200 (CEST) Subject: [Neo-report] NEO tests [master:3225-g5ce3ad7:py2.7:SQLite]: 460 Tests, 9 Failed Message-ID: <20140403084929.9F105BF02EF@mail2.tiolive.com> Title : NEO tests [master:3225-g5ce3ad7:py2.7:SQLite] Date : 2014-04-03 Node : blade1 Machine : x86_64 System : Linux Python : 2.7.2+ Directory : /tmp/neo_tests/1396514654.540877 Status : 98.043% NEO_TESTS_ADAPTER : SQLite NEO_TEST_ZODB_FUNCTIONAL : 1 NEO TESTS REPORT Test Module | run | success | errors | fails | time --------------------------+---------+---------+---------+---------+---------- ClientApp | 24 | 24 | . | . | 1.20s ConnectionPool | 5 | 5 | . | . | 1.04s MasterHandler | 12 | 12 | . | . | 0.10s StorageHandler | 11 | 11 | . | . | 0.08s --------------------------+---------+---------+---------+---------+---------- neo.tests.client | | | | | --------------------------+---------+---------+---------+---------+---------- Client | 10 | 9 | 1 | . | 19.09s Cluster | 7 | 7 | . | . | 20.85s Master | 4 | 3 | 1 | . | 19.73s Storage | 12 | 12 | . | . | 48.23s --------------------------+---------+---------+---------+---------+---------- neo.tests.functional | | | | | --------------------------+---------+---------+---------+---------+---------- ClientHandler | 6 | 6 | . | . | 0.06s ElectionHandler | 16 | 16 | . | . | 0.13s MasterApp | 2 | 2 | . | . | 0.02s MasterPT | 5 | 5 | . | . | 0.06s Recovery | 3 | 3 | . | . | 0.03s StorageHandler | 8 | 8 | . | . | 0.14s Transactions | 9 | 9 | . | . | 0.07s Verification | 6 | 6 | . | . | 0.05s --------------------------+---------+---------+---------+---------+---------- neo.tests.master | | | | | --------------------------+---------+---------+---------+---------+---------- ClientHandler | 18 | 18 | . | . | 0.17s IdentificationHandler | 3 | 3 | . | . | 0.04s InitializationHandler | 2 | 2 | . | . | 0.02s MasterHandler | 9 | 9 | . | . | 0.08s StorageApp | 3 | 3 | . | . | 0.05s StorageSQLite | 22 | 22 | . | . | 0.21s Transactions | 18 | 18 | . | . | 0.14s VerificationHandler | 8 | 8 | . | . | 0.09s --------------------------+---------+---------+---------+---------+---------- neo.tests.storage | | | | | --------------------------+---------+---------+---------+---------+---------- Bootstrap | 2 | . | 2 | . | 0.03s Connection | 75 | 75 | . | . | 0.59s Dispatcher | 5 | 5 | . | . | 0.04s Event | 1 | 1 | . | . | 0.01s Handler | 1 | 1 | . | . | 0.01s Nodes | 17 | 17 | . | . | 0.12s PT | 10 | 10 | . | . | 0.07s Util | 4 | 4 | . | . | 0.03s --------------------------+---------+---------+---------+---------+---------- neo.tests | | | | | --------------------------+---------+---------+---------+---------+---------- | 22 | 20 | 2 | . | 5.01s Replication | 6 | 6 | . | . | 13.46s --------------------------+---------+---------+---------+---------+---------- neo.tests.threaded | | | | | --------------------------+---------+---------+---------+---------+---------- Basic | 16 | 16 | . | . | 29.35s Conflict | 5 | 5 | . | . | 9.09s History | 1 | 1 | . | . | 1.84s Iterator | 9 | 9 | . | . | 16.44s MT | 5 | 5 | . | . | 11.64s Pack | 14 | 12 | . | 2 | 28.43s Persistent | 1 | 1 | . | . | 1.85s ReadOnly | 2 | 2 | . | . | 3.68s Revision | 7 | 7 | . | . | 14.48s Synchronization | 7 | 7 | . | . | 12.64s Undo | 17 | 16 | . | 1 | 32.30s ZODB | 10 | 10 | . | . | 18.95s --------------------------+---------+---------+---------+---------+---------- neo.tests.zodb | | | | | --------------------------+---------+---------+---------+---------+---------- Summary | 460 | 451 | 6 | 3 | 311.72s --------------------------+---------+---------+---------+---------+---------- ERRORS: neo.tests.testBootstrap.BootstrapManagerTests.testConnectionCompleted ------------------------------------------------------------- Traceback (most recent call last): File "/home/neo/master/neoppod/neo/tests/testBootstrap.py", line 27, in setUp self.prepareDatabase(number=1) File "/home/neo/master/neoppod/neo/tests/__init__.py", line 169, in prepareDatabase setupMySQLdb(['%s%u' % (prefix, i) for i in xrange(number)]) File "/home/neo/master/neoppod/neo/tests/__init__.py", line 99, in setupMySQLdb conn = MySQLdb.Connect(user=DB_ADMIN, passwd=DB_PASSWD) File "build/bdist.linux-x86_64/egg/MySQLdb/__init__.py", line 81, in Connect return Connection(*args, **kwargs) File "build/bdist.linux-x86_64/egg/MySQLdb/connections.py", line 193, in __init__ super(Connection, self).__init__(*args, **kwargs2) OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)") ------------------------------------------------------------- neo.tests.testBootstrap.BootstrapManagerTests.testHandleNotReady ------------------------------------------------------------- Traceback (most recent call last): File "/home/neo/master/neoppod/neo/tests/testBootstrap.py", line 27, in setUp self.prepareDatabase(number=1) File "/home/neo/master/neoppod/neo/tests/__init__.py", line 169, in prepareDatabase setupMySQLdb(['%s%u' % (prefix, i) for i in xrange(number)]) File "/home/neo/master/neoppod/neo/tests/__init__.py", line 99, in setupMySQLdb conn = MySQLdb.Connect(user=DB_ADMIN, passwd=DB_PASSWD) File "build/bdist.linux-x86_64/egg/MySQLdb/__init__.py", line 81, in Connect return Connection(*args, **kwargs) File "build/bdist.linux-x86_64/egg/MySQLdb/connections.py", line 193, in __init__ super(Connection, self).__init__(*args, **kwargs2) OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)") ------------------------------------------------------------- neo.tests.threaded.test.Test.testDeadlockAvoidance ------------------------------------------------------------- Traceback (most recent call last): File "/home/neo/master/neoppod/neo/tests/threaded/test.py", line 247, in testDeadlockAvoidance self.assertEqual(self._testDeadlockAvoidance([1, 3]), File "/home/neo/master/neoppod/neo/tests/threaded/test.py", line 221, in _testDeadlockAvoidance t.join() File "/home/neo/master/neoppod/neo/tests/threaded/__init__.py", line 785, in run apply(*self.__target) File "/home/neo/master/py2.7/eggs/transaction-1.4.3-py2.7.egg/transaction/_manager.py", line 111, in commit return self.get().commit() File "/home/neo/master/py2.7/eggs/transaction-1.4.3-py2.7.egg/transaction/_transaction.py", line 280, in commit reraise(t, v, tb) File "/home/neo/master/py2.7/eggs/transaction-1.4.3-py2.7.egg/transaction/_transaction.py", line 271, in commit self._commitResources() File "/home/neo/master/py2.7/eggs/transaction-1.4.3-py2.7.egg/transaction/_transaction.py", line 417, in _commitResources reraise(t, v, tb) File "/home/neo/master/py2.7/eggs/transaction-1.4.3-py2.7.egg/transaction/_transaction.py", line 394, in _commitResources rm.tpc_vote(self) File "/home/neo/master/py2.7/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 781, in tpc_vote s = vote(transaction) File "/home/neo/master/neoppod/neo/client/Storage.py", line 107, in tpc_vote return self.app.tpc_vote(transaction, self.tryToResolveConflict) File "/home/neo/master/neoppod/neo/client/app.py", line 661, in tpc_vote result = self.waitStoreResponses(txn_context, tryToResolveConflict) File "/home/neo/master/neoppod/neo/client/app.py", line 644, in waitStoreResponses tryToResolveConflict) File "/home/neo/master/neoppod/neo/client/app.py", line 617, in _handleConflicts serial), data=data) ConflictError: database conflict error (oid 0x01, class neo.tests.threaded.test.PCounterWithResolution, serial this txn started with 0x03a5e96c5669c599 2014-04-03 08:44:20.253087, serial currently committed 0x00 1900-01-01 00:00:00.000000) ------------------------------------------------------------- neo.tests.threaded.test.Test.testStorageFailureDuringTpcFinish ------------------------------------------------------------- Traceback (most recent call last): File "/home/neo/master/neoppod/neo/tests/threaded/test.py", line 722, in testStorageFailureDuringTpcFinish c.root()['x'] File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__ raise KeyError(key) KeyError: 'x' ------------------------------------------------------------- neo.tests.functional.testMaster.MasterTests.testStoppingSecondaryMaster ------------------------------------------------------------- Traceback (most recent call last): File "/home/neo/master/neoppod/neo/tests/functional/testMaster.py", line 50, in testStoppingSecondaryMaster self.neo.expectDead(master) File "/home/neo/master/neoppod/neo/tests/functional/__init__.py", line 615, in expectDead self.expectCondition(callback, *args, **kw) File "/home/neo/master/neoppod/neo/tests/functional/__init__.py", line 509, in expectCondition 'History: %s' % opaque_history) AssertionError: Timeout while expecting condition. History: [False, False, False, False, False, False, False, False, False, False, False] ------------------------------------------------------------- neo.tests.functional.testClient.ClientTests.testExportFileStorageBug ------------------------------------------------------------- Traceback (most recent call last): File "/home/neo/master/neoppod/neo/tests/functional/testClient.py", line 225, in testExportFileStorageBug self.testExport(True) File "/home/neo/master/neoppod/neo/tests/functional/testClient.py", line 221, in testExport self.__checkTree(root['trees']) File "/home/neo/master/neoppod/neo/tests/functional/testClient.py", line 162, in __checkTree self.__checkTree(tree.right, depth) File "/home/neo/master/neoppod/neo/tests/functional/testClient.py", line 163, in __checkTree self.__checkTree(tree.left, depth) AttributeError: 'Tree' object has no attribute 'left' ------------------------------------------------------------- FAILURES: neo.tests.zodb.testPack.PackableTests.checkPackAllRevisions ------------------------------------------------------------- Traceback (most recent call last): File "/home/neo/master/py2.7/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/tests/PackableStorage.py", line 360, in checkPackAllRevisions raises(KeyError, self._storage.loadSerial, oid, revid3) failureException: KeyError not raised ------------------------------------------------------------- neo.tests.zodb.testPack.PackableTests.checkPackUndoLog ------------------------------------------------------------- Traceback (most recent call last): File "/home/neo/master/py2.7/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/tests/PackableStorage.py", line 655, in checkPackUndoLog self.assertEqual(1,len(self._storage.undoLog())) File "/home/neo/master/neoppod/neo/tests/__init__.py", line 156, in assertEqual return super(NeoTestBase, self).assertEqual(first, second, msg=msg) failureException: 1 != 3 ------------------------------------------------------------- neo.tests.zodb.testUndo.UndoTests.checkTransactionalUndoAfterPack ------------------------------------------------------------- Traceback (most recent call last): File "/home/neo/master/py2.7/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/tests/TransactionalUndoStorage.py", line 463, in checkTransactionalUndoAfterPack self.assertEqual(len(info2), 2) File "/home/neo/master/neoppod/neo/tests/__init__.py", line 156, in assertEqual return super(NeoTestBase, self).assertEqual(first, second, msg=msg) failureException: 4 != 2 -------------------------------------------------------------