test_fail_when_seed | Failure | ccmlib.node.TimeoutError: 16 Dec 2024 19:03:56 [node1] after 120.5/120 seconds Missing: ['Starting listening for CQL clients'] not found in system.log:
Head: INFO [main] 2024-12-16 19:01:55,929 YamlConfigura
Tail: ...e:1] 2024-12-16 19:03:55,568 FetchPeerLog.java:87 - Responding with log delta: LogState{baseState=none , entries=1: Epoch{epoch=4} -> Epoch{epoch=4}}
self = <replace_address_test.TestReplaceAddress object at 0x7fed1d4c46a0>
@since('3.0')
def test_fail_when_seed(self):
"""
When a node is a seed replace should fail
@jira_ticket CASSANDRA-14463
"""
self.fixture_dtest_setup.ignore_log_patterns = list(self.fixture_dtest_setup.ignore_log_patterns) + [
r'Couldn\'t find table with id 5bc52802-de25-35ed-aeab-188eecebb090', # system_auth
r'Exception encountered during startup',
r'Unknown endpoint'
]
# see CASSANDRA-17611
if self.cluster.version() < '4.0':
self.fixture_dtest_setup.ignore_log_patterns = list(self.fixture_dtest_setup.ignore_log_patterns) + [
r'RejectedExecutionException']
> self._setup(n=3)
replace_address_test.py:418:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
replace_address_test.py:76: in _setup
self.cluster.start(jvm_args=jvm_args)
../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:610: in watch_log_for
TimeoutError.raise_if_passed(start=start, timeout=timeout, node=self.name,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
start = 1734375716.0835092, timeout = 120
msg = "Missing: ['Starting listening for CQL clients'] not found in system.log:\n Head: INFO [main] 2024-12-16 19:01:55,929...hPeerLog.java:87 - Responding with log delta: LogState{baseState=none , entries=1: Epoch{epoch=4} -> Epoch{epoch=4}}\n"
node = 'node1'
@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:03:56 [node1] after 120.5/120 seconds Missing: ['Starting listening for CQL clients'] not found in system.log:
E Head: INFO [main] 2024-12-16 19:01:55,929 YamlConfigura
E Tail: ...e:1] 2024-12-16 19:03:55,568 FetchPeerLog.java:87 - Responding with log delta: LogState{baseState=none , entries=1: Epoch{epoch=4} -> Epoch{epoch=4}}
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:56: TimeoutError | 152.084 |
test_write_survey | Failure | ccmlib.node.NodeError: C* process with 13344 is terminated
self = <secondary_indexes_test.TestPreJoinCallback object at 0x7fed1d48b670>
def test_write_survey(self):
def write_survey_and_join(cluster, token):
node2 = new_node(cluster)
node2.set_configuration_options(values={'initial_token': token})
node2.start(jvm_args=["-Dcassandra.write_survey=true"], wait_for_binary_proto=True)
assert node2.grep_log('Startup complete, but write survey mode is active, not becoming an active ring member.')
assert not node2.grep_log('Executing pre-join')
node2.nodetool("join")
assert node2.grep_log('Leaving write survey mode and joining ring at operator request')
assert node2.grep_log('Executing pre-join post-bootstrap tasks')
> self._base_test(write_survey_and_join)
secondary_indexes_test.py:1287:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
secondary_indexes_test.py:1220: in _base_test
joinFn(cluster, tokens[1])
secondary_indexes_test.py:1279: in write_survey_and_join
node2.start(jvm_args=["-Dcassandra.write_survey=true"], wait_for_binary_proto=True)
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:928: in start
self.wait_for_binary_interface(from_mark=self.mark)
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:711: in wait_for_binary_interface
self.watch_log_for("Starting listening for CQL clients", **kwargs)
../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 0x7fed15ef6ca0>
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 13344 is terminated
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:692: NodeError | 138.075 |