Name | Status | Type | Time(s) |
test_list_users | Success | | 56.682 |
test_udf_permissions_in_select_where_clause | Success | | 61.083 |
test_manual_bootstrap | Success | | 169.646 |
test_user_defined_compaction | Success | | 301.458 |
test_cql3_insert_thrift | Skipped | 5.1 > 4
/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4 | 1.099 |
test_basic_data_types | Success | | 57.072 |
test_base_view_consistency_on_failure_after_mv_apply | Success | | 283.107 |
test_paging_with_filtering_on_partition_key_on_clustering_columns | Success | | 96.787 |
test_simple_rebuild | Success | | 208.319 |
test_range_deletion_on_wide_table | Success | | 180.123 |
test_list_indexes | Success | | 228.051 |
test_fixed_ratio | Success | | 63.245 |
test_describe_keyspace | Skipped | 5.1 > 4
/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4 | 1.233 |
test_decommissioned_node_cant_rejoin | Success | | 7.600 |
test_decommissioned_node_cant_rejoin | Failure | ccmlib.node.TimeoutError: timed out and did not find log entry: This node was decommissioned and will not rejoin the ring
self = <topology_test.TestTopology object at 0x7f50f4f12070>
@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)
timedout = 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
timedout = True
n3errors = node3.grep_log_for_errors()
if len(n3errors) == 0 and timedout:
> raise TimeoutError("timed out and did not find log entry: " + rejoin_err)
E ccmlib.node.TimeoutError: timed out and did not find log entry: This node was decommissioned and will not rejoin the ring
topology_test.py:425: TimeoutError | 140.245 |
test_default_aggregate | Success | | 62.307 |
test_describe_round_trip | Success | | 59.925 |
test_reading_with_multiple_files | Success | | 64.943 |
test_decommission | Success | | 217.432 |