Created
September 11, 2013 21:31
-
-
Save Kami/6530053 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tox -e py26 | |
| GLOB sdist-make: /w/python-driver/setup.py | |
| py26 recreate: /w/python-driver/.tox/py26 | |
| py26 installdeps: nose, mock, ccm | |
| py26 inst: /w/python-driver/.tox/dist/cassandra-driver-1.0.0-beta2-.zip | |
| py26 runtests: commands[0] | /w/python-driver/.tox/py26/bin/python setup.py build_ext --inplace | |
| running build_ext | |
| py26 runtests: commands[1] | nosetests tests/unit/ | |
| .........EEEE........EE.Exception in thread Thread-1: | |
| Traceback (most recent call last): | |
| File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner | |
| self.run() | |
| File "/usr/lib/python2.6/threading.py", line 484, in run | |
| self.__target(*self.__args, **self.__kwargs) | |
| File "/w/python-driver/tests/unit/test_host_connection_pool.py", line 102, in get_conn | |
| self.assertIs(conn, c) | |
| AttributeError: 'HostConnectionPoolTests' object has no attribute 'assertIs' | |
| FE.....Exception in thread Thread-2: | |
| Traceback (most recent call last): | |
| File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner | |
| self.run() | |
| File "/usr/lib/python2.6/threading.py", line 484, in run | |
| self.__target(*self.__args, **self.__kwargs) | |
| File "/w/python-driver/tests/unit/test_host_connection_pool.py", line 69, in get_second_conn | |
| self.assertIs(conn, c) | |
| AttributeError: 'HostConnectionPoolTests' object has no attribute 'assertIs' | |
| F..E..........E.....E.E...E.EE............ | |
| ====================================================================== | |
| ERROR: test_bad_header_direction (tests.unit.test_connection.ConnectionTest) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/w/python-driver/tests/unit/test_connection.py", line 83, in test_bad_header_direction | |
| self.assertIsInstance(args[0], ProtocolError) | |
| AttributeError: 'ConnectionTest' object has no attribute 'assertIsInstance' | |
| -------------------- >> begin captured logging << -------------------- | |
| cassandra.connection: ERROR: Error decoding response from Cassandra. opcode: 0006; message contents: None | |
| Traceback (most recent call last): | |
| File "/w/python-driver/cassandra/connection.py", line 162, in process_msg | |
| % (opcode, stream_id)) | |
| ProtocolError: Header direction in response is incorrect; opcode 0006, stream id 0 | |
| --------------------- >> end captured logging << --------------------- | |
| ====================================================================== | |
| ERROR: test_bad_protocol_version (tests.unit.test_connection.ConnectionTest) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/w/python-driver/tests/unit/test_connection.py", line 61, in test_bad_protocol_version | |
| self.assertIsInstance(args[0], ProtocolError) | |
| AttributeError: 'ConnectionTest' object has no attribute 'assertIsInstance' | |
| -------------------- >> begin captured logging << -------------------- | |
| cassandra.connection: ERROR: Error decoding response from Cassandra. opcode: 0006; message contents: None | |
| Traceback (most recent call last): | |
| File "/w/python-driver/cassandra/connection.py", line 156, in process_msg | |
| raise ProtocolError("Unsupported CQL protocol version: %d" % given_version) | |
| ProtocolError: Unsupported CQL protocol version: 4 | |
| --------------------- >> end captured logging << --------------------- | |
| ====================================================================== | |
| ERROR: test_negative_body_length (tests.unit.test_connection.ConnectionTest) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/w/python-driver/tests/unit/test_connection.py", line 100, in test_negative_body_length | |
| self.assertIsInstance(args[0], ProtocolError) | |
| AttributeError: 'ConnectionTest' object has no attribute 'assertIsInstance' | |
| -------------------- >> begin captured logging << -------------------- | |
| cassandra.connection: ERROR: Error decoding response from Cassandra. opcode: 0006; message contents: None | |
| Traceback (most recent call last): | |
| File "/w/python-driver/cassandra/connection.py", line 156, in process_msg | |
| raise ProtocolError("Unsupported CQL protocol version: %d" % given_version) | |
| ProtocolError: Unsupported CQL protocol version: 4 | |
| --------------------- >> end captured logging << --------------------- | |
| ====================================================================== | |
| ERROR: test_unsupported_cql_version (tests.unit.test_connection.ConnectionTest) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/w/python-driver/tests/unit/test_connection.py", line 125, in test_unsupported_cql_version | |
| self.assertIsInstance(args[0], ProtocolError) | |
| AttributeError: 'ConnectionTest' object has no attribute 'assertIsInstance' | |
| -------------------- >> begin captured logging << -------------------- | |
| cassandra.connection: DEBUG: Received options response on new Connection from 1.2.3.4 | |
| --------------------- >> end captured logging << --------------------- | |
| ====================================================================== | |
| ERROR: Make sure the control connection sleeps and retries | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/w/python-driver/tests/unit/test_control_connection.py", line 125, in test_wait_for_schema_agreement_fails | |
| self.assertGreaterEqual(self.time.clock, Cluster.max_schema_agreement_wait) | |
| AttributeError: 'ControlConnectionTest' object has no attribute 'assertGreaterEqual' | |
| -------------------- >> begin captured logging << -------------------- | |
| cassandra.cluster: DEBUG: [control connection] Waiting for schema agreement | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| --------------------- >> end captured logging << --------------------- | |
| ====================================================================== | |
| ERROR: If the rpc_address is 0.0.0.0, the "peer" column should be used instead. | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/w/python-driver/tests/unit/test_control_connection.py", line 166, in test_wait_for_schema_agreement_rpc_lookup | |
| self.assertGreaterEqual(self.time.clock, Cluster.max_schema_agreement_wait) | |
| AttributeError: 'ControlConnectionTest' object has no attribute 'assertGreaterEqual' | |
| -------------------- >> begin captured logging << -------------------- | |
| cassandra.cluster: DEBUG: [control connection] Waiting for schema agreement | |
| cassandra.cluster: DEBUG: [control connection] Waiting for schema agreement | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| cassandra.cluster: DEBUG: [control connection] Schemas mismatched, trying again | |
| --------------------- >> end captured logging << --------------------- | |
| ====================================================================== | |
| ERROR: test_borrow_and_return (tests.unit.test_host_connection_pool.HostConnectionPoolTests) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/w/python-driver/tests/unit/test_host_connection_pool.py", line 29, in test_borrow_and_return | |
| self.assertIs(c, conn) | |
| AttributeError: 'HostConnectionPoolTests' object has no attribute 'assertIs' | |
| ====================================================================== | |
| ERROR: Failure: SyntaxError (invalid syntax (test_parameter_binding.py, line 32)) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/w/python-driver/.tox/py26/lib/python2.6/site-packages/nose/loader.py", line 413, in loadTestsFromName | |
| addr.filename, addr.module) | |
| File "/w/python-driver/.tox/py26/lib/python2.6/site-packages/nose/importer.py", line 47, in importFromPath | |
| return self.importFromDir(dir_path, fqname) | |
| File "/w/python-driver/.tox/py26/lib/python2.6/site-packages/nose/importer.py", line 94, in importFromDir | |
| mod = load_module(part_fqname, fh, filename, desc) | |
| File "/w/python-driver/tests/unit/test_parameter_binding.py", line 32 | |
| result = bind_params("%s", ({'a', 'b', 'c'},)) | |
| ^ | |
| SyntaxError: invalid syntax | |
| ====================================================================== | |
| ERROR: test_with_remotes (tests.unit.test_policies.TestDCAwareRoundRobinPolicy) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/w/python-driver/tests/unit/test_policies.py", line 106, in test_with_remotes | |
| self.assertIn(qplan[2], remote_hosts) | |
| AttributeError: 'TestDCAwareRoundRobinPolicy' object has no attribute 'assertIn' | |
| ====================================================================== | |
| ERROR: test_wrap_dc_aware (tests.unit.test_policies.TokenAwarePolicyTest) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/w/python-driver/tests/unit/test_policies.py", line 226, in test_wrap_dc_aware | |
| self.assertIn(qplan[0], replicas) | |
| AttributeError: 'TokenAwarePolicyTest' object has no attribute 'assertIn' | |
| ====================================================================== | |
| ERROR: test_add_callbacks (tests.unit.test_response_future.ResponseFutureTests) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/w/python-driver/tests/unit/test_response_future.py", line 331, in test_add_callbacks | |
| errback=self.assertIsInstance, errback_args=(Exception,)) | |
| AttributeError: 'ResponseFutureTests' object has no attribute 'assertIsInstance' | |
| ====================================================================== | |
| ERROR: test_errback (tests.unit.test_response_future.ResponseFutureTests) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/w/python-driver/tests/unit/test_response_future.py", line 309, in test_errback | |
| rf.add_errback(self.assertIsInstance, Exception) | |
| AttributeError: 'ResponseFutureTests' object has no attribute 'assertIsInstance' | |
| ====================================================================== | |
| ERROR: test_other_result_message_kind (tests.unit.test_response_future.ResponseFutureTests) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/w/python-driver/tests/unit/test_response_future.py", line 87, in test_other_result_message_kind | |
| self.assertIs(result, rf.result()) | |
| AttributeError: 'ResponseFutureTests' object has no attribute 'assertIs' | |
| ====================================================================== | |
| ERROR: test_prepared_query_not_found (tests.unit.test_response_future.ResponseFutureTests) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/w/python-driver/tests/unit/test_response_future.py", line 365, in test_prepared_query_not_found | |
| self.assertIsInstance(args[-1], PrepareMessage) | |
| AttributeError: 'ResponseFutureTests' object has no attribute 'assertIsInstance' | |
| ====================================================================== | |
| FAIL: test_all_connections_trashed (tests.unit.test_host_connection_pool.HostConnectionPoolTests) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/w/python-driver/tests/unit/test_host_connection_pool.py", line 118, in test_all_connections_trashed | |
| self.assertEqual(0, conn.in_flight) | |
| AssertionError: 0 != 1 | |
| -------------------- >> begin captured logging << -------------------- | |
| cassandra.pool: DEBUG: Detected empty pool, opening core conns to <Mock spec='Host' id='41342416'> | |
| --------------------- >> end captured logging << --------------------- | |
| ====================================================================== | |
| FAIL: test_successful_wait_for_connection (tests.unit.test_host_connection_pool.HostConnectionPoolTests) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/w/python-driver/tests/unit/test_host_connection_pool.py", line 77, in test_successful_wait_for_connection | |
| self.assertEqual(0, conn.in_flight) | |
| AssertionError: 0 != 1 | |
| ---------------------------------------------------------------------- | |
| Ran 73 tests in 0.147s | |
| FAILED (errors=14, failures=2) | |
| ERROR: InvocationError: '/w/python-driver/.tox/py26/bin/nosetests tests/unit/' | |
| _______________________________________________________________ summary _______________________________________________________________ | |
| ERROR: py26: commands failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment