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_64170122240.6872024-12-16T18:32:46.247966851507d3216d

Failures

NameStatusTypeTime(s)
test_fail_without_replaceFailureccmlib.node.TimeoutError: 16 Dec 2024 19:01:13 [node3] after 20.03/20 seconds Missing: ['Use cassandra.replace_address if you want to replace this node'] not found in system.log: Head: INFO [main] 2024-12-16 18:58:05,099 YamlConfigura Tail: ...nitializing system_schema.indexes INFO [main] 2024-12-16 19:01:12,523 FileSystemOwnershipCheck.java:125 - Filesystem ownership check is not enabled.

self = <replace_address_test.TestReplaceAddress object at 0x7f27159da1f0>

@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 = 1734375653.587018, timeout = 20
msg = "Missing: ['Use cassandra.replace_address if you want to replace this node'] not found in system.log:\n Head: INFO [m...nINFO [main] 2024-12-16 19:01:12,523 FileSystemOwnershipCheck.java:125 - Filesystem ownership check is not enabled.\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: 16 Dec 2024 19:01:13 [node3] after 20.03/20 seconds Missing: ['Use cassandra.replace_address if you want to replace this node'] not found in system.log:
E Head: INFO [main] 2024-12-16 18:58:05,099 YamlConfigura
E Tail: ...nitializing system_schema.indexes
E INFO [main] 2024-12-16 19:01:12,523 FileSystemOwnershipCheck.java:125 - Filesystem ownership check is not enabled.

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:56: TimeoutError
238.862
Properties »