Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-latest_jdk11_python3.8_cythonno_x86_64_21_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_21_64170161667.3532024-12-17T02:10:48.898870c62e39fbc31c

Tests

NameStatusTypeTime(s)
test_alter_user_case_sensitiveSuccess89.836
test_disallow_grant_revoke_on_builtin_functionsSuccess79.755
test_bootstrap_binary_disabledSkippedported to in-JVM from 2.2.13 >= 5.1

/home/cassandra/cassandra-dtest/conftest.py:526: ported to in-JVM from 2.2.13 >= 5.1
1.529
test_create_lots_of_schema_churnSkippedawaiting CASSANDRA-10699

/home/cassandra/cassandra-dtest/concurrent_schema_changes_test.py:323: awaiting CASSANDRA-10699
0.002
test_disable_slow_query_logSuccess91.345
test_pkey_requirementSkipped5.1 > 5.0

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 5.0
1.393
test_use_custom_ssl_portSuccess216.849
test_data_change_impacting_later_pageSuccess163.709
test_complementary_deletion_with_limit_on_partition_key_column_with_empty_partitionsSuccess292.837
test_creating_and_dropping_keyspaceSuccess95.518
test_archive_commitlog_point_in_time_lnFailureAssertionError: It's been over 180s and we haven't written a new commitlog segment. Something is wrong.

self = <snapshot_test.TestArchiveCommitlog object at 0x7fcf9a1a8880>

def test_archive_commitlog_point_in_time_ln(self):
"""
Test archive commit log with restore_point_in_time setting
"""
> self.run_archive_commitlog(restore_point_in_time=True, archive_command='ln')

snapshot_test.py:267:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
snapshot_test.py:303: in run_archive_commitlog
advance_to_next_cl_segment(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

session = <cassandra.cluster.Session object at 0x7fcf982e1520>
commitlog_dir = '/home/cassandra/cassandra/build/run-python-dtest.Cm8yOP/dtest-3qwn9cig/test/node1/commitlogs'
keyspace_name = 'ks', table_name = 'junk_table', timeout = 180

def advance_to_next_cl_segment(session, commitlog_dir,
keyspace_name='ks', table_name='junk_table',
timeout=180):
"""
This is a hack to work around problems like CASSANDRA-11811.

The problem happens in commitlog-replaying tests, like the snapshot and CDC
tests. If we replay the first commitlog that's created, we wind up
replaying some mutations that initialize system tables, so this function
advances the node to the next CL by filling up the first one.
"""
session.execute(
'CREATE TABLE {ks}.{tab} ('
'a uuid PRIMARY KEY, b uuid, c uuid, d uuid, '
'e uuid, f uuid, g uuid, h uuid'
')'.format(ks=keyspace_name, tab=table_name)
)
prepared_insert = session.prepare(
'INSERT INTO {ks}.{tab} '
'(a, b, c, d, e, f, g, h) '
'VALUES ('
'uuid(), uuid(), uuid(), uuid(), '
'uuid(), uuid(), uuid(), uuid()'
')'.format(ks=keyspace_name, tab=table_name)
)

# record segments that we want to advance past
initial_cl_files = _files_in(commitlog_dir)

start = time.time()
stop_time = start + timeout
rate_limited_debug_logger = get_rate_limited_function(logger.debug, 5)
logger.debug('attempting to write until we start writing to new CL segments: {}'.format(initial_cl_files))

while _files_in(commitlog_dir) <= initial_cl_files:
elapsed = time.time() - start
rate_limited_debug_logger(' commitlog-advancing load step has lasted {s:.2f}s'.format(s=elapsed))
> assert (
time.time() <= stop_time), ("It's been over {s}s and we haven't written a new " +
"commitlog segment. Something is wrong.").format(s=timeout)
E AssertionError: It's been over 180s and we haven't written a new commitlog segment. Something is wrong.

tools/hacks.py:59: AssertionError
265.000
test_integer_orderSkipped5.1 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4
1.574
test_insert_max_default_ttlSkipped5.1 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4
1.623
test_expiration_overflow_policy_rejectSuccess168.082
test_float_formattingSuccess92.746
test_datetimeformat_round_trip_40Success101.400
test_force_repair_range_async_3Skipped5.1 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4
1.231
Properties »