Name | Status | Type | Time(s) |
test_grant_revoke_auth | Success | | 66.389 |
test_create_dc_validation | Success | | 69.613 |
test_commitlog_replay_on_startup | 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 0x7f37ac7c4280>
def test_commitlog_replay_on_startup(self):
"""
Test commit log replay
"""
node1 = self.node1
node1.set_batch_commitlog(enabled=True, use_batch_window = self.cluster.version() < '5.0')
node1.start()
logger.debug("Insert data")
> session = self.patient_cql_connection(node1)
commitlog_test.py:242:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 0x7f37aba8c5e0>
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 | 48.514 |
test_simple_strategy_each_quorum_counters | Success | | 106.208 |
test_disk_balance_replace_different_address | Success | | 354.710 |
test_immutable | Success | | 91.365 |
test_sstablelevelreset | Success | | 372.347 |
test_contention_multi_iterations | Skipped | Hanging the build
/home/cassandra/cassandra-dtest/paxos_test.py:91: Hanging the build | 1.104 |
test_partition_deletion_on_wide_table | Success | | 173.544 |
test_udt_table | Success | | 53.980 |
test_sstableloader_compression_none_to_deflate | Skipped | Don't need to run base class test, only derived classes
/home/cassandra/cassandra-dtest/sstable_generation_loading_test.py:47: Don't need to run base class test, only derived classes | 1.052 |
test_bad_system_calls | Skipped | 5.1 > 4
/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4 | 1.073 |
test_incr_decr_standard_batch_remove | Skipped | 5.1 > 4
/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4 | 1.053 |
test_type_dropping | Success | | 96.362 |
test_execute_statement | Success | | 54.061 |
test_quoted_column_names_reading_dont_specify_names | Success | | 57.955 |
test_repaired_tracking_with_mismatching_replicas | Success | | 175.509 |