Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-novnode_jdk17_python3.8_cythonno_x86_64_15_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_15_64180122377.4112024-11-27T06:10:17.626293b570c26e398e

Tests

NameStatusTypeTime(s)
test_list_usersSuccess56.682
test_udf_permissions_in_select_where_clauseSuccess61.083
test_manual_bootstrapSuccess169.646
test_user_defined_compactionSuccess301.458
test_cql3_insert_thriftSkipped5.1 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4
1.099
test_basic_data_typesSuccess57.072
test_base_view_consistency_on_failure_after_mv_applySuccess283.107
test_paging_with_filtering_on_partition_key_on_clustering_columnsSuccess96.787
test_simple_rebuildSuccess208.319
test_range_deletion_on_wide_tableSuccess180.123
test_list_indexesSuccess228.051
test_fixed_ratioSuccess63.245
test_describe_keyspaceSkipped5.1 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4
1.233
test_decommissioned_node_cant_rejoinSuccess7.600
test_decommissioned_node_cant_rejoinFailureccmlib.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_aggregateSuccess62.307
test_describe_round_tripSuccess59.925
test_reading_with_multiple_filesSuccess64.943
test_decommissionSuccess217.432
Properties »