Name | Status | Type | Time(s) |
test_archiving_fql | Success | | 58.840 |
test_role_requires_password_to_login | Success | | 32.975 |
test_simple_bootstrap_small_keepalive_period | Success | | 103.476 |
test_disable_autocompaction_nodetool[LeveledCompactionStrategy] | Success | | 30.453 |
test_batch_preparation | Success | | 9.847 |
test_basic_auth | Success | | 29.373 |
test_expired_liveness_with_limit_rf1_nodes1 | Success | | 10.924 |
test_paging_with_filtering | Success | | 34.430 |
test_tracing_does_not_interfere_with_digest_calculation | Success | | 6.351 |
test_tracing_does_not_interfere_with_digest_calculation | Failure | cassandra.OperationTimedOut: errors={'Connection defunct by heartbeat': 'Client request timeout. See Session.execute[_async](timeout)'}, last_host=127.0.0.1:9042
self = <read_repair_test.TestReadRepair object at 0x7fd80dc12130>
@since('3.0')
def test_tracing_does_not_interfere_with_digest_calculation(self):
"""
Test that enabling tracing doesn't interfere with digest responses when using RandomPartitioner.
The use of a threadlocal MessageDigest for generating both DigestResponse messages and for
calculating tokens meant that the DigestResponse was always incorrect when both RP and tracing
were enabled, leading to unnecessary data reads.
@jira_ticket CASSANDRA-13964
"""
cluster = self.cluster
cluster.populate(3)
cluster.set_configuration_options(values={'write_request_timeout_in_ms': 30000,
'read_request_timeout_in_ms': 30000})
cluster.set_partitioner("org.apache.cassandra.dht.RandomPartitioner")
cluster.start(jvm_args=['-Dcassandra.wait_for_tracing_events_timeout_secs=15'])
node1 = cluster.nodelist()[0]
session = self.patient_cql_connection(node1)
create_ks(session, 'ks', 3)
session.execute("""
CREATE TABLE ks.users (
userid uuid PRIMARY KEY,
firstname text,
lastname text,
age int
);
""")
insert = session.prepare(
"INSERT INTO ks.users (userid, firstname, lastname, age) "
"VALUES (?, 'Frodo', 'Baggins', 32)")
insert.consistency_level = ConsistencyLevel.ALL
select = session.prepare(
"SELECT firstname, lastname "
"FROM ks.users WHERE userid = ?")
select.consistency_level = ConsistencyLevel.ALL
for _ in range(10):
id = uuid4()
session.execute(insert.bind((id,)), timeout=30)
> res = session.execute(select.bind((id,)), timeout=30, trace=True)
read_repair_test.py:427:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../cassandra/build/venv/src/cassandra-driver/cassandra/cluster.py:2618: in execute
return self.execute_async(query, parameters, trace, custom_payload, timeout, execution_profile, paging_state, host, execute_as).result()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <ResponseFuture: query='<BoundStatement query="SELECT firstname, lastname FROM ks.users WHERE userid = ?", values=(UUI...ient request timeout. See Session.execute[_async](timeout)'}, last_host=127.0.0.1:9042 coordinator_host=127.0.0.1:9042>
def result(self):
"""
Return the final result or raise an Exception if errors were
encountered. If the final result or error has not been set
yet, this method will block until it is set, or the timeout
set for the request expires.
Timeout is specified in the Session request execution functions.
If the timeout is exceeded, an :exc:`cassandra.OperationTimedOut` will be raised.
This is a client-side timeout. For more information
about server-side coordinator timeouts, see :class:`.policies.RetryPolicy`.
Example usage::
>>> future = session.execute_async("SELECT * FROM mycf")
>>> # do other stuff...
>>> try:
... rows = future.result()
... for row in rows:
... ... # process results
... except Exception:
... log.exception("Operation failed:")
"""
self._event.wait()
if self._final_result is not _NOT_SET:
return ResultSet(self, self._final_result)
else:
> raise self._final_exception
E cassandra.OperationTimedOut: errors={'Connection defunct by heartbeat': 'Client request timeout. See Session.execute[_async](timeout)'}, last_host=127.0.0.1:9042
../cassandra/build/venv/src/cassandra-driver/cassandra/cluster.py:4894: OperationTimedOut | 63.837 |
test_complementary_deletion_with_limit_on_static_column_with_not_empty_partitions_and_rows_after | Success | | 71.213 |
test_6924_dropping_ks | Success | | 101.572 |
test_sstableloader_compression_deflate_to_snappy | Skipped | Don't need to run base class test, only derived classes
/home/cassandra/cassandra-dtest/sstable_generation_loading_test.py:47: Don't need to run base class test, only derived classes | 0.524 |
test_get_slice_super_range | Skipped | 5.0 > 4
/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 4 | 0.538 |
test_multi_dc_tokens_murmur3 | Skipped | 5.0 > 3.0.0
/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 3.0.0 | 0.477 |
test_expiration_overflow_policy_capnowarn_default_ttl | Success | | 29.466 |
test_copy_to | Success | | 19.476 |
test_datetimeformat_round_trip | Skipped | 5.0 > 3.X
/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 3.X | 0.615 |
test_force_repair_range_async_2 | Skipped | 5.0 > 4
/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 4 | 0.471 |