Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-upgrade-novnode_jdk11_python3.8_cythonno_x86_64_18_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_18_644001142574.4562024-07-19T23:52:59.7184480593df817a0f

Tests

NameStatusTypeTime(s)
test_resumable_bootstrapSuccess124.575
test_npe_composite_table_sliceSkippedtest not applicable to env.

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

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4180: test not applicable to env.
0.000
test_undefined_column_handlingSuccess65.612
test_collection_flushSuccess76.663
test_simple_tuple_querySuccess68.978
test_compact_metadataSuccess61.940
test_invalid_string_literalsSkippedhttps://issues.apache.org/jira/browse/CASSANDRA-14960

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5198: https://issues.apache.org/jira/browse/CASSANDRA-14960
0.000
test_refuse_in_with_indexesSuccess2.227
test_refuse_in_with_indexesSuccess63.855
test_in_with_desc_orderSuccess62.746
test_range_query_2ndarySuccess203.109
test_cas_simpleSuccess62.244
test_select_key_inSuccess138.991
test_end_of_component_as_end_keySuccess64.977
test_select_list_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5290: awaiting CASSANDRA-7396
0.000
test_batch_and_listSkippedtest not applicable to env.

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

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4463: test not applicable to env.
0.000
test_multi_collectionSuccess54.374
test_column_name_validationSuccess54.126
test_more_order_bySuccess56.686
test_function_and_reverse_typeSuccess54.569
test_deleted_row_selectSuccess62.657
test_multi_list_setSuccess56.316
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 0x7f331125efa0>

@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
50.612
test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.366
test_large_countSuccess69.967
test_null_supportSuccess55.841
test_clustering_order_and_functionsSuccess57.565
test_static_cfSkippedtest not applicable to env.

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

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

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4975: test not applicable to env.
0.000
test_with_no_resultsSuccess56.883
test_with_allow_filteringSuccess56.601
test_paging_using_secondary_indexes_with_static_colsSuccess59.695
test_cell_TTL_expiry_during_pagingSuccess90.784
test_multiple_cell_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1426: test not applicable to env.
0.000
test13294Skippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/regression_test.py:72: test not applicable to env.
0.000
test_sstableloader_compression_snappy_to_noneSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.368
test_dense_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.356
test_parallel_upgrade_with_internode_sslSuccess601.809
Properties »