Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-latest_jdk17_python3.8_cythonno_x86_64_20_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_20_6417115988.6962024-12-16T19:13:52.340866fb7101806444

Tests

NameStatusTypeTime(s)
test_drop_user_case_sensitiveSuccess31.762
test_builtin_functions_require_no_special_permissionsSuccess29.993
test_cleanupSuccess144.558
test_create_lots_of_mv_concurrentlySkippedawaiting CASSANDRA-10699

/home/cassandra/cassandra-dtest/concurrent_schema_changes_test.py:244: awaiting CASSANDRA-10699
0.001
test_remote_querySuccess194.387
test_simple_schemaSuccess28.668
test_use_custom_portSuccess147.973
test_data_change_impacting_earlier_pageSuccess39.615
test_update_on_collectionSuccess53.831
test_switch_data_center_startup_failsFailureccmlib.node.NodeError: C* process with 9055 is terminated

self = <replication_test.TestSnitchConfigurationUpdate object at 0x7fe67a5269d0>

def test_switch_data_center_startup_fails(self):
"""
@jira_ticket CASSANDRA-9474

Confirm that switching data centers fails to bring up the node.
"""
expected_error = (r"Cannot start node if snitch's data center (.*) differs from previous data center (.*)\. "
"Please fix the snitch configuration, decommission and rebootstrap this node "
"or use the flag -Dcassandra.ignore_dc=true.")
self.fixture_dtest_setup.ignore_log_patterns = [expected_error]

cluster = self.cluster
cluster.populate(1)
cluster.set_configuration_options(values={'endpoint_snitch': 'org.apache.cassandra.locator.GossipingPropertyFileSnitch'})

node = cluster.nodelist()[0]
with open(os.path.join(node.get_conf_dir(), 'cassandra-rackdc.properties'), 'w') as topo_file:
topo_file.write("dc=dc9" + os.linesep)
topo_file.write("rack=rack1" + os.linesep)

> cluster.start()

replication_test.py:768:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/cluster.py:550: in start
node.watch_log_for(start_message, timeout=timeout, process=p, verbose=verbose, from_mark=mark,
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:608: in watch_log_for
self.raise_node_error_if_cassandra_process_is_terminated()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.node.Node object at 0x7fe66b7ea8e0>

def raise_node_error_if_cassandra_process_is_terminated(self):
if not self._is_pid_running():
msg = "C* process with {pid} is terminated".format(pid=self.pid)
common.debug(msg)
> raise NodeError(msg)
E ccmlib.node.NodeError: C* process with 9055 is terminated

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:692: NodeError
9.767
test_switch_data_center_startup_failsErrorfailed on teardown with "Unexpected error found in node logs (see stdout for full details). Errors: [[node1] 'ERROR [main] 2024-12-16 19:25:10,708 CassandraDaemon.java:904 - Exception encountered during startup\norg.apache.cassandra.exceptions.ConfigurationException: Configuration must specify either node_proximity and initial_location_provider or endpoint_snitch but not both. \n\tat org.apache.cassandra.config.DatabaseDescriptor.applySnitch(DatabaseDescriptor.java:1504)\n\tat org.apache.cassandra.config.DatabaseDescriptor.applyAll(DatabaseDescriptor.java:530)\n\tat org.apache.cassandra.config.DatabaseDescriptor.daemonInitialization(DatabaseDescriptor.java:281)\n\tat org.apache.cassandra.config.DatabaseDescriptor.daemonInitialization(DatabaseDescriptor.java:267)\n\tat org.apache.cassandra.service.CassandraDaemon.applyConfig(CassandraDaemon.java:781)\n\tat org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:724)\n\tat org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:882)']"

Unexpected error found in node logs (see stdout for full details). Errors: [[node1] 'ERROR [main] 2024-12-16 19:25:10,708 CassandraDaemon.java:904 - Exception encountered during startup\norg.apache.cassandra.exceptions.ConfigurationException: Configuration must specify either node_proximity and initial_location_provider or endpoint_snitch but not both. \n\tat org.apache.cassandra.config.DatabaseDescriptor.applySnitch(DatabaseDescriptor.java:1504)\n\tat org.apache.cassandra.config.DatabaseDescriptor.applyAll(DatabaseDescriptor.java:530)\n\tat org.apache.cassandra.config.DatabaseDescriptor.daemonInitialization(DatabaseDescriptor.java:281)\n\tat org.apache.cassandra.config.DatabaseDescriptor.daemonInitialization(DatabaseDescriptor.java:267)\n\tat org.apache.cassandra.service.CassandraDaemon.applyConfig(CassandraDaemon.java:781)\n\tat org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:724)\n\tat org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:882)']
2.009
test_archive_commitlog_point_in_timeSuccess223.304
test_long_orderSkipped5.1 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4
0.356
test_insert_max_ttlSkipped5.1 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4
0.280
test_expiration_overflow_policy_capnowarn_default_ttlSuccess49.518
test_copy_toSuccess31.252
test_datetimeformat_round_tripSkipped5.1 > 3.X

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 3.X
0.481
test_force_repair_range_async_2Skipped5.1 > 4

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