Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest_jdk11_python3.8_cythonno_x86_64_19_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_19_64170151089.7232024-11-15T00:39:47.769050d29fea93a5ab

Tests

NameStatusTypeTime(s)
test_dropping_nonexistent_user_throws_exceptionSuccess43.714
test_inheritence_of_udf_permissionsSuccess26.190
test_simultaneous_bootstrapSuccess6.323
test_simultaneous_bootstrapFailurecassandra.OperationTimedOut: errors={'127.0.0.2:9042': 'Client request timeout. See Session.execute[_async](timeout)'}, last_host=127.0.0.2:9042

self = <bootstrap_test.TestBootstrap object at 0x7fe09a467a00>

@since('2.1.1', max_version='5.0.x')
def test_simultaneous_bootstrap(self):
"""
Attempt to bootstrap two nodes at once, to assert the second bootstrapped node fails, and does not interfere.

Start a one node cluster and run a stress write workload.
Start up a second node, and wait for the first node to detect it has joined the cluster.
While the second node is bootstrapping, start a third node. This should fail.

@jira_ticket CASSANDRA-7069
@jira_ticket CASSANDRA-9484
"""

bootstrap_error = "Other bootstrapping/leaving/moving nodes detected," \
" cannot bootstrap while cassandra.consistent.rangemovement is true"

cluster = self.cluster
cluster.set_environment_variable('CASSANDRA_TOKEN_PREGENERATION_DISABLED', 'True')
cluster.populate(1)
cluster.start()

node1, = cluster.nodelist()

node1.stress(['write', 'n=500K', 'no-warmup', '-schema', 'replication(factor=1)',
'-rate', 'threads=10'])

node2 = new_node(cluster)
node2.start()

for _ in range(30): # wait until node2 shows up
ntout = node1.nodetool('status').stdout
if re.search(r'UJ\s+' + node2.ip_addr, ntout):
break
time.sleep(0.1)

node3 = new_node(cluster, remote_debug_port='2003')
try:
node3.start(wait_other_notice=False, verbose=False)
except NodeError:
pass # node doesn't start as expected

time.sleep(.5)
node2.watch_log_for("Starting listening for CQL clients")

node3.watch_log_for(bootstrap_error)

session = self.patient_exclusive_cql_connection(node2)

# Repeat the select count(*) query, to help catch
# bugs like 9484, where count(*) fails at higher
# data loads.
for _ in range(5):
> assert_one(session, "SELECT count(*) from keyspace1.standard1", [500000], cl=ConsistencyLevel.ONE)

bootstrap_test.py:933:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tools/assertions.py:130: in assert_one
res = session.execute(simple_query)
../cassandra/build/venv/src/cassandra-driver/cassandra/cluster.py:2618: in execute
return self.execute_async(query, parameters, trace, custom_payload, timeout, execution_profile, paging_state, host, execute_as).result()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ResponseFuture: query='<SimpleStatement query="SELECT count(*) from keyspace1.standard1", consistency=ONE>' request_i...9042': 'Client request timeout. See Session.execute[_async](timeout)'}, last_host=127.0.0.2:9042 coordinator_host=None>

def result(self):
"""
Return the final result or raise an Exception if errors were
encountered. If the final result or error has not been set
yet, this method will block until it is set, or the timeout
set for the request expires.

Timeout is specified in the Session request execution functions.
If the timeout is exceeded, an :exc:`cassandra.OperationTimedOut` will be raised.
This is a client-side timeout. For more information
about server-side coordinator timeouts, see :class:`.policies.RetryPolicy`.

Example usage::

>>> future = session.execute_async("SELECT * FROM mycf")
>>> # do other stuff...

>>> try:
... rows = future.result()
... for row in rows:
... ... # process results
... except Exception:
... log.exception("Operation failed:")

"""
self._event.wait()
if self._final_result is not _NOT_SET:
return ResultSet(self, self._final_result)
else:
> raise self._final_exception
E cassandra.OperationTimedOut: errors={'127.0.0.2:9042': 'Client request timeout. See Session.execute[_async](timeout)'}, last_host=127.0.0.2:9042

../cassandra/build/venv/src/cassandra-driver/cassandra/cluster.py:4894: OperationTimedOut
203.110
test_create_lots_of_indexes_concurrentlySkippedawaiting CASSANDRA-10699

/home/cassandra/cassandra-dtest/concurrent_schema_changes_test.py:195: awaiting CASSANDRA-10699
0.001
test_local_querySuccess131.787
test_delete_using_pkey_jsonSuccess23.095
test_connect_to_ssl_optionalSuccess33.082
test_paging_with_empty_row_and_empty_static_columnsSuccess52.801
test_update_on_static_column_with_not_empty_partitionSuccess58.186
test_failed_snitch_update_yaml_file_snitchSkipped5.0.3 > 2.1.x

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.3 > 2.1.x
0.344
test_dont_archive_commitlogSuccess217.670
test_super_subcolumn_limitSkipped5.0.3 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.3 > 4
0.472
test_insert_ttlSkipped5.0.3 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.3 > 4
0.696
test_expiration_overflow_policy_capnowarnSuccess40.434
test_describe_mvSuccess25.085
test_reading_use_headerSuccess19.137
test_force_repair_range_async_1Skipped5.0.3 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.3 > 4
0.631
Properties »