Josh McKenzie created CASSANDRA-17302: -----------------------------------------
Summary: Test Failure: dtest-offheap.topology_test.TestTopology.test_decommissioned_node_cant_rejoin Key: CASSANDRA-17302 URL: https://issues.apache.org/jira/browse/CASSANDRA-17302 Project: Cassandra Issue Type: Bug Components: Test/dtest/python Reporter: Josh McKenzie https://ci-cassandra.apache.org/job/Cassandra-4.0/317/testReport/dtest-offheap.topology_test/TestTopology/test_decommissioned_node_cant_rejoin/ Failed 1 times in the last 20 runs. Flakiness: 5%, Stability: 95% Error Message AssertionError: assert None + where None = <function search at 0x7f0de9492c10>('This node was decommissioned and will not rejoin the ring', '', re.MULTILINE) + where <function search at 0x7f0de9492c10> = re.search + and '' = <built-in method join of str object at 0x7f0de963b4b0>([]) + where <built-in method join of str object at 0x7f0de963b4b0> = '\n'.join + and re.MULTILINE = re.MULTILINE {code} Stacktrace self = <topology_test.TestTopology object at 0x7f0de5899430> @since('3.0') def test_decommissioned_node_cant_rejoin(self): """ @jira_ticket CASSANDRA-8801 Test that a decommissioned node can't rejoin the cluster by: - creating a cluster, - decommissioning a node, and - asserting that the "decommissioned node won't rejoin" error is in the logs for that node and - asserting that the node is not running. """ rejoin_err = 'This node was decommissioned and will not rejoin the ring' self.fixture_dtest_setup.ignore_log_patterns = list(self.fixture_dtest_setup.ignore_log_patterns) + [ rejoin_err] self.cluster.populate(3).start() node1, node2, node3 = self.cluster.nodelist() logger.debug('decommissioning...') node3.decommission(force=self.cluster.version() >= '4.0') logger.debug('stopping...') node3.stop() logger.debug('attempting restart...') node3.start(wait_other_notice=False) try: # usually takes 3 seconds, so give it a generous 15 node3.watch_log_for(rejoin_err, timeout=15) except TimeoutError: # TimeoutError is not very helpful to the reader of the test output; # let that pass and move on to string assertion below pass > assert re.search(rejoin_err, '\n'.join(['\n'.join(err_list) for err_list in node3.grep_log_for_errors()]), re.MULTILINE) E AssertionError: assert None E + where None = <function search at 0x7f0de9492c10>('This node was decommissioned and will not rejoin the ring', '', re.MULTILINE) E + where <function search at 0x7f0de9492c10> = re.search E + and '' = <built-in method join of str object at 0x7f0de963b4b0>([]) E + where <built-in method join of str object at 0x7f0de963b4b0> = '\n'.join E + and re.MULTILINE = re.MULTILINE topology_test.py:416: AssertionError {code} -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org