Name | Status | Type | Time(s) |
test_range_tombstones_compaction | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1211: test not applicable to env. | 0.001 |
test_more_user_types | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3623: test not applicable to env. | 0.000 |
test_reversed_comparator | Success | | 71.621 |
test_empty_in | Success | | 61.865 |
test_limit_sparse | Success | | 66.950 |
test_function_and_reverse_type | Success | | 60.078 |
test_tracing_prevents_startup_after_upgrading | Success | | 77.155 |
test_timeuuid | 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 0x7f5008f07130>
def test_timeuuid(self):
cursor = self.prepare()
cursor.execute("""
CREATE TABLE test (
k int,
t timeuuid,
PRIMARY KEY (k, t)
)
""")
for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE test")
assert_invalid(cursor, "INSERT INTO test (k, t) VALUES (0, 2012-11-07 18:18:22-0800)", expected=SyntaxException)
for i in range(4):
cursor.execute("INSERT INTO test (k, t) VALUES (0, now())")
time.sleep(1)
assert_row_count(cursor, 'test', 4)
res = list(cursor.execute("SELECT * FROM test"))
dates = [d[1] for d in res]
assert_row_count(cursor, 'test', 4, where="k = 0 AND t >= {}".format(dates[0]))
assert_row_count(cursor, 'test', 0, where="k = 0 AND t < {}".format(dates[0]))
assert_row_count(cursor, 'test', 2, where="k = 0 AND t > {} AND t <= {}".format(dates[0], dates[2]))
assert_row_count(cursor, 'test', 1, where="k = 0 AND t = {}".format(dates[0]))
# test function with deprecated pre-5.0 names
# not sure what to check exactly so just checking the query returns
assert_invalid(cursor, "SELECT minTimeuuid(k) FROM test WHERE k = 0 AND t = %s" % dates[0])
cursor.execute("SELECT t FROM test WHERE k = 0"
" AND t > maxTimeuuid(1234567)"
" AND t < minTimeuuid('2012-11-07 18:18:22-0800')")
> if self.get_node_version(is_upgraded) >= LooseVersion('2.2'):
upgrade_tests/cql_tests.py:2670:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 | 62.991 |
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_multiordering | Success | | 173.521 |
test_cas_and_list_index | Success | | 66.581 |
test_range_slice | Success | | 136.933 |
test_in_with_desc_order | Success | | 74.666 |
test_map | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1339: test not applicable to env. | 0.000 |
test_map_keys_indexing | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3785: test not applicable to env. | 0.000 |
test_count | Success | | 62.309 |
test_cas_simple | Success | | 54.837 |
test_exclusive_slice | Success | | 57.432 |
test_clustering_order_and_functions | Success | | 54.184 |
test_noncomposite_static_cf | Success | | 57.166 |
test_clustering_indexing | Success | | 58.909 |
test_select_list_key_single_row | Skipped | awaiting CASSANDRA-7396
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5290: awaiting CASSANDRA-7396 | 0.001 |
test_collection_function | Skipped | 5.0 > 4.1
/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1 | 0.714 |
test_key_index_with_reverse_clustering | Success | | 57.128 |
test_refuse_in_with_indexes | Success | | 57.477 |
test_list_item_conditional | Success | | 57.416 |
test_composite_row_key | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1469: test not applicable to env. | 0.001 |
test_static_columns_with_2i | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4046: test not applicable to env. | 0.000 |
test_with_more_results_than_page_size | Success | | 59.023 |
test_with_order_by_reversed | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:248: test not applicable to env. | 0.000 |
test_paging_a_single_wide_row | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:550: test not applicable to env. | 0.000 |
test_data_change_impacting_later_page | Success | | 64.519 |
test_single_partition_deletions | Success | | 67.200 |
test13294 | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/regression_test.py:72: test not applicable to env. | 0.001 |
test_sstableloader_compression_snappy_to_deflate | Skipped | 5.0.1 > 3.99
/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99 | 0.632 |
test_sstableloader_with_mv | Skipped | 5.0.1 > 4.99
/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99 | 0.585 |
test_parallel_upgrade | Success | | 692.157 |
test_udtfix_in_sstable | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_udtfix_test.py:34: test not applicable to env. | 0.002 |