Name | Status | Type | Time(s) |
test_failed_bootstrap_wiped_node_can_join | Success | | 108.542 |
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.001 |
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 | | 58.910 |
test_column_name_validation | Success | | 56.038 |
test_more_order_by | Success | | 66.311 |
test_function_and_reverse_type | Success | | 62.234 |
test_deleted_row_select | Success | | 70.079 |
test_multi_list_set | Success | | 70.026 |
test_map_item_conditional | Failure | TypeError: '<' 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_tombstones | Skipped | 5.0 > 3.99
/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99 | 0.235 |
test_large_count | Success | | 198.331 |
test_null_support | Success | | 138.711 |
test_clustering_order_and_functions | Success | | 65.318 |
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.000 |
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_date | Success | | 54.158 |
test_static_columns | Success | | 52.787 |
test_batch | Success | | 55.229 |
test_range_key_ordered | Success | | 55.209 |
test_dense_cf | Success | | 57.112 |
test_multi_in_compact_non_composite | Success | | 55.180 |
test_clustering_order_in | Success | | 54.498 |
test_npe_composite_table_slice | Success | | 57.943 |
test_select_count_paging | Success | | 60.606 |
test_undefined_column_handling | Success | | 61.310 |
test_collection_flush | Success | | 76.482 |
test_simple_tuple_query | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:367: test not applicable to env. | 0.001 |
test_compact_metadata | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2704: test not applicable to env. | 0.000 |
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_with_equal_results_to_page_size | Success | | 54.681 |
test_with_allow_filtering | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:395: test not applicable to env. | 0.001 |
test_basic_paging | Success | | 51.744 |
test_cell_TTL_expiry_during_paging | Success | | 89.919 |
test_ttl_deletions | Success | | 69.501 |
test_upgrade_with_statics | Success | | 33.540 |
test_sstableloader_compression_none_to_snappy | Skipped | 5.0.1 > 4.99
/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99 | 0.359 |
test_dense_supercolumn | Skipped | 5.0 > 3.99
/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99 | 0.590 |
test_parallel_upgrade | Success | | 254.264 |