Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-latest_jdk17_python3.8_cythonno_x86_64_10_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_10_64170151223.9842024-05-01T23:55:12.509931efdf1df6e548

Tests

NameStatusTypeTime(s)
test_system_auth_ks_is_alterableSuccess115.436
test_drop_role_cleans_up_udf_permissionsSuccess21.201
test_bootstrap_with_reset_bootstrap_stateFailureccmlib.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]SkippedDateTieredCompactionStrategy 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_thriftSkipped5.0 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 4
0.338
test_complex_data_typesSuccess24.198
test_single_partition_consistent_reads_after_writeSkippedawaiting 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_containsSuccess38.333
test_unsafe_replaceSuccess125.606
test_rf_expand_gossiping_property_file_snitchSuccess99.376
test_startup_no_live_seedsSuccess30.726
test_empty_sliceSkipped5.0 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 4
0.525
test_system_cf_recreateSkipped5.0 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 4
0.536
test_set_ttl_to_zero_to_default_ttlSuccess16.734
test_select_element_inside_udtSuccess12.736
test_default_null_indicator_no_prepared_statementsSuccess15.709
test_copy_from_with_wrong_order_or_missing_UDT_fieldsSuccess14.719
Properties »