Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-upgrade_jdk11_python3.8_cythonno_x86_64_44_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_44_643801103147.6762024-05-02T11:18:14.77993298d197b9debb

Tests

NameStatusTypeTime(s)
test_more_order_bySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:656: test not applicable to env.
0.001
test_conditional_deleteSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3165: test not applicable to env.
0.000
test_sparse_cfSuccess67.449
test_ticket_5230Success62.225
test_select_list_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5378: awaiting CASSANDRA-7396
0.000
test_multi_in_compactSuccess71.419
test_end_of_component_uses_oecBoundSuccess61.911
test_collection_and_regularFailureFailed: Timeout >900.0s

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f26a89d1550>

def test_collection_and_regular(self):

cursor = self.prepare()

cursor.execute("""
CREATE TABLE test (
k int PRIMARY KEY,
l list<int>,
c int
)
""")

> for is_upgraded, cursor in self.do_upgrade(cursor):

upgrade_tests/cql_tests.py:2209:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f26a89d1550>
session = <cassandra.cluster.Session object at 0x7f26a854b640>
use_thrift = False, return_nodes = False, kwargs = {}
node1 = <ccmlib.node.Node object at 0x7f26a6a90a00>
node2 = <ccmlib.node.Node object at 0x7f26a7afac40>
new_version_from_build = LooseVersion ('5.0')
sessions_and_meta = [(True, <cassandra.cluster.Session object at 0x7f26a8786280>), (False, <cassandra.cluster.Session object at 0x7f26a854b640>)]
s = (False, <cassandra.cluster.Session object at 0x7f26a854b640>)

def do_upgrade(self, session, use_thrift=False, return_nodes=False, **kwargs):
"""
Upgrades the first node in the cluster and returns a list of
(is_upgraded, Session) tuples. If `is_upgraded` is true, the
Session is connected to the upgraded node. If `return_nodes`
is True, a tuple of (is_upgraded, Session, Node) will be
returned instead.
"""
session.cluster.shutdown()
self.install_nodetool_legacy_parsing()
node1 = self.cluster.nodelist()[0]
node2 = self.cluster.nodelist()[1]

# stop the nodes, this can fail due to https://issues.apache.org/jira/browse/CASSANDRA-8220 on MacOS
# for the tests that run against 2.0. You will need to run those in Linux.
node1.drain()
node1.stop(gently=True)

# Ignore errors before upgrade on Windows
# We ignore errors from 2.1, because windows 2.1
# support is only beta. There are frequent log errors,
# related to filesystem interactions that are a direct result
# of the lack of full functionality on 2.1 Windows, and we dont
# want these to pollute our results.
if is_win() and self.cluster.version() <= '2.2':
node1.mark_log_for_errors()

logger.debug('upgrading node1 to {}'.format(self.UPGRADE_PATH.upgrade_version))

node1.set_install_dir(version=self.UPGRADE_PATH.upgrade_version)
self.install_legacy_parsing(node1)

# this is a bandaid; after refactoring, upgrades should account for protocol version
new_version_from_build = get_version_from_build(node1.get_install_dir())

# Check if a since annotation with a max_version was set on this test.
# The since decorator can only check the starting version of the upgrade,
# so here we check to new version of the upgrade as well.
if hasattr(self, 'max_version') and self.max_version is not None and new_version_from_build >= self.max_version:
pytest.skip("Skipping test, new version {} is equal to or higher than "
"max version {}".format(new_version_from_build, self.max_version))

if (new_version_from_build >= '3' and self.protocol_version is not None and self.protocol_version < 3):
pytest.skip('Protocol version {} incompatible '
'with Cassandra version {}'.format(self.protocol_version, new_version_from_build))
node1.set_log_level(logging.getLevelName(logging.root.level))
node1.set_configuration_options(values={'internode_compression': 'none'})

if use_thrift and node1.get_cassandra_version() < '4':
node1.set_configuration_options(values={'start_rpc': 'true'})

node1.start(wait_for_binary_proto=True)

sessions_and_meta = []
if self.CL:
session = self.patient_exclusive_cql_connection(node1, protocol_version=self.protocol_version, consistency_level=self.CL, **kwargs)
else:
session = self.patient_exclusive_cql_connection(node1, protocol_version=self.protocol_version, **kwargs)
session.set_keyspace('ks')

if return_nodes:
sessions_and_meta.append((True, session, node1))
else:
sessions_and_meta.append((True, session))

# open a second session with the node on the old version
if self.CL:
session = self.patient_exclusive_cql_connection(node2, protocol_version=self.protocol_version, consistency_level=self.CL, **kwargs)
else:
session = self.patient_exclusive_cql_connection(node2, protocol_version=self.protocol_version, **kwargs)
session.set_keyspace('ks')

if return_nodes:
sessions_and_meta.append((False, session, node2))
else:
sessions_and_meta.append((False, session))

# Let the nodes settle briefly before yielding connections in turn (on the upgraded and non-upgraded alike)
# CASSANDRA-11396 was the impetus for this change, wherein some apparent perf noise was preventing
# CL.ALL from being reached. The newly upgraded node needs to settle because it has just barely started, and each
# non-upgraded node needs a chance to settle as well, because the entire cluster (or isolated nodes) may have been doing resource intensive activities
# immediately before.
for s in sessions_and_meta:
> time.sleep(5)
E Failed: Timeout >900.0s

upgrade_tests/upgrade_base.py:208: Failed
906.343
test_whole_map_conditionalSuccess70.222
test_row_existenceSuccess161.346
test_cas_and_ttlSuccess65.951
test_delete_rowSuccess137.703
test_intersection_logic_returns_empty_resultSuccess85.528
test_null_supportSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:835: test not applicable to env.
0.000
test_collection_flushSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3351: test not applicable to env.
0.000
test_countersSuccess53.829
test_NPE_during_select_with_tokenSuccess53.612
test_materialized_view_simpleSuccess55.363
test_float_with_exponentSuccess56.576
test_negative_timestampSuccess56.862
test_returned_nullSuccess56.045
test_static_with_limitSuccess58.964
test_npe_composite_table_sliceSuccess54.821
test_in_order_by_without_selectingSuccess56.558
test_listSuccess57.581
test_nan_infinitySuccess57.823
test_batchSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:979: test not applicable to env.
0.000
test_internal_application_error_on_selectSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3480: test not applicable to env.
0.000
test_undefined_page_size_defaultSuccess71.102
test_with_order_bySuccess64.328
test_paging_across_multi_wide_rowsSuccess79.623
test_data_change_impacting_earlier_pageSuccess65.584
test_multiple_partition_deletionsSuccess66.348
test_single_row_deletionsSuccess69.328
test_sstableloader_compression_none_to_deflateSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 3.99
0.355
test_sstableloader_compression_deflate_to_noneSkipped5.0 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 4.99
0.592
test_dense_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.341
test_rolling_upgradeSuccess420.573
Properties »