Name | Status | Type | Time(s) |
test_resumable_bootstrap | Success | | 124.575 |
test_npe_composite_table_slice | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1892: test not applicable to env. | 0.000 |
test_select_count_paging | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4180: test not applicable to env. | 0.000 |
test_undefined_column_handling | Success | | 65.612 |
test_collection_flush | Success | | 76.663 |
test_simple_tuple_query | Success | | 68.978 |
test_compact_metadata | Success | | 61.940 |
test_invalid_string_literals | Skipped | https://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_indexes | Success | | 2.227 |
test_refuse_in_with_indexes | Success | | 63.855 |
test_in_with_desc_order | Success | | 62.746 |
test_range_query_2ndary | Success | | 203.109 |
test_cas_simple | Success | | 62.244 |
test_select_key_in | Success | | 138.991 |
test_end_of_component_as_end_key | Success | | 64.977 |
test_select_list_key_single_row | Skipped | awaiting CASSANDRA-7396
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5290: awaiting CASSANDRA-7396 | 0.000 |
test_batch_and_list | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2217: test not applicable to env. | 0.000 |
test_list_item_conditional | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4463: test not applicable to env. | 0.000 |
test_multi_collection | Success | | 54.374 |
test_column_name_validation | Success | | 54.126 |
test_more_order_by | Success | | 56.686 |
test_function_and_reverse_type | Success | | 54.569 |
test_deleted_row_select | Success | | 62.657 |
test_multi_list_set | Success | | 56.316 |
test_map_item_conditional | Failure | TypeError: '<' 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_tombstones | Skipped | 5.0 > 3.99
/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99 | 0.366 |
test_large_count | Success | | 69.967 |
test_null_support | Success | | 55.841 |
test_clustering_order_and_functions | Success | | 57.565 |
test_static_cf | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:44: test not applicable to env. | 0.001 |
test_collection_function | Skipped | test 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_clustering | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4975: test not applicable to env. | 0.000 |
test_with_no_results | Success | | 56.883 |
test_with_allow_filtering | Success | | 56.601 |
test_paging_using_secondary_indexes_with_static_cols | Success | | 59.695 |
test_cell_TTL_expiry_during_paging | Success | | 90.784 |
test_multiple_cell_deletions | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1426: test not applicable to env. | 0.000 |
test13294 | Skipped | test 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_none | Skipped | 5.0.1 > 3.99
/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99 | 0.368 |
test_dense_supercolumn | Skipped | 5.0 > 3.99
/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99 | 0.356 |
test_parallel_upgrade_with_internode_ssl | Success | | 601.809 |