Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest_jdk11_python3.8_cythonno_x86_64_9_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_9_64170121176.8702024-11-10T22:04:59.5837463b4fb47bbdff

Tests

NameStatusTypeTime(s)
test_modify_and_select_authSuccess125.809
test_udf_permissions_validationSuccess37.021
test_resumable_bootstrapSuccess129.585
test_disable_autocompaction_alter_and_nodetool[SizeTieredCompactionStrategy]Success62.385
test_batchSuccess29.354
test_basic_data_typesSuccess31.783
test_base_view_consistency_on_failure_after_mv_applySuccess158.266
test_paging_with_filtering_on_partition_key_on_clustering_columnsSuccess53.984
test_fail_without_replaceSuccess6.603
test_fail_without_replaceFailureccmlib.node.TimeoutError: 10 Nov 2024 22:20:32 [node3] after 20.02/20 seconds Missing: ['Use cassandra.replace_address if you want to replace this node'] not found in system.log: Head: INFO [main] 2024-11-10 22:18:32,747 YamlConfigura Tail: ... UP WARN [GossipTasks:1] 2024-11-10 22:20:26,392 FailureDetector.java:355 - Not marking nodes down due to local pause of 6904110547ns > 5000000000ns

self = <replace_address_test.TestReplaceAddress object at 0x7fd93008e1f0>

@since('3.6')
def test_fail_without_replace(self):
"""
When starting a node from a clean slate with the same address as
an existing down node, the node should error out even when
auto_bootstrap = false (or the node is a seed) and tell the user
to use replace_address.
@jira_ticket CASSANDRA-10134
"""
self.fixture_dtest_setup.ignore_log_patterns = list(self.fixture_dtest_setup.ignore_log_patterns) + [
r'Exception encountered during startup']

self._setup(n=3)
self._insert_data()
node1, node2, node3 = self.cluster.nodelist()

mark = None
for auto_bootstrap in (True, False):
logger.debug("Stopping node 3.")
node3.stop(gently=False)

# completely delete the data, commitlog, and saved caches
for d in chain([os.path.join(node3.get_path(), "commitlogs")],
[os.path.join(node3.get_path(), "saved_caches")],
node3.data_directories()):
if os.path.exists(d):
rmtree(d)

node3.set_configuration_options(values={'auto_bootstrap': auto_bootstrap})
logger.debug("Starting node 3 with auto_bootstrap = {val}".format(val=auto_bootstrap))
node3.start(wait_other_notice=False)
> node3.watch_log_for('Use cassandra.replace_address if you want to replace this node', from_mark=mark, timeout=20)

replace_address_test.py:398:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:610: in watch_log_for
TimeoutError.raise_if_passed(start=start, timeout=timeout, node=self.name,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

start = 1731277212.5182626, timeout = 20
msg = "Missing: ['Use cassandra.replace_address if you want to replace this node'] not found in system.log:\n Head: INFO [m...-10 22:20:26,392 FailureDetector.java:355 - Not marking nodes down due to local pause of 6904110547ns > 5000000000ns\n"
node = 'node3'

@staticmethod
def raise_if_passed(start, timeout, msg, node=None):
if start + timeout < time.time():
> raise TimeoutError.create(start, timeout, msg, node)
E ccmlib.node.TimeoutError: 10 Nov 2024 22:20:32 [node3] after 20.02/20 seconds Missing: ['Use cassandra.replace_address if you want to replace this node'] not found in system.log:
E Head: INFO [main] 2024-11-10 22:18:32,747 YamlConfigura
E Tail: ... UP
E WARN [GossipTasks:1] 2024-11-10 22:20:26,392 FailureDetector.java:355 - Not marking nodes down due to local pause of 6904110547ns > 5000000000ns

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:56: TimeoutError
142.517
test_update_only_on_transient_replicaSuccess34.036
test_manual_joinSuccess63.273
test_6285Skipped5.1 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4
0.705
test_invalid_strategy_classSkipped5.1 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4
0.618
test_update_column_ttl_with_default_ttlSuccess36.311
test_with_empty_valuesSuccess24.451
test_number_delimiterSuccess29.932
test_round_trip_with_authenticationSuccess48.077
Properties »