Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-upgrade_jdk11_python3.8_cythonno_x86_64_41_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_41_643801102301.0762024-07-20T07:36:44.779323db9fd26d55bc

Tests

NameStatusTypeTime(s)
test_exclusive_sliceSkippedtest not applicable to env.

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

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3038: test not applicable to env.
0.000
test_noncomposite_static_cfSuccess62.986
test_clustering_indexingSuccess60.327
test_select_list_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5290: awaiting CASSANDRA-7396
0.001
test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.292
test_key_index_with_reverse_clusteringSuccess64.347
test_refuse_in_with_indexesSuccess69.595
test_list_item_conditionalSuccess63.811
test_composite_row_keySuccess156.373
test_static_columns_with_2iSuccess63.336
test_no_range_ghostSuccess138.312
test_column_name_validationSuccess63.074
test_order_by_validationSkippedtest not applicable to env.

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

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3240: test not applicable to env.
0.000
test_limit_multigetSuccess56.773
test_conversion_functionsSuccess55.433
test_deleted_row_selectSuccess60.658
test_multi_in_compact_non_compositeSuccess56.858
test_SIM_assertion_errorSuccess58.857
test_batch_and_listSuccess56.558
test_map_item_conditionalFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7ffb8f587e20>

@since('2.1')
def test_map_item_conditional(self):
cursor = self.prepare()

cursor.execute("""
CREATE TABLE tmap (
k int PRIMARY KEY,
m map<text, text>
)""")

cursor.execute("""
CREATE TABLE frozentmap (
k int PRIMARY KEY,
m frozen<map<text, text>>
)""")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE tmap")
cursor.execute("TRUNCATE frozentmap")

for frozen in (False, True):

table = "frozentmap" if frozen else "tmap"
assert_one(cursor, "INSERT INTO %s(k, m) VALUES (0, {'foo' : 'bar'}) IF NOT EXISTS" % (table,), [True])
assert_invalid(cursor, "DELETE FROM %s WHERE k=0 IF m[null] = 'foo'" % (table,))
assert_one(cursor, "DELETE FROM %s WHERE k=0 IF m['foo'] = 'foo'" % (table,), [False, {'foo': 'bar'}])
assert_one(cursor, "DELETE FROM %s WHERE k=0 IF m['foo'] = null" % (table,), [False, {'foo': 'bar'}])
assert_one(cursor, "SELECT * FROM %s" % (table,), [0, {'foo': 'bar'}], cl=ConsistencyLevel.SERIAL)

assert_one(cursor, "DELETE FROM %s WHERE k=0 IF m['foo'] = 'bar'" % (table,), [True])
assert_none(cursor, "SELECT * FROM %s" % (table,), cl=ConsistencyLevel.SERIAL)

> if self.get_node_version(is_upgraded) > "2.1.1":

upgrade_tests/cql_tests.py:4822:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
upgrade_tests/upgrade_base.py:227: in get_node_version
return max(node_versions) if is_upgraded else min(node_versions)
/usr/lib/python3.8/distutils/version.py:64: in __gt__
c = self._cmp(other)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = LooseVersion ('5.0-rc1'), other = LooseVersion ('5.0.1')

def _cmp (self, other):
if isinstance(other, str):
other = LooseVersion(other)

if self.version == other.version:
return 0
> if self.version < other.version:
E TypeError: '<' not supported between instances of 'str' and 'int'

/usr/lib/python3.8/distutils/version.py:337: TypeError
52.755
test_no_clusteringSuccess56.009
test_tuple_notationSuccess58.284
test_range_query_2ndarySuccess59.593
test_large_countSuccess68.654
test_nameless_indexSkippedtest not applicable to env.

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

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3414: test not applicable to env.
0.000
test_with_less_results_than_page_sizeSuccess59.046
test_with_order_by_reversedSuccess62.063
test_basic_pagingSuccess61.427
test_data_change_impacting_later_pageSuccess62.061
test_ttl_deletionsSuccess72.053
test_failure_threshold_deletionsSuccess66.191
test_upgrade_with_range_tombstone_aeSuccess112.688
test_sstableloader_compression_snappy_to_noneSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.589
test_sparse_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.580
test_bootstrapSuccess419.844
Properties »