Name | Status | Type | Time(s) |
test_permissions_caching | Success | | 64.577 |
test_empty_batch_throws_no_error | Success | | 45.580 |
test_mv_lock_contention_during_replay | Failure | 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")})
self = <commitlog_test.TestCommitLog object at 0x7f5dcec57250>
@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 0x7f5dcde20dc0>
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 | 39.261 |
test_simple_strategy_counters | Success | | 214.894 |
test_disk_balance_replace_same_address | Success | | 433.993 |
test_populate_mv_after_insert_wide_rows | Skipped | 5.1 > 3.X
/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 3.X | 1.222 |
test_sjk | Success | | 74.409 |
test_failure_threshold_deletions | Success | | 164.963 |
test_complementary_deletion_with_limit_on_static_column_with_not_empty_partitions | Success | | 210.913 |
test_creating_and_dropping_udf | Success | | 56.225 |
test_ssl_enabled | Success | | 143.874 |
test_batch_mutate_standard_columns | Skipped | 5.1 > 4
/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4 | 0.948 |
test_update_expiring | Skipped | 5.1 > 4
/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4 | 1.016 |
test_full_repair_from_full_replica | Success | | 195.474 |
test_mutation_one | Success | | 292.741 |
test_drop_index | Success | | 68.921 |
test_source_copy_round_trip | Success | | 68.177 |
test_range_tombstone_digest_parallel_repair | Success | | 132.426 |