Name | Status | Type | Time(s) |
test_simultaneous_bootstrap | Success | | 166.270 |
test_multiordering | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2268: test not applicable to env. | 0.000 |
test_whole_set_conditional | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4594: test not applicable to env. | 0.000 |
test_composite_row_key | Success | | 67.264 |
test_more_user_types | Success | | 62.234 |
test_order_by_with_in | Success | | 73.580 |
test_empty_blob | Success | | 62.872 |
test_tracing_prevents_startup_after_upgrading | Success | | 72.645 |
test_truncate_clean_cache | Skipped | https://issues.apache.org/jira/browse/CASSANDRA-14961
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2379: https://issues.apache.org/jira/browse/CASSANDRA-14961 | 0.000 |
test_cas_and_list_index | Success | | 73.404 |
test_only_pk | Success | | 161.794 |
test_map_keys_indexing | Success | | 65.510 |
test_deletion | Success | | 139.781 |
test_non_eq_conditional_update | Success | | 68.054 |
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.000 |
test_multi_in | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2479: test not applicable to env. | 0.000 |
test_key_index_with_reverse_clustering | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5034: test not applicable to env. | 0.000 |
test_composite_index_with_pk | Success | | 55.403 |
test_static_columns_with_2i | Success | | 55.649 |
test_timestamp_and_ttl | Success | | 54.916 |
test_nonpure_function_collection | Success | | 54.575 |
test_limit_ranges | Success | | 58.624 |
test_timeuuid | 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 0x7fceec2a72e0>
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 | 59.325 |
test_SIM_assertion_error | Success | | 64.304 |
test_remove_range_slice | Success | | 57.459 |
test_tuple_notation | Success | | 57.642 |
test_range_tombstones_compaction | Success | | 87.951 |
test_select_distinct_with_deletions | Success | | 66.305 |
test_counters | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:418: 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_map_key_single_row | Skipped | awaiting CASSANDRA-7396
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5231: awaiting CASSANDRA-7396 | 0.000 |
test_with_no_results | Success | | 64.754 |
test_basic_compound_paging | Success | | 70.063 |
test_paging_a_single_wide_row | Success | | 70.391 |
test_data_change_impacting_later_page | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:959: test not applicable to env. | 0.000 |
test_single_partition_deletions | Success | | 68.553 |
test_upgrade_with_wide_partition | Success | | 44.172 |
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.484 |
test_sparse_supercolumn_with_renames | Skipped | 5.0 > 3.99
/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99 | 0.686 |
test_parallel_upgrade_with_internode_ssl | Success | | 293.313 |