Name | Status | Type | Time(s) |
test_system_auth_ks_is_alterable | Success | | 115.436 |
test_drop_role_cleans_up_udf_permissions | Success | | 21.201 |
test_bootstrap_with_reset_bootstrap_state | Failure | ccmlib.node.NodeError: node1 is already running
self = <bootstrap_test.TestBootstrap object at 0x7f1a15279580>
@since('2.2')
def test_bootstrap_with_reset_bootstrap_state(self):
"""Test bootstrap with resetting bootstrap progress"""
cluster = self.cluster
cluster.set_environment_variable('CASSANDRA_TOKEN_PREGENERATION_DISABLED', 'True')
cluster.set_configuration_options(values={'stream_throughput_outbound_megabits_per_sec': 1})
cluster.populate(2).start()
node1 = cluster.nodes['node1']
node1.stress(['write', 'n=100K', '-schema', 'replication(factor=2)'])
node1.flush()
# kill node1 in the middle of streaming to let it fail
t = InterruptBootstrap(node1)
t.start()
# start bootstrapping node3 and wait for streaming
node3 = new_node(cluster)
try:
node3.start()
except NodeError:
pass # node doesn't start as expected
t.join()
> node1.start()
bootstrap_test.py:504:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <ccmlib.node.Node object at 0x7f1a1409bfd0>, join_ring = True
no_wait = False, verbose = False, update_pid = True, wait_other_notice = True
replace_token = None, replace_address = None
jvm_args = ['-Dcassandra.migration_task_wait_in_seconds=6']
wait_for_binary_proto = False, profile_options = None, use_jna = False
quiet_start = False, allow_root = False, set_migration_task = True
jvm_version = None
def start(self,
join_ring=True,
no_wait=False,
verbose=False,
update_pid=True,
wait_other_notice=True,
replace_token=None,
replace_address=None,
jvm_args=None,
wait_for_binary_proto=False,
profile_options=None,
use_jna=False,
quiet_start=False,
allow_root=False,
set_migration_task=True,
jvm_version=None):
"""
Start the node. Options includes:
- join_ring: if false, start the node with -Dcassandra.join_ring=False
- no_wait: by default, this method returns when the node is started and listening to clients.
If no_wait=True, the method returns sooner.
- wait_other_notice: if truthy, this method returns only when all other live node of the cluster
have marked this node UP. if an integer, sets the timeout for how long to wait
- replace_token: start the node with the -Dcassandra.replace_token option.
- replace_address: start the node with the -Dcassandra.replace_address option.
"""
if jvm_args is None:
jvm_args = []
if set_migration_task and self.cluster.cassandra_version() >= '3.0.1':
jvm_args += ['-Dcassandra.migration_task_wait_in_seconds={}'.format(len(self.cluster.nodes) * 2)]
# Validate Windows env
if common.is_modern_windows_install(self.cluster.version()) and not common.is_ps_unrestricted():
raise NodeError("PS Execution Policy must be unrestricted when running C* 2.1+")
if not common.is_win() and quiet_start:
common.warning("Tried to set Windows quiet start behavior, but we're not running on Windows.")
if self.is_running():
> raise NodeError("{} is already running".format(self.name))
E ccmlib.node.NodeError: node1 is already running
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:787: NodeError | 706.247 |
test_disable_autocompaction_alter_and_nodetool[DateTieredCompactionStrategy] | Skipped | DateTieredCompactionStrategy is not supported in Cassandra 5.0 and later
/home/cassandra/cassandra-dtest/compaction_test.py:595: DateTieredCompactionStrategy is not supported in Cassandra 5.0 and later | 0.749 |
test_cql3_insert_thrift | Skipped | 5.0 > 4
/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 4 | 0.338 |
test_complex_data_types | Success | | 24.198 |
test_single_partition_consistent_reads_after_write | Skipped | awaiting CASSANDRA-11290
/home/cassandra/cassandra-dtest/materialized_views_test.py:2831: awaiting CASSANDRA-11290 | 0.001 |
test_paging_with_filtering_on_partition_key_on_clustering_columns_with_contains | Success | | 38.333 |
test_unsafe_replace | Success | | 125.606 |
test_rf_expand_gossiping_property_file_snitch | Success | | 99.376 |
test_startup_no_live_seeds | Success | | 30.726 |
test_empty_slice | Skipped | 5.0 > 4
/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 4 | 0.525 |
test_system_cf_recreate | Skipped | 5.0 > 4
/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 4 | 0.536 |
test_set_ttl_to_zero_to_default_ttl | Success | | 16.734 |
test_select_element_inside_udt | Success | | 12.736 |
test_default_null_indicator_no_prepared_statements | Success | | 15.709 |
test_copy_from_with_wrong_order_or_missing_UDT_fields | Success | | 14.719 |