8_cythonno_x86_64_3_8 | test_replace_stopped_node | Failure | ccmlib.node.NodeError: C* process with 9901 is terminated
self = <replace_address_test.TestReplaceAddress object at 0x7f002c91ecd0>
@pytest.mark.resource_intensive
def test_replace_stopped_node(self):
"""
Test that we can replace a node that is not shutdown gracefully.
"""
> self._test_replace_node(gently=False)
replace_address_test.py:281:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
replace_address_test.py:313: in _test_replace_node
self._do_replace(same_address=same_address)
replace_address_test.py:122: in _do_replace
self.replacement_node.start(jvm_args=extra_jvm_args,
../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 0x7f0024dd8580>
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 9901 is terminated
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:692: NodeError | 139.471 |