Name | Status | Type | Time(s) |
test_noncomposite_static_cf | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:121: test not applicable to env. | 0.001 |
test_clustering_indexing | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2775: test not applicable to env. | 0.000 |
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_collection_function | Skipped | 5.0 > 4.1
/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1 | 0.831 |
test_key_index_with_reverse_clustering | Success | | 67.348 |
test_refuse_in_with_indexes | Success | | 68.708 |
test_list_item_conditional | Success | | 70.278 |
test_composite_row_key | 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 0x7fa5d5f2a3d0>
def test_composite_row_key(self):
cursor = self.prepare()
cursor.execute("""
CREATE TABLE test (
k1 int,
k2 int,
c int,
v int,
PRIMARY KEY ((k1, k2), c)
)
""")
for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE test")
req = "INSERT INTO test (k1, k2, c, v) VALUES ({}, {}, {}, {})"
for i in range(0, 4):
cursor.execute(req.format(0, i, i, i))
assert_all(cursor, "SELECT * FROM test", [[0, 2, 2, 2], [0, 3, 3, 3], [0, 0, 0, 0], [0, 1, 1, 1]])
assert_all(cursor, "SELECT * FROM test WHERE k1 = 0 and k2 IN (1, 3)", [[0, 1, 1, 1], [0, 3, 3, 3]])
assert_invalid(cursor, "SELECT * FROM test WHERE k2 = 3")
> if self.get_node_version(is_upgraded) < '2.2':
upgrade_tests/cql_tests.py:1496:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 | 69.742 |
test_static_columns_with_2i | Success | | 80.054 |
test_no_range_ghost | Success | | 187.127 |
test_column_name_validation | Success | | 64.504 |
test_order_by_validation | Success | | 136.545 |
test_select_with_alias | Success | | 72.379 |
test_limit_multiget | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:334: test not applicable to env. | 0.001 |
test_conversion_functions | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2919: test not applicable to env. | 0.000 |
test_deleted_row_select | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5405: test not applicable to env. | 0.000 |
test_multi_in_compact_non_composite | Success | | 53.392 |
test_SIM_assertion_error | Success | | 52.139 |
test_batch_and_list | Success | | 52.701 |
test_map_item_conditional | Success | | 54.935 |
test_no_clustering | Success | | 53.184 |
test_tuple_notation | Success | | 53.930 |
test_range_query_2ndary | Success | | 53.867 |
test_large_count | Success | | 64.031 |
test_nameless_index | Success | | 55.342 |
test_select_distinct_with_deletions | Success | | 55.482 |
test_indexed_with_eq | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:456: test not applicable to env. | 0.000 |
test_empty_blob | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2994: test not applicable to env. | 0.000 |
test_drop_compact_storage | Skipped | 5.0.1 > 3.11
/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.11 | 0.340 |
test_with_no_results | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:47: test not applicable to env. | 0.000 |
test_paging_using_secondary_indexes | Success | | 64.120 |
test_static_columns_paging | Success | | 64.091 |
test_query_isolation | Success | | 110.289 |
test_single_cell_deletions | Success | | 62.471 |
test_upgrade_with_unclustered_CQL_table | Success | | 110.213 |
test_sstableloader_compression_snappy_to_none | Skipped | 5.0.1 > 4.99
/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99 | 0.362 |
test_dense_supercolumn | Skipped | 5.0 > 3.99
/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99 | 0.632 |
test_parallel_upgrade | Success | | 261.601 |