Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-novnode_jdk11_python3.8_cythonno_x86_64_39_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_39_64180131880.9182024-12-16T20:25:57.738886183e2970742b

Tests

NameStatusTypeTime(s)
test_permissions_cachingSuccess60.864
test_empty_batch_throws_no_errorSuccess39.780
test_mv_lock_contention_during_replayFailurecassandra.cluster.NoHostAvailable: ('Unable to connect to any servers', {'127.0.0.1:9042': ConnectionRefusedError(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})

self = <commitlog_test.TestCommitLog object at 0x7f2eb77b41f0>

@since('3.0.7')
def test_mv_lock_contention_during_replay(self):
"""
Ensure that we don't generate WriteTimeoutExceptions during commitlog
replay due to MV lock contention. Fixed in 3.0.7 and 3.7.
@jira_ticket CASSANDRA-11891
"""
cluster_ver = self.cluster.version()
if LooseVersion('3.1') <= cluster_ver < LooseVersion('3.7'):
pytest.skip("Fixed in 3.0.7 and 3.7")

node1 = self.node1
node1.set_batch_commitlog(enabled=True, use_batch_window = self.cluster.version() < '5.0')
node1.start()
> session = self.patient_cql_connection(node1)

commitlog_test.py:181:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
dtest_setup.py:284: in patient_cql_connection
session = retry_till_success(
dtest_setup.py:39: in retry_till_success
return fun(*args, **kwargs)
dtest_setup.py:222: in cql_connection
return self._create_session(node, keyspace, user, password, compression,
dtest_setup.py:262: in _create_session
session = cluster.connect(wait_for_all_pools=True)
../cassandra/build/venv/src/cassandra-driver/cassandra/cluster.py:1690: in connect
self.control_connection.connect()
../cassandra/build/venv/src/cassandra-driver/cassandra/cluster.py:3488: in connect
self._set_new_connection(self._reconnect_internal())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <cassandra.cluster.ControlConnection object at 0x7f2e9f7f7a90>

def _reconnect_internal(self):
"""
Tries to connect to each host in the query plan until one succeeds
or every attempt fails. If successful, a new Connection will be
returned. Otherwise, :exc:`NoHostAvailable` will be raised
with an "errors" arg that is a dict mapping host addresses
to the exception that was raised when an attempt was made to open
a connection to that host.
"""
errors = {}
lbp = (
self._cluster.load_balancing_policy
if self._cluster._config_mode == _ConfigMode.LEGACY else
self._cluster._default_load_balancing_policy
)

for host in lbp.make_query_plan():
try:
return self._try_connect(host)
except ConnectionException as exc:
errors[str(host.endpoint)] = exc
log.warning("[control connection] Error connecting to %s:", host, exc_info=True)
self._cluster.signal_connection_failure(host, exc, is_host_addition=False)
except Exception as exc:
errors[str(host.endpoint)] = exc
log.warning("[control connection] Error connecting to %s:", host, exc_info=True)
if self._is_shutdown:
raise DriverException("[control connection] Reconnection in progress during shutdown")

> raise NoHostAvailable("Unable to connect to any servers", errors)
E cassandra.cluster.NoHostAvailable: ('Unable to connect to any servers', {'127.0.0.1:9042': ConnectionRefusedError(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})

../cassandra/build/venv/src/cassandra-driver/cassandra/cluster.py:3533: NoHostAvailable
37.552
test_simple_strategy_countersSuccess205.691
test_disk_balance_replace_same_addressSuccess326.366
test_populate_mv_after_insert_wide_rowsSkipped5.1 > 3.X

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 3.X
1.522
test_sjkSuccess70.185
test_failure_threshold_deletionsSuccess162.472
test_complementary_deletion_with_limit_on_static_column_with_not_empty_partitionsSuccess184.527
test_creating_and_dropping_udfSuccess55.140
test_ssl_enabledSuccess118.727
test_batch_mutate_standard_columnsSkipped5.1 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4
0.957
test_update_expiringSkipped5.1 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4
0.888
test_full_repair_from_full_replicaSuccess139.793
test_mutation_oneSuccess236.539
test_drop_indexSuccess47.845
test_source_copy_round_tripSuccess54.574
test_range_tombstone_digest_parallel_repairSuccess134.841
Properties »