Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-latest_jdk17_python3.8_cythonno_x86_64_57_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_57_64170131361.1222024-06-11T04:56:26.132581b09f3e89c43d

Tests

NameStatusTypeTime(s)
test_filter_granted_permissions_by_resource_typeSuccess21.461
test_logged_batch_compatibility_1Skippedported to in-JVM from 4.0 >= 5.0

/home/cassandra/cassandra-dtest/conftest.py:526: ported to in-JVM from 4.0 >= 5.0
0.216
test_dtcs_deletion[DateTieredCompactionStrategy]SkippedDateTieredCompactionStrategy is not supported in Cassandra 5.0 and later

/home/cassandra/cassandra-dtest/compaction_test.py:595: DateTieredCompactionStrategy is not supported in Cassandra 5.0 and later
0.438
test_counter_consistencySuccess93.670
test_hintedhandoff_dc_reenabledSuccess72.587
test_no_base_column_in_view_pk_complex_timestamp_with_flushSuccess199.564
test_static_columns_pagingSuccess40.983
test_tracing_does_not_interfere_with_digest_calculationSuccess6.280
test_tracing_does_not_interfere_with_digest_calculationFailurecassandra.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 0x7f3d3f3b74c0>

@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
65.812
test_complementary_deletion_with_limit_and_rows_betweenSuccess72.269
test_manual_rebuild_indexSuccess36.485
test_sstableloader_with_failing_2iSuccess49.270
test_get_range_sliceSkipped5.0 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 4
0.247
test_size_estimates_multidcSuccess45.806
test_counterSuccess82.102
test_login_keeps_keyspaceSuccess22.911
test_bulk_round_trip_blogpostsSuccess74.818
test_dc_parallel_repairSuccess412.305
Properties »