Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-upgrade-novnode_jdk11_python3.8_cythonno_x86_64_26_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_26_644001122152.8792024-07-20T02:10:18.12791127b09e438625

Tests

NameStatusTypeTime(s)
test_failed_bootstrap_wiped_node_can_joinSuccess108.542
test_batch_and_listSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2217: test not applicable to env.
0.001
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_collectionSuccess58.910
test_column_name_validationSuccess56.038
test_more_order_bySuccess66.311
test_function_and_reverse_typeSuccess62.234
test_deleted_row_selectSuccess70.079
test_multi_list_setSuccess70.026
test_map_item_conditionalFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f1a39a32220>

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.235
test_large_countSuccess198.331
test_null_supportSuccess138.711
test_clustering_order_and_functionsSuccess65.318
test_static_cfSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:44: test not applicable to env.
0.000
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_dateSuccess54.158
test_static_columnsSuccess52.787
test_batchSuccess55.229
test_range_key_orderedSuccess55.209
test_dense_cfSuccess57.112
test_multi_in_compact_non_compositeSuccess55.180
test_clustering_order_inSuccess54.498
test_npe_composite_table_sliceSuccess57.943
test_select_count_pagingSuccess60.606
test_undefined_column_handlingSuccess61.310
test_collection_flushSuccess76.482
test_simple_tuple_querySkippedtest not applicable to env.

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

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2704: test not applicable to env.
0.000
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_with_equal_results_to_page_sizeSuccess54.681
test_with_allow_filteringSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:395: test not applicable to env.
0.001
test_basic_pagingSuccess51.744
test_cell_TTL_expiry_during_pagingSuccess89.919
test_ttl_deletionsSuccess69.501
test_upgrade_with_staticsSuccess33.540
test_sstableloader_compression_none_to_snappySkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.590
test_parallel_upgradeSuccess254.264
Properties »