Name | Status | Type | Time(s) |
test_read_from_bootstrapped_node | Success | | 202.159 |
test_range_slice | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1746: test not applicable to env. | 0.000 |
test_in_with_desc_order | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4274: test not applicable to env. | 0.000 |
test_map | Success | | 68.128 |
test_map_keys_indexing | Success | | 63.169 |
test_count | Success | | 72.943 |
test_cas_simple | Success | | 63.402 |
test_exclusive_slice | Success | | 77.144 |
test_clustering_order_and_functions | 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 0x7f5571eb5a00>
def test_clustering_order_and_functions(self):
cursor = self.prepare()
cursor.execute("""
CREATE TABLE test (
k int,
t timeuuid,
PRIMARY KEY (k, t)
) WITH CLUSTERING ORDER BY (t DESC)
""")
for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE test")
for i in range(0, 5):
cursor.execute("INSERT INTO test (k, t) VALUES (%d, now())" % i)
> if self.get_node_version(is_upgraded) >= LooseVersion('2.2'):
upgrade_tests/cql_tests.py:3056:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 | 60.455 |
test_noncomposite_static_cf | Success | | 163.785 |
test_clustering_indexing | Success | | 67.799 |
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.531 |
test_key_index_with_reverse_clustering | Success | | 139.845 |
test_refuse_in_with_indexes | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2020: 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_composite_row_key | Success | | 54.871 |
test_static_columns_with_2i | Success | | 57.671 |
test_no_range_ghost | Success | | 58.415 |
test_column_name_validation | Success | | 56.556 |
test_order_by_validation | Success | | 57.151 |
test_select_with_alias | 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 0x7f5571c0dc70>
def test_select_with_alias(self):
cursor = self.prepare()
cursor.execute('CREATE TABLE users (id int PRIMARY KEY, name text)')
for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE users")
for id in range(0, 5):
cursor.execute("INSERT INTO users (id, name) VALUES ({}, 'name{}') USING TTL 10 AND TIMESTAMP 0".format(id, id))
# test aliasing count(*)
res = cursor.execute('SELECT count(*) AS user_count FROM users')
assert 'user_count' == res[0]._fields[0]
assert 5 == res[0].user_count
# test aliasing regular value
res = cursor.execute('SELECT name AS user_name FROM users WHERE id = 0')
assert 'user_name' == res[0]._fields[0]
assert 'name0' == res[0].user_name
# test aliasing writetime
res = cursor.execute('SELECT writeTime(name) AS name_writetime FROM users WHERE id = 0')
assert 'name_writetime' == res[0]._fields[0]
assert 0 == res[0].name_writetime
# test aliasing ttl
res = cursor.execute('SELECT ttl(name) AS name_ttl FROM users WHERE id = 0')
assert 'name_ttl' == res[0]._fields[0]
assert res[0].name_ttl, (9 in 10)
# test aliasing a regular function
res = cursor.execute('SELECT intAsBlob(id) AS id_blob FROM users WHERE id = 0')
assert 'id_blob' == res[0]._fields[0]
assert '\x00\x00\x00\x00' == res[0].id_blob.decode()
> logger.debug("Current node version is {}".format(self.get_node_version(is_upgraded)))
upgrade_tests/cql_tests.py:3276:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 | 55.953 |
test_limit_multiget | Success | | 58.074 |
test_conversion_functions | Success | | 56.603 |
test_deleted_row_select | Success | | 63.127 |
test_multi_in_compact_non_composite | Success | | 64.487 |
test_SIM_assertion_error | Success | | 70.635 |
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_map_item_conditional | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4789: test not applicable to env. | 0.001 |
test_with_less_results_than_page_size | Success | | 66.702 |
test_with_allow_filtering | Success | | 62.393 |
test_paging_a_single_wide_row | Success | | 69.533 |
test_cell_TTL_expiry_during_paging | Success | | 102.204 |
test_single_partition_deletions | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1259: test not applicable to env. | 0.000 |
test_10822 | Success | | 64.245 |
test_sstableloader_with_mv | Skipped | 5.0.1 > 3.99
/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99 | 0.371 |
test_dense_supercolumn | Skipped | 5.0 > 3.99
/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99 | 0.355 |
test_parallel_upgrade_with_internode_ssl | Success | | 795.758 |