Unit Test Results.

Designed for use with JUnit and Ant.

All Tests

ClassNameStatusTypeTime(s)
8_cythonno_x86_64_10_64test_schema_removed_nodesSuccess171.784
8_cythonno_x86_64_10_64test_cql3_non_compound_range_tombstonesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1541: test not applicable to env.
0.000
8_cythonno_x86_64_10_64test_large_countSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3701: test not applicable to env.
0.000
8_cythonno_x86_64_10_64test_null_supportSuccess66.704
8_cythonno_x86_64_10_64test_clustering_order_and_functionsSuccess58.198
8_cythonno_x86_64_10_64test_static_cfSuccess67.641
8_cythonno_x86_64_10_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.211
8_cythonno_x86_64_10_64test_static_with_empty_clusteringSuccess61.461
8_cythonno_x86_64_10_64test_dateSuccess74.352
8_cythonno_x86_64_10_64test_static_columnsSuccess62.905
8_cythonno_x86_64_10_64test_batchSuccess159.997
8_cythonno_x86_64_10_64test_range_key_orderedSuccess61.675
8_cythonno_x86_64_10_64test_dense_cfSuccess135.596
8_cythonno_x86_64_10_64test_multi_in_compact_non_compositeSuccess66.273
8_cythonno_x86_64_10_64test_clustering_order_inSuccess63.245
8_cythonno_x86_64_10_64test_npe_composite_table_sliceSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1892: test not applicable to env.
0.000
8_cythonno_x86_64_10_64test_select_count_pagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4180: test not applicable to env.
0.000
8_cythonno_x86_64_10_64test_undefined_column_handlingSuccess54.880
8_cythonno_x86_64_10_64test_collection_flushSuccess66.394
8_cythonno_x86_64_10_64test_simple_tuple_querySuccess56.373
8_cythonno_x86_64_10_64test_compact_metadataSuccess54.343
8_cythonno_x86_64_10_64test_invalid_string_literalsSkippedhttps://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
8_cythonno_x86_64_10_64test_refuse_in_with_indexesSuccess59.651
8_cythonno_x86_64_10_64test_in_with_desc_orderSuccess58.760
8_cythonno_x86_64_10_64test_range_query_2ndarySuccess54.566
8_cythonno_x86_64_10_64test_cas_simpleSuccess54.171
8_cythonno_x86_64_10_64test_select_key_inSuccess55.633
8_cythonno_x86_64_10_64test_end_of_component_as_end_keySuccess57.059
8_cythonno_x86_64_10_64test_select_list_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5290: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_10_64test_batch_and_listSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2217: test not applicable to env.
0.000
8_cythonno_x86_64_10_64test_list_item_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4463: test not applicable to env.
0.000
8_cythonno_x86_64_10_64test_with_more_results_than_page_sizeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:94: test not applicable to env.
0.000
8_cythonno_x86_64_10_64test_with_allow_filteringSuccess55.110
8_cythonno_x86_64_10_64test_static_columns_pagingSuccess60.334
8_cythonno_x86_64_10_64test_cell_TTL_expiry_during_pagingSuccess92.899
8_cythonno_x86_64_10_64test_single_cell_deletionsSuccess72.399
8_cythonno_x86_64_10_64test_schema_agreementSkipped5.0 > 3.0.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.0.99
0.627
8_cythonno_x86_64_10_64test_sstableloader_compression_snappy_to_deflateSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.331
8_cythonno_x86_64_10_64test_dense_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.332
8_cythonno_x86_64_10_64test_parallel_upgrade_with_internode_sslSuccess842.958
8_cythonno_x86_64_11_64test_read_from_bootstrapped_nodeSuccess152.994
8_cythonno_x86_64_11_64test_row_existenceSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1629: test not applicable to env.
0.001
8_cythonno_x86_64_11_64test_collection_indexingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3733: test not applicable to env.
0.000
8_cythonno_x86_64_11_64test_nameless_indexSuccess76.083
8_cythonno_x86_64_11_64test_conditional_updateSuccess64.546
8_cythonno_x86_64_11_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.297
8_cythonno_x86_64_11_64test_composite_partition_key_validationSuccess74.964
8_cythonno_x86_64_11_64test_limit_compact_tableSuccess63.734
8_cythonno_x86_64_11_64test_range_sliceSuccess76.653
8_cythonno_x86_64_11_64test_static_columns_casFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f69577b29a0>

@since('2.1')
def test_static_columns_cas(self):
""""
@jira_ticket CASSANDRA-6839
@jira_ticket CASSANDRA-6561
"""

cursor = self.prepare()

cursor.execute("""
CREATE TABLE test (
id int,
k text,
version int static,
v text,
PRIMARY KEY (id, k)
)
""")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE test")

# Test that INSERT IF NOT EXISTS concerns only the static column if no clustering nor regular columns
# is provided, but concerns the CQL3 row targetted by the clustering columns otherwise
assert_one(cursor, "INSERT INTO test(id, k, v) VALUES (1, 'foo', 'foo') IF NOT EXISTS", [True])
assert_one(cursor, "INSERT INTO test(id, k, version) VALUES (1, 'foo', 1) IF NOT EXISTS", [False, 1, 'foo', None, 'foo'])
assert_one(cursor, "INSERT INTO test(id, version) VALUES (1, 1) IF NOT EXISTS", [True])
assert_one(cursor, "SELECT * FROM test", [1, 'foo', 1, 'foo'], ConsistencyLevel.SERIAL)

# Dodgy as its not conditional, but this is not allowed with a condition and that's probably fine in practice so go with it
cursor.execute("DELETE FROM test WHERE id = 1")

assert_one(cursor, "INSERT INTO test(id, version) VALUES (0, 0) IF NOT EXISTS", [True])

assert_one(cursor, "UPDATE test SET v='foo', version=1 WHERE id=0 AND k='k1' IF version = 0", [True])
assert_all(cursor, "SELECT * FROM test", [[0, 'k1', 1, 'foo']], ConsistencyLevel.SERIAL)

assert_one(cursor, "UPDATE test SET v='bar', version=1 WHERE id=0 AND k='k2' IF version = 0", [False, 1])
assert_all(cursor, "SELECT * FROM test", [[0, 'k1', 1, 'foo']], ConsistencyLevel.SERIAL)

assert_one(cursor, "UPDATE test SET v='bar', version=2 WHERE id=0 AND k='k2' IF version = 1", [True])
assert_all(cursor, "SELECT * FROM test", [[0, 'k1', 2, 'foo'], [0, 'k2', 2, 'bar']], ConsistencyLevel.SERIAL)

# CASSANDRA-12694 (committed in 3.0.11 and 3.10) changes the behavior below slightly.
> version = self.get_node_version(is_upgraded)

upgrade_tests/cql_tests.py:3954:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
70.473
8_cythonno_x86_64_11_64test_token_rangeSuccess193.032
8_cythonno_x86_64_11_64test_select_with_aliasSuccess65.337
8_cythonno_x86_64_11_64test_sparse_cfSuccess142.857
8_cythonno_x86_64_11_64test_large_clustering_inSuccess67.340
8_cythonno_x86_64_11_64test_end_of_component_uses_oecBoundSuccess65.754
8_cythonno_x86_64_11_64test_order_by_multikeySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1922: test not applicable to env.
0.000
8_cythonno_x86_64_11_64test_cas_and_ttlSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4204: test not applicable to env.
0.000
8_cythonno_x86_64_11_64test_range_tombstonesSuccess70.855
8_cythonno_x86_64_11_64test_select_distinctSuccess56.844
8_cythonno_x86_64_11_64test_limit_sparseSuccess57.365
8_cythonno_x86_64_11_64test_query_compact_tables_during_upgradeSuccess61.394
8_cythonno_x86_64_11_64test_negative_timestampSuccess54.812
8_cythonno_x86_64_11_64test_reversed_compactSuccess55.904
8_cythonno_x86_64_11_64test_in_order_by_without_selectingFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f69575108b0>

@since('2.1')
def test_in_order_by_without_selecting(self):
"""
Test that columns don't need to be selected for ORDER BY when there is a IN
@jira_ticket CASSANDRA-4911
"""
cursor = self.prepare()
cursor.execute("CREATE TABLE test (k int, c1 int, c2 int, v int, PRIMARY KEY (k, c1, c2))")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE test")
cursor.default_fetch_size = None

cursor.execute("INSERT INTO test(k, c1, c2, v) VALUES (0, 0, 0, 0)")
cursor.execute("INSERT INTO test(k, c1, c2, v) VALUES (0, 0, 1, 1)")
cursor.execute("INSERT INTO test(k, c1, c2, v) VALUES (0, 0, 2, 2)")
cursor.execute("INSERT INTO test(k, c1, c2, v) VALUES (1, 1, 0, 3)")
cursor.execute("INSERT INTO test(k, c1, c2, v) VALUES (1, 1, 1, 4)")
cursor.execute("INSERT INTO test(k, c1, c2, v) VALUES (1, 1, 2, 5)")

assert_all(cursor, "SELECT * FROM test WHERE k=0 AND c1 = 0 AND c2 IN (2, 0)", [[0, 0, 0, 0], [0, 0, 2, 2]])
assert_all(cursor, "SELECT * FROM test WHERE k=0 AND c1 = 0 AND c2 IN (2, 0) ORDER BY c1 ASC, c2 ASC", [[0, 0, 0, 0], [0, 0, 2, 2]])

# check that we don't need to select the column on which we order
assert_all(cursor, "SELECT v FROM test WHERE k=0 AND c1 = 0 AND c2 IN (2, 0)", [[0], [2]])
assert_all(cursor, "SELECT v FROM test WHERE k=0 AND c1 = 0 AND c2 IN (2, 0) ORDER BY c1 ASC", [[0], [2]])
assert_all(cursor, "SELECT v FROM test WHERE k=0 AND c1 = 0 AND c2 IN (2, 0) ORDER BY c1 DESC", [[2], [0]])

> if self.get_node_version(is_upgraded) >= '2.1.17':

upgrade_tests/cql_tests.py:4323:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
51.487
8_cythonno_x86_64_11_64test_setSuccess56.337
8_cythonno_x86_64_11_64test_internal_application_error_on_selectSuccess56.838
8_cythonno_x86_64_11_64test_exclusive_sliceSuccess57.858
8_cythonno_x86_64_11_64test_ticket_5230Success56.872
8_cythonno_x86_64_11_64test_select_map_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5318: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_11_64test_booleanSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2251: test not applicable to env.
0.000
8_cythonno_x86_64_11_64test_expanded_list_item_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4500: test not applicable to env.
0.000
8_cythonno_x86_64_11_64test_with_equal_results_to_page_sizeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:128: test not applicable to env.
0.000
8_cythonno_x86_64_11_64test_with_order_bySuccess55.858
8_cythonno_x86_64_11_64test_paging_using_secondary_indexes_with_static_colsSuccess57.412
8_cythonno_x86_64_11_64test_data_change_impacting_earlier_pageSuccess57.406
8_cythonno_x86_64_11_64test_multiple_cell_deletionsSuccess70.579
8_cythonno_x86_64_11_64test_10822Success57.093
8_cythonno_x86_64_11_64test_sstableloader_compression_deflate_to_noneSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.624
8_cythonno_x86_64_11_64test_dense_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.605
8_cythonno_x86_64_11_64test_rolling_upgrade_with_internode_sslSuccess1213.874
8_cythonno_x86_64_12_64test_bootstrap_waits_for_streaming_to_finishSuccess105.779
8_cythonno_x86_64_12_64test_only_pkSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1668: test not applicable to env.
0.000
8_cythonno_x86_64_12_64test_map_keys_indexingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3785: test not applicable to env.
0.000
8_cythonno_x86_64_12_64test_deletionSuccess60.072
8_cythonno_x86_64_12_64test_non_eq_conditional_updateSuccess59.342
8_cythonno_x86_64_12_64test_noncomposite_static_cfSuccess64.242
8_cythonno_x86_64_12_64test_multi_inSuccess65.419
8_cythonno_x86_64_12_64test_key_index_with_reverse_clusteringSuccess62.025
8_cythonno_x86_64_12_64test_composite_index_with_pkFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7fec59f7fa30>

@pytest.mark.no_vnodes
def test_composite_index_with_pk(self):

cursor = self.prepare(ordered=True)
cursor.execute("""
CREATE TABLE blogs (
blog_id int,
time1 int,
time2 int,
author text,
content text,
PRIMARY KEY (blog_id, time1, time2)
)
""")

cursor.execute("CREATE INDEX ON blogs(author)")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE blogs")

req = "INSERT INTO blogs (blog_id, time1, time2, author, content) VALUES (%d, %d, %d, '%s', '%s')"
cursor.execute(req % (1, 0, 0, 'foo', 'bar1'))
cursor.execute(req % (1, 0, 1, 'foo', 'bar2'))
cursor.execute(req % (2, 1, 0, 'foo', 'baz'))
cursor.execute(req % (3, 0, 1, 'gux', 'qux'))

query = "SELECT blog_id, content FROM blogs WHERE author='foo'"
assert_all(cursor, query, [[1, 'bar1'], [1, 'bar2'], [2, 'baz']])

query = "SELECT blog_id, content FROM blogs WHERE time1 > 0 AND author='foo' ALLOW FILTERING"
assert_one(cursor, query, [2, 'baz'])

query = "SELECT blog_id, content FROM blogs WHERE time1 = 1 AND author='foo' ALLOW FILTERING"
assert_one(cursor, query, [2, 'baz'])

query = "SELECT blog_id, content FROM blogs WHERE time1 = 1 AND time2 = 0 AND author='foo' ALLOW FILTERING"
assert_one(cursor, query, [2, 'baz'])

query = "SELECT content FROM blogs WHERE time1 = 1 AND time2 = 1 AND author='foo' ALLOW FILTERING"
assert_none(cursor, query)

query = "SELECT content FROM blogs WHERE time1 = 1 AND time2 > 0 AND author='foo' ALLOW FILTERING"
assert_none(cursor, query)

assert_invalid(cursor, "SELECT content FROM blogs WHERE time2 >= 0 AND author='foo'")

# as discussed in CASSANDRA-8148, some queries that should have required ALLOW FILTERING
# in 2.0 have been fixed for 2.2
> if self.get_node_version(is_upgraded) < '2.2':

upgrade_tests/cql_tests.py:1818:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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.321
8_cythonno_x86_64_12_64test_static_columns_with_2iSuccess70.445
8_cythonno_x86_64_12_64test_timestamp_and_ttlSuccess169.170
8_cythonno_x86_64_12_64test_nonpure_function_collectionSuccess58.517
8_cythonno_x86_64_12_64test_limit_rangesSuccess122.108
8_cythonno_x86_64_12_64test_timeuuidSuccess68.451
8_cythonno_x86_64_12_64test_SIM_assertion_errorSuccess60.991
8_cythonno_x86_64_12_64test_remove_range_sliceSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1958: test not applicable to env.
0.000
8_cythonno_x86_64_12_64test_tuple_notationSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4217: test not applicable to env.
0.000
8_cythonno_x86_64_12_64test_range_tombstones_compactionSuccess65.999
8_cythonno_x86_64_12_64test_select_distinct_with_deletionsSuccess49.675
8_cythonno_x86_64_12_64test_countersSuccess53.101
8_cythonno_x86_64_12_64test_clustering_indexingSuccess52.432
8_cythonno_x86_64_12_64test_select_map_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5231: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_12_64test_reversed_compact_multikeySuccess52.360
8_cythonno_x86_64_12_64test_cas_and_compactSuccess53.140
8_cythonno_x86_64_12_64test_mapSuccess52.163
8_cythonno_x86_64_12_64test_store_sets_with_if_not_existsSuccess51.182
8_cythonno_x86_64_12_64test_in_clause_wide_rowsSuccess54.603
8_cythonno_x86_64_12_64test_conversion_functionsSuccess53.460
8_cythonno_x86_64_12_64test_select_set_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5347: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_12_64test_multiorderingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2268: test not applicable to env.
0.000
8_cythonno_x86_64_12_64test_whole_set_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4594: test not applicable to env.
0.000
8_cythonno_x86_64_12_64test_undefined_page_size_defaultSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:158: test not applicable to env.
0.000
8_cythonno_x86_64_12_64test_with_order_by_reversedSuccess54.137
8_cythonno_x86_64_12_64test_basic_pagingSuccess51.154
8_cythonno_x86_64_12_64test_data_change_impacting_later_pageSuccess53.837
8_cythonno_x86_64_12_64test_ttl_deletionsSuccess74.825
8_cythonno_x86_64_12_64test13294Success89.504
8_cythonno_x86_64_12_64test_sstableloader_compression_deflate_to_snappySkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.326
8_cythonno_x86_64_12_64test_sparse_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.333
8_cythonno_x86_64_12_64test_parallel_upgradeSuccess695.768
8_cythonno_x86_64_13_64test_consistent_range_movement_true_with_replica_down_should_failSuccess111.181
8_cythonno_x86_64_13_64test_no_clusteringSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1715: test not applicable to env.
0.001
8_cythonno_x86_64_13_64test_nan_infinitySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3819: test not applicable to env.
0.000
8_cythonno_x86_64_13_64test_countSuccess90.103
8_cythonno_x86_64_13_64test_conditional_deleteSuccess61.048
8_cythonno_x86_64_13_64test_dynamic_cfSuccess90.896
8_cythonno_x86_64_13_64test_multi_in_compactSuccess60.033
8_cythonno_x86_64_13_64test_invalid_custom_timestampSuccess59.536
8_cythonno_x86_64_13_64test_limit_bugsSuccess107.635
8_cythonno_x86_64_13_64test_static_columns_with_distinctSuccess65.873
8_cythonno_x86_64_13_64test_no_range_ghostSuccess159.570
8_cythonno_x86_64_13_64test_empty_inSuccess62.776
8_cythonno_x86_64_13_64test_limit_multigetSuccess140.736
8_cythonno_x86_64_13_64test_float_with_exponentSuccess62.894
8_cythonno_x86_64_13_64test_blobAs_functionsSuccess61.299
8_cythonno_x86_64_13_64test_indexes_compositeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1978: test not applicable to env.
0.001
8_cythonno_x86_64_13_64test_v2_protocol_IN_with_tuplesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4250: test not applicable to env.
0.000
8_cythonno_x86_64_13_64test_delete_rowSuccess53.578
8_cythonno_x86_64_13_64test_function_with_nullSuccess53.801
8_cythonno_x86_64_13_64test_indexed_with_eqSuccess56.090
8_cythonno_x86_64_13_64test_edge_2i_on_complex_pkSuccess59.875
8_cythonno_x86_64_13_64test_select_set_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5259: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_13_64test_collection_and_regularSuccess55.884
8_cythonno_x86_64_13_64test_whole_list_conditionalFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7fa0f1f0b0a0>

@since('2.1.1')
def test_whole_list_conditional(self):
cursor = self.prepare()

cursor.execute("""
CREATE TABLE tlist (
k int PRIMARY KEY,
l list<text>
)""")

cursor.execute("""
CREATE TABLE frozentlist (
k int PRIMARY KEY,
l frozen<list<text>>
)""")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE tlist")
cursor.execute("TRUNCATE frozentlist")

for frozen in (False, True):

table = "frozentlist" if frozen else "tlist"
cursor.execute("INSERT INTO {}(k, l) VALUES (0, ['foo', 'bar', 'foobar'])".format(table))

def check_applies(condition):
# UPDATE statement
assert_one(cursor, "UPDATE {} SET l = ['foo', 'bar', 'foobar'] WHERE k=0 IF {}".format(table, condition), [True], cl=self.CL)
assert_one(cursor, "SELECT * FROM {}".format(table), [0, ['foo', 'bar', 'foobar']]) # read back at default cl.one
# DELETE statement
assert_one(cursor, "DELETE FROM {} WHERE k=0 IF {}".format(table, condition), [True], cl=self.CL)
assert_none(cursor, "SELECT * FROM {}".format(table)) # read back at default cl.one
cursor.execute("INSERT INTO {}(k, l) VALUES (0, ['foo', 'bar', 'foobar'])".format(table))

check_applies("l = ['foo', 'bar', 'foobar']")
check_applies("l != ['baz']")
check_applies("l > ['a']")
check_applies("l >= ['a']")
check_applies("l < ['z']")
check_applies("l <= ['z']")
check_applies("l IN (null, ['foo', 'bar', 'foobar'], ['a'])")

# multiple conditions
check_applies("l > ['aaa', 'bbb'] AND l > ['aaa']")
check_applies("l != null AND l IN (['foo', 'bar', 'foobar'])")

def check_does_not_apply(condition):
# UPDATE statement
assert_one(cursor, "UPDATE {} SET l = ['foo', 'bar', 'foobar'] WHERE k=0 IF {}".format(table, condition),
[False, ['foo', 'bar', 'foobar']], cl=self.CL)
assert_one(cursor, "SELECT * FROM {}".format(table), [0, ['foo', 'bar', 'foobar']]) # read back at default cl.one
# DELETE statement
assert_one(cursor, "DELETE FROM {} WHERE k=0 IF {}".format(table, condition),
[False, ['foo', 'bar', 'foobar']], cl=self.CL)
assert_one(cursor, "SELECT * FROM {}".format(table), [0, ['foo', 'bar', 'foobar']]) # read back at default cl.one

# should not apply
check_does_not_apply("l = ['baz']")
check_does_not_apply("l != ['foo', 'bar', 'foobar']")
check_does_not_apply("l > ['z']")
check_does_not_apply("l >= ['z']")
check_does_not_apply("l < ['a']")
check_does_not_apply("l <= ['a']")
check_does_not_apply("l IN (['a'], null)")
check_does_not_apply("l IN ()")

# multiple conditions
check_does_not_apply("l IN () AND l IN (['foo', 'bar', 'foobar'])")
check_does_not_apply("l > ['zzz'] AND l < ['zzz']")

def check_invalid(condition, expected=InvalidRequest):
# UPDATE statement
assert_invalid(cursor, "UPDATE {} SET l = ['foo', 'bar', 'foobar'] WHERE k=0 IF {}".format(table, condition), expected=expected)
assert_one(cursor, "SELECT * FROM {}".format(table), [0, ['foo', 'bar', 'foobar']], cl=self.CL)
# DELETE statement
assert_invalid(cursor, "DELETE FROM {} WHERE k=0 IF {}".format(table, condition), expected=expected)
assert_one(cursor, "SELECT * FROM {}".format(table), [0, ['foo', 'bar', 'foobar']], cl=self.CL)

check_invalid("l = [null]")
check_invalid("l < null")
check_invalid("l <= null")
check_invalid("l > null")
check_invalid("l >= null")
check_invalid("l IN null", expected=SyntaxException)
check_invalid("l IN 367", expected=SyntaxException)

# @jira_ticket CASSANDRA-10537
> if self.get_node_version(is_upgraded) >= LooseVersion(CASSANDRA_4_1):

upgrade_tests/cql_tests.py:4452:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
51.731
8_cythonno_x86_64_13_64test_listSuccess56.305
8_cythonno_x86_64_13_64test_add_deletion_info_in_unsorted_columnSuccess55.000
8_cythonno_x86_64_13_64test_order_bySuccess57.305
8_cythonno_x86_64_13_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.801
8_cythonno_x86_64_13_64test_select_list_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5378: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_13_64test_returned_nullSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2300: test not applicable to env.
0.000
8_cythonno_x86_64_13_64test_whole_map_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4693: test not applicable to env.
0.000
8_cythonno_x86_64_13_64test_with_no_resultsSuccess53.377
8_cythonno_x86_64_13_64test_with_limitSuccess62.085
8_cythonno_x86_64_13_64test_basic_compound_pagingSuccess56.349
8_cythonno_x86_64_13_64test_row_TTL_expiry_during_pagingSuccess86.700
8_cythonno_x86_64_13_64test_failure_threshold_deletionsSuccess72.969
8_cythonno_x86_64_13_64test_schema_agreementSkipped5.0 > 3.0.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.0.99
0.546
8_cythonno_x86_64_13_64test_sstableloader_compression_deflate_to_deflateSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.541
8_cythonno_x86_64_13_64test_sparse_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.542
8_cythonno_x86_64_13_64test_rolling_upgradeSuccess1076.442
8_cythonno_x86_64_14_64test_consistent_range_movement_false_with_replica_down_should_succeedSuccess108.797
8_cythonno_x86_64_14_64test_dateSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1728: test not applicable to env.
0.001
8_cythonno_x86_64_14_64test_static_columnsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3843: test not applicable to env.
0.000
8_cythonno_x86_64_14_64test_batchSuccess57.514
8_cythonno_x86_64_14_64test_range_key_orderedSuccess54.389
8_cythonno_x86_64_14_64test_dense_cfSuccess58.782
8_cythonno_x86_64_14_64test_multi_in_compact_non_compositeSuccess57.561
8_cythonno_x86_64_14_64test_clustering_order_inSuccess56.279
8_cythonno_x86_64_14_64test_npe_composite_table_sliceSuccess61.440
8_cythonno_x86_64_14_64test_select_count_pagingFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7ff900cbf610>

def test_select_count_paging(self):
"""
Test for the #6579 'select count' paging bug
@jira_ticket CASSANDRA-6579
"""
cursor = self.prepare()
cursor.execute("create table test(field1 text, field2 timeuuid, field3 boolean, primary key(field1, field2));")
cursor.execute("create index test_index on test(field3);")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE test")

cursor.execute("insert into test(field1, field2, field3) values ('hola', now(), false);")
cursor.execute("insert into test(field1, field2, field3) values ('hola', now(), false);")

# the result depends on which node we're connected to, see CASSANDRA-8216
> if self.get_node_version(is_upgraded) >= '2.2':

upgrade_tests/cql_tests.py:4197:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
54.565
8_cythonno_x86_64_14_64test_undefined_column_handlingSuccess144.580
8_cythonno_x86_64_14_64test_collection_flushSuccess75.603
8_cythonno_x86_64_14_64test_simple_tuple_querySuccess117.851
8_cythonno_x86_64_14_64test_compact_metadataSuccess61.672
8_cythonno_x86_64_14_64test_invalid_string_literalsSkippedhttps://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.001
8_cythonno_x86_64_14_64test_refuse_in_with_indexesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2020: test not applicable to env.
0.000
8_cythonno_x86_64_14_64test_in_with_desc_orderSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4274: test not applicable to env.
0.000
8_cythonno_x86_64_14_64test_range_query_2ndarySuccess52.466
8_cythonno_x86_64_14_64test_cas_simpleSuccess52.202
8_cythonno_x86_64_14_64test_select_key_inSuccess53.417
8_cythonno_x86_64_14_64test_end_of_component_as_end_keySuccess52.948
8_cythonno_x86_64_14_64test_select_list_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5290: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_14_64test_batch_and_listSuccess52.624
8_cythonno_x86_64_14_64test_list_item_conditionalSuccess53.653
8_cythonno_x86_64_14_64test_multi_collectionSuccess51.271
8_cythonno_x86_64_14_64test_column_name_validationSuccess51.106
8_cythonno_x86_64_14_64test_more_order_bySuccess54.464
8_cythonno_x86_64_14_64test_function_and_reverse_typeSuccess53.507
8_cythonno_x86_64_14_64test_deleted_row_selectSuccess59.934
8_cythonno_x86_64_14_64test_multi_list_setSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2331: test not applicable to env.
0.000
8_cythonno_x86_64_14_64test_map_item_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4789: test not applicable to env.
0.000
8_cythonno_x86_64_14_64test_with_less_results_than_page_sizeSuccess50.644
8_cythonno_x86_64_14_64test_with_allow_filteringSuccess52.691
8_cythonno_x86_64_14_64test_paging_a_single_wide_rowSuccess60.247
8_cythonno_x86_64_14_64test_cell_TTL_expiry_during_pagingSuccess87.269
8_cythonno_x86_64_14_64test_single_partition_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1259: test not applicable to env.
0.000
8_cythonno_x86_64_14_64test_10822Success55.176
8_cythonno_x86_64_14_64test_sstableloader_with_mvSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.594
8_cythonno_x86_64_14_64test_dense_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.592
8_cythonno_x86_64_14_64test_parallel_upgrade_with_internode_sslSuccess727.361
8_cythonno_x86_64_15_64test_consistent_range_movement_true_with_rf1_should_failSuccess109.420
8_cythonno_x86_64_15_64test_range_sliceSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1746: test not applicable to env.
0.001
8_cythonno_x86_64_15_64test_static_columns_casSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3909: test not applicable to env.
0.000
8_cythonno_x86_64_15_64test_token_rangeSuccess58.194
8_cythonno_x86_64_15_64test_select_with_aliasSuccess55.641
8_cythonno_x86_64_15_64test_sparse_cfSuccess58.304
8_cythonno_x86_64_15_64test_large_clustering_inSuccess61.064
8_cythonno_x86_64_15_64test_end_of_component_uses_oecBoundSuccess56.704
8_cythonno_x86_64_15_64test_order_by_multikeySuccess60.991
8_cythonno_x86_64_15_64test_cas_and_ttlSuccess62.998
8_cythonno_x86_64_15_64test_range_tombstonesSuccess149.718
8_cythonno_x86_64_15_64test_select_distinctSuccess59.495
8_cythonno_x86_64_15_64test_limit_sparseSuccess120.642
8_cythonno_x86_64_15_64test_query_compact_tables_during_upgradeSuccess67.383
8_cythonno_x86_64_15_64test_negative_timestampSuccess59.441
8_cythonno_x86_64_15_64test_reversed_compactSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2042: test not applicable to env.
0.000
8_cythonno_x86_64_15_64test_in_order_by_without_selectingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4294: test not applicable to env.
0.000
8_cythonno_x86_64_15_64test_setSuccess51.123
8_cythonno_x86_64_15_64test_internal_application_error_on_selectSuccess51.442
8_cythonno_x86_64_15_64test_exclusive_sliceSuccess51.400
8_cythonno_x86_64_15_64test_ticket_5230Success51.672
8_cythonno_x86_64_15_64test_select_map_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5318: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_15_64test_booleanSuccess52.541
8_cythonno_x86_64_15_64test_expanded_list_item_conditionalSuccess56.088
8_cythonno_x86_64_15_64test_range_querySuccess51.499
8_cythonno_x86_64_15_64test_user_typesSuccess54.366
8_cythonno_x86_64_15_64test_order_by_validationSuccess53.317
8_cythonno_x86_64_15_64test_NPE_during_select_with_tokenSuccess54.105
8_cythonno_x86_64_15_64test_secondary_index_querySkippedhttps://issues.apache.org/jira/browse/CASSANDRA-14961

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5427: https://issues.apache.org/jira/browse/CASSANDRA-14961
0.000
8_cythonno_x86_64_15_64test_composite_index_collectionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2350: test not applicable to env.
0.000
8_cythonno_x86_64_15_64test_expanded_map_item_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4829: test not applicable to env.
0.000
8_cythonno_x86_64_15_64test_with_more_results_than_page_sizeSuccess50.935
8_cythonno_x86_64_15_64test_with_order_bySuccess52.352
8_cythonno_x86_64_15_64test_paging_across_multi_wide_rowsSuccess60.805
8_cythonno_x86_64_15_64test_data_change_impacting_earlier_pageSuccess54.102
8_cythonno_x86_64_15_64test_multiple_partition_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1305: test not applicable to env.
0.000
8_cythonno_x86_64_15_64test13294Success92.635
8_cythonno_x86_64_15_64test_sstableloader_compression_none_to_noneSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.350
8_cythonno_x86_64_15_64test_dense_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.567
8_cythonno_x86_64_15_64test_rolling_upgrade_with_internode_sslSuccess1181.843
8_cythonno_x86_64_16_64test_consistent_range_movement_false_with_rf1_should_succeedSuccess118.841
8_cythonno_x86_64_16_64test_composite_index_with_pkSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1769: test not applicable to env.
0.000
8_cythonno_x86_64_16_64test_static_columns_with_2iSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4046: test not applicable to env.
0.000
8_cythonno_x86_64_16_64test_timestamp_and_ttlSuccess67.336
8_cythonno_x86_64_16_64test_nonpure_function_collectionSuccess59.440
8_cythonno_x86_64_16_64test_limit_rangesSuccess72.156
8_cythonno_x86_64_16_64test_timeuuidSuccess68.873
8_cythonno_x86_64_16_64test_SIM_assertion_errorSuccess65.142
8_cythonno_x86_64_16_64test_remove_range_sliceSuccess73.402
8_cythonno_x86_64_16_64test_tuple_notationSuccess63.161
8_cythonno_x86_64_16_64test_range_tombstones_compactionSuccess191.958
8_cythonno_x86_64_16_64test_select_distinct_with_deletionsSuccess61.669
8_cythonno_x86_64_16_64test_countersSuccess138.084
8_cythonno_x86_64_16_64test_clustering_indexingSuccess66.007
8_cythonno_x86_64_16_64test_select_map_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5231: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_16_64test_reversed_compact_multikeySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2114: test not applicable to env.
0.000
8_cythonno_x86_64_16_64test_cas_and_compactSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4336: test not applicable to env.
0.000
8_cythonno_x86_64_16_64test_mapSuccess53.334
8_cythonno_x86_64_16_64test_store_sets_with_if_not_existsSuccess53.530
8_cythonno_x86_64_16_64test_in_clause_wide_rowsSuccess57.084
8_cythonno_x86_64_16_64test_conversion_functionsSuccess55.292
8_cythonno_x86_64_16_64test_select_set_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5347: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_16_64test_multiorderingSuccess56.518
8_cythonno_x86_64_16_64test_whole_set_conditionalFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7fab17093b80>

@since('2.1.1')
def test_whole_set_conditional(self):
cursor = self.prepare()

cursor.execute("""
CREATE TABLE tset (
k int PRIMARY KEY,
s set<text>
)""")

cursor.execute("""
CREATE TABLE frozentset (
k int PRIMARY KEY,
s frozen<set<text>>
)""")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE tset")
cursor.execute("TRUNCATE frozentset")

for frozen in (False, True):

table = "frozentset" if frozen else "tset"
assert_one(cursor, "INSERT INTO {}(k, s) VALUES (0, {{'bar', 'foo'}}) IF NOT EXISTS".format(table), [True])

def check_applies(condition):
# UPDATE statement
assert_one(cursor, "UPDATE {} SET s = {{'bar', 'foo'}} WHERE k=0 IF {}".format(table, condition), [True])
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'bar', 'foo'}], cl=ConsistencyLevel.SERIAL)
# DELETE statement
assert_one(cursor, "DELETE FROM {} WHERE k=0 IF {}".format(table, condition), [True])
assert_none(cursor, "SELECT * FROM {}".format(table), cl=ConsistencyLevel.SERIAL)
assert_one(cursor, "INSERT INTO {}(k, s) VALUES (0, {{'bar', 'foo'}}) IF NOT EXISTS".format(table), [True])

check_applies("s = {'bar', 'foo'}")
check_applies("s = {'foo', 'bar'}")
check_applies("s != {'baz'}")
check_applies("s > {'a'}")
check_applies("s >= {'a'}")
check_applies("s < {'z'}")
check_applies("s <= {'z'}")
check_applies("s IN (null, {'bar', 'foo'}, {'a'})")

# multiple conditions
check_applies("s > {'a'} AND s < {'z'}")
check_applies("s IN (null, {'bar', 'foo'}, {'a'}) AND s IN ({'a'}, {'bar', 'foo'}, null)")

def check_does_not_apply(condition):
# UPDATE statement
assert_one(cursor, "UPDATE {} SET s = {{'bar', 'foo'}} WHERE k=0 IF {}".format(table, condition),
[False, {'bar', 'foo'}])
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'bar', 'foo'}], cl=ConsistencyLevel.SERIAL)
# DELETE statement
assert_one(cursor, "DELETE FROM {} WHERE k=0 IF {}".format(table, condition),
[False, {'bar', 'foo'}])
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'bar', 'foo'}], cl=ConsistencyLevel.SERIAL)

# should not apply
check_does_not_apply("s = {'baz'}")
check_does_not_apply("s != {'bar', 'foo'}")
check_does_not_apply("s > {'z'}")
check_does_not_apply("s >= {'z'}")
check_does_not_apply("s < {'a'}")
check_does_not_apply("s <= {'a'}")
check_does_not_apply("s IN ({'a'}, null)")
check_does_not_apply("s IN ()")
check_does_not_apply("s != null AND s IN ()")

def check_invalid(condition, expected=InvalidRequest):
# UPDATE statement
assert_invalid(cursor, "UPDATE {} SET s = {{'bar', 'foo'}} WHERE k=0 IF {}".format(table, condition), expected=expected)
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'bar', 'foo'}], cl=ConsistencyLevel.SERIAL)
# DELETE statement
assert_invalid(cursor, "DELETE FROM {} WHERE k=0 IF {}".format(table, condition), expected=expected)
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'bar', 'foo'}], cl=ConsistencyLevel.SERIAL)

check_invalid("s = {null}")
check_invalid("s < null")
check_invalid("s <= null")
check_invalid("s > null")
check_invalid("s >= null")
check_invalid("s IN null", expected=SyntaxException)
check_invalid("s IN 367", expected=SyntaxException)

# element access is not allow for sets
check_invalid("s['foo'] = 'foobar'")

# @jira_ticket CASSANDRA-10537
> if self.get_node_version(is_upgraded) >= LooseVersion(CASSANDRA_4_1):

upgrade_tests/cql_tests.py:4683:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
51.562
8_cythonno_x86_64_16_64test_composite_row_keySuccess56.304
8_cythonno_x86_64_16_64test_more_user_typesSuccess57.059
8_cythonno_x86_64_16_64test_order_by_with_inSuccess56.564
8_cythonno_x86_64_16_64test_empty_blobSuccess57.560
8_cythonno_x86_64_16_64test_tracing_prevents_startup_after_upgradingSuccess65.124
8_cythonno_x86_64_16_64test_truncate_clean_cacheSkippedhttps://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
8_cythonno_x86_64_16_64test_cas_and_list_indexSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4919: test not applicable to env.
0.000
8_cythonno_x86_64_16_64test_with_equal_results_to_page_sizeSuccess53.851
8_cythonno_x86_64_16_64test_with_order_by_reversedSuccess56.622
8_cythonno_x86_64_16_64test_paging_using_secondary_indexesSuccess57.684
8_cythonno_x86_64_16_64test_data_change_impacting_later_pageSuccess58.701
8_cythonno_x86_64_16_64test_single_row_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1324: test not applicable to env.
0.000
8_cythonno_x86_64_16_64test_schema_agreementSkipped5.0 > 3.0.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.0.99
0.364
8_cythonno_x86_64_16_64test_sstableloader_compression_none_to_snappySkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.353
8_cythonno_x86_64_16_64test_sparse_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.601
8_cythonno_x86_64_16_64test_parallel_upgradeSuccess2.778
8_cythonno_x86_64_16_64test_parallel_upgradeSuccess514.855
8_cythonno_x86_64_17_64test_rf_gt_nodes_multidc_should_succeedSuccess105.919
8_cythonno_x86_64_17_64test_limit_bugsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1833: test not applicable to env.
0.000
8_cythonno_x86_64_17_64test_static_columns_with_distinctSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4076: test not applicable to env.
0.000
8_cythonno_x86_64_17_64test_no_range_ghostSuccess88.873
8_cythonno_x86_64_17_64test_empty_inSuccess59.287
8_cythonno_x86_64_17_64test_limit_multigetSuccess97.289
8_cythonno_x86_64_17_64test_float_with_exponentSuccess61.846
8_cythonno_x86_64_17_64test_blobAs_functionsSuccess65.608
8_cythonno_x86_64_17_64test_indexes_compositeSuccess115.593
8_cythonno_x86_64_17_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.794
8_cythonno_x86_64_17_64test_delete_rowSuccess158.630
8_cythonno_x86_64_17_64test_function_with_nullSuccess62.654
8_cythonno_x86_64_17_64test_indexed_with_eqSuccess124.945
8_cythonno_x86_64_17_64test_edge_2i_on_complex_pkSuccess64.190
8_cythonno_x86_64_17_64test_select_set_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5259: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_17_64test_collection_and_regularSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2197: test not applicable to env.
0.000
8_cythonno_x86_64_17_64test_whole_list_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4364: test not applicable to env.
0.000
8_cythonno_x86_64_17_64test_listSuccess49.658
8_cythonno_x86_64_17_64test_add_deletion_info_in_unsorted_columnSuccess49.626
8_cythonno_x86_64_17_64test_order_bySuccess53.659
8_cythonno_x86_64_17_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.611
8_cythonno_x86_64_17_64test_select_list_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5378: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_17_64test_returned_nullSuccess54.167
8_cythonno_x86_64_17_64test_whole_map_conditionalFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f3b8808ed00>

@since('2.1.1')
def test_whole_map_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):
logger.debug("Testing {} maps".format("frozen" if frozen else "normal"))

table = "frozentmap" if frozen else "tmap"
cursor.execute("INSERT INTO %s(k, m) VALUES (0, {'foo' : 'bar'})" % (table,))

def check_applies(condition):
# UPDATE statement
assert_one(cursor, "UPDATE {} SET m = {{'foo': 'bar'}} WHERE k=0 IF {}".format(table, condition), [True])
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'foo': 'bar'}], cl=ConsistencyLevel.SERIAL)
# DELETE statement
assert_one(cursor, "DELETE FROM {} WHERE k=0 IF {}".format(table, condition), [True])
assert_none(cursor, "SELECT * FROM {}".format(table), cl=ConsistencyLevel.SERIAL)
cursor.execute("INSERT INTO {}(k, m) VALUES (0, {{'foo' : 'bar'}})".format(table))

check_applies("m = {'foo': 'bar'}")
check_applies("m > {'a': 'a'}")
check_applies("m >= {'a': 'a'}")
check_applies("m < {'z': 'z'}")
check_applies("m <= {'z': 'z'}")
check_applies("m != {'a': 'a'}")
check_applies("m IN (null, {'a': 'a'}, {'foo': 'bar'})")

# multiple conditions
check_applies("m > {'a': 'a'} AND m < {'z': 'z'}")
check_applies("m != null AND m IN (null, {'a': 'a'}, {'foo': 'bar'})")

def check_does_not_apply(condition):
# UPDATE statement
assert_one(cursor, "UPDATE {} SET m = {{'foo': 'bar'}} WHERE k=0 IF {}".format(table, condition), [False, {'foo': 'bar'}])
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'foo': 'bar'}], cl=ConsistencyLevel.SERIAL)
# DELETE statement
assert_one(cursor, "DELETE FROM {} WHERE k=0 IF {}".format(table, condition), [False, {'foo': 'bar'}])
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'foo': 'bar'}], cl=ConsistencyLevel.SERIAL)

# should not apply
check_does_not_apply("m = {'a': 'a'}")
check_does_not_apply("m > {'z': 'z'}")
check_does_not_apply("m >= {'z': 'z'}")
check_does_not_apply("m < {'a': 'a'}")
check_does_not_apply("m <= {'a': 'a'}")
check_does_not_apply("m != {'foo': 'bar'}")
check_does_not_apply("m IN ({'a': 'a'}, null)")
check_does_not_apply("m IN ()")
check_does_not_apply("m = null AND m != null")

def check_invalid(condition, expected=InvalidRequest):
# UPDATE statement
assert_invalid(cursor, "UPDATE {} SET m = {{'foo': 'bar'}} WHERE k=0 IF {}".format(table, condition), expected=expected)
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'foo': 'bar'}], cl=ConsistencyLevel.SERIAL)
# DELETE statement
assert_invalid(cursor, "DELETE FROM {} WHERE k=0 IF {}".format(table, condition), expected=expected)
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'foo': 'bar'}], cl=ConsistencyLevel.SERIAL)

check_invalid("m = {null: null}")
check_invalid("m = {'a': null}")
check_invalid("m = {null: 'a'}")
check_invalid("m < null")
check_invalid("m IN null", expected=SyntaxException)

# @jira_ticket CASSANDRA-10537
> if self.get_node_version(is_upgraded) >= LooseVersion(CASSANDRA_4_1):

upgrade_tests/cql_tests.py:4775:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
49.208
8_cythonno_x86_64_17_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.405
8_cythonno_x86_64_17_64test_intersection_logic_returns_empty_resultSuccess62.349
8_cythonno_x86_64_17_64test_reversed_comparatorSuccess55.068
8_cythonno_x86_64_17_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.626
8_cythonno_x86_64_17_64test_materialized_view_simpleSuccess55.894
8_cythonno_x86_64_17_64test_range_with_deletesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2416: test not applicable to env.
0.000
8_cythonno_x86_64_17_64test_static_with_limitSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4946: test not applicable to env.
0.000
8_cythonno_x86_64_17_64test_undefined_page_size_defaultSuccess56.701
8_cythonno_x86_64_17_64test_with_limitSuccess58.947
8_cythonno_x86_64_17_64test_static_columns_pagingSuccess60.510
8_cythonno_x86_64_17_64test_row_TTL_expiry_during_pagingSuccess84.794
8_cythonno_x86_64_17_64test_single_cell_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1374: test not applicable to env.
0.000
8_cythonno_x86_64_17_64test_10822Skippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/regression_test.py:29: test not applicable to env.
0.000
8_cythonno_x86_64_17_64test_sstableloader_compression_none_to_deflateSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.576
8_cythonno_x86_64_17_64test_sparse_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.607
8_cythonno_x86_64_17_64test_rolling_upgradeSuccess880.464
8_cythonno_x86_64_18_64test_resumable_bootstrapSuccess124.575
8_cythonno_x86_64_18_64test_npe_composite_table_sliceSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1892: test not applicable to env.
0.000
8_cythonno_x86_64_18_64test_select_count_pagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4180: test not applicable to env.
0.000
8_cythonno_x86_64_18_64test_undefined_column_handlingSuccess65.612
8_cythonno_x86_64_18_64test_collection_flushSuccess76.663
8_cythonno_x86_64_18_64test_simple_tuple_querySuccess68.978
8_cythonno_x86_64_18_64test_compact_metadataSuccess61.940
8_cythonno_x86_64_18_64test_invalid_string_literalsSkippedhttps://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
8_cythonno_x86_64_18_64test_refuse_in_with_indexesSuccess2.227
8_cythonno_x86_64_18_64test_refuse_in_with_indexesSuccess63.855
8_cythonno_x86_64_18_64test_in_with_desc_orderSuccess62.746
8_cythonno_x86_64_18_64test_range_query_2ndarySuccess203.109
8_cythonno_x86_64_18_64test_cas_simpleSuccess62.244
8_cythonno_x86_64_18_64test_select_key_inSuccess138.991
8_cythonno_x86_64_18_64test_end_of_component_as_end_keySuccess64.977
8_cythonno_x86_64_18_64test_select_list_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5290: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_18_64test_batch_and_listSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2217: test not applicable to env.
0.000
8_cythonno_x86_64_18_64test_list_item_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4463: test not applicable to env.
0.000
8_cythonno_x86_64_18_64test_multi_collectionSuccess54.374
8_cythonno_x86_64_18_64test_column_name_validationSuccess54.126
8_cythonno_x86_64_18_64test_more_order_bySuccess56.686
8_cythonno_x86_64_18_64test_function_and_reverse_typeSuccess54.569
8_cythonno_x86_64_18_64test_deleted_row_selectSuccess62.657
8_cythonno_x86_64_18_64test_multi_list_setSuccess56.316
8_cythonno_x86_64_18_64test_map_item_conditionalFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f331125efa0>

@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
50.612
8_cythonno_x86_64_18_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.366
8_cythonno_x86_64_18_64test_large_countSuccess69.967
8_cythonno_x86_64_18_64test_null_supportSuccess55.841
8_cythonno_x86_64_18_64test_clustering_order_and_functionsSuccess57.565
8_cythonno_x86_64_18_64test_static_cfSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:44: test not applicable to env.
0.001
8_cythonno_x86_64_18_64test_collection_functionSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2442: test not applicable to env.
0.000
8_cythonno_x86_64_18_64test_static_with_empty_clusteringSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4975: test not applicable to env.
0.000
8_cythonno_x86_64_18_64test_with_no_resultsSuccess56.883
8_cythonno_x86_64_18_64test_with_allow_filteringSuccess56.601
8_cythonno_x86_64_18_64test_paging_using_secondary_indexes_with_static_colsSuccess59.695
8_cythonno_x86_64_18_64test_cell_TTL_expiry_during_pagingSuccess90.784
8_cythonno_x86_64_18_64test_multiple_cell_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1426: test not applicable to env.
0.000
8_cythonno_x86_64_18_64test13294Skippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/regression_test.py:72: test not applicable to env.
0.000
8_cythonno_x86_64_18_64test_sstableloader_compression_snappy_to_noneSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.368
8_cythonno_x86_64_18_64test_dense_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.356
8_cythonno_x86_64_18_64test_parallel_upgrade_with_internode_sslSuccess601.809
8_cythonno_x86_64_19_64test_bootstrap_with_reset_bootstrap_stateSuccess259.981
8_cythonno_x86_64_19_64test_order_by_multikeySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1922: test not applicable to env.
0.000
8_cythonno_x86_64_19_64test_cas_and_ttlSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4204: test not applicable to env.
0.000
8_cythonno_x86_64_19_64test_range_tombstonesSuccess72.688
8_cythonno_x86_64_19_64test_select_distinctSuccess60.314
8_cythonno_x86_64_19_64test_limit_sparseSuccess66.536
8_cythonno_x86_64_19_64test_query_compact_tables_during_upgradeSuccess67.099
8_cythonno_x86_64_19_64test_negative_timestampSuccess57.828
8_cythonno_x86_64_19_64test_reversed_compactSuccess68.342
8_cythonno_x86_64_19_64test_in_order_by_without_selectingFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f2de9e4c520>

@since('2.1')
def test_in_order_by_without_selecting(self):
"""
Test that columns don't need to be selected for ORDER BY when there is a IN
@jira_ticket CASSANDRA-4911
"""
cursor = self.prepare()
cursor.execute("CREATE TABLE test (k int, c1 int, c2 int, v int, PRIMARY KEY (k, c1, c2))")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE test")
cursor.default_fetch_size = None

cursor.execute("INSERT INTO test(k, c1, c2, v) VALUES (0, 0, 0, 0)")
cursor.execute("INSERT INTO test(k, c1, c2, v) VALUES (0, 0, 1, 1)")
cursor.execute("INSERT INTO test(k, c1, c2, v) VALUES (0, 0, 2, 2)")
cursor.execute("INSERT INTO test(k, c1, c2, v) VALUES (1, 1, 0, 3)")
cursor.execute("INSERT INTO test(k, c1, c2, v) VALUES (1, 1, 1, 4)")
cursor.execute("INSERT INTO test(k, c1, c2, v) VALUES (1, 1, 2, 5)")

assert_all(cursor, "SELECT * FROM test WHERE k=0 AND c1 = 0 AND c2 IN (2, 0)", [[0, 0, 0, 0], [0, 0, 2, 2]])
assert_all(cursor, "SELECT * FROM test WHERE k=0 AND c1 = 0 AND c2 IN (2, 0) ORDER BY c1 ASC, c2 ASC", [[0, 0, 0, 0], [0, 0, 2, 2]])

# check that we don't need to select the column on which we order
assert_all(cursor, "SELECT v FROM test WHERE k=0 AND c1 = 0 AND c2 IN (2, 0)", [[0], [2]])
assert_all(cursor, "SELECT v FROM test WHERE k=0 AND c1 = 0 AND c2 IN (2, 0) ORDER BY c1 ASC", [[0], [2]])
assert_all(cursor, "SELECT v FROM test WHERE k=0 AND c1 = 0 AND c2 IN (2, 0) ORDER BY c1 DESC", [[2], [0]])

> if self.get_node_version(is_upgraded) >= '2.1.17':

upgrade_tests/cql_tests.py:4323:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
54.227
8_cythonno_x86_64_19_64test_setSuccess155.004
8_cythonno_x86_64_19_64test_internal_application_error_on_selectSuccess61.284
8_cythonno_x86_64_19_64test_exclusive_sliceSuccess136.473
8_cythonno_x86_64_19_64test_ticket_5230Success62.927
8_cythonno_x86_64_19_64test_select_map_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5318: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_19_64test_booleanSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2251: test not applicable to env.
0.000
8_cythonno_x86_64_19_64test_expanded_list_item_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4500: test not applicable to env.
0.000
8_cythonno_x86_64_19_64test_range_querySuccess53.964
8_cythonno_x86_64_19_64test_user_typesSuccess58.507
8_cythonno_x86_64_19_64test_order_by_validationSuccess58.003
8_cythonno_x86_64_19_64test_NPE_during_select_with_tokenSuccess56.573
8_cythonno_x86_64_19_64test_secondary_index_querySkippedhttps://issues.apache.org/jira/browse/CASSANDRA-14961

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5427: https://issues.apache.org/jira/browse/CASSANDRA-14961
0.000
8_cythonno_x86_64_19_64test_composite_index_collectionsSuccess57.365
8_cythonno_x86_64_19_64test_expanded_map_item_conditionalSuccess59.398
8_cythonno_x86_64_19_64test_row_existenceSuccess56.883
8_cythonno_x86_64_19_64test_collection_indexingSuccess64.879
8_cythonno_x86_64_19_64test_nameless_indexSuccess58.336
8_cythonno_x86_64_19_64test_conditional_updateSuccess57.179
8_cythonno_x86_64_19_64test_large_collection_errorsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:86: test not applicable to env.
0.000
8_cythonno_x86_64_19_64test_composite_partition_key_validationSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2458: test not applicable to env.
0.000
8_cythonno_x86_64_19_64test_limit_compact_tableSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5001: test not applicable to env.
0.000
8_cythonno_x86_64_19_64test_with_less_results_than_page_sizeSuccess55.877
8_cythonno_x86_64_19_64test_with_order_bySuccess58.509
8_cythonno_x86_64_19_64test_basic_pagingSuccess56.668
8_cythonno_x86_64_19_64test_data_change_impacting_earlier_pageSuccess57.683
8_cythonno_x86_64_19_64test_ttl_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1466: test not applicable to env.
0.001
8_cythonno_x86_64_19_64test_schema_agreementSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/regression_test.py:122: test not applicable to env.
0.001
8_cythonno_x86_64_19_64test_sstableloader_compression_snappy_to_snappySkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.835
8_cythonno_x86_64_19_64test_dense_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.899
8_cythonno_x86_64_19_64test_rolling_upgrade_with_internode_sslSuccess814.392
8_cythonno_x86_64_1_64test_crc_check_chance_upgradeSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.927
8_cythonno_x86_64_1_64test_delete_rowSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1242: test not applicable to env.
0.000
8_cythonno_x86_64_1_64test_function_with_nullSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3442: test not applicable to env.
0.000
8_cythonno_x86_64_1_64test_indexed_with_eqSuccess88.315
8_cythonno_x86_64_1_64test_edge_2i_on_complex_pkSuccess61.259
8_cythonno_x86_64_1_64test_select_set_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5259: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_1_64test_collection_and_regularSuccess90.540
8_cythonno_x86_64_1_64test_whole_list_conditionalSuccess64.726
8_cythonno_x86_64_1_64test_listSuccess63.915
8_cythonno_x86_64_1_64test_add_deletion_info_in_unsorted_columnSuccess61.240
8_cythonno_x86_64_1_64test_order_bySuccess142.285
8_cythonno_x86_64_1_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.536
8_cythonno_x86_64_1_64test_select_list_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5378: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_1_64test_returned_nullSuccess129.309
8_cythonno_x86_64_1_64test_whole_map_conditionalSuccess71.592
8_cythonno_x86_64_1_64test_cql3_insert_thriftSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1504: test not applicable to env.
0.001
8_cythonno_x86_64_1_64test_intersection_logic_returns_empty_resultSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3655: test not applicable to env.
0.000
8_cythonno_x86_64_1_64test_reversed_comparatorSuccess53.586
8_cythonno_x86_64_1_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.587
8_cythonno_x86_64_1_64test_materialized_view_simpleSuccess52.924
8_cythonno_x86_64_1_64test_range_with_deletesSuccess58.841
8_cythonno_x86_64_1_64test_static_with_limitSuccess58.786
8_cythonno_x86_64_1_64test_no_clusteringSuccess57.612
8_cythonno_x86_64_1_64test_nan_infinitySuccess57.801
8_cythonno_x86_64_1_64test_countSuccess86.021
8_cythonno_x86_64_1_64test_conditional_deleteSuccess75.153
8_cythonno_x86_64_1_64test_dynamic_cfSuccess56.373
8_cythonno_x86_64_1_64test_multi_in_compactSuccess60.352
8_cythonno_x86_64_1_64test_invalid_custom_timestampSuccess60.079
8_cythonno_x86_64_1_64test_limit_bugsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1833: test not applicable to env.
0.000
8_cythonno_x86_64_1_64test_static_columns_with_distinctSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4076: test not applicable to env.
0.000
8_cythonno_x86_64_1_64test_with_equal_results_to_page_sizeSuccess60.881
8_cythonno_x86_64_1_64test_with_limitSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:310: test not applicable to env.
0.001
8_cythonno_x86_64_1_64test_paging_across_multi_wide_rowsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:581: test not applicable to env.
0.000
8_cythonno_x86_64_1_64test_row_TTL_expiry_during_pagingSuccess101.405
8_cythonno_x86_64_1_64test_multiple_partition_deletionsSuccess66.704
8_cythonno_x86_64_1_64test_schema_agreementSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/regression_test.py:122: test not applicable to env.
0.000
8_cythonno_x86_64_1_64test_sstableloader_compression_deflate_to_noneSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.635
8_cythonno_x86_64_1_64test_dense_supercolumn_3_0_createdSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.630
8_cythonno_x86_64_1_64test_rolling_upgradeSuccess1255.568
8_cythonno_x86_64_1_64test_udtfix_in_messagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_udtfix_test.py:61: test not applicable to env.
0.003
8_cythonno_x86_64_20_64test_manual_bootstrapSuccess84.183
8_cythonno_x86_64_20_64test_remove_range_sliceSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1958: test not applicable to env.
0.000
8_cythonno_x86_64_20_64test_tuple_notationSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4217: test not applicable to env.
0.000
8_cythonno_x86_64_20_64test_range_tombstones_compactionSuccess97.219
8_cythonno_x86_64_20_64test_select_distinct_with_deletionsSuccess58.426
8_cythonno_x86_64_20_64test_countersSuccess68.453
8_cythonno_x86_64_20_64test_clustering_indexingSuccess64.087
8_cythonno_x86_64_20_64test_select_map_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5231: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_20_64test_reversed_compact_multikeySuccess72.690
8_cythonno_x86_64_20_64test_cas_and_compactSuccess62.368
8_cythonno_x86_64_20_64test_mapSuccess167.276
8_cythonno_x86_64_20_64test_store_sets_with_if_not_existsSuccess61.403
8_cythonno_x86_64_20_64test_in_clause_wide_rowsSuccess141.597
8_cythonno_x86_64_20_64test_conversion_functionsSuccess63.721
8_cythonno_x86_64_20_64test_select_set_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5347: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_20_64test_multiorderingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2268: test not applicable to env.
0.000
8_cythonno_x86_64_20_64test_whole_set_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4594: test not applicable to env.
0.000
8_cythonno_x86_64_20_64test_composite_row_keySuccess54.585
8_cythonno_x86_64_20_64test_more_user_typesSuccess56.154
8_cythonno_x86_64_20_64test_order_by_with_inSuccess56.875
8_cythonno_x86_64_20_64test_empty_blobSuccess55.591
8_cythonno_x86_64_20_64test_tracing_prevents_startup_after_upgradingSuccess63.328
8_cythonno_x86_64_20_64test_truncate_clean_cacheSkippedhttps://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
8_cythonno_x86_64_20_64test_cas_and_list_indexSuccess57.824
8_cythonno_x86_64_20_64test_only_pkSuccess55.846
8_cythonno_x86_64_20_64test_map_keys_indexingSuccess56.786
8_cythonno_x86_64_20_64test_deletionSuccess58.108
8_cythonno_x86_64_20_64test_non_eq_conditional_updateSuccess58.062
8_cythonno_x86_64_20_64test_noncomposite_static_cfSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:121: test not applicable to env.
0.000
8_cythonno_x86_64_20_64test_multi_inSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2479: test not applicable to env.
0.000
8_cythonno_x86_64_20_64test_key_index_with_reverse_clusteringSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5034: test not applicable to env.
0.000
8_cythonno_x86_64_20_64test_with_more_results_than_page_sizeSuccess55.270
8_cythonno_x86_64_20_64test_with_order_by_reversedSuccess60.321
8_cythonno_x86_64_20_64test_basic_compound_pagingSuccess56.515
8_cythonno_x86_64_20_64test_data_change_impacting_later_pageSuccess57.087
8_cythonno_x86_64_20_64test_failure_threshold_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1486: test not applicable to env.
0.000
8_cythonno_x86_64_20_64test_repair_after_upgradeSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.349
8_cythonno_x86_64_20_64test_sstableloader_compression_snappy_to_deflateSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.326
8_cythonno_x86_64_20_64test_sparse_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.334
8_cythonno_x86_64_20_64test_parallel_upgradeSuccess584.572
8_cythonno_x86_64_21_64test_local_quorum_bootstrapSuccess99.529
8_cythonno_x86_64_21_64test_indexes_compositeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1978: test not applicable to env.
0.001
8_cythonno_x86_64_21_64test_v2_protocol_IN_with_tuplesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4250: test not applicable to env.
0.000
8_cythonno_x86_64_21_64test_delete_rowSuccess61.453
8_cythonno_x86_64_21_64test_function_with_nullSuccess57.284
8_cythonno_x86_64_21_64test_indexed_with_eqSuccess64.187
8_cythonno_x86_64_21_64test_edge_2i_on_complex_pkSuccess63.859
8_cythonno_x86_64_21_64test_select_set_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5259: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_21_64test_collection_and_regularSuccess65.568
8_cythonno_x86_64_21_64test_whole_list_conditionalFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7fb4804feb80>

@since('2.1.1')
def test_whole_list_conditional(self):
cursor = self.prepare()

cursor.execute("""
CREATE TABLE tlist (
k int PRIMARY KEY,
l list<text>
)""")

cursor.execute("""
CREATE TABLE frozentlist (
k int PRIMARY KEY,
l frozen<list<text>>
)""")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE tlist")
cursor.execute("TRUNCATE frozentlist")

for frozen in (False, True):

table = "frozentlist" if frozen else "tlist"
cursor.execute("INSERT INTO {}(k, l) VALUES (0, ['foo', 'bar', 'foobar'])".format(table))

def check_applies(condition):
# UPDATE statement
assert_one(cursor, "UPDATE {} SET l = ['foo', 'bar', 'foobar'] WHERE k=0 IF {}".format(table, condition), [True], cl=self.CL)
assert_one(cursor, "SELECT * FROM {}".format(table), [0, ['foo', 'bar', 'foobar']]) # read back at default cl.one
# DELETE statement
assert_one(cursor, "DELETE FROM {} WHERE k=0 IF {}".format(table, condition), [True], cl=self.CL)
assert_none(cursor, "SELECT * FROM {}".format(table)) # read back at default cl.one
cursor.execute("INSERT INTO {}(k, l) VALUES (0, ['foo', 'bar', 'foobar'])".format(table))

check_applies("l = ['foo', 'bar', 'foobar']")
check_applies("l != ['baz']")
check_applies("l > ['a']")
check_applies("l >= ['a']")
check_applies("l < ['z']")
check_applies("l <= ['z']")
check_applies("l IN (null, ['foo', 'bar', 'foobar'], ['a'])")

# multiple conditions
check_applies("l > ['aaa', 'bbb'] AND l > ['aaa']")
check_applies("l != null AND l IN (['foo', 'bar', 'foobar'])")

def check_does_not_apply(condition):
# UPDATE statement
assert_one(cursor, "UPDATE {} SET l = ['foo', 'bar', 'foobar'] WHERE k=0 IF {}".format(table, condition),
[False, ['foo', 'bar', 'foobar']], cl=self.CL)
assert_one(cursor, "SELECT * FROM {}".format(table), [0, ['foo', 'bar', 'foobar']]) # read back at default cl.one
# DELETE statement
assert_one(cursor, "DELETE FROM {} WHERE k=0 IF {}".format(table, condition),
[False, ['foo', 'bar', 'foobar']], cl=self.CL)
assert_one(cursor, "SELECT * FROM {}".format(table), [0, ['foo', 'bar', 'foobar']]) # read back at default cl.one

# should not apply
check_does_not_apply("l = ['baz']")
check_does_not_apply("l != ['foo', 'bar', 'foobar']")
check_does_not_apply("l > ['z']")
check_does_not_apply("l >= ['z']")
check_does_not_apply("l < ['a']")
check_does_not_apply("l <= ['a']")
check_does_not_apply("l IN (['a'], null)")
check_does_not_apply("l IN ()")

# multiple conditions
check_does_not_apply("l IN () AND l IN (['foo', 'bar', 'foobar'])")
check_does_not_apply("l > ['zzz'] AND l < ['zzz']")

def check_invalid(condition, expected=InvalidRequest):
# UPDATE statement
assert_invalid(cursor, "UPDATE {} SET l = ['foo', 'bar', 'foobar'] WHERE k=0 IF {}".format(table, condition), expected=expected)
assert_one(cursor, "SELECT * FROM {}".format(table), [0, ['foo', 'bar', 'foobar']], cl=self.CL)
# DELETE statement
assert_invalid(cursor, "DELETE FROM {} WHERE k=0 IF {}".format(table, condition), expected=expected)
assert_one(cursor, "SELECT * FROM {}".format(table), [0, ['foo', 'bar', 'foobar']], cl=self.CL)

check_invalid("l = [null]")
check_invalid("l < null")
check_invalid("l <= null")
check_invalid("l > null")
check_invalid("l >= null")
check_invalid("l IN null", expected=SyntaxException)
check_invalid("l IN 367", expected=SyntaxException)

# @jira_ticket CASSANDRA-10537
> if self.get_node_version(is_upgraded) >= LooseVersion(CASSANDRA_4_1):

upgrade_tests/cql_tests.py:4452:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
58.582
8_cythonno_x86_64_21_64test_listSuccess157.090
8_cythonno_x86_64_21_64test_add_deletion_info_in_unsorted_columnSuccess60.999
8_cythonno_x86_64_21_64test_order_bySuccess142.167
8_cythonno_x86_64_21_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.636
8_cythonno_x86_64_21_64test_select_list_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5378: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_21_64test_returned_nullSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2300: test not applicable to env.
0.000
8_cythonno_x86_64_21_64test_whole_map_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4693: test not applicable to env.
0.000
8_cythonno_x86_64_21_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.552
8_cythonno_x86_64_21_64test_intersection_logic_returns_empty_resultSuccess67.166
8_cythonno_x86_64_21_64test_reversed_comparatorSuccess58.201
8_cythonno_x86_64_21_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.583
8_cythonno_x86_64_21_64test_materialized_view_simpleSuccess59.164
8_cythonno_x86_64_21_64test_range_with_deletesSuccess56.194
8_cythonno_x86_64_21_64test_static_with_limitSuccess57.352
8_cythonno_x86_64_21_64test_no_clusteringSuccess56.215
8_cythonno_x86_64_21_64test_nan_infinitySuccess55.880
8_cythonno_x86_64_21_64test_countSuccess57.772
8_cythonno_x86_64_21_64test_conditional_deleteSuccess61.203
8_cythonno_x86_64_21_64test_dynamic_cfSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:170: test not applicable to env.
0.000
8_cythonno_x86_64_21_64test_multi_in_compactSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2483: test not applicable to env.
0.000
8_cythonno_x86_64_21_64test_invalid_custom_timestampSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5066: test not applicable to env.
0.000
8_cythonno_x86_64_21_64test_with_equal_results_to_page_sizeSuccess55.205
8_cythonno_x86_64_21_64test_with_limitSuccess63.256
8_cythonno_x86_64_21_64test_paging_a_single_wide_rowSuccess62.709
8_cythonno_x86_64_21_64test_row_TTL_expiry_during_pagingSuccess87.548
8_cythonno_x86_64_21_64test_single_partition_deletionsSuccess59.120
8_cythonno_x86_64_21_64test_update_and_drop_columnSuccess34.461
8_cythonno_x86_64_21_64test_sstableloader_compression_deflate_to_noneSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.566
8_cythonno_x86_64_21_64test_sparse_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.811
8_cythonno_x86_64_21_64test_rolling_upgradeSuccess804.948
8_cythonno_x86_64_22_64test_shutdown_wiped_node_cannot_joinSuccess137.277
8_cythonno_x86_64_22_64test_refuse_in_with_indexesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2020: test not applicable to env.
0.000
8_cythonno_x86_64_22_64test_in_with_desc_orderSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4274: test not applicable to env.
0.000
8_cythonno_x86_64_22_64test_range_query_2ndarySuccess57.735
8_cythonno_x86_64_22_64test_cas_simpleSuccess57.465
8_cythonno_x86_64_22_64test_select_key_inSuccess60.519
8_cythonno_x86_64_22_64test_end_of_component_as_end_keySuccess58.799
8_cythonno_x86_64_22_64test_select_list_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5290: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_22_64test_batch_and_listSuccess61.439
8_cythonno_x86_64_22_64test_list_item_conditionalSuccess62.425
8_cythonno_x86_64_22_64test_multi_collectionSuccess142.496
8_cythonno_x86_64_22_64test_column_name_validationSuccess57.956
8_cythonno_x86_64_22_64test_more_order_bySuccess119.056
8_cythonno_x86_64_22_64test_function_and_reverse_typeSuccess60.853
8_cythonno_x86_64_22_64test_deleted_row_selectSuccess65.189
8_cythonno_x86_64_22_64test_multi_list_setSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2331: test not applicable to env.
0.000
8_cythonno_x86_64_22_64test_map_item_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4789: test not applicable to env.
0.000
8_cythonno_x86_64_22_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.576
8_cythonno_x86_64_22_64test_large_countSuccess61.499
8_cythonno_x86_64_22_64test_null_supportSuccess53.146
8_cythonno_x86_64_22_64test_clustering_order_and_functionsSuccess51.920
8_cythonno_x86_64_22_64test_static_cfSuccess52.218
8_cythonno_x86_64_22_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.575
8_cythonno_x86_64_22_64test_static_with_empty_clusteringSuccess52.594
8_cythonno_x86_64_22_64test_dateSuccess51.293
8_cythonno_x86_64_22_64test_static_columnsSuccess51.529
8_cythonno_x86_64_22_64test_batchSuccess53.710
8_cythonno_x86_64_22_64test_range_key_orderedSuccess53.586
8_cythonno_x86_64_22_64test_dense_cfSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:208: test not applicable to env.
0.000
8_cythonno_x86_64_22_64test_multi_in_compact_non_compositeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2566: test not applicable to env.
0.000
8_cythonno_x86_64_22_64test_clustering_order_inSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5098: test not applicable to env.
0.000
8_cythonno_x86_64_22_64test_undefined_page_size_defaultSuccess57.282
8_cythonno_x86_64_22_64test_with_allow_filteringSuccess54.516
8_cythonno_x86_64_22_64test_paging_across_multi_wide_rowsSuccess60.286
8_cythonno_x86_64_22_64test_cell_TTL_expiry_during_pagingSuccess86.903
8_cythonno_x86_64_22_64test_multiple_partition_deletionsSuccess52.636
8_cythonno_x86_64_22_64test_upgrade_with_clustered_CQL_tableSuccess32.091
8_cythonno_x86_64_22_64test_sstableloader_compression_deflate_to_snappySkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.561
8_cythonno_x86_64_22_64test_dense_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.342
8_cythonno_x86_64_22_64test_parallel_upgrade_with_internode_sslSuccess536.273
8_cythonno_x86_64_23_64test_killed_wiped_node_cannot_joinSuccess130.687
8_cythonno_x86_64_23_64test_reversed_compactSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2042: test not applicable to env.
0.001
8_cythonno_x86_64_23_64test_in_order_by_without_selectingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4294: test not applicable to env.
0.000
8_cythonno_x86_64_23_64test_setSuccess62.672
8_cythonno_x86_64_23_64test_internal_application_error_on_selectSuccess59.497
8_cythonno_x86_64_23_64test_exclusive_sliceSuccess64.361
8_cythonno_x86_64_23_64test_ticket_5230Success59.550
8_cythonno_x86_64_23_64test_select_map_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5318: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_23_64test_booleanSuccess65.235
8_cythonno_x86_64_23_64test_expanded_list_item_conditionalSuccess64.148
8_cythonno_x86_64_23_64test_range_querySuccess155.391
8_cythonno_x86_64_23_64test_user_typesSuccess62.987
8_cythonno_x86_64_23_64test_order_by_validationSuccess136.485
8_cythonno_x86_64_23_64test_NPE_during_select_with_tokenSuccess61.818
8_cythonno_x86_64_23_64test_secondary_index_querySkippedhttps://issues.apache.org/jira/browse/CASSANDRA-14961

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5427: https://issues.apache.org/jira/browse/CASSANDRA-14961
0.001
8_cythonno_x86_64_23_64test_composite_index_collectionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2350: test not applicable to env.
0.000
8_cythonno_x86_64_23_64test_expanded_map_item_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4829: test not applicable to env.
0.000
8_cythonno_x86_64_23_64test_row_existenceSuccess53.408
8_cythonno_x86_64_23_64test_collection_indexingSuccess62.086
8_cythonno_x86_64_23_64test_nameless_indexSuccess56.892
8_cythonno_x86_64_23_64test_conditional_updateSuccess54.891
8_cythonno_x86_64_23_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.529
8_cythonno_x86_64_23_64test_composite_partition_key_validationSuccess55.051
8_cythonno_x86_64_23_64test_limit_compact_tableSuccess55.840
8_cythonno_x86_64_23_64test_range_sliceSuccess56.298
8_cythonno_x86_64_23_64test_static_columns_casSuccess57.624
8_cythonno_x86_64_23_64test_token_rangeSuccess57.595
8_cythonno_x86_64_23_64test_select_with_aliasSuccess57.275
8_cythonno_x86_64_23_64test_sparse_cfSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:266: test not applicable to env.
0.001
8_cythonno_x86_64_23_64test_large_clustering_inSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2590: test not applicable to env.
0.000
8_cythonno_x86_64_23_64test_end_of_component_uses_oecBoundSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5123: test not applicable to env.
0.000
8_cythonno_x86_64_23_64test_with_no_resultsSuccess55.552
8_cythonno_x86_64_23_64test_with_order_bySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:196: test not applicable to env.
0.001
8_cythonno_x86_64_23_64test_paging_using_secondary_indexesSuccess59.197
8_cythonno_x86_64_23_64test_data_change_impacting_earlier_pageSuccess58.757
8_cythonno_x86_64_23_64test_single_row_deletionsSuccess63.113
8_cythonno_x86_64_23_64test_upgrade_with_clustered_compact_tableSuccess36.521
8_cythonno_x86_64_23_64test_sstableloader_compression_deflate_to_deflateSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.563
8_cythonno_x86_64_23_64test_dense_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.773
8_cythonno_x86_64_23_64test_rolling_upgrade_with_internode_sslSuccess810.652
8_cythonno_x86_64_24_64test_decommissioned_wiped_node_can_joinSuccess219.900
8_cythonno_x86_64_24_64test_reversed_compact_multikeySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2114: test not applicable to env.
0.000
8_cythonno_x86_64_24_64test_cas_and_compactSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4336: test not applicable to env.
0.000
8_cythonno_x86_64_24_64test_mapSuccess66.656
8_cythonno_x86_64_24_64test_store_sets_with_if_not_existsSuccess59.659
8_cythonno_x86_64_24_64test_in_clause_wide_rowsSuccess70.943
8_cythonno_x86_64_24_64test_conversion_functionsSuccess62.118
8_cythonno_x86_64_24_64test_select_set_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5347: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_24_64test_multiorderingSuccess73.613
8_cythonno_x86_64_24_64test_whole_set_conditionalFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f89ba0ec2e0>

@since('2.1.1')
def test_whole_set_conditional(self):
cursor = self.prepare()

cursor.execute("""
CREATE TABLE tset (
k int PRIMARY KEY,
s set<text>
)""")

cursor.execute("""
CREATE TABLE frozentset (
k int PRIMARY KEY,
s frozen<set<text>>
)""")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE tset")
cursor.execute("TRUNCATE frozentset")

for frozen in (False, True):

table = "frozentset" if frozen else "tset"
assert_one(cursor, "INSERT INTO {}(k, s) VALUES (0, {{'bar', 'foo'}}) IF NOT EXISTS".format(table), [True])

def check_applies(condition):
# UPDATE statement
assert_one(cursor, "UPDATE {} SET s = {{'bar', 'foo'}} WHERE k=0 IF {}".format(table, condition), [True])
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'bar', 'foo'}], cl=ConsistencyLevel.SERIAL)
# DELETE statement
assert_one(cursor, "DELETE FROM {} WHERE k=0 IF {}".format(table, condition), [True])
assert_none(cursor, "SELECT * FROM {}".format(table), cl=ConsistencyLevel.SERIAL)
assert_one(cursor, "INSERT INTO {}(k, s) VALUES (0, {{'bar', 'foo'}}) IF NOT EXISTS".format(table), [True])

check_applies("s = {'bar', 'foo'}")
check_applies("s = {'foo', 'bar'}")
check_applies("s != {'baz'}")
check_applies("s > {'a'}")
check_applies("s >= {'a'}")
check_applies("s < {'z'}")
check_applies("s <= {'z'}")
check_applies("s IN (null, {'bar', 'foo'}, {'a'})")

# multiple conditions
check_applies("s > {'a'} AND s < {'z'}")
check_applies("s IN (null, {'bar', 'foo'}, {'a'}) AND s IN ({'a'}, {'bar', 'foo'}, null)")

def check_does_not_apply(condition):
# UPDATE statement
assert_one(cursor, "UPDATE {} SET s = {{'bar', 'foo'}} WHERE k=0 IF {}".format(table, condition),
[False, {'bar', 'foo'}])
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'bar', 'foo'}], cl=ConsistencyLevel.SERIAL)
# DELETE statement
assert_one(cursor, "DELETE FROM {} WHERE k=0 IF {}".format(table, condition),
[False, {'bar', 'foo'}])
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'bar', 'foo'}], cl=ConsistencyLevel.SERIAL)

# should not apply
check_does_not_apply("s = {'baz'}")
check_does_not_apply("s != {'bar', 'foo'}")
check_does_not_apply("s > {'z'}")
check_does_not_apply("s >= {'z'}")
check_does_not_apply("s < {'a'}")
check_does_not_apply("s <= {'a'}")
check_does_not_apply("s IN ({'a'}, null)")
check_does_not_apply("s IN ()")
check_does_not_apply("s != null AND s IN ()")

def check_invalid(condition, expected=InvalidRequest):
# UPDATE statement
assert_invalid(cursor, "UPDATE {} SET s = {{'bar', 'foo'}} WHERE k=0 IF {}".format(table, condition), expected=expected)
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'bar', 'foo'}], cl=ConsistencyLevel.SERIAL)
# DELETE statement
assert_invalid(cursor, "DELETE FROM {} WHERE k=0 IF {}".format(table, condition), expected=expected)
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'bar', 'foo'}], cl=ConsistencyLevel.SERIAL)

check_invalid("s = {null}")
check_invalid("s < null")
check_invalid("s <= null")
check_invalid("s > null")
check_invalid("s >= null")
check_invalid("s IN null", expected=SyntaxException)
check_invalid("s IN 367", expected=SyntaxException)

# element access is not allow for sets
check_invalid("s['foo'] = 'foobar'")

# @jira_ticket CASSANDRA-10537
> if self.get_node_version(is_upgraded) >= LooseVersion(CASSANDRA_4_1):

upgrade_tests/cql_tests.py:4683:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
58.831
8_cythonno_x86_64_24_64test_composite_row_keySuccess200.152
8_cythonno_x86_64_24_64test_more_user_typesSuccess63.665
8_cythonno_x86_64_24_64test_order_by_with_inSuccess139.870
8_cythonno_x86_64_24_64test_empty_blobSuccess63.525
8_cythonno_x86_64_24_64test_tracing_prevents_startup_after_upgradingSuccess73.018
8_cythonno_x86_64_24_64test_truncate_clean_cacheSkippedhttps://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
8_cythonno_x86_64_24_64test_cas_and_list_indexSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4919: test not applicable to env.
0.000
8_cythonno_x86_64_24_64test_only_pkSuccess52.584
8_cythonno_x86_64_24_64test_map_keys_indexingSuccess54.602
8_cythonno_x86_64_24_64test_deletionSuccess56.600
8_cythonno_x86_64_24_64test_non_eq_conditional_updateSuccess55.793
8_cythonno_x86_64_24_64test_noncomposite_static_cfSuccess56.093
8_cythonno_x86_64_24_64test_multi_inSuccess56.559
8_cythonno_x86_64_24_64test_key_index_with_reverse_clusteringSuccess56.147
8_cythonno_x86_64_24_64test_composite_index_with_pkSuccess55.080
8_cythonno_x86_64_24_64test_static_columns_with_2iSuccess55.857
8_cythonno_x86_64_24_64test_timestamp_and_ttlSuccess55.757
8_cythonno_x86_64_24_64test_nonpure_function_collectionSuccess55.564
8_cythonno_x86_64_24_64test_limit_rangesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:306: test not applicable to env.
0.000
8_cythonno_x86_64_24_64test_timeuuidSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2630: test not applicable to env.
0.000
8_cythonno_x86_64_24_64test_SIM_assertion_errorSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5149: test not applicable to env.
0.000
8_cythonno_x86_64_24_64test_with_less_results_than_page_sizeSuccess54.854
8_cythonno_x86_64_24_64test_with_order_by_reversedSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:248: test not applicable to env.
0.000
8_cythonno_x86_64_24_64test_static_columns_pagingFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestPagingDataNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f89ba1747c0>

@since('2.0.6')
def test_static_columns_paging(self):
"""
Exercises paging with static columns to detect bugs
@jira_ticket CASSANDRA-8502.
"""
cursor = self.prepare(row_factory=named_tuple_factory)
cursor.execute("CREATE TABLE test (a int, b int, c int, s1 int static, s2 int static, PRIMARY KEY (a, b))")

for is_upgraded, cursor in self.do_upgrade(cursor, row_factory=named_tuple_factory):
> min_version = min(self.get_node_versions())

upgrade_tests/paging_test.py:660:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/distutils/version.py:52: in __lt__
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
49.679
8_cythonno_x86_64_24_64test_data_change_impacting_later_pageSuccess59.405
8_cythonno_x86_64_24_64test_single_cell_deletionsSuccess60.292
8_cythonno_x86_64_24_64test_upgrade_with_unclustered_CQL_tableSuccess31.617
8_cythonno_x86_64_24_64test_sstableloader_with_mvSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.615
8_cythonno_x86_64_24_64test_sparse_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.351
8_cythonno_x86_64_24_64test_bootstrapSuccess408.883
8_cythonno_x86_64_25_64test_decommissioned_wiped_node_can_gossip_to_single_seedSuccess162.994
8_cythonno_x86_64_25_64test_collection_and_regularSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2197: test not applicable to env.
0.001
8_cythonno_x86_64_25_64test_whole_list_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4364: test not applicable to env.
0.000
8_cythonno_x86_64_25_64test_listSuccess59.240
8_cythonno_x86_64_25_64test_add_deletion_info_in_unsorted_columnSuccess58.036
8_cythonno_x86_64_25_64test_order_bySuccess68.074
8_cythonno_x86_64_25_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.546
8_cythonno_x86_64_25_64test_select_list_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5378: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_25_64test_returned_nullSuccess65.732
8_cythonno_x86_64_25_64test_whole_map_conditionalFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7fef260f8b20>

@since('2.1.1')
def test_whole_map_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):
logger.debug("Testing {} maps".format("frozen" if frozen else "normal"))

table = "frozentmap" if frozen else "tmap"
cursor.execute("INSERT INTO %s(k, m) VALUES (0, {'foo' : 'bar'})" % (table,))

def check_applies(condition):
# UPDATE statement
assert_one(cursor, "UPDATE {} SET m = {{'foo': 'bar'}} WHERE k=0 IF {}".format(table, condition), [True])
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'foo': 'bar'}], cl=ConsistencyLevel.SERIAL)
# DELETE statement
assert_one(cursor, "DELETE FROM {} WHERE k=0 IF {}".format(table, condition), [True])
assert_none(cursor, "SELECT * FROM {}".format(table), cl=ConsistencyLevel.SERIAL)
cursor.execute("INSERT INTO {}(k, m) VALUES (0, {{'foo' : 'bar'}})".format(table))

check_applies("m = {'foo': 'bar'}")
check_applies("m > {'a': 'a'}")
check_applies("m >= {'a': 'a'}")
check_applies("m < {'z': 'z'}")
check_applies("m <= {'z': 'z'}")
check_applies("m != {'a': 'a'}")
check_applies("m IN (null, {'a': 'a'}, {'foo': 'bar'})")

# multiple conditions
check_applies("m > {'a': 'a'} AND m < {'z': 'z'}")
check_applies("m != null AND m IN (null, {'a': 'a'}, {'foo': 'bar'})")

def check_does_not_apply(condition):
# UPDATE statement
assert_one(cursor, "UPDATE {} SET m = {{'foo': 'bar'}} WHERE k=0 IF {}".format(table, condition), [False, {'foo': 'bar'}])
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'foo': 'bar'}], cl=ConsistencyLevel.SERIAL)
# DELETE statement
assert_one(cursor, "DELETE FROM {} WHERE k=0 IF {}".format(table, condition), [False, {'foo': 'bar'}])
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'foo': 'bar'}], cl=ConsistencyLevel.SERIAL)

# should not apply
check_does_not_apply("m = {'a': 'a'}")
check_does_not_apply("m > {'z': 'z'}")
check_does_not_apply("m >= {'z': 'z'}")
check_does_not_apply("m < {'a': 'a'}")
check_does_not_apply("m <= {'a': 'a'}")
check_does_not_apply("m != {'foo': 'bar'}")
check_does_not_apply("m IN ({'a': 'a'}, null)")
check_does_not_apply("m IN ()")
check_does_not_apply("m = null AND m != null")

def check_invalid(condition, expected=InvalidRequest):
# UPDATE statement
assert_invalid(cursor, "UPDATE {} SET m = {{'foo': 'bar'}} WHERE k=0 IF {}".format(table, condition), expected=expected)
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'foo': 'bar'}], cl=ConsistencyLevel.SERIAL)
# DELETE statement
assert_invalid(cursor, "DELETE FROM {} WHERE k=0 IF {}".format(table, condition), expected=expected)
assert_one(cursor, "SELECT * FROM {}".format(table), [0, {'foo': 'bar'}], cl=ConsistencyLevel.SERIAL)

check_invalid("m = {null: null}")
check_invalid("m = {'a': null}")
check_invalid("m = {null: 'a'}")
check_invalid("m < null")
check_invalid("m IN null", expected=SyntaxException)

# @jira_ticket CASSANDRA-10537
> if self.get_node_version(is_upgraded) >= LooseVersion(CASSANDRA_4_1):

upgrade_tests/cql_tests.py:4775:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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.942
8_cythonno_x86_64_25_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.505
8_cythonno_x86_64_25_64test_intersection_logic_returns_empty_resultSuccess188.040
8_cythonno_x86_64_25_64test_reversed_comparatorSuccess163.000
8_cythonno_x86_64_25_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.624
8_cythonno_x86_64_25_64test_materialized_view_simpleSuccess70.053
8_cythonno_x86_64_25_64test_range_with_deletesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2416: test not applicable to env.
0.000
8_cythonno_x86_64_25_64test_static_with_limitSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4946: test not applicable to env.
0.000
8_cythonno_x86_64_25_64test_no_clusteringSuccess55.271
8_cythonno_x86_64_25_64test_nan_infinitySuccess54.969
8_cythonno_x86_64_25_64test_countSuccess56.492
8_cythonno_x86_64_25_64test_conditional_deleteSuccess61.345
8_cythonno_x86_64_25_64test_dynamic_cfSuccess56.651
8_cythonno_x86_64_25_64test_multi_in_compactSuccess55.525
8_cythonno_x86_64_25_64test_invalid_custom_timestampSuccess59.521
8_cythonno_x86_64_25_64test_limit_bugsSuccess56.480
8_cythonno_x86_64_25_64test_static_columns_with_distinctSuccess58.978
8_cythonno_x86_64_25_64test_no_range_ghostSuccess60.730
8_cythonno_x86_64_25_64test_empty_inSuccess62.352
8_cythonno_x86_64_25_64test_limit_multigetSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:334: test not applicable to env.
0.000
8_cythonno_x86_64_25_64test_float_with_exponentSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2685: test not applicable to env.
0.000
8_cythonno_x86_64_25_64test_blobAs_functionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5183: test not applicable to env.
0.000
8_cythonno_x86_64_25_64test_with_more_results_than_page_sizeSuccess59.994
8_cythonno_x86_64_25_64test_with_limitSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:310: test not applicable to env.
0.000
8_cythonno_x86_64_25_64test_paging_using_secondary_indexes_with_static_colsSuccess62.539
8_cythonno_x86_64_25_64test_row_TTL_expiry_during_pagingSuccess89.420
8_cythonno_x86_64_25_64test_multiple_cell_deletionsSuccess57.670
8_cythonno_x86_64_25_64test_upgrade_with_unclustered_compact_tableSuccess31.217
8_cythonno_x86_64_25_64test_sstableloader_compression_none_to_noneSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.334
8_cythonno_x86_64_25_64test_sparse_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.594
8_cythonno_x86_64_25_64test_bootstrap_multidcSuccess484.682
8_cythonno_x86_64_26_64test_failed_bootstrap_wiped_node_can_joinSuccess108.542
8_cythonno_x86_64_26_64test_batch_and_listSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2217: test not applicable to env.
0.001
8_cythonno_x86_64_26_64test_list_item_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4463: test not applicable to env.
0.000
8_cythonno_x86_64_26_64test_multi_collectionSuccess58.910
8_cythonno_x86_64_26_64test_column_name_validationSuccess56.038
8_cythonno_x86_64_26_64test_more_order_bySuccess66.311
8_cythonno_x86_64_26_64test_function_and_reverse_typeSuccess62.234
8_cythonno_x86_64_26_64test_deleted_row_selectSuccess70.079
8_cythonno_x86_64_26_64test_multi_list_setSuccess70.026
8_cythonno_x86_64_26_64test_map_item_conditionalFailureTypeError: '<' 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
8_cythonno_x86_64_26_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.235
8_cythonno_x86_64_26_64test_large_countSuccess198.331
8_cythonno_x86_64_26_64test_null_supportSuccess138.711
8_cythonno_x86_64_26_64test_clustering_order_and_functionsSuccess65.318
8_cythonno_x86_64_26_64test_static_cfSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:44: test not applicable to env.
0.000
8_cythonno_x86_64_26_64test_collection_functionSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2442: test not applicable to env.
0.000
8_cythonno_x86_64_26_64test_static_with_empty_clusteringSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4975: test not applicable to env.
0.000
8_cythonno_x86_64_26_64test_dateSuccess54.158
8_cythonno_x86_64_26_64test_static_columnsSuccess52.787
8_cythonno_x86_64_26_64test_batchSuccess55.229
8_cythonno_x86_64_26_64test_range_key_orderedSuccess55.209
8_cythonno_x86_64_26_64test_dense_cfSuccess57.112
8_cythonno_x86_64_26_64test_multi_in_compact_non_compositeSuccess55.180
8_cythonno_x86_64_26_64test_clustering_order_inSuccess54.498
8_cythonno_x86_64_26_64test_npe_composite_table_sliceSuccess57.943
8_cythonno_x86_64_26_64test_select_count_pagingSuccess60.606
8_cythonno_x86_64_26_64test_undefined_column_handlingSuccess61.310
8_cythonno_x86_64_26_64test_collection_flushSuccess76.482
8_cythonno_x86_64_26_64test_simple_tuple_querySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:367: test not applicable to env.
0.001
8_cythonno_x86_64_26_64test_compact_metadataSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2704: test not applicable to env.
0.000
8_cythonno_x86_64_26_64test_invalid_string_literalsSkippedhttps://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
8_cythonno_x86_64_26_64test_with_equal_results_to_page_sizeSuccess54.681
8_cythonno_x86_64_26_64test_with_allow_filteringSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:395: test not applicable to env.
0.001
8_cythonno_x86_64_26_64test_basic_pagingSuccess51.744
8_cythonno_x86_64_26_64test_cell_TTL_expiry_during_pagingSuccess89.919
8_cythonno_x86_64_26_64test_ttl_deletionsSuccess69.501
8_cythonno_x86_64_26_64test_upgrade_with_staticsSuccess33.540
8_cythonno_x86_64_26_64test_sstableloader_compression_none_to_snappySkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.359
8_cythonno_x86_64_26_64test_dense_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.590
8_cythonno_x86_64_26_64test_parallel_upgradeSuccess254.264
8_cythonno_x86_64_27_64test_node_cannot_join_as_hibernating_node_without_replace_addressSkippedported to in-JVM from 4.1 >= 5.0.1

/home/cassandra/cassandra-dtest/conftest.py:526: ported to in-JVM from 4.1 >= 5.0.1
0.959
8_cythonno_x86_64_27_64test_booleanSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2251: test not applicable to env.
0.001
8_cythonno_x86_64_27_64test_expanded_list_item_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4500: test not applicable to env.
0.000
8_cythonno_x86_64_27_64test_range_querySuccess62.907
8_cythonno_x86_64_27_64test_user_typesSuccess68.030
8_cythonno_x86_64_27_64test_order_by_validationSuccess63.533
8_cythonno_x86_64_27_64test_NPE_during_select_with_tokenSuccess61.871
8_cythonno_x86_64_27_64test_secondary_index_querySkippedhttps://issues.apache.org/jira/browse/CASSANDRA-14961

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5427: https://issues.apache.org/jira/browse/CASSANDRA-14961
0.001
8_cythonno_x86_64_27_64test_composite_index_collectionsSuccess77.998
8_cythonno_x86_64_27_64test_expanded_map_item_conditionalSuccess70.165
8_cythonno_x86_64_27_64test_row_existenceSuccess168.867
8_cythonno_x86_64_27_64test_collection_indexingSuccess70.441
8_cythonno_x86_64_27_64test_nameless_indexSuccess125.066
8_cythonno_x86_64_27_64test_conditional_updateSuccess60.707
8_cythonno_x86_64_27_64test_large_collection_errorsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:86: test not applicable to env.
0.000
8_cythonno_x86_64_27_64test_composite_partition_key_validationSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2458: test not applicable to env.
0.000
8_cythonno_x86_64_27_64test_limit_compact_tableSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5001: test not applicable to env.
0.000
8_cythonno_x86_64_27_64test_range_sliceSuccess49.879
8_cythonno_x86_64_27_64test_static_columns_casSuccess50.594
8_cythonno_x86_64_27_64test_token_rangeSuccess53.950
8_cythonno_x86_64_27_64test_select_with_aliasSuccess52.937
8_cythonno_x86_64_27_64test_sparse_cfSuccess53.675
8_cythonno_x86_64_27_64test_large_clustering_inSuccess55.739
8_cythonno_x86_64_27_64test_end_of_component_uses_oecBoundSuccess53.677
8_cythonno_x86_64_27_64test_order_by_multikeySuccess52.196
8_cythonno_x86_64_27_64test_cas_and_ttlSuccess57.221
8_cythonno_x86_64_27_64test_range_tombstonesSuccess72.631
8_cythonno_x86_64_27_64test_select_distinctSuccess57.952
8_cythonno_x86_64_27_64test_limit_sparseSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:389: test not applicable to env.
0.001
8_cythonno_x86_64_27_64test_query_compact_tables_during_upgradeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2725: test not applicable to env.
0.000
8_cythonno_x86_64_27_64test_negative_timestampSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5218: test not applicable to env.
0.000
8_cythonno_x86_64_27_64test_undefined_page_size_defaultSuccess60.173
8_cythonno_x86_64_27_64test_basic_pagingSuccess57.882
8_cythonno_x86_64_27_64test_basic_compound_pagingSuccess53.260
8_cythonno_x86_64_27_64test_data_change_impacting_earlier_pageSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:923: test not applicable to env.
0.001
8_cythonno_x86_64_27_64test_failure_threshold_deletionsSuccess60.482
8_cythonno_x86_64_27_64test_upgrade_with_wide_partition_and_staticsSuccess33.091
8_cythonno_x86_64_27_64test_sstableloader_compression_none_to_deflateSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.597
8_cythonno_x86_64_27_64test_dense_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.568
8_cythonno_x86_64_27_64test_rolling_upgradeSuccess409.385
8_cythonno_x86_64_28_64test_simultaneous_bootstrapSuccess166.270
8_cythonno_x86_64_28_64test_multiorderingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2268: test not applicable to env.
0.000
8_cythonno_x86_64_28_64test_whole_set_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4594: test not applicable to env.
0.000
8_cythonno_x86_64_28_64test_composite_row_keySuccess67.264
8_cythonno_x86_64_28_64test_more_user_typesSuccess62.234
8_cythonno_x86_64_28_64test_order_by_with_inSuccess73.580
8_cythonno_x86_64_28_64test_empty_blobSuccess62.872
8_cythonno_x86_64_28_64test_tracing_prevents_startup_after_upgradingSuccess72.645
8_cythonno_x86_64_28_64test_truncate_clean_cacheSkippedhttps://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
8_cythonno_x86_64_28_64test_cas_and_list_indexSuccess73.404
8_cythonno_x86_64_28_64test_only_pkSuccess161.794
8_cythonno_x86_64_28_64test_map_keys_indexingSuccess65.510
8_cythonno_x86_64_28_64test_deletionSuccess139.781
8_cythonno_x86_64_28_64test_non_eq_conditional_updateSuccess68.054
8_cythonno_x86_64_28_64test_noncomposite_static_cfSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:121: test not applicable to env.
0.000
8_cythonno_x86_64_28_64test_multi_inSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2479: test not applicable to env.
0.000
8_cythonno_x86_64_28_64test_key_index_with_reverse_clusteringSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5034: test not applicable to env.
0.000
8_cythonno_x86_64_28_64test_composite_index_with_pkSuccess55.403
8_cythonno_x86_64_28_64test_static_columns_with_2iSuccess55.649
8_cythonno_x86_64_28_64test_timestamp_and_ttlSuccess54.916
8_cythonno_x86_64_28_64test_nonpure_function_collectionSuccess54.575
8_cythonno_x86_64_28_64test_limit_rangesSuccess58.624
8_cythonno_x86_64_28_64test_timeuuidFailureTypeError: '<' 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
8_cythonno_x86_64_28_64test_SIM_assertion_errorSuccess64.304
8_cythonno_x86_64_28_64test_remove_range_sliceSuccess57.459
8_cythonno_x86_64_28_64test_tuple_notationSuccess57.642
8_cythonno_x86_64_28_64test_range_tombstones_compactionSuccess87.951
8_cythonno_x86_64_28_64test_select_distinct_with_deletionsSuccess66.305
8_cythonno_x86_64_28_64test_countersSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:418: test not applicable to env.
0.001
8_cythonno_x86_64_28_64test_clustering_indexingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2775: test not applicable to env.
0.000
8_cythonno_x86_64_28_64test_select_map_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5231: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_28_64test_with_no_resultsSuccess64.754
8_cythonno_x86_64_28_64test_basic_compound_pagingSuccess70.063
8_cythonno_x86_64_28_64test_paging_a_single_wide_rowSuccess70.391
8_cythonno_x86_64_28_64test_data_change_impacting_later_pageSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:959: test not applicable to env.
0.000
8_cythonno_x86_64_28_64test_single_partition_deletionsSuccess68.553
8_cythonno_x86_64_28_64test_upgrade_with_wide_partitionSuccess44.172
8_cythonno_x86_64_28_64test_sstableloader_compression_snappy_to_noneSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.484
8_cythonno_x86_64_28_64test_sparse_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.686
8_cythonno_x86_64_28_64test_parallel_upgrade_with_internode_sslSuccess293.313
8_cythonno_x86_64_29_64test_cleanupSuccess163.716
8_cythonno_x86_64_29_64test_returned_nullSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2300: test not applicable to env.
0.001
8_cythonno_x86_64_29_64test_whole_map_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4693: test not applicable to env.
0.000
8_cythonno_x86_64_29_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.448
8_cythonno_x86_64_29_64test_intersection_logic_returns_empty_resultSuccess72.984
8_cythonno_x86_64_29_64test_reversed_comparatorSuccess62.262
8_cythonno_x86_64_29_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.426
8_cythonno_x86_64_29_64test_materialized_view_simpleSuccess59.349
8_cythonno_x86_64_29_64test_range_with_deletesSuccess61.538
8_cythonno_x86_64_29_64test_static_with_limitSuccess58.549
8_cythonno_x86_64_29_64test_no_clusteringSuccess140.470
8_cythonno_x86_64_29_64test_nan_infinitySuccess57.443
8_cythonno_x86_64_29_64test_countSuccess125.051
8_cythonno_x86_64_29_64test_conditional_deleteSuccess63.996
8_cythonno_x86_64_29_64test_dynamic_cfSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:170: test not applicable to env.
0.001
8_cythonno_x86_64_29_64test_multi_in_compactSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2483: test not applicable to env.
0.000
8_cythonno_x86_64_29_64test_invalid_custom_timestampSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5066: test not applicable to env.
0.000
8_cythonno_x86_64_29_64test_limit_bugsSuccess50.330
8_cythonno_x86_64_29_64test_static_columns_with_distinctSuccess54.708
8_cythonno_x86_64_29_64test_no_range_ghostSuccess53.085
8_cythonno_x86_64_29_64test_empty_inSuccess52.927
8_cythonno_x86_64_29_64test_limit_multigetFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f98705eeca0>

def test_limit_multiget(self):
""" Validate LIMIT option for 'multiget' in SELECT statements """
cursor = self.prepare()

cursor.execute("""
CREATE TABLE clicks (
userid int,
url text,
time bigint,
PRIMARY KEY (userid, url)
) WITH COMPACT STORAGE;
""")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE clicks")

# Inserts
for id in range(0, 100):
for tld in ['com', 'org', 'net']:
cursor.execute("INSERT INTO clicks (userid, url, time) VALUES ({}, 'http://foo.{}', 42)".format(id, tld))

# Check that we do limit the output to 1 *and* that we respect query
# order of keys (even though 48 is after 2) prior to 2.1.17

> if self.get_node_version(is_upgraded) >= '2.1.17':

upgrade_tests/cql_tests.py:359:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
47.722
8_cythonno_x86_64_29_64test_float_with_exponentSuccess52.458
8_cythonno_x86_64_29_64test_blobAs_functionsSuccess52.679
8_cythonno_x86_64_29_64test_indexes_compositeSuccess53.410
8_cythonno_x86_64_29_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.614
8_cythonno_x86_64_29_64test_delete_rowSuccess54.583
8_cythonno_x86_64_29_64test_function_with_nullSuccess53.803
8_cythonno_x86_64_29_64test_indexed_with_eqSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:456: test not applicable to env.
0.001
8_cythonno_x86_64_29_64test_edge_2i_on_complex_pkSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2821: test not applicable to env.
0.000
8_cythonno_x86_64_29_64test_select_set_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5259: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_29_64test_with_less_results_than_page_sizeSuccess51.554
8_cythonno_x86_64_29_64test_paging_a_single_wide_rowSuccess68.664
8_cythonno_x86_64_29_64test_paging_across_multi_wide_rowsSuccess59.687
8_cythonno_x86_64_29_64test_row_TTL_expiry_during_pagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:996: test not applicable to env.
0.001
8_cythonno_x86_64_29_64test_multiple_partition_deletionsSuccess54.247
8_cythonno_x86_64_29_64test_upgrade_with_wide_partition_reversedSuccess36.479
8_cythonno_x86_64_29_64test_sstableloader_compression_snappy_to_snappySkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.596
8_cythonno_x86_64_29_64test_sparse_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.359
8_cythonno_x86_64_29_64test_rolling_upgrade_with_internode_sslSuccess408.304
8_cythonno_x86_64_2_64test_upgrade_to_22Skipped5.0.1 > 2.2.X

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 2.2.X
0.870
8_cythonno_x86_64_2_64test_range_query_2ndarySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1273: test not applicable to env.
0.000
8_cythonno_x86_64_2_64test_cas_simpleSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3464: test not applicable to env.
0.001
8_cythonno_x86_64_2_64test_select_key_inSuccess62.114
8_cythonno_x86_64_2_64test_end_of_component_as_end_keySuccess60.320
8_cythonno_x86_64_2_64test_select_list_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5290: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_2_64test_batch_and_listSuccess61.034
8_cythonno_x86_64_2_64test_list_item_conditionalSuccess61.529
8_cythonno_x86_64_2_64test_multi_collectionSuccess65.273
8_cythonno_x86_64_2_64test_column_name_validationSuccess62.530
8_cythonno_x86_64_2_64test_more_order_bySuccess171.972
8_cythonno_x86_64_2_64test_function_and_reverse_typeSuccess61.775
8_cythonno_x86_64_2_64test_deleted_row_selectSuccess71.370
8_cythonno_x86_64_2_64test_multi_list_setSuccess140.405
8_cythonno_x86_64_2_64test_map_item_conditionalSuccess64.056
8_cythonno_x86_64_2_64test_cql3_non_compound_range_tombstonesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1541: test not applicable to env.
0.001
8_cythonno_x86_64_2_64test_large_countSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3701: test not applicable to env.
0.001
8_cythonno_x86_64_2_64test_null_supportSuccess54.046
8_cythonno_x86_64_2_64test_clustering_order_and_functionsSuccess52.624
8_cythonno_x86_64_2_64test_static_cfSuccess56.577
8_cythonno_x86_64_2_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.617
8_cythonno_x86_64_2_64test_static_with_empty_clusteringSuccess56.904
8_cythonno_x86_64_2_64test_dateSuccess58.156
8_cythonno_x86_64_2_64test_static_columnsSuccess52.874
8_cythonno_x86_64_2_64test_batchSuccess53.399
8_cythonno_x86_64_2_64test_range_key_orderedSuccess53.299
8_cythonno_x86_64_2_64test_dense_cfSuccess55.585
8_cythonno_x86_64_2_64test_multi_in_compact_non_compositeSuccess56.938
8_cythonno_x86_64_2_64test_clustering_order_inSuccess59.552
8_cythonno_x86_64_2_64test_npe_composite_table_sliceSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1892: test not applicable to env.
0.001
8_cythonno_x86_64_2_64test_select_count_pagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4180: test not applicable to env.
0.000
8_cythonno_x86_64_2_64test_undefined_page_size_defaultSuccess74.528
8_cythonno_x86_64_2_64test_with_allow_filteringSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:395: test not applicable to env.
0.000
8_cythonno_x86_64_2_64test_paging_using_secondary_indexesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:610: test not applicable to env.
0.001
8_cythonno_x86_64_2_64test_cell_TTL_expiry_during_pagingSuccess102.373
8_cythonno_x86_64_2_64test_single_row_deletionsSuccess75.046
8_cythonno_x86_64_2_64test_10822Success64.462
8_cythonno_x86_64_2_64test_sstableloader_compression_deflate_to_snappySkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.737
8_cythonno_x86_64_2_64test_dense_supercolumnSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.534
8_cythonno_x86_64_2_64test_parallel_upgrade_with_internode_sslSuccess1004.190
8_cythonno_x86_64_2_64test_udtfix_in_sstableSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_udtfix_test.py:34: test not applicable to env.
0.009
8_cythonno_x86_64_30_64test_bootstrap_binary_disabledSkippedported to in-JVM from 2.2.13 >= 5.0.1

/home/cassandra/cassandra-dtest/conftest.py:526: ported to in-JVM from 2.2.13 >= 5.0.1
0.525
8_cythonno_x86_64_30_64test_multi_list_setSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2331: test not applicable to env.
0.000
8_cythonno_x86_64_30_64test_map_item_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4789: test not applicable to env.
0.000
8_cythonno_x86_64_30_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.165
8_cythonno_x86_64_30_64test_large_countSuccess77.342
8_cythonno_x86_64_30_64test_null_supportSuccess65.277
8_cythonno_x86_64_30_64test_clustering_order_and_functionsSuccess57.512
8_cythonno_x86_64_30_64test_static_cfSuccess66.792
8_cythonno_x86_64_30_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.175
8_cythonno_x86_64_30_64test_static_with_empty_clusteringSuccess59.805
8_cythonno_x86_64_30_64test_dateSuccess149.366
8_cythonno_x86_64_30_64test_static_columnsSuccess58.525
8_cythonno_x86_64_30_64test_batchSuccess120.918
8_cythonno_x86_64_30_64test_range_key_orderedSuccess61.139
8_cythonno_x86_64_30_64test_dense_cfSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:208: test not applicable to env.
0.000
8_cythonno_x86_64_30_64test_multi_in_compact_non_compositeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2566: test not applicable to env.
0.000
8_cythonno_x86_64_30_64test_clustering_order_inSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5098: test not applicable to env.
0.000
8_cythonno_x86_64_30_64test_npe_composite_table_sliceSuccess51.967
8_cythonno_x86_64_30_64test_select_count_pagingSuccess51.927
8_cythonno_x86_64_30_64test_undefined_column_handlingSuccess51.761
8_cythonno_x86_64_30_64test_collection_flushSuccess62.583
8_cythonno_x86_64_30_64test_simple_tuple_querySuccess52.480
8_cythonno_x86_64_30_64test_compact_metadataSuccess52.510
8_cythonno_x86_64_30_64test_invalid_string_literalsSkippedhttps://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
8_cythonno_x86_64_30_64test_refuse_in_with_indexesSuccess55.232
8_cythonno_x86_64_30_64test_in_with_desc_orderSuccess53.022
8_cythonno_x86_64_30_64test_range_query_2ndarySuccess55.968
8_cythonno_x86_64_30_64test_cas_simpleSuccess54.760
8_cythonno_x86_64_30_64test_select_key_inSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:485: test not applicable to env.
0.000
8_cythonno_x86_64_30_64test_end_of_component_as_end_keySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2860: test not applicable to env.
0.000
8_cythonno_x86_64_30_64test_select_list_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5290: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_30_64test_with_more_results_than_page_sizeSuccess52.763
8_cythonno_x86_64_30_64test_paging_across_multi_wide_rowsSuccess68.900
8_cythonno_x86_64_30_64test_paging_using_secondary_indexesSuccess55.294
8_cythonno_x86_64_30_64test_cell_TTL_expiry_during_pagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1041: test not applicable to env.
0.000
8_cythonno_x86_64_30_64test_single_row_deletionsSuccess60.955
8_cythonno_x86_64_30_64test_upgrade_with_indexSuccess31.296
8_cythonno_x86_64_30_64test_sstableloader_compression_snappy_to_deflateSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.292
8_cythonno_x86_64_30_64test_dense_supercolumnSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/thrift_upgrade_test.py:575: test not applicable to env.
0.000
8_cythonno_x86_64_30_64test_bootstrapSuccess388.289
8_cythonno_x86_64_31_64test_simple_bootstrap_mixed_versionsSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.503
8_cythonno_x86_64_31_64test_composite_index_collectionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2350: test not applicable to env.
0.001
8_cythonno_x86_64_31_64test_expanded_map_item_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4829: test not applicable to env.
0.000
8_cythonno_x86_64_31_64test_row_existenceSuccess68.482
8_cythonno_x86_64_31_64test_collection_indexingSuccess73.280
8_cythonno_x86_64_31_64test_nameless_indexSuccess67.203
8_cythonno_x86_64_31_64test_conditional_updateSuccess63.472
8_cythonno_x86_64_31_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.237
8_cythonno_x86_64_31_64test_composite_partition_key_validationSuccess69.621
8_cythonno_x86_64_31_64test_limit_compact_tableSuccess59.455
8_cythonno_x86_64_31_64test_range_sliceSuccess150.867
8_cythonno_x86_64_31_64test_static_columns_casSuccess60.446
8_cythonno_x86_64_31_64test_token_rangeSuccess124.257
8_cythonno_x86_64_31_64test_select_with_aliasSuccess61.207
8_cythonno_x86_64_31_64test_sparse_cfSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:266: test not applicable to env.
0.000
8_cythonno_x86_64_31_64test_large_clustering_inSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2590: test not applicable to env.
0.001
8_cythonno_x86_64_31_64test_end_of_component_uses_oecBoundSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5123: test not applicable to env.
0.000
8_cythonno_x86_64_31_64test_order_by_multikeySuccess51.525
8_cythonno_x86_64_31_64test_cas_and_ttlSuccess55.798
8_cythonno_x86_64_31_64test_range_tombstonesSuccess68.496
8_cythonno_x86_64_31_64test_select_distinctSuccess53.835
8_cythonno_x86_64_31_64test_limit_sparseSuccess55.526
8_cythonno_x86_64_31_64test_query_compact_tables_during_upgradeSuccess60.611
8_cythonno_x86_64_31_64test_negative_timestampSuccess53.810
8_cythonno_x86_64_31_64test_reversed_compactSuccess53.247
8_cythonno_x86_64_31_64test_in_order_by_without_selectingSuccess54.313
8_cythonno_x86_64_31_64test_setSuccess54.585
8_cythonno_x86_64_31_64test_internal_application_error_on_selectSuccess56.814
8_cythonno_x86_64_31_64test_exclusive_sliceSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:521: test not applicable to env.
0.000
8_cythonno_x86_64_31_64test_ticket_5230Skippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2896: test not applicable to env.
0.000
8_cythonno_x86_64_31_64test_select_map_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5318: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_31_64test_with_equal_results_to_page_sizeSuccess53.999
8_cythonno_x86_64_31_64test_paging_using_secondary_indexesSuccess62.291
8_cythonno_x86_64_31_64test_static_columns_pagingSuccess61.276
8_cythonno_x86_64_31_64test_query_isolationSuccess118.587
8_cythonno_x86_64_31_64test_single_cell_deletionsSuccess61.557
8_cythonno_x86_64_31_64test_upgrade_with_range_tombstonesSuccess31.602
8_cythonno_x86_64_31_64test_sstableloader_compression_deflate_to_noneSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.308
8_cythonno_x86_64_31_64test_dense_supercolumn_with_renamesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/thrift_upgrade_test.py:607: test not applicable to env.
0.000
8_cythonno_x86_64_31_64test_bootstrap_multidcSuccess490.228
8_cythonno_x86_64_32_64test__compatibility_flag_on_3014Success32.348
8_cythonno_x86_64_32_64test_truncate_clean_cacheSkippedhttps://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
8_cythonno_x86_64_32_64test_cas_and_list_indexSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4919: test not applicable to env.
0.000
8_cythonno_x86_64_32_64test_only_pkSuccess67.576
8_cythonno_x86_64_32_64test_map_keys_indexingSuccess60.608
8_cythonno_x86_64_32_64test_deletionSuccess70.382
8_cythonno_x86_64_32_64test_non_eq_conditional_updateSuccess60.629
8_cythonno_x86_64_32_64test_noncomposite_static_cfSuccess72.357
8_cythonno_x86_64_32_64test_multi_inSuccess61.149
8_cythonno_x86_64_32_64test_key_index_with_reverse_clusteringSuccess65.418
8_cythonno_x86_64_32_64test_composite_index_with_pkSuccess158.783
8_cythonno_x86_64_32_64test_static_columns_with_2iSuccess64.197
8_cythonno_x86_64_32_64test_timestamp_and_ttlSuccess140.549
8_cythonno_x86_64_32_64test_nonpure_function_collectionSuccess64.264
8_cythonno_x86_64_32_64test_limit_rangesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:306: test not applicable to env.
0.000
8_cythonno_x86_64_32_64test_timeuuidSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2630: test not applicable to env.
0.000
8_cythonno_x86_64_32_64test_SIM_assertion_errorSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5149: test not applicable to env.
0.000
8_cythonno_x86_64_32_64test_remove_range_sliceSuccess53.331
8_cythonno_x86_64_32_64test_tuple_notationSuccess53.259
8_cythonno_x86_64_32_64test_range_tombstones_compactionSuccess73.412
8_cythonno_x86_64_32_64test_select_distinct_with_deletionsSuccess55.544
8_cythonno_x86_64_32_64test_countersSuccess55.361
8_cythonno_x86_64_32_64test_clustering_indexingSuccess55.809
8_cythonno_x86_64_32_64test_select_map_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5231: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_32_64test_reversed_compact_multikeySuccess55.060
8_cythonno_x86_64_32_64test_cas_and_compactSuccess54.810
8_cythonno_x86_64_32_64test_mapSuccess56.308
8_cythonno_x86_64_32_64test_store_sets_with_if_not_existsSuccess56.102
8_cythonno_x86_64_32_64test_in_clause_wide_rowsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:558: test not applicable to env.
0.000
8_cythonno_x86_64_32_64test_conversion_functionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2919: test not applicable to env.
0.000
8_cythonno_x86_64_32_64test_select_set_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5347: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_32_64test_undefined_page_size_defaultSuccess60.298
8_cythonno_x86_64_32_64test_static_columns_pagingSuccess69.826
8_cythonno_x86_64_32_64test_paging_using_secondary_indexes_with_static_colsSuccess57.851
8_cythonno_x86_64_32_64test_query_isolationSuccess130.586
8_cythonno_x86_64_32_64test_multiple_cell_deletionsSuccess61.166
8_cythonno_x86_64_32_64test_upgrade_with_range_and_collection_tombstonesSuccess31.891
8_cythonno_x86_64_32_64test_sstableloader_compression_deflate_to_snappySkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.388
8_cythonno_x86_64_32_64test_sparse_supercolumn_with_renamesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/thrift_upgrade_test.py:645: test not applicable to env.
0.000
8_cythonno_x86_64_32_64test_parallel_upgradeSuccess268.373
8_cythonno_x86_64_33_64test__compatibility_flag_off_3014Success31.538
8_cythonno_x86_64_33_64test_range_with_deletesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2416: test not applicable to env.
0.000
8_cythonno_x86_64_33_64test_static_with_limitSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4946: test not applicable to env.
0.000
8_cythonno_x86_64_33_64test_no_clusteringSuccess65.090
8_cythonno_x86_64_33_64test_nan_infinitySuccess57.607
8_cythonno_x86_64_33_64test_countSuccess65.161
8_cythonno_x86_64_33_64test_conditional_deleteSuccess63.321
8_cythonno_x86_64_33_64test_dynamic_cfSuccess68.886
8_cythonno_x86_64_33_64test_multi_in_compactSuccess61.260
8_cythonno_x86_64_33_64test_invalid_custom_timestampSuccess61.366
8_cythonno_x86_64_33_64test_limit_bugsSuccess147.195
8_cythonno_x86_64_33_64test_static_columns_with_distinctSuccess64.998
8_cythonno_x86_64_33_64test_no_range_ghostSuccess128.566
8_cythonno_x86_64_33_64test_empty_inSuccess64.472
8_cythonno_x86_64_33_64test_limit_multigetSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:334: test not applicable to env.
0.000
8_cythonno_x86_64_33_64test_float_with_exponentSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2685: test not applicable to env.
0.000
8_cythonno_x86_64_33_64test_blobAs_functionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5183: test not applicable to env.
0.000
8_cythonno_x86_64_33_64test_indexes_compositeSuccess54.541
8_cythonno_x86_64_33_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.545
8_cythonno_x86_64_33_64test_delete_rowSuccess53.013
8_cythonno_x86_64_33_64test_function_with_nullSuccess53.522
8_cythonno_x86_64_33_64test_indexed_with_eqSuccess55.326
8_cythonno_x86_64_33_64test_edge_2i_on_complex_pkSuccess57.028
8_cythonno_x86_64_33_64test_select_set_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5259: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_33_64test_collection_and_regularSuccess53.012
8_cythonno_x86_64_33_64test_whole_list_conditionalSuccess56.499
8_cythonno_x86_64_33_64test_listSuccess55.244
8_cythonno_x86_64_33_64test_add_deletion_info_in_unsorted_columnSuccess55.750
8_cythonno_x86_64_33_64test_order_bySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:607: test not applicable to env.
0.000
8_cythonno_x86_64_33_64test_IN_clause_on_last_keySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2939: test not applicable to env.
0.000
8_cythonno_x86_64_33_64test_select_list_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5378: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_33_64test_with_no_resultsSuccess56.028
8_cythonno_x86_64_33_64test_paging_using_secondary_indexes_with_static_colsSuccess61.295
8_cythonno_x86_64_33_64test_basic_pagingSuccess55.257
8_cythonno_x86_64_33_64test_query_isolationSuccess125.221
8_cythonno_x86_64_33_64test_ttl_deletionsSuccess67.353
8_cythonno_x86_64_33_64test_upgrade_with_range_tombstone_eoc_0Skipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.596
8_cythonno_x86_64_33_64test_sstableloader_compression_deflate_to_deflateSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.551
8_cythonno_x86_64_33_64test_sparse_supercolumnSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/thrift_upgrade_test.py:686: test not applicable to env.
0.000
8_cythonno_x86_64_33_64test_rolling_upgradeSuccess403.330
8_cythonno_x86_64_34_64test_static_cfSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:44: test not applicable to env.
0.000
8_cythonno_x86_64_34_64test_collection_functionSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2442: test not applicable to env.
0.001
8_cythonno_x86_64_34_64test_static_with_empty_clusteringSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4975: test not applicable to env.
0.000
8_cythonno_x86_64_34_64test_dateSuccess68.949
8_cythonno_x86_64_34_64test_static_columnsSuccess58.781
8_cythonno_x86_64_34_64test_batchSuccess70.128
8_cythonno_x86_64_34_64test_range_key_orderedSuccess62.427
8_cythonno_x86_64_34_64test_dense_cfSuccess73.366
8_cythonno_x86_64_34_64test_multi_in_compact_non_compositeSuccess64.974
8_cythonno_x86_64_34_64test_clustering_order_inSuccess65.145
8_cythonno_x86_64_34_64test_npe_composite_table_sliceSuccess160.495
8_cythonno_x86_64_34_64test_select_count_pagingSuccess63.692
8_cythonno_x86_64_34_64test_undefined_column_handlingSuccess138.063
8_cythonno_x86_64_34_64test_collection_flushSuccess84.580
8_cythonno_x86_64_34_64test_simple_tuple_querySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:367: test not applicable to env.
0.000
8_cythonno_x86_64_34_64test_compact_metadataSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2704: test not applicable to env.
0.000
8_cythonno_x86_64_34_64test_invalid_string_literalsSkippedhttps://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
8_cythonno_x86_64_34_64test_refuse_in_with_indexesSuccess56.533
8_cythonno_x86_64_34_64test_in_with_desc_orderSuccess54.851
8_cythonno_x86_64_34_64test_range_query_2ndarySuccess56.800
8_cythonno_x86_64_34_64test_cas_simpleSuccess54.862
8_cythonno_x86_64_34_64test_select_key_inSuccess56.584
8_cythonno_x86_64_34_64test_end_of_component_as_end_keySuccess56.823
8_cythonno_x86_64_34_64test_select_list_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5290: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_34_64test_batch_and_listSuccess55.831
8_cythonno_x86_64_34_64test_list_item_conditionalSuccess57.026
8_cythonno_x86_64_34_64test_multi_collectionSuccess58.330
8_cythonno_x86_64_34_64test_column_name_validationSuccess58.319
8_cythonno_x86_64_34_64test_more_order_bySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:656: test not applicable to env.
0.000
8_cythonno_x86_64_34_64test_function_and_reverse_typeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2962: test not applicable to env.
0.000
8_cythonno_x86_64_34_64test_deleted_row_selectSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5405: test not applicable to env.
0.000
8_cythonno_x86_64_34_64test_with_less_results_than_page_sizeSuccess56.559
8_cythonno_x86_64_34_64test_basic_pagingSuccess63.237
8_cythonno_x86_64_34_64test_basic_compound_pagingSuccess58.851
8_cythonno_x86_64_34_64test_query_isolationSuccess133.939
8_cythonno_x86_64_34_64test_failure_threshold_deletionsSuccess67.872
8_cythonno_x86_64_34_64test_upgrade_with_range_tombstone_aeSuccess31.090
8_cythonno_x86_64_34_64test_sstableloader_with_mvSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.361
8_cythonno_x86_64_34_64test_dense_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.348
8_cythonno_x86_64_34_64test_parallel_upgrade_with_internode_sslSuccess284.684
8_cythonno_x86_64_35_64test_large_collection_errorsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:86: test not applicable to env.
0.000
8_cythonno_x86_64_35_64test_composite_partition_key_validationSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2458: test not applicable to env.
0.000
8_cythonno_x86_64_35_64test_limit_compact_tableSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5001: test not applicable to env.
0.000
8_cythonno_x86_64_35_64test_range_sliceSuccess63.301
8_cythonno_x86_64_35_64test_static_columns_casSuccess56.752
8_cythonno_x86_64_35_64test_token_rangeSuccess66.341
8_cythonno_x86_64_35_64test_select_with_aliasSuccess60.302
8_cythonno_x86_64_35_64test_sparse_cfSuccess70.025
8_cythonno_x86_64_35_64test_large_clustering_inSuccess61.573
8_cythonno_x86_64_35_64test_end_of_component_uses_oecBoundSuccess59.614
8_cythonno_x86_64_35_64test_order_by_multikeySuccess142.234
8_cythonno_x86_64_35_64test_cas_and_ttlSuccess63.127
8_cythonno_x86_64_35_64test_range_tombstonesSuccess132.772
8_cythonno_x86_64_35_64test_select_distinctSuccess63.909
8_cythonno_x86_64_35_64test_limit_sparseSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:389: test not applicable to env.
0.000
8_cythonno_x86_64_35_64test_query_compact_tables_during_upgradeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2725: test not applicable to env.
0.000
8_cythonno_x86_64_35_64test_negative_timestampSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5218: test not applicable to env.
0.000
8_cythonno_x86_64_35_64test_reversed_compactSuccess52.710
8_cythonno_x86_64_35_64test_in_order_by_without_selectingSuccess51.515
8_cythonno_x86_64_35_64test_setSuccess52.277
8_cythonno_x86_64_35_64test_internal_application_error_on_selectSuccess54.097
8_cythonno_x86_64_35_64test_exclusive_sliceSuccess54.025
8_cythonno_x86_64_35_64test_ticket_5230Success53.082
8_cythonno_x86_64_35_64test_select_map_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5318: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_35_64test_booleanSuccess53.507
8_cythonno_x86_64_35_64test_expanded_list_item_conditionalSuccess56.296
8_cythonno_x86_64_35_64test_range_querySuccess55.963
8_cythonno_x86_64_35_64test_user_typesSuccess55.730
8_cythonno_x86_64_35_64test_order_by_validationSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:723: test not applicable to env.
0.000
8_cythonno_x86_64_35_64test_NPE_during_select_with_tokenSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2980: test not applicable to env.
0.000
8_cythonno_x86_64_35_64test_secondary_index_querySkippedhttps://issues.apache.org/jira/browse/CASSANDRA-14961

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5427: https://issues.apache.org/jira/browse/CASSANDRA-14961
0.000
8_cythonno_x86_64_35_64test_with_more_results_than_page_sizeSuccess53.237
8_cythonno_x86_64_35_64test_basic_compound_pagingSuccess59.586
8_cythonno_x86_64_35_64test_paging_a_single_wide_rowSuccess64.005
8_cythonno_x86_64_35_64test_query_isolationSuccess123.042
8_cythonno_x86_64_35_64test_single_partition_deletionsSuccess59.778
8_cythonno_x86_64_35_64test_update_and_drop_columnSuccess111.468
8_cythonno_x86_64_35_64test_sstableloader_compression_none_to_noneSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.570
8_cythonno_x86_64_35_64test_dense_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.288
8_cythonno_x86_64_35_64test_rolling_upgrade_with_internode_sslSuccess400.265
8_cythonno_x86_64_36_64test_noncomposite_static_cfSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:121: test not applicable to env.
0.000
8_cythonno_x86_64_36_64test_multi_inSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2479: test not applicable to env.
0.000
8_cythonno_x86_64_36_64test_key_index_with_reverse_clusteringSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5034: test not applicable to env.
0.000
8_cythonno_x86_64_36_64test_composite_index_with_pkSuccess62.935
8_cythonno_x86_64_36_64test_static_columns_with_2iSuccess55.795
8_cythonno_x86_64_36_64test_timestamp_and_ttlSuccess108.395
8_cythonno_x86_64_36_64test_nonpure_function_collectionSuccess56.543
8_cythonno_x86_64_36_64test_limit_rangesSuccess61.891
8_cythonno_x86_64_36_64test_timeuuidFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f50e6338310>

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
57.483
8_cythonno_x86_64_36_64test_SIM_assertion_errorSuccess63.084
8_cythonno_x86_64_36_64test_remove_range_sliceSuccess138.828
8_cythonno_x86_64_36_64test_tuple_notationSuccess57.793
8_cythonno_x86_64_36_64test_range_tombstones_compactionSuccess144.335
8_cythonno_x86_64_36_64test_select_distinct_with_deletionsSuccess60.053
8_cythonno_x86_64_36_64test_countersSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:418: test not applicable to env.
0.001
8_cythonno_x86_64_36_64test_clustering_indexingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2775: test not applicable to env.
0.000
8_cythonno_x86_64_36_64test_select_map_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5231: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_36_64test_reversed_compact_multikeySuccess50.159
8_cythonno_x86_64_36_64test_cas_and_compactSuccess50.420
8_cythonno_x86_64_36_64test_mapSuccess52.009
8_cythonno_x86_64_36_64test_store_sets_with_if_not_existsSuccess53.152
8_cythonno_x86_64_36_64test_in_clause_wide_rowsFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f50e60deac0>

def test_in_clause_wide_rows(self):
""" Check IN support for 'wide rows' in SELECT statement """
cursor = self.prepare()

cursor.execute("""
CREATE TABLE test1 (
k int,
c int,
v int,
PRIMARY KEY (k, c)
) WITH COMPACT STORAGE;
""")

# composites
cursor.execute("""
CREATE TABLE test2 (
k int,
c1 int,
c2 int,
v int,
PRIMARY KEY (k, c1, c2)
) WITH COMPACT STORAGE;
""")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE test1")
cursor.execute("TRUNCATE test2")

# Inserts
for x in range(0, 10):
cursor.execute("INSERT INTO test1 (k, c, v) VALUES (0, %i, %i)" % (x, x))

assert_all(cursor, "SELECT v FROM test1 WHERE k = 0 AND c IN (5, 2, 8)", [[2], [5], [8]])

# Inserts
for x in range(0, 10):
cursor.execute("INSERT INTO test2 (k, c1, c2, v) VALUES (0, 0, {}, {})".format(x, x))

# Check first we don't allow IN everywhere
> if self.get_node_version(is_upgraded) >= '2.2':

upgrade_tests/cql_tests.py:598:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
47.537
8_cythonno_x86_64_36_64test_conversion_functionsSuccess52.928
8_cythonno_x86_64_36_64test_select_set_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5347: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_36_64test_multiorderingSuccess52.342
8_cythonno_x86_64_36_64test_whole_set_conditionalSuccess60.664
8_cythonno_x86_64_36_64test_composite_row_keySuccess56.135
8_cythonno_x86_64_36_64test_more_user_typesSuccess58.245
8_cythonno_x86_64_36_64test_order_by_with_inSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:750: test not applicable to env.
0.000
8_cythonno_x86_64_36_64test_empty_blobSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2994: test not applicable to env.
0.000
8_cythonno_x86_64_36_64test_tracing_prevents_startup_after_upgradingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5484: test not applicable to env.
0.001
8_cythonno_x86_64_36_64test_with_equal_results_to_page_sizeSuccess56.901
8_cythonno_x86_64_36_64test_paging_a_single_wide_rowSuccess84.355
8_cythonno_x86_64_36_64test_paging_across_multi_wide_rowsSuccess73.552
8_cythonno_x86_64_36_64test_query_isolationSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1114: test not applicable to env.
0.000
8_cythonno_x86_64_36_64test_multiple_partition_deletionsSuccess59.918
8_cythonno_x86_64_36_64test_upgrade_with_clustered_CQL_tableSuccess126.744
8_cythonno_x86_64_36_64test_sstableloader_compression_none_to_snappySkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.798
8_cythonno_x86_64_36_64test_sparse_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.421
8_cythonno_x86_64_36_64test_bootstrapSuccess438.204
8_cythonno_x86_64_37_64test_dynamic_cfSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:170: test not applicable to env.
0.000
8_cythonno_x86_64_37_64test_multi_in_compactSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2483: test not applicable to env.
0.000
8_cythonno_x86_64_37_64test_invalid_custom_timestampSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5066: test not applicable to env.
0.000
8_cythonno_x86_64_37_64test_limit_bugsSuccess64.036
8_cythonno_x86_64_37_64test_static_columns_with_distinctSuccess61.331
8_cythonno_x86_64_37_64test_no_range_ghostSuccess67.062
8_cythonno_x86_64_37_64test_empty_inSuccess58.812
8_cythonno_x86_64_37_64test_limit_multigetFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f1243013e20>

def test_limit_multiget(self):
""" Validate LIMIT option for 'multiget' in SELECT statements """
cursor = self.prepare()

cursor.execute("""
CREATE TABLE clicks (
userid int,
url text,
time bigint,
PRIMARY KEY (userid, url)
) WITH COMPACT STORAGE;
""")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE clicks")

# Inserts
for id in range(0, 100):
for tld in ['com', 'org', 'net']:
cursor.execute("INSERT INTO clicks (userid, url, time) VALUES ({}, 'http://foo.{}', 42)".format(id, tld))

# Check that we do limit the output to 1 *and* that we respect query
# order of keys (even though 48 is after 2) prior to 2.1.17

> if self.get_node_version(is_upgraded) >= '2.1.17':

upgrade_tests/cql_tests.py:359:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
68.741
8_cythonno_x86_64_37_64test_float_with_exponentSuccess57.753
8_cythonno_x86_64_37_64test_blobAs_functionsSuccess58.799
8_cythonno_x86_64_37_64test_indexes_compositeSuccess148.203
8_cythonno_x86_64_37_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.246
8_cythonno_x86_64_37_64test_delete_rowSuccess121.503
8_cythonno_x86_64_37_64test_function_with_nullSuccess61.976
8_cythonno_x86_64_37_64test_indexed_with_eqSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:456: test not applicable to env.
0.000
8_cythonno_x86_64_37_64test_edge_2i_on_complex_pkSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2821: test not applicable to env.
0.000
8_cythonno_x86_64_37_64test_select_set_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5259: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_37_64test_collection_and_regularSuccess51.280
8_cythonno_x86_64_37_64test_whole_list_conditionalSuccess54.280
8_cythonno_x86_64_37_64test_listSuccess52.346
8_cythonno_x86_64_37_64test_add_deletion_info_in_unsorted_columnSuccess53.207
8_cythonno_x86_64_37_64test_order_bySuccess52.796
8_cythonno_x86_64_37_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.298
8_cythonno_x86_64_37_64test_select_list_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5378: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_37_64test_returned_nullSuccess53.065
8_cythonno_x86_64_37_64test_whole_map_conditionalSuccess56.440
8_cythonno_x86_64_37_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.297
8_cythonno_x86_64_37_64test_intersection_logic_returns_empty_resultSuccess66.214
8_cythonno_x86_64_37_64test_reversed_comparatorSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:784: test not applicable to env.
0.000
8_cythonno_x86_64_37_64test_renameSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3006: test not applicable to env.
0.000
8_cythonno_x86_64_37_64test_materialized_view_simpleSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5506: test not applicable to env.
0.000
8_cythonno_x86_64_37_64test_undefined_page_size_defaultSuccess58.448
8_cythonno_x86_64_37_64test_paging_across_multi_wide_rowsSuccess72.120
8_cythonno_x86_64_37_64test_paging_using_secondary_indexesSuccess57.541
8_cythonno_x86_64_37_64test_query_isolationSuccess102.872
8_cythonno_x86_64_37_64test_single_row_deletionsSuccess63.797
8_cythonno_x86_64_37_64test_upgrade_with_clustered_compact_tableSuccess112.081
8_cythonno_x86_64_37_64test_sstableloader_compression_none_to_deflateSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.550
8_cythonno_x86_64_37_64test_sparse_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.295
8_cythonno_x86_64_37_64test_bootstrap_multidcSuccess483.114
8_cythonno_x86_64_38_64test_dense_cfSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:208: test not applicable to env.
0.001
8_cythonno_x86_64_38_64test_multi_in_compact_non_compositeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2566: test not applicable to env.
0.000
8_cythonno_x86_64_38_64test_clustering_order_inSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5098: test not applicable to env.
0.000
8_cythonno_x86_64_38_64test_npe_composite_table_sliceSuccess74.078
8_cythonno_x86_64_38_64test_select_count_pagingSuccess72.393
8_cythonno_x86_64_38_64test_undefined_column_handlingSuccess77.713
8_cythonno_x86_64_38_64test_collection_flushSuccess100.084
8_cythonno_x86_64_38_64test_simple_tuple_querySuccess85.952
8_cythonno_x86_64_38_64test_compact_metadataSuccess64.975
8_cythonno_x86_64_38_64test_invalid_string_literalsSkippedhttps://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
8_cythonno_x86_64_38_64test_refuse_in_with_indexesSuccess164.957
8_cythonno_x86_64_38_64test_in_with_desc_orderSuccess61.454
8_cythonno_x86_64_38_64test_range_query_2ndarySuccess137.642
8_cythonno_x86_64_38_64test_cas_simpleSuccess64.773
8_cythonno_x86_64_38_64test_select_key_inSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:485: test not applicable to env.
0.000
8_cythonno_x86_64_38_64test_end_of_component_as_end_keySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2860: test not applicable to env.
0.000
8_cythonno_x86_64_38_64test_select_list_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5290: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_38_64test_batch_and_listSuccess53.369
8_cythonno_x86_64_38_64test_list_item_conditionalSuccess54.111
8_cythonno_x86_64_38_64test_multi_collectionSuccess54.802
8_cythonno_x86_64_38_64test_column_name_validationSuccess54.396
8_cythonno_x86_64_38_64test_more_order_bySuccess56.367
8_cythonno_x86_64_38_64test_function_and_reverse_typeSuccess55.802
8_cythonno_x86_64_38_64test_deleted_row_selectSuccess62.377
8_cythonno_x86_64_38_64test_multi_list_setSuccess53.823
8_cythonno_x86_64_38_64test_map_item_conditionalSuccess57.353
8_cythonno_x86_64_38_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.599
8_cythonno_x86_64_38_64test_large_countSuccess71.501
8_cythonno_x86_64_38_64test_null_supportSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:835: test not applicable to env.
0.000
8_cythonno_x86_64_38_64test_clustering_order_and_functionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3038: test not applicable to env.
0.000
8_cythonno_x86_64_38_64test_drop_compact_storageSkipped5.0.1 > 3.11

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.11
0.344
8_cythonno_x86_64_38_64test_with_no_resultsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:47: test not applicable to env.
0.000
8_cythonno_x86_64_38_64test_paging_using_secondary_indexesSuccess67.639
8_cythonno_x86_64_38_64test_static_columns_pagingSuccess65.137
8_cythonno_x86_64_38_64test_query_isolationSuccess114.349
8_cythonno_x86_64_38_64test_single_cell_deletionsSuccess66.384
8_cythonno_x86_64_38_64test_upgrade_with_unclustered_CQL_tableSuccess112.863
8_cythonno_x86_64_38_64test_sstableloader_compression_snappy_to_noneSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.351
8_cythonno_x86_64_38_64test_dense_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.335
8_cythonno_x86_64_38_64test_parallel_upgradeSuccess266.542
8_cythonno_x86_64_39_64test_sparse_cfSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:266: test not applicable to env.
0.000
8_cythonno_x86_64_39_64test_large_clustering_inSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2590: test not applicable to env.
0.000
8_cythonno_x86_64_39_64test_end_of_component_uses_oecBoundSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5123: test not applicable to env.
0.000
8_cythonno_x86_64_39_64test_order_by_multikeySuccess58.969
8_cythonno_x86_64_39_64test_cas_and_ttlSuccess58.992
8_cythonno_x86_64_39_64test_range_tombstonesSuccess69.245
8_cythonno_x86_64_39_64test_select_distinctSuccess60.363
8_cythonno_x86_64_39_64test_limit_sparseSuccess67.014
8_cythonno_x86_64_39_64test_query_compact_tables_during_upgradeSuccess82.360
8_cythonno_x86_64_39_64test_negative_timestampSuccess72.228
8_cythonno_x86_64_39_64test_reversed_compactSuccess156.743
8_cythonno_x86_64_39_64test_in_order_by_without_selectingSuccess62.676
8_cythonno_x86_64_39_64test_setSuccess136.263
8_cythonno_x86_64_39_64test_internal_application_error_on_selectSuccess68.481
8_cythonno_x86_64_39_64test_exclusive_sliceSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:521: test not applicable to env.
0.000
8_cythonno_x86_64_39_64test_ticket_5230Skippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2896: test not applicable to env.
0.000
8_cythonno_x86_64_39_64test_select_map_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5318: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_39_64test_booleanSuccess54.517
8_cythonno_x86_64_39_64test_expanded_list_item_conditionalSuccess63.311
8_cythonno_x86_64_39_64test_range_querySuccess65.124
8_cythonno_x86_64_39_64test_user_typesSuccess56.460
8_cythonno_x86_64_39_64test_order_by_validationSuccess54.728
8_cythonno_x86_64_39_64test_NPE_during_select_with_tokenSuccess53.616
8_cythonno_x86_64_39_64test_secondary_index_querySkippedhttps://issues.apache.org/jira/browse/CASSANDRA-14961

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5427: https://issues.apache.org/jira/browse/CASSANDRA-14961
0.000
8_cythonno_x86_64_39_64test_composite_index_collectionsSuccess52.863
8_cythonno_x86_64_39_64test_expanded_map_item_conditionalSuccess57.622
8_cythonno_x86_64_39_64test_row_existenceSuccess53.993
8_cythonno_x86_64_39_64test_collection_indexingSuccess63.320
8_cythonno_x86_64_39_64test_nameless_indexSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:868: test not applicable to env.
0.001
8_cythonno_x86_64_39_64test_conditional_updateSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3062: test not applicable to env.
0.000
8_cythonno_x86_64_39_64test_drop_compact_storage_mixed_clusterSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.646
8_cythonno_x86_64_39_64test_with_less_results_than_page_sizeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:67: test not applicable to env.
0.000
8_cythonno_x86_64_39_64test_static_columns_pagingSuccess69.386
8_cythonno_x86_64_39_64test_paging_using_secondary_indexes_with_static_colsSuccess57.933
8_cythonno_x86_64_39_64test_query_isolationSuccess110.277
8_cythonno_x86_64_39_64test_multiple_cell_deletionsSuccess59.988
8_cythonno_x86_64_39_64test_upgrade_with_unclustered_compact_tableSuccess108.095
8_cythonno_x86_64_39_64test_sstableloader_compression_snappy_to_snappySkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.587
8_cythonno_x86_64_39_64test_dense_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.362
8_cythonno_x86_64_39_64test_rolling_upgradeSuccess406.357
8_cythonno_x86_64_3_64test_upgrade_to_30Skipped5.0.1 > 3.0.X

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.0.X
0.908
8_cythonno_x86_64_3_64test_setSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1297: test not applicable to env.
0.000
8_cythonno_x86_64_3_64test_internal_application_error_on_selectSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3480: test not applicable to env.
0.000
8_cythonno_x86_64_3_64test_exclusive_sliceSuccess57.495
8_cythonno_x86_64_3_64test_ticket_5230Success55.702
8_cythonno_x86_64_3_64test_select_map_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5318: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_3_64test_booleanSuccess59.084
8_cythonno_x86_64_3_64test_expanded_list_item_conditionalSuccess62.752
8_cythonno_x86_64_3_64test_range_querySuccess60.731
8_cythonno_x86_64_3_64test_user_typesSuccess60.834
8_cythonno_x86_64_3_64test_order_by_validationSuccess139.300
8_cythonno_x86_64_3_64test_NPE_during_select_with_tokenSuccess56.421
8_cythonno_x86_64_3_64test_secondary_index_querySkippedhttps://issues.apache.org/jira/browse/CASSANDRA-14961

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5427: https://issues.apache.org/jira/browse/CASSANDRA-14961
0.000
8_cythonno_x86_64_3_64test_composite_index_collectionsSuccess122.268
8_cythonno_x86_64_3_64test_expanded_map_item_conditionalSuccess65.626
8_cythonno_x86_64_3_64test_row_existenceSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1629: test not applicable to env.
0.001
8_cythonno_x86_64_3_64test_collection_indexingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3733: test not applicable to env.
0.000
8_cythonno_x86_64_3_64test_nameless_indexSuccess51.117
8_cythonno_x86_64_3_64test_conditional_updateSuccess50.439
8_cythonno_x86_64_3_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.602
8_cythonno_x86_64_3_64test_composite_partition_key_validationSuccess51.807
8_cythonno_x86_64_3_64test_limit_compact_tableSuccess52.668
8_cythonno_x86_64_3_64test_range_sliceSuccess52.340
8_cythonno_x86_64_3_64test_static_columns_casFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f88060fc8e0>

@since('2.1')
def test_static_columns_cas(self):
""""
@jira_ticket CASSANDRA-6839
@jira_ticket CASSANDRA-6561
"""

cursor = self.prepare()

cursor.execute("""
CREATE TABLE test (
id int,
k text,
version int static,
v text,
PRIMARY KEY (id, k)
)
""")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE test")

# Test that INSERT IF NOT EXISTS concerns only the static column if no clustering nor regular columns
# is provided, but concerns the CQL3 row targetted by the clustering columns otherwise
assert_one(cursor, "INSERT INTO test(id, k, v) VALUES (1, 'foo', 'foo') IF NOT EXISTS", [True])
assert_one(cursor, "INSERT INTO test(id, k, version) VALUES (1, 'foo', 1) IF NOT EXISTS", [False, 1, 'foo', None, 'foo'])
assert_one(cursor, "INSERT INTO test(id, version) VALUES (1, 1) IF NOT EXISTS", [True])
assert_one(cursor, "SELECT * FROM test", [1, 'foo', 1, 'foo'], ConsistencyLevel.SERIAL)

# Dodgy as its not conditional, but this is not allowed with a condition and that's probably fine in practice so go with it
cursor.execute("DELETE FROM test WHERE id = 1")

assert_one(cursor, "INSERT INTO test(id, version) VALUES (0, 0) IF NOT EXISTS", [True])

assert_one(cursor, "UPDATE test SET v='foo', version=1 WHERE id=0 AND k='k1' IF version = 0", [True])
assert_all(cursor, "SELECT * FROM test", [[0, 'k1', 1, 'foo']], ConsistencyLevel.SERIAL)

assert_one(cursor, "UPDATE test SET v='bar', version=1 WHERE id=0 AND k='k2' IF version = 0", [False, 1])
assert_all(cursor, "SELECT * FROM test", [[0, 'k1', 1, 'foo']], ConsistencyLevel.SERIAL)

assert_one(cursor, "UPDATE test SET v='bar', version=2 WHERE id=0 AND k='k2' IF version = 1", [True])
assert_all(cursor, "SELECT * FROM test", [[0, 'k1', 2, 'foo'], [0, 'k2', 2, 'bar']], ConsistencyLevel.SERIAL)

# CASSANDRA-12694 (committed in 3.0.11 and 3.10) changes the behavior below slightly.
> version = self.get_node_version(is_upgraded)

upgrade_tests/cql_tests.py:3954:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
47.104
8_cythonno_x86_64_3_64test_token_rangeSuccess52.280
8_cythonno_x86_64_3_64test_select_with_aliasSuccess51.449
8_cythonno_x86_64_3_64test_sparse_cfSuccess53.007
8_cythonno_x86_64_3_64test_large_clustering_inSuccess55.172
8_cythonno_x86_64_3_64test_end_of_component_uses_oecBoundSuccess53.432
8_cythonno_x86_64_3_64test_order_by_multikeySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1922: test not applicable to env.
0.000
8_cythonno_x86_64_3_64test_cas_and_ttlSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4204: test not applicable to env.
0.000
8_cythonno_x86_64_3_64test_with_no_resultsSuccess60.044
8_cythonno_x86_64_3_64test_with_order_bySuccess51.189
8_cythonno_x86_64_3_64test_static_columns_pagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:650: test not applicable to env.
0.001
8_cythonno_x86_64_3_64test_data_change_impacting_earlier_pageSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:923: test not applicable to env.
0.000
8_cythonno_x86_64_3_64test_single_cell_deletionsSuccess65.459
8_cythonno_x86_64_3_64test13294Success87.276
8_cythonno_x86_64_3_64test_sstableloader_compression_deflate_to_deflateSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.577
8_cythonno_x86_64_3_64test_sparse_supercolumnSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.361
8_cythonno_x86_64_3_64test_rolling_upgrade_with_internode_sslSuccess1177.783
8_cythonno_x86_64_3_64test_udtfix_in_messagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_udtfix_test.py:61: test not applicable to env.
0.004
8_cythonno_x86_64_40_64test_limit_rangesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:306: test not applicable to env.
0.001
8_cythonno_x86_64_40_64test_timeuuidSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2630: test not applicable to env.
0.000
8_cythonno_x86_64_40_64test_SIM_assertion_errorSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5149: test not applicable to env.
0.000
8_cythonno_x86_64_40_64test_remove_range_sliceSuccess59.901
8_cythonno_x86_64_40_64test_tuple_notationSuccess68.417
8_cythonno_x86_64_40_64test_range_tombstones_compactionSuccess95.680
8_cythonno_x86_64_40_64test_select_distinct_with_deletionsSuccess66.213
8_cythonno_x86_64_40_64test_countersSuccess68.074
8_cythonno_x86_64_40_64test_clustering_indexingSuccess66.339
8_cythonno_x86_64_40_64test_select_map_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5231: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_40_64test_reversed_compact_multikeySuccess180.407
8_cythonno_x86_64_40_64test_cas_and_compactSuccess59.025
8_cythonno_x86_64_40_64test_mapSuccess164.478
8_cythonno_x86_64_40_64test_store_sets_with_if_not_existsSuccess60.176
8_cythonno_x86_64_40_64test_in_clause_wide_rowsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:558: test not applicable to env.
0.000
8_cythonno_x86_64_40_64test_conversion_functionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2919: test not applicable to env.
0.000
8_cythonno_x86_64_40_64test_select_set_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5347: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_40_64test_multiorderingSuccess50.819
8_cythonno_x86_64_40_64test_whole_set_conditionalSuccess54.177
8_cythonno_x86_64_40_64test_composite_row_keySuccess51.859
8_cythonno_x86_64_40_64test_more_user_typesSuccess52.371
8_cythonno_x86_64_40_64test_order_by_with_inSuccess52.059
8_cythonno_x86_64_40_64test_empty_blobSuccess52.600
8_cythonno_x86_64_40_64test_tracing_prevents_startup_after_upgradingSuccess58.684
8_cythonno_x86_64_40_64test_truncate_clean_cacheSkippedhttps://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
8_cythonno_x86_64_40_64test_cas_and_list_indexSuccess52.539
8_cythonno_x86_64_40_64test_only_pkSuccess55.645
8_cythonno_x86_64_40_64test_map_keys_indexingSuccess56.354
8_cythonno_x86_64_40_64test_deletionSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:891: test not applicable to env.
0.000
8_cythonno_x86_64_40_64test_non_eq_conditional_updateSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3136: test not applicable to env.
0.000
8_cythonno_x86_64_40_64test_single_partition_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1259: test not applicable to env.
0.000
8_cythonno_x86_64_40_64test_with_more_results_than_page_sizeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:94: test not applicable to env.
0.000
8_cythonno_x86_64_40_64test_paging_using_secondary_indexes_with_static_colsSuccess62.254
8_cythonno_x86_64_40_64test_basic_pagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:447: test not applicable to env.
0.000
8_cythonno_x86_64_40_64test_query_isolationSuccess107.151
8_cythonno_x86_64_40_64test_ttl_deletionsSuccess65.172
8_cythonno_x86_64_40_64test_upgrade_with_staticsSuccess108.046
8_cythonno_x86_64_40_64test_sstableloader_compression_snappy_to_deflateSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.327
8_cythonno_x86_64_40_64test_sparse_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.336
8_cythonno_x86_64_40_64test_parallel_upgrade_with_internode_sslSuccess255.220
8_cythonno_x86_64_41_64test_limit_multigetSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:334: test not applicable to env.
0.000
8_cythonno_x86_64_41_64test_float_with_exponentSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2685: test not applicable to env.
0.000
8_cythonno_x86_64_41_64test_blobAs_functionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5183: test not applicable to env.
0.000
8_cythonno_x86_64_41_64test_indexes_compositeSuccess68.595
8_cythonno_x86_64_41_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.213
8_cythonno_x86_64_41_64test_delete_rowSuccess69.587
8_cythonno_x86_64_41_64test_function_with_nullSuccess60.837
8_cythonno_x86_64_41_64test_indexed_with_eqSuccess75.275
8_cythonno_x86_64_41_64test_edge_2i_on_complex_pkSuccess68.180
8_cythonno_x86_64_41_64test_select_set_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5259: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_41_64test_collection_and_regularSuccess161.500
8_cythonno_x86_64_41_64test_whole_list_conditionalSuccess68.195
8_cythonno_x86_64_41_64test_listSuccess138.306
8_cythonno_x86_64_41_64test_add_deletion_info_in_unsorted_columnSuccess63.870
8_cythonno_x86_64_41_64test_order_bySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:607: test not applicable to env.
0.000
8_cythonno_x86_64_41_64test_IN_clause_on_last_keySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2939: test not applicable to env.
0.000
8_cythonno_x86_64_41_64test_select_list_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5378: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_41_64test_returned_nullSuccess54.373
8_cythonno_x86_64_41_64test_whole_map_conditionalSuccess56.406
8_cythonno_x86_64_41_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.347
8_cythonno_x86_64_41_64test_intersection_logic_returns_empty_resultSuccess68.399
8_cythonno_x86_64_41_64test_reversed_comparatorSuccess56.633
8_cythonno_x86_64_41_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.352
8_cythonno_x86_64_41_64test_materialized_view_simpleSuccess58.353
8_cythonno_x86_64_41_64test_range_with_deletesSuccess55.147
8_cythonno_x86_64_41_64test_static_with_limitSuccess56.841
8_cythonno_x86_64_41_64test_no_clusteringSuccess56.096
8_cythonno_x86_64_41_64test_nan_infinitySuccess56.120
8_cythonno_x86_64_41_64test_countSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:948: test not applicable to env.
0.000
8_cythonno_x86_64_41_64test_conditional_deleteSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3165: test not applicable to env.
0.000
8_cythonno_x86_64_41_64test_multiple_partition_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1305: test not applicable to env.
0.000
8_cythonno_x86_64_41_64test_with_equal_results_to_page_sizeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:128: test not applicable to env.
0.000
8_cythonno_x86_64_41_64test_basic_pagingSuccess64.261
8_cythonno_x86_64_41_64test_basic_compound_pagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:499: test not applicable to env.
0.000
8_cythonno_x86_64_41_64test_query_isolationSuccess121.123
8_cythonno_x86_64_41_64test_failure_threshold_deletionsSuccess67.380
8_cythonno_x86_64_41_64test_upgrade_with_wide_partition_and_staticsSuccess113.487
8_cythonno_x86_64_41_64test_sstableloader_compression_deflate_to_noneSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.359
8_cythonno_x86_64_41_64test_sparse_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.345
8_cythonno_x86_64_41_64test_rolling_upgrade_with_internode_sslSuccess411.026
8_cythonno_x86_64_42_64test_simple_tuple_querySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:367: test not applicable to env.
0.001
8_cythonno_x86_64_42_64test_compact_metadataSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2704: test not applicable to env.
0.000
8_cythonno_x86_64_42_64test_invalid_string_literalsSkippedhttps://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
8_cythonno_x86_64_42_64test_refuse_in_with_indexesSuccess69.316
8_cythonno_x86_64_42_64test_in_with_desc_orderSuccess59.398
8_cythonno_x86_64_42_64test_range_query_2ndarySuccess71.162
8_cythonno_x86_64_42_64test_cas_simpleSuccess62.589
8_cythonno_x86_64_42_64test_select_key_inSuccess75.629
8_cythonno_x86_64_42_64test_end_of_component_as_end_keySuccess65.492
8_cythonno_x86_64_42_64test_select_list_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5290: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_42_64test_batch_and_listSuccess162.493
8_cythonno_x86_64_42_64test_list_item_conditionalSuccess64.040
8_cythonno_x86_64_42_64test_multi_collectionSuccess137.103
8_cythonno_x86_64_42_64test_column_name_validationSuccess64.235
8_cythonno_x86_64_42_64test_more_order_bySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:656: test not applicable to env.
0.000
8_cythonno_x86_64_42_64test_function_and_reverse_typeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2962: test not applicable to env.
0.000
8_cythonno_x86_64_42_64test_deleted_row_selectSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5405: test not applicable to env.
0.000
8_cythonno_x86_64_42_64test_multi_list_setSuccess54.380
8_cythonno_x86_64_42_64test_map_item_conditionalSuccess54.329
8_cythonno_x86_64_42_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.606
8_cythonno_x86_64_42_64test_large_countSuccess70.345
8_cythonno_x86_64_42_64test_null_supportSuccess55.542
8_cythonno_x86_64_42_64test_clustering_order_and_functionsFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f580c081700>

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
49.650
8_cythonno_x86_64_42_64test_static_cfSuccess56.080
8_cythonno_x86_64_42_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.616
8_cythonno_x86_64_42_64test_static_with_empty_clusteringSuccess56.614
8_cythonno_x86_64_42_64test_dateSuccess57.584
8_cythonno_x86_64_42_64test_static_columnsSuccess56.603
8_cythonno_x86_64_42_64test_batchSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:979: test not applicable to env.
0.000
8_cythonno_x86_64_42_64test_range_key_orderedSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3223: test not applicable to env.
0.000
8_cythonno_x86_64_42_64test_single_row_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1324: test not applicable to env.
0.000
8_cythonno_x86_64_42_64test_undefined_page_size_defaultSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:158: test not applicable to env.
0.000
8_cythonno_x86_64_42_64test_basic_compound_pagingSuccess64.772
8_cythonno_x86_64_42_64test_paging_a_single_wide_rowSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:550: test not applicable to env.
0.000
8_cythonno_x86_64_42_64test_query_isolationSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1114: test not applicable to env.
0.000
8_cythonno_x86_64_42_64test_single_partition_deletionsSuccess61.826
8_cythonno_x86_64_42_64test_upgrade_with_wide_partitionSuccess118.764
8_cythonno_x86_64_42_64test_sstableloader_compression_deflate_to_snappySkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.360
8_cythonno_x86_64_42_64test_dense_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.349
8_cythonno_x86_64_42_64test_bootstrapSuccess421.585
8_cythonno_x86_64_43_64test_limit_sparseSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:389: test not applicable to env.
0.000
8_cythonno_x86_64_43_64test_query_compact_tables_during_upgradeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2725: test not applicable to env.
0.000
8_cythonno_x86_64_43_64test_negative_timestampSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5218: test not applicable to env.
0.000
8_cythonno_x86_64_43_64test_reversed_compactSuccess60.517
8_cythonno_x86_64_43_64test_in_order_by_without_selectingSuccess57.509
8_cythonno_x86_64_43_64test_setSuccess60.825
8_cythonno_x86_64_43_64test_internal_application_error_on_selectSuccess59.012
8_cythonno_x86_64_43_64test_exclusive_sliceSuccess63.494
8_cythonno_x86_64_43_64test_ticket_5230Success59.474
8_cythonno_x86_64_43_64test_select_map_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5318: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_43_64test_booleanSuccess147.374
8_cythonno_x86_64_43_64test_expanded_list_item_conditionalSuccess63.211
8_cythonno_x86_64_43_64test_range_querySuccess123.561
8_cythonno_x86_64_43_64test_user_typesSuccess61.991
8_cythonno_x86_64_43_64test_order_by_validationSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:723: test not applicable to env.
0.000
8_cythonno_x86_64_43_64test_NPE_during_select_with_tokenSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2980: test not applicable to env.
0.000
8_cythonno_x86_64_43_64test_secondary_index_querySkippedhttps://issues.apache.org/jira/browse/CASSANDRA-14961

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5427: https://issues.apache.org/jira/browse/CASSANDRA-14961
0.000
8_cythonno_x86_64_43_64test_composite_index_collectionsSuccess50.131
8_cythonno_x86_64_43_64test_expanded_map_item_conditionalSuccess53.127
8_cythonno_x86_64_43_64test_row_existenceSuccess51.891
8_cythonno_x86_64_43_64test_collection_indexingSuccess60.425
8_cythonno_x86_64_43_64test_nameless_indexSuccess52.710
8_cythonno_x86_64_43_64test_conditional_updateFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f0300d8e9a0>

def test_conditional_update(self):
cursor = self.prepare()

cursor.execute("""
CREATE TABLE test (
k int PRIMARY KEY,
v1 int,
v2 text,
v3 int
)
""")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE test")

# Shouldn't apply
assert_one(cursor, "UPDATE test SET v1 = 3, v2 = 'bar' WHERE k = 0 IF v1 = 4", [False])
assert_one(cursor, "UPDATE test SET v1 = 3, v2 = 'bar' WHERE k = 0 IF EXISTS", [False])

# Should apply
assert_one(cursor, "INSERT INTO test (k, v1, v2) VALUES (0, 2, 'foo') IF NOT EXISTS", [True])

# Shouldn't apply
assert_one(cursor, "INSERT INTO test (k, v1, v2) VALUES (0, 5, 'bar') IF NOT EXISTS", [False, 0, 2, 'foo', None])
assert_one(cursor, "SELECT * FROM test", [0, 2, 'foo', None], cl=ConsistencyLevel.SERIAL)

# Should not apply
assert_one(cursor, "UPDATE test SET v1 = 3, v2 = 'bar' WHERE k = 0 IF v1 = 4", [False, 2])
assert_one(cursor, "SELECT * FROM test", [0, 2, 'foo', None], cl=ConsistencyLevel.SERIAL)

# Should apply (note: we want v2 before v1 in the statement order to exercise #5786)
assert_one(cursor, "UPDATE test SET v2 = 'bar', v1 = 3 WHERE k = 0 IF v1 = 2", [True])
assert_one(cursor, "UPDATE test SET v2 = 'bar', v1 = 3 WHERE k = 0 IF EXISTS", [True])
assert_one(cursor, "SELECT * FROM test", [0, 3, 'bar', None], cl=ConsistencyLevel.SERIAL)

# Shouldn't apply, only one condition is ok
assert_one(cursor, "UPDATE test SET v1 = 5, v2 = 'foobar' WHERE k = 0 IF v1 = 3 AND v2 = 'foo'", [False, 3, 'bar'])
assert_one(cursor, "SELECT * FROM test", [0, 3, 'bar', None], cl=ConsistencyLevel.SERIAL)

# Should apply
assert_one(cursor, "UPDATE test SET v1 = 5, v2 = 'foobar' WHERE k = 0 IF v1 = 3 AND v2 = 'bar'", [True])
assert_one(cursor, "SELECT * FROM test", [0, 5, 'foobar', None], cl=ConsistencyLevel.SERIAL)

# Shouldn't apply
assert_one(cursor, "DELETE v2 FROM test WHERE k = 0 IF v1 = 3", [False, 5])
assert_one(cursor, "SELECT * FROM test", [0, 5, 'foobar', None], cl=ConsistencyLevel.SERIAL)

# Shouldn't apply
assert_one(cursor, "DELETE v2 FROM test WHERE k = 0 IF v1 = null", [False, 5])
assert_one(cursor, "SELECT * FROM test", [0, 5, 'foobar', None], cl=ConsistencyLevel.SERIAL)

# Should apply
assert_one(cursor, "DELETE v2 FROM test WHERE k = 0 IF v1 = 5", [True])
assert_one(cursor, "SELECT * FROM test", [0, 5, None, None], cl=ConsistencyLevel.SERIAL)

# Shouln't apply
assert_one(cursor, "DELETE v1 FROM test WHERE k = 0 IF v3 = 4", [False, None])

# Should apply
assert_one(cursor, "DELETE v1 FROM test WHERE k = 0 IF v3 = null", [True])
assert_one(cursor, "SELECT * FROM test", [0, None, None, None], cl=ConsistencyLevel.SERIAL)

# Should apply
assert_one(cursor, "DELETE FROM test WHERE k = 0 IF v1 = null", [True])
assert_none(cursor, "SELECT * FROM test", cl=ConsistencyLevel.SERIAL)

# Shouldn't apply
assert_one(cursor, "UPDATE test SET v1 = 3, v2 = 'bar' WHERE k = 0 IF EXISTS", [False])

> if self.get_node_version(is_upgraded) > "2.1.1":

upgrade_tests/cql_tests.py:3132:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
47.668
8_cythonno_x86_64_43_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.656
8_cythonno_x86_64_43_64test_composite_partition_key_validationSuccess52.472
8_cythonno_x86_64_43_64test_limit_compact_tableSuccess53.292
8_cythonno_x86_64_43_64test_range_sliceSuccess55.457
8_cythonno_x86_64_43_64test_static_columns_casSuccess59.155
8_cythonno_x86_64_43_64test_token_rangeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1004: test not applicable to env.
0.001
8_cythonno_x86_64_43_64test_select_with_aliasSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3240: test not applicable to env.
0.000
8_cythonno_x86_64_43_64test_single_cell_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1374: test not applicable to env.
0.000
8_cythonno_x86_64_43_64test_with_order_bySuccess57.713
8_cythonno_x86_64_43_64test_paging_a_single_wide_rowSuccess78.076
8_cythonno_x86_64_43_64test_paging_across_multi_wide_rowsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:581: test not applicable to env.
0.001
8_cythonno_x86_64_43_64test_single_partition_deletionsSuccess70.183
8_cythonno_x86_64_43_64test_multiple_partition_deletionsSuccess57.596
8_cythonno_x86_64_43_64test_upgrade_with_wide_partition_reversedSuccess123.313
8_cythonno_x86_64_43_64test_sstableloader_compression_deflate_to_deflateSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.598
8_cythonno_x86_64_43_64test_dense_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.635
8_cythonno_x86_64_43_64test_bootstrap_multidcSuccess505.956
8_cythonno_x86_64_44_64test_countersSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:418: test not applicable to env.
0.001
8_cythonno_x86_64_44_64test_clustering_indexingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2775: test not applicable to env.
0.000
8_cythonno_x86_64_44_64test_select_map_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5231: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_44_64test_reversed_compact_multikeySuccess57.475
8_cythonno_x86_64_44_64test_cas_and_compactSuccess56.139
8_cythonno_x86_64_44_64test_mapSuccess61.109
8_cythonno_x86_64_44_64test_store_sets_with_if_not_existsSuccess56.517
8_cythonno_x86_64_44_64test_in_clause_wide_rowsFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7faee5867b80>

def test_in_clause_wide_rows(self):
""" Check IN support for 'wide rows' in SELECT statement """
cursor = self.prepare()

cursor.execute("""
CREATE TABLE test1 (
k int,
c int,
v int,
PRIMARY KEY (k, c)
) WITH COMPACT STORAGE;
""")

# composites
cursor.execute("""
CREATE TABLE test2 (
k int,
c1 int,
c2 int,
v int,
PRIMARY KEY (k, c1, c2)
) WITH COMPACT STORAGE;
""")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE test1")
cursor.execute("TRUNCATE test2")

# Inserts
for x in range(0, 10):
cursor.execute("INSERT INTO test1 (k, c, v) VALUES (0, %i, %i)" % (x, x))

assert_all(cursor, "SELECT v FROM test1 WHERE k = 0 AND c IN (5, 2, 8)", [[2], [5], [8]])

# Inserts
for x in range(0, 10):
cursor.execute("INSERT INTO test2 (k, c1, c2, v) VALUES (0, 0, {}, {})".format(x, x))

# Check first we don't allow IN everywhere
> if self.get_node_version(is_upgraded) >= '2.2':

upgrade_tests/cql_tests.py:598:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
56.699
8_cythonno_x86_64_44_64test_conversion_functionsSuccess58.099
8_cythonno_x86_64_44_64test_select_set_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5347: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_44_64test_multiorderingSuccess143.347
8_cythonno_x86_64_44_64test_whole_set_conditionalSuccess63.267
8_cythonno_x86_64_44_64test_composite_row_keySuccess117.997
8_cythonno_x86_64_44_64test_more_user_typesSuccess63.848
8_cythonno_x86_64_44_64test_order_by_with_inSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:750: test not applicable to env.
0.000
8_cythonno_x86_64_44_64test_empty_blobSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2994: test not applicable to env.
0.000
8_cythonno_x86_64_44_64test_tracing_prevents_startup_after_upgradingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5484: test not applicable to env.
0.000
8_cythonno_x86_64_44_64test_truncate_clean_cacheSkippedhttps://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
8_cythonno_x86_64_44_64test_cas_and_list_indexSuccess50.226
8_cythonno_x86_64_44_64test_only_pkSuccess53.107
8_cythonno_x86_64_44_64test_map_keys_indexingSuccess52.959
8_cythonno_x86_64_44_64test_deletionSuccess53.568
8_cythonno_x86_64_44_64test_non_eq_conditional_updateSuccess52.669
8_cythonno_x86_64_44_64test_noncomposite_static_cfSuccess51.077
8_cythonno_x86_64_44_64test_multi_inSuccess53.593
8_cythonno_x86_64_44_64test_key_index_with_reverse_clusteringSuccess53.577
8_cythonno_x86_64_44_64test_composite_index_with_pkSuccess54.500
8_cythonno_x86_64_44_64test_static_columns_with_2iSuccess54.688
8_cythonno_x86_64_44_64test_timestamp_and_ttlSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1036: test not applicable to env.
0.001
8_cythonno_x86_64_44_64test_nonpure_function_collectionSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3292: test not applicable to env.
0.000
8_cythonno_x86_64_44_64test_multiple_cell_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1426: test not applicable to env.
0.000
8_cythonno_x86_64_44_64test_with_order_by_reversedSuccess57.125
8_cythonno_x86_64_44_64test_paging_across_multi_wide_rowsSuccess70.615
8_cythonno_x86_64_44_64test_paging_using_secondary_indexesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:610: test not applicable to env.
0.000
8_cythonno_x86_64_44_64test_multiple_partition_deletionsSuccess57.846
8_cythonno_x86_64_44_64test_single_row_deletionsSuccess61.407
8_cythonno_x86_64_44_64test_upgrade_with_indexSuccess110.590
8_cythonno_x86_64_44_64test_sstableloader_with_mvSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.581
8_cythonno_x86_64_44_64test_sparse_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.685
8_cythonno_x86_64_44_64test_parallel_upgradeSuccess241.419
8_cythonno_x86_64_45_64test_indexed_with_eqSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:456: test not applicable to env.
0.000
8_cythonno_x86_64_45_64test_edge_2i_on_complex_pkSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2821: test not applicable to env.
0.000
8_cythonno_x86_64_45_64test_select_set_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5259: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_45_64test_collection_and_regularSuccess67.197
8_cythonno_x86_64_45_64test_whole_list_conditionalSuccess65.199
8_cythonno_x86_64_45_64test_listSuccess69.464
8_cythonno_x86_64_45_64test_add_deletion_info_in_unsorted_columnSuccess60.066
8_cythonno_x86_64_45_64test_order_bySuccess76.253
8_cythonno_x86_64_45_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.457
8_cythonno_x86_64_45_64test_select_list_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5378: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_45_64test_returned_nullSuccess159.722
8_cythonno_x86_64_45_64test_whole_map_conditionalSuccess67.453
8_cythonno_x86_64_45_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.271
8_cythonno_x86_64_45_64test_intersection_logic_returns_empty_resultSuccess156.349
8_cythonno_x86_64_45_64test_reversed_comparatorSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:784: test not applicable to env.
0.001
8_cythonno_x86_64_45_64test_renameSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3006: test not applicable to env.
0.000
8_cythonno_x86_64_45_64test_materialized_view_simpleSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5506: test not applicable to env.
0.000
8_cythonno_x86_64_45_64test_range_with_deletesSuccess53.616
8_cythonno_x86_64_45_64test_static_with_limitSuccess54.598
8_cythonno_x86_64_45_64test_no_clusteringSuccess55.591
8_cythonno_x86_64_45_64test_nan_infinitySuccess54.666
8_cythonno_x86_64_45_64test_countSuccess57.371
8_cythonno_x86_64_45_64test_conditional_deleteFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f345da0d160>

def test_conditional_delete(self):
cursor = self.prepare()

cursor.execute("""
CREATE TABLE test (
k int PRIMARY KEY,
v1 int,
)
""")

# static columns
cursor.execute("""
CREATE TABLE test2 (
k text,
s text static,
i int,
v text,
PRIMARY KEY (k, i)
)""")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE test")
cursor.execute("TRUNCATE test2")

assert_one(cursor, "DELETE FROM test WHERE k=1 IF EXISTS", [False])

assert_one(cursor, "INSERT INTO test (k, v1) VALUES (1, 2) IF NOT EXISTS", [True])
assert_one(cursor, "DELETE FROM test WHERE k=1 IF EXISTS", [True])
assert_none(cursor, "SELECT * FROM test WHERE k=1", cl=ConsistencyLevel.SERIAL)
assert_one(cursor, "DELETE FROM test WHERE k=1 IF EXISTS", [False])

assert_one(cursor, "INSERT INTO test (k, v1) VALUES (2, 2) IF NOT EXISTS USING TTL 1", [True])
time.sleep(1.5)
assert_one(cursor, "DELETE FROM test WHERE k=2 IF EXISTS", [False])
assert_none(cursor, "SELECT * FROM test WHERE k=2", cl=ConsistencyLevel.SERIAL)

assert_one(cursor, "INSERT INTO test (k, v1) VALUES (3, 2) IF NOT EXISTS", [True])
assert_one(cursor, "DELETE v1 FROM test WHERE k=3 IF EXISTS", [True])
assert_one(cursor, "SELECT * FROM test WHERE k=3", [3, None], cl=ConsistencyLevel.SERIAL)
assert_one(cursor, "DELETE v1 FROM test WHERE k=3 IF EXISTS", [True])
assert_one(cursor, "DELETE FROM test WHERE k=3 IF EXISTS", [True])

cursor.execute("INSERT INTO test2 (k, s, i, v) VALUES ('k', 's', 0, 'v') IF NOT EXISTS")
assert_one(cursor, "DELETE v FROM test2 WHERE k='k' AND i=0 IF EXISTS", [True])
assert_one(cursor, "DELETE FROM test2 WHERE k='k' AND i=0 IF EXISTS", [True])
assert_one(cursor, "DELETE v FROM test2 WHERE k='k' AND i=0 IF EXISTS", [False])
assert_one(cursor, "DELETE FROM test2 WHERE k='k' AND i=0 IF EXISTS", [False])

# CASSANDRA-6430
> v = self.get_node_version(is_upgraded)

upgrade_tests/cql_tests.py:3215:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
51.760
8_cythonno_x86_64_45_64test_dynamic_cfSuccess55.136
8_cythonno_x86_64_45_64test_multi_in_compactSuccess65.081
8_cythonno_x86_64_45_64test_invalid_custom_timestampSuccess65.713
8_cythonno_x86_64_45_64test_limit_bugsSuccess61.966
8_cythonno_x86_64_45_64test_static_columns_with_distinctSuccess70.119
8_cythonno_x86_64_45_64test_no_range_ghostSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1093: test not applicable to env.
0.000
8_cythonno_x86_64_45_64test_empty_inSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3304: test not applicable to env.
0.000
8_cythonno_x86_64_45_64test_ttl_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1466: test not applicable to env.
0.000
8_cythonno_x86_64_45_64test_with_limitSuccess70.000
8_cythonno_x86_64_45_64test_paging_using_secondary_indexesSuccess77.665
8_cythonno_x86_64_45_64test_static_columns_pagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:650: test not applicable to env.
0.001
8_cythonno_x86_64_45_64test_single_row_deletionsSuccess72.146
8_cythonno_x86_64_45_64test_single_cell_deletionsSuccess67.068
8_cythonno_x86_64_45_64test_upgrade_with_range_tombstonesSuccess126.177
8_cythonno_x86_64_45_64test_sstableloader_compression_none_to_noneSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.398
8_cythonno_x86_64_45_64test_sparse_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.609
8_cythonno_x86_64_45_64test_rolling_upgradeSuccess456.923
8_cythonno_x86_64_46_64test_select_key_inSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:485: test not applicable to env.
0.001
8_cythonno_x86_64_46_64test_end_of_component_as_end_keySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2860: test not applicable to env.
0.000
8_cythonno_x86_64_46_64test_select_list_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5290: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_46_64test_batch_and_listSuccess74.457
8_cythonno_x86_64_46_64test_list_item_conditionalSuccess70.255
8_cythonno_x86_64_46_64test_multi_collectionSuccess75.071
8_cythonno_x86_64_46_64test_column_name_validationSuccess66.810
8_cythonno_x86_64_46_64test_more_order_bySuccess81.835
8_cythonno_x86_64_46_64test_function_and_reverse_typeSuccess69.036
8_cythonno_x86_64_46_64test_deleted_row_selectSuccess76.480
8_cythonno_x86_64_46_64test_multi_list_setSuccess171.166
8_cythonno_x86_64_46_64test_map_item_conditionalSuccess71.024
8_cythonno_x86_64_46_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.643
8_cythonno_x86_64_46_64test_large_countSuccess219.276
8_cythonno_x86_64_46_64test_null_supportSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:835: test not applicable to env.
0.000
8_cythonno_x86_64_46_64test_clustering_order_and_functionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3038: test not applicable to env.
0.000
8_cythonno_x86_64_46_64test_static_cfSuccess64.220
8_cythonno_x86_64_46_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.751
8_cythonno_x86_64_46_64test_static_with_empty_clusteringSuccess57.793
8_cythonno_x86_64_46_64test_dateSuccess55.940
8_cythonno_x86_64_46_64test_static_columnsSuccess55.551
8_cythonno_x86_64_46_64test_batchSuccess57.579
8_cythonno_x86_64_46_64test_range_key_orderedSuccess55.282
8_cythonno_x86_64_46_64test_dense_cfSuccess55.334
8_cythonno_x86_64_46_64test_multi_in_compact_non_compositeSuccess56.611
8_cythonno_x86_64_46_64test_clustering_order_inSuccess55.097
8_cythonno_x86_64_46_64test_npe_composite_table_sliceSuccess58.094
8_cythonno_x86_64_46_64test_select_count_pagingSuccess59.844
8_cythonno_x86_64_46_64test_undefined_column_handlingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1141: test not applicable to env.
0.001
8_cythonno_x86_64_46_64test_collection_flushSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3351: test not applicable to env.
0.000
8_cythonno_x86_64_46_64test_failure_threshold_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1486: test not applicable to env.
0.000
8_cythonno_x86_64_46_64test_with_allow_filteringSuccess59.264
8_cythonno_x86_64_46_64test_static_columns_pagingFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestPagingDataNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f521506fc10>

@since('2.0.6')
def test_static_columns_paging(self):
"""
Exercises paging with static columns to detect bugs
@jira_ticket CASSANDRA-8502.
"""
cursor = self.prepare(row_factory=named_tuple_factory)
cursor.execute("CREATE TABLE test (a int, b int, c int, s1 int static, s2 int static, PRIMARY KEY (a, b))")

for is_upgraded, cursor in self.do_upgrade(cursor, row_factory=named_tuple_factory):
> min_version = min(self.get_node_versions())

upgrade_tests/paging_test.py:660:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.8/distutils/version.py:52: in __lt__
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
58.116
8_cythonno_x86_64_46_64test_paging_using_secondary_indexes_with_static_colsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:876: test not applicable to env.
0.000
8_cythonno_x86_64_46_64test_single_cell_deletionsSuccess67.776
8_cythonno_x86_64_46_64test_multiple_cell_deletionsSuccess62.127
8_cythonno_x86_64_46_64test_upgrade_with_range_and_collection_tombstonesSuccess113.186
8_cythonno_x86_64_46_64test_sstableloader_compression_none_to_snappySkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.371
8_cythonno_x86_64_46_64test_dense_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.345
8_cythonno_x86_64_46_64test_parallel_upgrade_with_internode_sslSuccess277.359
8_cythonno_x86_64_47_64test_exclusive_sliceSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:521: test not applicable to env.
0.001
8_cythonno_x86_64_47_64test_ticket_5230Skippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2896: test not applicable to env.
0.001
8_cythonno_x86_64_47_64test_select_map_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5318: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_47_64test_booleanSuccess77.683
8_cythonno_x86_64_47_64test_expanded_list_item_conditionalSuccess79.884
8_cythonno_x86_64_47_64test_range_querySuccess76.548
8_cythonno_x86_64_47_64test_user_typesSuccess74.920
8_cythonno_x86_64_47_64test_order_by_validationSuccess71.541
8_cythonno_x86_64_47_64test_NPE_during_select_with_tokenSuccess60.227
8_cythonno_x86_64_47_64test_secondary_index_querySkippedhttps://issues.apache.org/jira/browse/CASSANDRA-14961

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5427: https://issues.apache.org/jira/browse/CASSANDRA-14961
0.000
8_cythonno_x86_64_47_64test_composite_index_collectionsSuccess189.571
8_cythonno_x86_64_47_64test_expanded_map_item_conditionalSuccess65.584
8_cythonno_x86_64_47_64test_row_existenceSuccess121.613
8_cythonno_x86_64_47_64test_collection_indexingSuccess72.905
8_cythonno_x86_64_47_64test_nameless_indexSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:868: test not applicable to env.
0.000
8_cythonno_x86_64_47_64test_conditional_updateSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3062: test not applicable to env.
0.000
8_cythonno_x86_64_47_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.604
8_cythonno_x86_64_47_64test_composite_partition_key_validationSuccess51.691
8_cythonno_x86_64_47_64test_limit_compact_tableSuccess52.197
8_cythonno_x86_64_47_64test_range_sliceSuccess53.391
8_cythonno_x86_64_47_64test_static_columns_casSuccess53.128
8_cythonno_x86_64_47_64test_token_rangeSuccess54.996
8_cythonno_x86_64_47_64test_select_with_aliasFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f9a0f6c2a30>

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
48.944
8_cythonno_x86_64_47_64test_sparse_cfSuccess53.304
8_cythonno_x86_64_47_64test_large_clustering_inSuccess54.683
8_cythonno_x86_64_47_64test_end_of_component_uses_oecBoundSuccess53.189
8_cythonno_x86_64_47_64test_order_by_multikeySuccess54.486
8_cythonno_x86_64_47_64test_cas_and_ttlSuccess58.238
8_cythonno_x86_64_47_64test_range_tombstonesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1165: test not applicable to env.
0.000
8_cythonno_x86_64_47_64test_select_distinctSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3370: test not applicable to env.
0.000
8_cythonno_x86_64_47_64test_with_no_resultsSuccess54.910
8_cythonno_x86_64_47_64test_with_order_bySuccess57.724
8_cythonno_x86_64_47_64test_paging_using_secondary_indexes_with_static_colsSuccess67.467
8_cythonno_x86_64_47_64test_data_change_impacting_earlier_pageSuccess58.135
8_cythonno_x86_64_47_64test_multiple_cell_deletionsSuccess62.899
8_cythonno_x86_64_47_64test_ttl_deletionsSuccess66.983
8_cythonno_x86_64_47_64test_upgrade_with_range_tombstone_eoc_0Skipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.614
8_cythonno_x86_64_47_64test_sstableloader_compression_none_to_deflateSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.584
8_cythonno_x86_64_47_64test_dense_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.353
8_cythonno_x86_64_47_64test_rolling_upgrade_with_internode_sslSuccess418.439
8_cythonno_x86_64_48_64test_in_clause_wide_rowsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:558: test not applicable to env.
0.000
8_cythonno_x86_64_48_64test_conversion_functionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2919: test not applicable to env.
0.000
8_cythonno_x86_64_48_64test_select_set_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5347: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_48_64test_multiorderingSuccess65.811
8_cythonno_x86_64_48_64test_whole_set_conditionalSuccess65.353
8_cythonno_x86_64_48_64test_composite_row_keySuccess60.978
8_cythonno_x86_64_48_64test_more_user_typesSuccess63.201
8_cythonno_x86_64_48_64test_order_by_with_inSuccess64.617
8_cythonno_x86_64_48_64test_empty_blobSuccess68.189
8_cythonno_x86_64_48_64test_tracing_prevents_startup_after_upgradingSuccess75.151
8_cythonno_x86_64_48_64test_truncate_clean_cacheSkippedhttps://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.001
8_cythonno_x86_64_48_64test_cas_and_list_indexSuccess164.207
8_cythonno_x86_64_48_64test_only_pkSuccess147.393
8_cythonno_x86_64_48_64test_map_keys_indexingSuccess69.781
8_cythonno_x86_64_48_64test_deletionSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:891: test not applicable to env.
0.000
8_cythonno_x86_64_48_64test_non_eq_conditional_updateSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3136: test not applicable to env.
0.000
8_cythonno_x86_64_48_64test_noncomposite_static_cfSuccess53.776
8_cythonno_x86_64_48_64test_multi_inSuccess56.286
8_cythonno_x86_64_48_64test_key_index_with_reverse_clusteringSuccess54.765
8_cythonno_x86_64_48_64test_composite_index_with_pkSuccess55.429
8_cythonno_x86_64_48_64test_static_columns_with_2iSuccess56.685
8_cythonno_x86_64_48_64test_timestamp_and_ttlSuccess53.134
8_cythonno_x86_64_48_64test_nonpure_function_collectionSuccess52.341
8_cythonno_x86_64_48_64test_limit_rangesSuccess52.499
8_cythonno_x86_64_48_64test_timeuuidSuccess59.420
8_cythonno_x86_64_48_64test_SIM_assertion_errorSuccess52.122
8_cythonno_x86_64_48_64test_remove_range_sliceSuccess54.363
8_cythonno_x86_64_48_64test_tuple_notationSuccess55.643
8_cythonno_x86_64_48_64test_range_tombstones_compactionSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1211: test not applicable to env.
0.001
8_cythonno_x86_64_48_64test_select_distinct_with_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3414: test not applicable to env.
0.000
8_cythonno_x86_64_48_64test_with_less_results_than_page_sizeSuccess56.040
8_cythonno_x86_64_48_64test_with_order_by_reversedSuccess59.905
8_cythonno_x86_64_48_64test_basic_pagingSuccess58.630
8_cythonno_x86_64_48_64test_data_change_impacting_later_pageSuccess58.566
8_cythonno_x86_64_48_64test_ttl_deletionsSuccess70.877
8_cythonno_x86_64_48_64test_failure_threshold_deletionsSuccess63.130
8_cythonno_x86_64_48_64test_upgrade_with_range_tombstone_aeSuccess105.843
8_cythonno_x86_64_48_64test_sstableloader_compression_snappy_to_noneSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.347
8_cythonno_x86_64_48_64test_sparse_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.309
8_cythonno_x86_64_48_64test_bootstrapSuccess403.442
8_cythonno_x86_64_49_64test_order_bySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:607: test not applicable to env.
0.000
8_cythonno_x86_64_49_64test_IN_clause_on_last_keySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2939: test not applicable to env.
0.000
8_cythonno_x86_64_49_64test_select_list_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5378: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_49_64test_returned_nullSuccess66.147
8_cythonno_x86_64_49_64test_whole_map_conditionalSuccess63.434
8_cythonno_x86_64_49_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.461
8_cythonno_x86_64_49_64test_intersection_logic_returns_empty_resultSuccess90.670
8_cythonno_x86_64_49_64test_reversed_comparatorSuccess75.119
8_cythonno_x86_64_49_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.214
8_cythonno_x86_64_49_64test_materialized_view_simpleSuccess66.076
8_cythonno_x86_64_49_64test_range_with_deletesSuccess159.709
8_cythonno_x86_64_49_64test_static_with_limitSuccess62.158
8_cythonno_x86_64_49_64test_no_clusteringSuccess139.549
8_cythonno_x86_64_49_64test_nan_infinitySuccess65.283
8_cythonno_x86_64_49_64test_countSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:948: test not applicable to env.
0.001
8_cythonno_x86_64_49_64test_conditional_deleteSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3165: test not applicable to env.
0.000
8_cythonno_x86_64_49_64test_dynamic_cfSuccess54.582
8_cythonno_x86_64_49_64test_multi_in_compactSuccess54.823
8_cythonno_x86_64_49_64test_invalid_custom_timestampSuccess55.104
8_cythonno_x86_64_49_64test_limit_bugsSuccess56.600
8_cythonno_x86_64_49_64test_static_columns_with_distinctSuccess60.352
8_cythonno_x86_64_49_64test_no_range_ghostSuccess57.304
8_cythonno_x86_64_49_64test_empty_inSuccess57.825
8_cythonno_x86_64_49_64test_limit_multigetSuccess56.817
8_cythonno_x86_64_49_64test_float_with_exponentSuccess56.009
8_cythonno_x86_64_49_64test_blobAs_functionsSuccess55.032
8_cythonno_x86_64_49_64test_indexes_compositeSuccess60.568
8_cythonno_x86_64_49_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.593
8_cythonno_x86_64_49_64test_delete_rowSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1242: test not applicable to env.
0.000
8_cythonno_x86_64_49_64test_function_with_nullSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3442: test not applicable to env.
0.000
8_cythonno_x86_64_49_64test_with_more_results_than_page_sizeSuccess58.745
8_cythonno_x86_64_49_64test_with_limitSuccess69.352
8_cythonno_x86_64_49_64test_basic_compound_pagingSuccess62.282
8_cythonno_x86_64_49_64test_row_TTL_expiry_during_pagingSuccess92.865
8_cythonno_x86_64_49_64test_failure_threshold_deletionsSuccess74.749
8_cythonno_x86_64_49_64test_single_partition_deletionsSuccess62.128
8_cythonno_x86_64_49_64test_sstableloader_compression_none_to_noneSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.339
8_cythonno_x86_64_49_64test_sstableloader_compression_snappy_to_snappySkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.582
8_cythonno_x86_64_49_64test_sparse_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.325
8_cythonno_x86_64_49_64test_bootstrap_multidcSuccess516.753
8_cythonno_x86_64_4_64test_upgrade_legacy_tableSkipped5.0.1 > 3.X

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.X
0.905
8_cythonno_x86_64_4_64test_mapSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1339: test not applicable to env.
0.000
8_cythonno_x86_64_4_64test_store_sets_with_if_not_existsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3501: test not applicable to env.
0.000
8_cythonno_x86_64_4_64test_in_clause_wide_rowsSuccess75.073
8_cythonno_x86_64_4_64test_conversion_functionsSuccess66.435
8_cythonno_x86_64_4_64test_select_set_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5347: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_4_64test_multiorderingSuccess78.894
8_cythonno_x86_64_4_64test_whole_set_conditionalSuccess77.498
8_cythonno_x86_64_4_64test_composite_row_keyFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f595ce466a0>

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
76.849
8_cythonno_x86_64_4_64test_more_user_typesSuccess73.748
8_cythonno_x86_64_4_64test_order_by_with_inSuccess295.144
8_cythonno_x86_64_4_64test_empty_blobSuccess67.824
8_cythonno_x86_64_4_64test_tracing_prevents_startup_after_upgradingSuccess77.121
8_cythonno_x86_64_4_64test_truncate_clean_cacheSkippedhttps://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
8_cythonno_x86_64_4_64test_cas_and_list_indexSuccess167.613
8_cythonno_x86_64_4_64test_only_pkSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1668: test not applicable to env.
0.001
8_cythonno_x86_64_4_64test_map_keys_indexingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3785: test not applicable to env.
0.000
8_cythonno_x86_64_4_64test_deletionSuccess60.508
8_cythonno_x86_64_4_64test_non_eq_conditional_updateSuccess57.443
8_cythonno_x86_64_4_64test_noncomposite_static_cfSuccess61.842
8_cythonno_x86_64_4_64test_multi_inSuccess61.185
8_cythonno_x86_64_4_64test_key_index_with_reverse_clusteringSuccess61.981
8_cythonno_x86_64_4_64test_composite_index_with_pkFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f595cb28df0>

@pytest.mark.no_vnodes
def test_composite_index_with_pk(self):

cursor = self.prepare(ordered=True)
cursor.execute("""
CREATE TABLE blogs (
blog_id int,
time1 int,
time2 int,
author text,
content text,
PRIMARY KEY (blog_id, time1, time2)
)
""")

cursor.execute("CREATE INDEX ON blogs(author)")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE blogs")

req = "INSERT INTO blogs (blog_id, time1, time2, author, content) VALUES (%d, %d, %d, '%s', '%s')"
cursor.execute(req % (1, 0, 0, 'foo', 'bar1'))
cursor.execute(req % (1, 0, 1, 'foo', 'bar2'))
cursor.execute(req % (2, 1, 0, 'foo', 'baz'))
cursor.execute(req % (3, 0, 1, 'gux', 'qux'))

query = "SELECT blog_id, content FROM blogs WHERE author='foo'"
assert_all(cursor, query, [[1, 'bar1'], [1, 'bar2'], [2, 'baz']])

query = "SELECT blog_id, content FROM blogs WHERE time1 > 0 AND author='foo' ALLOW FILTERING"
assert_one(cursor, query, [2, 'baz'])

query = "SELECT blog_id, content FROM blogs WHERE time1 = 1 AND author='foo' ALLOW FILTERING"
assert_one(cursor, query, [2, 'baz'])

query = "SELECT blog_id, content FROM blogs WHERE time1 = 1 AND time2 = 0 AND author='foo' ALLOW FILTERING"
assert_one(cursor, query, [2, 'baz'])

query = "SELECT content FROM blogs WHERE time1 = 1 AND time2 = 1 AND author='foo' ALLOW FILTERING"
assert_none(cursor, query)

query = "SELECT content FROM blogs WHERE time1 = 1 AND time2 > 0 AND author='foo' ALLOW FILTERING"
assert_none(cursor, query)

assert_invalid(cursor, "SELECT content FROM blogs WHERE time2 >= 0 AND author='foo'")

# as discussed in CASSANDRA-8148, some queries that should have required ALLOW FILTERING
# in 2.0 have been fixed for 2.2
> if self.get_node_version(is_upgraded) < '2.2':

upgrade_tests/cql_tests.py:1818:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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.500
8_cythonno_x86_64_4_64test_static_columns_with_2iSuccess57.393
8_cythonno_x86_64_4_64test_timestamp_and_ttlSuccess61.230
8_cythonno_x86_64_4_64test_nonpure_function_collectionSuccess58.689
8_cythonno_x86_64_4_64test_limit_rangesSuccess64.661
8_cythonno_x86_64_4_64test_timeuuidSuccess70.700
8_cythonno_x86_64_4_64test_SIM_assertion_errorSuccess64.893
8_cythonno_x86_64_4_64test_remove_range_sliceSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1958: test not applicable to env.
0.000
8_cythonno_x86_64_4_64test_tuple_notationSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4217: test not applicable to env.
0.000
8_cythonno_x86_64_4_64test_with_less_results_than_page_sizeSuccess64.868
8_cythonno_x86_64_4_64test_with_order_by_reversedSuccess54.851
8_cythonno_x86_64_4_64test_paging_using_secondary_indexes_with_static_colsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:876: test not applicable to env.
0.000
8_cythonno_x86_64_4_64test_data_change_impacting_later_pageSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:959: test not applicable to env.
0.000
8_cythonno_x86_64_4_64test_multiple_cell_deletionsSuccess68.047
8_cythonno_x86_64_4_64test_schema_agreementSkipped5.0 > 3.0.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.0.99
0.367
8_cythonno_x86_64_4_64test_sstableloader_with_mvSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.354
8_cythonno_x86_64_4_64test_keys_index_3_0_createdSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.350
8_cythonno_x86_64_4_64test_parallel_upgradeSuccess775.723
8_cythonno_x86_64_4_64test_udtfix_in_sstableSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_udtfix_test.py:34: test not applicable to env.
0.003
8_cythonno_x86_64_50_64test_more_order_bySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:656: test not applicable to env.
0.000
8_cythonno_x86_64_50_64test_function_and_reverse_typeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2962: test not applicable to env.
0.000
8_cythonno_x86_64_50_64test_deleted_row_selectSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5405: test not applicable to env.
0.000
8_cythonno_x86_64_50_64test_multi_list_setSuccess63.615
8_cythonno_x86_64_50_64test_map_item_conditionalSuccess56.769
8_cythonno_x86_64_50_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.190
8_cythonno_x86_64_50_64test_large_countSuccess81.731
8_cythonno_x86_64_50_64test_null_supportSuccess67.210
8_cythonno_x86_64_50_64test_clustering_order_and_functionsFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f4cfe2c08e0>

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
54.591
8_cythonno_x86_64_50_64test_static_cfSuccess143.518
8_cythonno_x86_64_50_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.244
8_cythonno_x86_64_50_64test_static_with_empty_clusteringSuccess58.725
8_cythonno_x86_64_50_64test_dateSuccess119.644
8_cythonno_x86_64_50_64test_static_columnsSuccess60.648
8_cythonno_x86_64_50_64test_batchSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:979: test not applicable to env.
0.000
8_cythonno_x86_64_50_64test_range_key_orderedSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3223: test not applicable to env.
0.000
8_cythonno_x86_64_50_64test_dense_cfSuccess51.289
8_cythonno_x86_64_50_64test_multi_in_compact_non_compositeSuccess52.298
8_cythonno_x86_64_50_64test_clustering_order_inSuccess49.626
8_cythonno_x86_64_50_64test_npe_composite_table_sliceSuccess51.716
8_cythonno_x86_64_50_64test_select_count_pagingSuccess53.077
8_cythonno_x86_64_50_64test_undefined_column_handlingSuccess51.253
8_cythonno_x86_64_50_64test_collection_flushSuccess62.019
8_cythonno_x86_64_50_64test_simple_tuple_querySuccess52.509
8_cythonno_x86_64_50_64test_compact_metadataSuccess53.286
8_cythonno_x86_64_50_64test_invalid_string_literalsSkippedhttps://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
8_cythonno_x86_64_50_64test_refuse_in_with_indexesSuccess56.491
8_cythonno_x86_64_50_64test_in_with_desc_orderSuccess54.529
8_cythonno_x86_64_50_64test_range_query_2ndarySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1273: test not applicable to env.
0.000
8_cythonno_x86_64_50_64test_cas_simpleSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3464: test not applicable to env.
0.000
8_cythonno_x86_64_50_64test_with_equal_results_to_page_sizeSuccess58.153
8_cythonno_x86_64_50_64test_with_allow_filteringSuccess59.983
8_cythonno_x86_64_50_64test_paging_a_single_wide_rowSuccess70.964
8_cythonno_x86_64_50_64test_cell_TTL_expiry_during_pagingSuccess92.543
8_cythonno_x86_64_50_64test_single_partition_deletionsSuccess64.559
8_cythonno_x86_64_50_64test_multiple_partition_deletionsSuccess55.788
8_cythonno_x86_64_50_64test_sstableloader_compression_none_to_snappySkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.550
8_cythonno_x86_64_50_64test_sstableloader_compression_snappy_to_deflateSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.277
8_cythonno_x86_64_50_64test_dense_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.281
8_cythonno_x86_64_50_64test_parallel_upgradeSuccess253.296
8_cythonno_x86_64_51_64test_order_by_validationSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:723: test not applicable to env.
0.001
8_cythonno_x86_64_51_64test_NPE_during_select_with_tokenSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2980: test not applicable to env.
0.000
8_cythonno_x86_64_51_64test_secondary_index_querySkippedhttps://issues.apache.org/jira/browse/CASSANDRA-14961

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5427: https://issues.apache.org/jira/browse/CASSANDRA-14961
0.000
8_cythonno_x86_64_51_64test_composite_index_collectionsSuccess59.853
8_cythonno_x86_64_51_64test_expanded_map_item_conditionalSuccess60.605
8_cythonno_x86_64_51_64test_row_existenceSuccess59.967
8_cythonno_x86_64_51_64test_collection_indexingSuccess66.182
8_cythonno_x86_64_51_64test_nameless_indexSuccess62.667
8_cythonno_x86_64_51_64test_conditional_updateFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f8436fc1be0>

def test_conditional_update(self):
cursor = self.prepare()

cursor.execute("""
CREATE TABLE test (
k int PRIMARY KEY,
v1 int,
v2 text,
v3 int
)
""")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE test")

# Shouldn't apply
assert_one(cursor, "UPDATE test SET v1 = 3, v2 = 'bar' WHERE k = 0 IF v1 = 4", [False])
assert_one(cursor, "UPDATE test SET v1 = 3, v2 = 'bar' WHERE k = 0 IF EXISTS", [False])

# Should apply
assert_one(cursor, "INSERT INTO test (k, v1, v2) VALUES (0, 2, 'foo') IF NOT EXISTS", [True])

# Shouldn't apply
assert_one(cursor, "INSERT INTO test (k, v1, v2) VALUES (0, 5, 'bar') IF NOT EXISTS", [False, 0, 2, 'foo', None])
assert_one(cursor, "SELECT * FROM test", [0, 2, 'foo', None], cl=ConsistencyLevel.SERIAL)

# Should not apply
assert_one(cursor, "UPDATE test SET v1 = 3, v2 = 'bar' WHERE k = 0 IF v1 = 4", [False, 2])
assert_one(cursor, "SELECT * FROM test", [0, 2, 'foo', None], cl=ConsistencyLevel.SERIAL)

# Should apply (note: we want v2 before v1 in the statement order to exercise #5786)
assert_one(cursor, "UPDATE test SET v2 = 'bar', v1 = 3 WHERE k = 0 IF v1 = 2", [True])
assert_one(cursor, "UPDATE test SET v2 = 'bar', v1 = 3 WHERE k = 0 IF EXISTS", [True])
assert_one(cursor, "SELECT * FROM test", [0, 3, 'bar', None], cl=ConsistencyLevel.SERIAL)

# Shouldn't apply, only one condition is ok
assert_one(cursor, "UPDATE test SET v1 = 5, v2 = 'foobar' WHERE k = 0 IF v1 = 3 AND v2 = 'foo'", [False, 3, 'bar'])
assert_one(cursor, "SELECT * FROM test", [0, 3, 'bar', None], cl=ConsistencyLevel.SERIAL)

# Should apply
assert_one(cursor, "UPDATE test SET v1 = 5, v2 = 'foobar' WHERE k = 0 IF v1 = 3 AND v2 = 'bar'", [True])
assert_one(cursor, "SELECT * FROM test", [0, 5, 'foobar', None], cl=ConsistencyLevel.SERIAL)

# Shouldn't apply
assert_one(cursor, "DELETE v2 FROM test WHERE k = 0 IF v1 = 3", [False, 5])
assert_one(cursor, "SELECT * FROM test", [0, 5, 'foobar', None], cl=ConsistencyLevel.SERIAL)

# Shouldn't apply
assert_one(cursor, "DELETE v2 FROM test WHERE k = 0 IF v1 = null", [False, 5])
assert_one(cursor, "SELECT * FROM test", [0, 5, 'foobar', None], cl=ConsistencyLevel.SERIAL)

# Should apply
assert_one(cursor, "DELETE v2 FROM test WHERE k = 0 IF v1 = 5", [True])
assert_one(cursor, "SELECT * FROM test", [0, 5, None, None], cl=ConsistencyLevel.SERIAL)

# Shouln't apply
assert_one(cursor, "DELETE v1 FROM test WHERE k = 0 IF v3 = 4", [False, None])

# Should apply
assert_one(cursor, "DELETE v1 FROM test WHERE k = 0 IF v3 = null", [True])
assert_one(cursor, "SELECT * FROM test", [0, None, None, None], cl=ConsistencyLevel.SERIAL)

# Should apply
assert_one(cursor, "DELETE FROM test WHERE k = 0 IF v1 = null", [True])
assert_none(cursor, "SELECT * FROM test", cl=ConsistencyLevel.SERIAL)

# Shouldn't apply
assert_one(cursor, "UPDATE test SET v1 = 3, v2 = 'bar' WHERE k = 0 IF EXISTS", [False])

> if self.get_node_version(is_upgraded) > "2.1.1":

upgrade_tests/cql_tests.py:3132:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
54.975
8_cythonno_x86_64_51_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.240
8_cythonno_x86_64_51_64test_composite_partition_key_validationSuccess147.018
8_cythonno_x86_64_51_64test_limit_compact_tableSuccess59.932
8_cythonno_x86_64_51_64test_range_sliceSuccess121.116
8_cythonno_x86_64_51_64test_static_columns_casSuccess66.587
8_cythonno_x86_64_51_64test_token_rangeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1004: test not applicable to env.
0.000
8_cythonno_x86_64_51_64test_select_with_aliasSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3240: test not applicable to env.
0.000
8_cythonno_x86_64_51_64test_sparse_cfSuccess55.784
8_cythonno_x86_64_51_64test_large_clustering_inSuccess62.412
8_cythonno_x86_64_51_64test_end_of_component_uses_oecBoundSuccess61.005
8_cythonno_x86_64_51_64test_order_by_multikeySuccess64.094
8_cythonno_x86_64_51_64test_cas_and_ttlSuccess69.298
8_cythonno_x86_64_51_64test_range_tombstonesSuccess89.555
8_cythonno_x86_64_51_64test_select_distinctSuccess61.438
8_cythonno_x86_64_51_64test_limit_sparseSuccess54.788
8_cythonno_x86_64_51_64test_query_compact_tables_during_upgradeSuccess58.981
8_cythonno_x86_64_51_64test_negative_timestampSuccess52.722
8_cythonno_x86_64_51_64test_reversed_compactSuccess55.354
8_cythonno_x86_64_51_64test_in_order_by_without_selectingSuccess54.968
8_cythonno_x86_64_51_64test_setSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1297: test not applicable to env.
0.000
8_cythonno_x86_64_51_64test_internal_application_error_on_selectSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3480: test not applicable to env.
0.000
8_cythonno_x86_64_51_64test_undefined_page_size_defaultSuccess65.858
8_cythonno_x86_64_51_64test_with_order_bySuccess62.655
8_cythonno_x86_64_51_64test_paging_across_multi_wide_rowsSuccess71.990
8_cythonno_x86_64_51_64test_data_change_impacting_earlier_pageSuccess60.381
8_cythonno_x86_64_51_64test_multiple_partition_deletionsSuccess60.692
8_cythonno_x86_64_51_64test_single_row_deletionsSuccess62.618
8_cythonno_x86_64_51_64test_sstableloader_compression_none_to_deflateSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.330
8_cythonno_x86_64_51_64test_sstableloader_compression_deflate_to_noneSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.333
8_cythonno_x86_64_51_64test_dense_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.337
8_cythonno_x86_64_51_64test_rolling_upgradeSuccess408.482
8_cythonno_x86_64_52_64test_order_by_with_inSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:750: test not applicable to env.
0.001
8_cythonno_x86_64_52_64test_empty_blobSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2994: test not applicable to env.
0.000
8_cythonno_x86_64_52_64test_tracing_prevents_startup_after_upgradingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5484: test not applicable to env.
0.000
8_cythonno_x86_64_52_64test_truncate_clean_cacheSkippedhttps://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
8_cythonno_x86_64_52_64test_cas_and_list_indexSuccess63.425
8_cythonno_x86_64_52_64test_only_pkSuccess65.758
8_cythonno_x86_64_52_64test_map_keys_indexingSuccess60.878
8_cythonno_x86_64_52_64test_deletionSuccess66.658
8_cythonno_x86_64_52_64test_non_eq_conditional_updateSuccess69.065
8_cythonno_x86_64_52_64test_noncomposite_static_cfSuccess153.398
8_cythonno_x86_64_52_64test_multi_inSuccess62.621
8_cythonno_x86_64_52_64test_key_index_with_reverse_clusteringSuccess62.321
8_cythonno_x86_64_52_64test_composite_index_with_pkSuccess140.181
8_cythonno_x86_64_52_64test_static_columns_with_2iSuccess74.141
8_cythonno_x86_64_52_64test_timestamp_and_ttlSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1036: test not applicable to env.
0.001
8_cythonno_x86_64_52_64test_nonpure_function_collectionSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3292: test not applicable to env.
0.000
8_cythonno_x86_64_52_64test_limit_rangesSuccess56.557
8_cythonno_x86_64_52_64test_timeuuidSuccess60.427
8_cythonno_x86_64_52_64test_SIM_assertion_errorSuccess58.109
8_cythonno_x86_64_52_64test_remove_range_sliceSuccess52.778
8_cythonno_x86_64_52_64test_tuple_notationSuccess53.445
8_cythonno_x86_64_52_64test_range_tombstones_compactionSuccess77.024
8_cythonno_x86_64_52_64test_select_distinct_with_deletionsSuccess52.620
8_cythonno_x86_64_52_64test_countersSuccess50.897
8_cythonno_x86_64_52_64test_clustering_indexingSuccess53.618
8_cythonno_x86_64_52_64test_select_map_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5231: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_52_64test_reversed_compact_multikeySuccess53.924
8_cythonno_x86_64_52_64test_cas_and_compactSuccess54.114
8_cythonno_x86_64_52_64test_mapSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1339: test not applicable to env.
0.001
8_cythonno_x86_64_52_64test_store_sets_with_if_not_existsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3501: test not applicable to env.
0.000
8_cythonno_x86_64_52_64test_with_no_resultsSuccess58.424
8_cythonno_x86_64_52_64test_with_order_by_reversedSuccess61.619
8_cythonno_x86_64_52_64test_paging_using_secondary_indexesSuccess65.609
8_cythonno_x86_64_52_64test_data_change_impacting_later_pageSuccess62.939
8_cythonno_x86_64_52_64test_single_row_deletionsSuccess69.140
8_cythonno_x86_64_52_64test_single_cell_deletionsSuccess62.381
8_cythonno_x86_64_52_64test_sstableloader_compression_snappy_to_noneSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.621
8_cythonno_x86_64_52_64test_sstableloader_compression_deflate_to_snappySkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.339
8_cythonno_x86_64_52_64test_sparse_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.567
8_cythonno_x86_64_52_64test_parallel_upgrade_with_internode_sslSuccess258.813
8_cythonno_x86_64_53_64test_reversed_comparatorSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:784: test not applicable to env.
0.001
8_cythonno_x86_64_53_64test_renameSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3006: test not applicable to env.
0.000
8_cythonno_x86_64_53_64test_materialized_view_simpleSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5506: test not applicable to env.
0.000
8_cythonno_x86_64_53_64test_range_with_deletesSuccess59.718
8_cythonno_x86_64_53_64test_static_with_limitSuccess57.006
8_cythonno_x86_64_53_64test_no_clusteringSuccess59.040
8_cythonno_x86_64_53_64test_nan_infinitySuccess58.801
8_cythonno_x86_64_53_64test_countSuccess61.635
8_cythonno_x86_64_53_64test_conditional_deleteFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7fd5f3730e50>

def test_conditional_delete(self):
cursor = self.prepare()

cursor.execute("""
CREATE TABLE test (
k int PRIMARY KEY,
v1 int,
)
""")

# static columns
cursor.execute("""
CREATE TABLE test2 (
k text,
s text static,
i int,
v text,
PRIMARY KEY (k, i)
)""")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE test")
cursor.execute("TRUNCATE test2")

assert_one(cursor, "DELETE FROM test WHERE k=1 IF EXISTS", [False])

assert_one(cursor, "INSERT INTO test (k, v1) VALUES (1, 2) IF NOT EXISTS", [True])
assert_one(cursor, "DELETE FROM test WHERE k=1 IF EXISTS", [True])
assert_none(cursor, "SELECT * FROM test WHERE k=1", cl=ConsistencyLevel.SERIAL)
assert_one(cursor, "DELETE FROM test WHERE k=1 IF EXISTS", [False])

assert_one(cursor, "INSERT INTO test (k, v1) VALUES (2, 2) IF NOT EXISTS USING TTL 1", [True])
time.sleep(1.5)
assert_one(cursor, "DELETE FROM test WHERE k=2 IF EXISTS", [False])
assert_none(cursor, "SELECT * FROM test WHERE k=2", cl=ConsistencyLevel.SERIAL)

assert_one(cursor, "INSERT INTO test (k, v1) VALUES (3, 2) IF NOT EXISTS", [True])
assert_one(cursor, "DELETE v1 FROM test WHERE k=3 IF EXISTS", [True])
assert_one(cursor, "SELECT * FROM test WHERE k=3", [3, None], cl=ConsistencyLevel.SERIAL)
assert_one(cursor, "DELETE v1 FROM test WHERE k=3 IF EXISTS", [True])
assert_one(cursor, "DELETE FROM test WHERE k=3 IF EXISTS", [True])

cursor.execute("INSERT INTO test2 (k, s, i, v) VALUES ('k', 's', 0, 'v') IF NOT EXISTS")
assert_one(cursor, "DELETE v FROM test2 WHERE k='k' AND i=0 IF EXISTS", [True])
assert_one(cursor, "DELETE FROM test2 WHERE k='k' AND i=0 IF EXISTS", [True])
assert_one(cursor, "DELETE v FROM test2 WHERE k='k' AND i=0 IF EXISTS", [False])
assert_one(cursor, "DELETE FROM test2 WHERE k='k' AND i=0 IF EXISTS", [False])

# CASSANDRA-6430
> v = self.get_node_version(is_upgraded)

upgrade_tests/cql_tests.py:3215:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
57.552
8_cythonno_x86_64_53_64test_dynamic_cfSuccess143.616
8_cythonno_x86_64_53_64test_multi_in_compactSuccess59.327
8_cythonno_x86_64_53_64test_invalid_custom_timestampSuccess59.031
8_cythonno_x86_64_53_64test_limit_bugsSuccess122.038
8_cythonno_x86_64_53_64test_static_columns_with_distinctSuccess67.775
8_cythonno_x86_64_53_64test_no_range_ghostSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1093: test not applicable to env.
0.000
8_cythonno_x86_64_53_64test_empty_inSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3304: test not applicable to env.
0.000
8_cythonno_x86_64_53_64test_limit_multigetSuccess51.987
8_cythonno_x86_64_53_64test_float_with_exponentSuccess51.668
8_cythonno_x86_64_53_64test_blobAs_functionsSuccess52.923
8_cythonno_x86_64_53_64test_indexes_compositeSuccess54.511
8_cythonno_x86_64_53_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.621
8_cythonno_x86_64_53_64test_delete_rowSuccess53.929
8_cythonno_x86_64_53_64test_function_with_nullFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7fd5f348dd60>

def test_function_with_null(self):
cursor = self.prepare()

cursor.execute("""
CREATE TABLE test (
k int PRIMARY KEY,
t timeuuid
)
""")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE test")

cursor.execute("INSERT INTO test(k) VALUES (0)")

> if self.get_node_version(is_upgraded) >= LooseVersion('2.2'):

upgrade_tests/cql_tests.py:3458:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
48.683
8_cythonno_x86_64_53_64test_indexed_with_eqSuccess55.445
8_cythonno_x86_64_53_64test_edge_2i_on_complex_pkSuccess56.896
8_cythonno_x86_64_53_64test_select_set_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5259: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_53_64test_collection_and_regularSuccess54.160
8_cythonno_x86_64_53_64test_whole_list_conditionalSuccess58.678
8_cythonno_x86_64_53_64test_listSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1379: test not applicable to env.
0.000
8_cythonno_x86_64_53_64test_add_deletion_info_in_unsorted_columnSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3522: test not applicable to env.
0.000
8_cythonno_x86_64_53_64test_with_less_results_than_page_sizeSuccess58.187
8_cythonno_x86_64_53_64test_with_limitSuccess66.496
8_cythonno_x86_64_53_64test_static_columns_pagingSuccess70.315
8_cythonno_x86_64_53_64test_row_TTL_expiry_during_pagingSuccess90.849
8_cythonno_x86_64_53_64test_single_cell_deletionsSuccess67.359
8_cythonno_x86_64_53_64test_multiple_cell_deletionsSuccess61.608
8_cythonno_x86_64_53_64test_sstableloader_compression_snappy_to_snappySkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.336
8_cythonno_x86_64_53_64test_sstableloader_compression_deflate_to_deflateSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.617
8_cythonno_x86_64_53_64test_sparse_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.630
8_cythonno_x86_64_53_64test_rolling_upgrade_with_internode_sslSuccess415.691
8_cythonno_x86_64_54_64test_null_supportSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:835: test not applicable to env.
0.001
8_cythonno_x86_64_54_64test_clustering_order_and_functionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3038: test not applicable to env.
0.000
8_cythonno_x86_64_54_64test_static_cfSuccess74.136
8_cythonno_x86_64_54_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
1.689
8_cythonno_x86_64_54_64test_static_with_empty_clusteringSuccess68.449
8_cythonno_x86_64_54_64test_dateSuccess71.391
8_cythonno_x86_64_54_64test_static_columnsSuccess71.901
8_cythonno_x86_64_54_64test_batchSuccess77.310
8_cythonno_x86_64_54_64test_range_key_orderedSuccess66.297
8_cythonno_x86_64_54_64test_dense_cfSuccess187.367
8_cythonno_x86_64_54_64test_multi_in_compact_non_compositeSuccess66.609
8_cythonno_x86_64_54_64test_clustering_order_inSuccess63.259
8_cythonno_x86_64_54_64test_npe_composite_table_sliceSuccess136.375
8_cythonno_x86_64_54_64test_select_count_pagingSuccess64.519
8_cythonno_x86_64_54_64test_undefined_column_handlingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1141: test not applicable to env.
0.000
8_cythonno_x86_64_54_64test_collection_flushSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3351: test not applicable to env.
0.000
8_cythonno_x86_64_54_64test_simple_tuple_querySuccess54.319
8_cythonno_x86_64_54_64test_compact_metadataSuccess53.141
8_cythonno_x86_64_54_64test_invalid_string_literalsSkippedhttps://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
8_cythonno_x86_64_54_64test_refuse_in_with_indexesSuccess57.617
8_cythonno_x86_64_54_64test_in_with_desc_orderSuccess55.895
8_cythonno_x86_64_54_64test_range_query_2ndarySuccess56.325
8_cythonno_x86_64_54_64test_cas_simpleSuccess56.562
8_cythonno_x86_64_54_64test_select_key_inSuccess54.910
8_cythonno_x86_64_54_64test_end_of_component_as_end_keySuccess55.070
8_cythonno_x86_64_54_64test_select_list_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5290: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_54_64test_batch_and_listSuccess56.309
8_cythonno_x86_64_54_64test_list_item_conditionalSuccess57.373
8_cythonno_x86_64_54_64test_multi_collectionSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1419: test not applicable to env.
0.000
8_cythonno_x86_64_54_64test_column_name_validationSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3540: test not applicable to env.
0.000
8_cythonno_x86_64_54_64test_with_more_results_than_page_sizeSuccess60.534
8_cythonno_x86_64_54_64test_with_allow_filteringSuccess63.560
8_cythonno_x86_64_54_64test_paging_using_secondary_indexes_with_static_colsSuccess67.833
8_cythonno_x86_64_54_64test_cell_TTL_expiry_during_pagingSuccess99.126
8_cythonno_x86_64_54_64test_multiple_cell_deletionsSuccess68.084
8_cythonno_x86_64_54_64test_ttl_deletionsSuccess69.939
8_cythonno_x86_64_54_64test_sstableloader_compression_snappy_to_deflateSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.347
8_cythonno_x86_64_54_64test_sstableloader_with_mvSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.332
8_cythonno_x86_64_54_64test_dense_supercolumnSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/thrift_upgrade_test.py:575: test not applicable to env.
0.000
8_cythonno_x86_64_54_64test_bootstrapSuccess578.061
8_cythonno_x86_64_55_64test_nameless_indexSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:868: test not applicable to env.
0.001
8_cythonno_x86_64_55_64test_conditional_updateSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3062: test not applicable to env.
0.000
8_cythonno_x86_64_55_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.925
8_cythonno_x86_64_55_64test_composite_partition_key_validationSuccess59.940
8_cythonno_x86_64_55_64test_limit_compact_tableSuccess57.826
8_cythonno_x86_64_55_64test_range_sliceSuccess65.441
8_cythonno_x86_64_55_64test_static_columns_casSuccess62.871
8_cythonno_x86_64_55_64test_token_rangeSuccess68.536
8_cythonno_x86_64_55_64test_select_with_aliasFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f2aeb7d2700>

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
57.017
8_cythonno_x86_64_55_64test_sparse_cfSuccess173.043
8_cythonno_x86_64_55_64test_large_clustering_inSuccess66.737
8_cythonno_x86_64_55_64test_end_of_component_uses_oecBoundSuccess65.590
8_cythonno_x86_64_55_64test_order_by_multikeySuccess136.749
8_cythonno_x86_64_55_64test_cas_and_ttlSuccess64.888
8_cythonno_x86_64_55_64test_range_tombstonesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1165: test not applicable to env.
0.000
8_cythonno_x86_64_55_64test_select_distinctSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3370: test not applicable to env.
0.000
8_cythonno_x86_64_55_64test_limit_sparseSuccess52.117
8_cythonno_x86_64_55_64test_query_compact_tables_during_upgradeSuccess55.634
8_cythonno_x86_64_55_64test_negative_timestampSuccess49.635
8_cythonno_x86_64_55_64test_reversed_compactSuccess52.135
8_cythonno_x86_64_55_64test_in_order_by_without_selectingSuccess51.657
8_cythonno_x86_64_55_64test_setSuccess54.721
8_cythonno_x86_64_55_64test_internal_application_error_on_selectSuccess52.922
8_cythonno_x86_64_55_64test_exclusive_sliceSuccess51.423
8_cythonno_x86_64_55_64test_ticket_5230Success51.174
8_cythonno_x86_64_55_64test_select_map_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5318: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_55_64test_booleanSuccess53.477
8_cythonno_x86_64_55_64test_expanded_list_item_conditionalSuccess58.440
8_cythonno_x86_64_55_64test_range_querySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1448: test not applicable to env.
0.001
8_cythonno_x86_64_55_64test_user_typesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3562: test not applicable to env.
0.001
8_cythonno_x86_64_55_64test_with_equal_results_to_page_sizeSuccess58.983
8_cythonno_x86_64_55_64test_with_order_bySuccess59.855
8_cythonno_x86_64_55_64test_basic_pagingSuccess61.478
8_cythonno_x86_64_55_64test_data_change_impacting_earlier_pageSuccess61.939
8_cythonno_x86_64_55_64test_ttl_deletionsSuccess73.150
8_cythonno_x86_64_55_64test_failure_threshold_deletionsSuccess64.692
8_cythonno_x86_64_55_64test_sstableloader_compression_deflate_to_noneSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.341
8_cythonno_x86_64_55_64test_sstableloader_compression_none_to_noneSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.326
8_cythonno_x86_64_55_64test_dense_supercolumn_with_renamesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/thrift_upgrade_test.py:607: test not applicable to env.
0.000
8_cythonno_x86_64_55_64test_bootstrap_multidcSuccess608.724
8_cythonno_x86_64_56_64test_deletionSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:891: test not applicable to env.
0.000
8_cythonno_x86_64_56_64test_non_eq_conditional_updateSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3136: test not applicable to env.
0.000
8_cythonno_x86_64_56_64test_noncomposite_static_cfSuccess61.131
8_cythonno_x86_64_56_64test_multi_inSuccess65.851
8_cythonno_x86_64_56_64test_key_index_with_reverse_clusteringSuccess67.652
8_cythonno_x86_64_56_64test_composite_index_with_pkSuccess63.664
8_cythonno_x86_64_56_64test_static_columns_with_2iSuccess63.472
8_cythonno_x86_64_56_64test_timestamp_and_ttlSuccess63.073
8_cythonno_x86_64_56_64test_nonpure_function_collectionSuccess60.532
8_cythonno_x86_64_56_64test_limit_rangesSuccess192.553
8_cythonno_x86_64_56_64test_timeuuidSuccess76.920
8_cythonno_x86_64_56_64test_SIM_assertion_errorSuccess65.621
8_cythonno_x86_64_56_64test_remove_range_sliceSuccess160.502
8_cythonno_x86_64_56_64test_tuple_notationSuccess78.723
8_cythonno_x86_64_56_64test_range_tombstones_compactionSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1211: test not applicable to env.
0.000
8_cythonno_x86_64_56_64test_select_distinct_with_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3414: test not applicable to env.
0.000
8_cythonno_x86_64_56_64test_countersSuccess67.787
8_cythonno_x86_64_56_64test_clustering_indexingSuccess55.908
8_cythonno_x86_64_56_64test_select_map_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5231: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_56_64test_reversed_compact_multikeySuccess52.905
8_cythonno_x86_64_56_64test_cas_and_compactSuccess53.658
8_cythonno_x86_64_56_64test_mapSuccess53.877
8_cythonno_x86_64_56_64test_store_sets_with_if_not_existsSuccess53.448
8_cythonno_x86_64_56_64test_in_clause_wide_rowsSuccess54.428
8_cythonno_x86_64_56_64test_conversion_functionsSuccess53.354
8_cythonno_x86_64_56_64test_select_set_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5347: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_56_64test_multiorderingSuccess54.462
8_cythonno_x86_64_56_64test_whole_set_conditionalSuccess61.182
8_cythonno_x86_64_56_64test_composite_row_keySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1469: test not applicable to env.
0.000
8_cythonno_x86_64_56_64test_more_user_typesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3623: test not applicable to env.
0.000
8_cythonno_x86_64_56_64test_undefined_page_size_defaultSuccess66.790
8_cythonno_x86_64_56_64test_with_order_by_reversedSuccess60.237
8_cythonno_x86_64_56_64test_basic_compound_pagingSuccess61.900
8_cythonno_x86_64_56_64test_data_change_impacting_later_pageSuccess62.994
8_cythonno_x86_64_56_64test_failure_threshold_deletionsSuccess74.243
8_cythonno_x86_64_56_64test_single_partition_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1259: test not applicable to env.
0.000
8_cythonno_x86_64_56_64test_sstableloader_compression_deflate_to_snappySkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.607
8_cythonno_x86_64_56_64test_sstableloader_compression_none_to_snappySkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.347
8_cythonno_x86_64_56_64test_sparse_supercolumn_with_renamesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/thrift_upgrade_test.py:645: test not applicable to env.
0.000
8_cythonno_x86_64_56_64test_parallel_upgradeSuccess429.767
8_cythonno_x86_64_57_64test_countSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:948: test not applicable to env.
0.001
8_cythonno_x86_64_57_64test_conditional_deleteSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3165: test not applicable to env.
0.000
8_cythonno_x86_64_57_64test_dynamic_cfSuccess63.495
8_cythonno_x86_64_57_64test_multi_in_compactSuccess57.099
8_cythonno_x86_64_57_64test_invalid_custom_timestampSuccess58.808
8_cythonno_x86_64_57_64test_limit_bugsSuccess66.083
8_cythonno_x86_64_57_64test_static_columns_with_distinctSuccess63.628
8_cythonno_x86_64_57_64test_no_range_ghostSuccess67.569
8_cythonno_x86_64_57_64test_empty_inSuccess61.759
8_cythonno_x86_64_57_64test_limit_multigetSuccess156.331
8_cythonno_x86_64_57_64test_float_with_exponentSuccess60.231
8_cythonno_x86_64_57_64test_blobAs_functionsSuccess58.849
8_cythonno_x86_64_57_64test_indexes_compositeSuccess136.446
8_cythonno_x86_64_57_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.771
8_cythonno_x86_64_57_64test_delete_rowSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1242: test not applicable to env.
0.000
8_cythonno_x86_64_57_64test_function_with_nullSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3442: test not applicable to env.
0.000
8_cythonno_x86_64_57_64test_indexed_with_eqSuccess54.073
8_cythonno_x86_64_57_64test_edge_2i_on_complex_pkSuccess56.630
8_cythonno_x86_64_57_64test_select_set_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5259: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_57_64test_collection_and_regularSuccess54.547
8_cythonno_x86_64_57_64test_whole_list_conditionalSuccess58.835
8_cythonno_x86_64_57_64test_listSuccess55.079
8_cythonno_x86_64_57_64test_add_deletion_info_in_unsorted_columnSuccess55.058
8_cythonno_x86_64_57_64test_order_bySuccess55.469
8_cythonno_x86_64_57_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.517
8_cythonno_x86_64_57_64test_select_list_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5378: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_57_64test_returned_nullSuccess57.140
8_cythonno_x86_64_57_64test_whole_map_conditionalSuccess60.550
8_cythonno_x86_64_57_64test_cql3_insert_thriftSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1504: test not applicable to env.
0.000
8_cythonno_x86_64_57_64test_intersection_logic_returns_empty_resultSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3655: test not applicable to env.
0.000
8_cythonno_x86_64_57_64test_with_no_resultsSuccess59.555
8_cythonno_x86_64_57_64test_with_limitSuccess65.965
8_cythonno_x86_64_57_64test_paging_a_single_wide_rowSuccess72.197
8_cythonno_x86_64_57_64test_row_TTL_expiry_during_pagingSuccess91.778
8_cythonno_x86_64_57_64test_single_partition_deletionsSuccess65.615
8_cythonno_x86_64_57_64test_multiple_partition_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1305: test not applicable to env.
0.000
8_cythonno_x86_64_57_64test_sstableloader_compression_deflate_to_deflateSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.551
8_cythonno_x86_64_57_64test_sstableloader_compression_none_to_deflateSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.520
8_cythonno_x86_64_57_64test_sparse_supercolumnSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/thrift_upgrade_test.py:686: test not applicable to env.
0.000
8_cythonno_x86_64_57_64test_rolling_upgradeSuccess587.185
8_cythonno_x86_64_58_64test_batchSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:979: test not applicable to env.
0.001
8_cythonno_x86_64_58_64test_range_key_orderedSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3223: test not applicable to env.
0.000
8_cythonno_x86_64_58_64test_dense_cfSuccess65.054
8_cythonno_x86_64_58_64test_multi_in_compact_non_compositeSuccess58.107
8_cythonno_x86_64_58_64test_clustering_order_inSuccess59.115
8_cythonno_x86_64_58_64test_npe_composite_table_sliceSuccess67.611
8_cythonno_x86_64_58_64test_select_count_pagingSuccess62.863
8_cythonno_x86_64_58_64test_undefined_column_handlingSuccess66.115
8_cythonno_x86_64_58_64test_collection_flushSuccess79.108
8_cythonno_x86_64_58_64test_simple_tuple_querySuccess163.745
8_cythonno_x86_64_58_64test_compact_metadataSuccess60.785
8_cythonno_x86_64_58_64test_invalid_string_literalsSkippedhttps://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
8_cythonno_x86_64_58_64test_refuse_in_with_indexesSuccess142.877
8_cythonno_x86_64_58_64test_in_with_desc_orderSuccess63.061
8_cythonno_x86_64_58_64test_range_query_2ndarySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1273: test not applicable to env.
0.000
8_cythonno_x86_64_58_64test_cas_simpleSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3464: test not applicable to env.
0.000
8_cythonno_x86_64_58_64test_select_key_inSuccess54.141
8_cythonno_x86_64_58_64test_end_of_component_as_end_keySuccess56.150
8_cythonno_x86_64_58_64test_select_list_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5290: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_58_64test_batch_and_listSuccess58.201
8_cythonno_x86_64_58_64test_list_item_conditionalSuccess59.538
8_cythonno_x86_64_58_64test_multi_collectionSuccess58.345
8_cythonno_x86_64_58_64test_column_name_validationSuccess56.307
8_cythonno_x86_64_58_64test_more_order_bySuccess56.823
8_cythonno_x86_64_58_64test_function_and_reverse_typeSuccess56.030
8_cythonno_x86_64_58_64test_deleted_row_selectSuccess62.461
8_cythonno_x86_64_58_64test_multi_list_setSuccess58.336
8_cythonno_x86_64_58_64test_map_item_conditionalSuccess61.920
8_cythonno_x86_64_58_64test_cql3_non_compound_range_tombstonesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1541: test not applicable to env.
0.000
8_cythonno_x86_64_58_64test_large_countSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3701: test not applicable to env.
0.000
8_cythonno_x86_64_58_64test_with_less_results_than_page_sizeSuccess61.114
8_cythonno_x86_64_58_64test_with_allow_filteringSuccess61.493
8_cythonno_x86_64_58_64test_paging_across_multi_wide_rowsSuccess74.782
8_cythonno_x86_64_58_64test_cell_TTL_expiry_during_pagingSuccess96.533
8_cythonno_x86_64_58_64test_multiple_partition_deletionsSuccess65.070
8_cythonno_x86_64_58_64test_single_row_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1324: test not applicable to env.
0.001
8_cythonno_x86_64_58_64test_sstableloader_with_mvSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.578
8_cythonno_x86_64_58_64test_sstableloader_compression_snappy_to_noneSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.564
8_cythonno_x86_64_58_64test_upgrade_super_columns_through_all_versionsSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.605
8_cythonno_x86_64_58_64test_parallel_upgrade_with_internode_sslSuccess512.860
8_cythonno_x86_64_59_64test_token_rangeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1004: test not applicable to env.
0.001
8_cythonno_x86_64_59_64test_select_with_aliasSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3240: test not applicable to env.
0.000
8_cythonno_x86_64_59_64test_sparse_cfSuccess66.709
8_cythonno_x86_64_59_64test_large_clustering_inSuccess60.665
8_cythonno_x86_64_59_64test_end_of_component_uses_oecBoundSuccess57.811
8_cythonno_x86_64_59_64test_order_by_multikeySuccess67.414
8_cythonno_x86_64_59_64test_cas_and_ttlSuccess64.408
8_cythonno_x86_64_59_64test_range_tombstonesSuccess82.970
8_cythonno_x86_64_59_64test_select_distinctSuccess64.974
8_cythonno_x86_64_59_64test_limit_sparseSuccess161.738
8_cythonno_x86_64_59_64test_query_compact_tables_during_upgradeSuccess69.523
8_cythonno_x86_64_59_64test_negative_timestampSuccess61.065
8_cythonno_x86_64_59_64test_reversed_compactSuccess140.116
8_cythonno_x86_64_59_64test_in_order_by_without_selectingSuccess64.516
8_cythonno_x86_64_59_64test_setSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1297: test not applicable to env.
0.000
8_cythonno_x86_64_59_64test_internal_application_error_on_selectSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3480: test not applicable to env.
0.000
8_cythonno_x86_64_59_64test_exclusive_sliceSuccess52.281
8_cythonno_x86_64_59_64test_ticket_5230Success52.281
8_cythonno_x86_64_59_64test_select_map_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5318: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_59_64test_booleanSuccess55.323
8_cythonno_x86_64_59_64test_expanded_list_item_conditionalSuccess58.901
8_cythonno_x86_64_59_64test_range_querySuccess55.100
8_cythonno_x86_64_59_64test_user_typesSuccess57.355
8_cythonno_x86_64_59_64test_order_by_validationSuccess54.128
8_cythonno_x86_64_59_64test_NPE_during_select_with_tokenSuccess53.827
8_cythonno_x86_64_59_64test_secondary_index_querySkippedhttps://issues.apache.org/jira/browse/CASSANDRA-14961

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5427: https://issues.apache.org/jira/browse/CASSANDRA-14961
0.000
8_cythonno_x86_64_59_64test_composite_index_collectionsSuccess57.303
8_cythonno_x86_64_59_64test_expanded_map_item_conditionalSuccess62.067
8_cythonno_x86_64_59_64test_row_existenceSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1629: test not applicable to env.
0.000
8_cythonno_x86_64_59_64test_collection_indexingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3733: test not applicable to env.
0.000
8_cythonno_x86_64_59_64test_with_more_results_than_page_sizeSuccess62.568
8_cythonno_x86_64_59_64test_with_order_bySuccess62.741
8_cythonno_x86_64_59_64test_paging_using_secondary_indexesSuccess68.072
8_cythonno_x86_64_59_64test_data_change_impacting_earlier_pageSuccess63.530
8_cythonno_x86_64_59_64test_single_row_deletionsSuccess73.004
8_cythonno_x86_64_59_64test_single_cell_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1374: test not applicable to env.
0.000
8_cythonno_x86_64_59_64test_sstableloader_compression_none_to_noneSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.348
8_cythonno_x86_64_59_64test_sstableloader_compression_snappy_to_snappySkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.330
8_cythonno_x86_64_59_64test_upgrade_super_columns_through_limited_versionsSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.332
8_cythonno_x86_64_59_64test_rolling_upgrade_with_internode_sslSuccess629.160
8_cythonno_x86_64_5_64test_simple_bootstrap_with_sslSuccess96.552
8_cythonno_x86_64_5_64test_listSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1379: test not applicable to env.
0.001
8_cythonno_x86_64_5_64test_add_deletion_info_in_unsorted_columnSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3522: test not applicable to env.
0.000
8_cythonno_x86_64_5_64test_order_bySuccess65.649
8_cythonno_x86_64_5_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.588
8_cythonno_x86_64_5_64test_select_list_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5378: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_5_64test_returned_nullSuccess70.665
8_cythonno_x86_64_5_64test_whole_map_conditionalSuccess68.485
8_cythonno_x86_64_5_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.512
8_cythonno_x86_64_5_64test_intersection_logic_returns_empty_resultSuccess86.270
8_cythonno_x86_64_5_64test_reversed_comparatorSuccess154.600
8_cythonno_x86_64_5_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.289
8_cythonno_x86_64_5_64test_materialized_view_simpleSuccess64.873
8_cythonno_x86_64_5_64test_range_with_deletesSuccess142.646
8_cythonno_x86_64_5_64test_static_with_limitSuccess66.278
8_cythonno_x86_64_5_64test_no_clusteringSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1715: test not applicable to env.
0.000
8_cythonno_x86_64_5_64test_nan_infinitySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3819: test not applicable to env.
0.000
8_cythonno_x86_64_5_64test_countSuccess49.872
8_cythonno_x86_64_5_64test_conditional_deleteSuccess53.620
8_cythonno_x86_64_5_64test_dynamic_cfSuccess51.625
8_cythonno_x86_64_5_64test_multi_in_compactSuccess52.154
8_cythonno_x86_64_5_64test_invalid_custom_timestampSuccess52.366
8_cythonno_x86_64_5_64test_limit_bugsSuccess54.167
8_cythonno_x86_64_5_64test_static_columns_with_distinctSuccess56.155
8_cythonno_x86_64_5_64test_no_range_ghostSuccess53.036
8_cythonno_x86_64_5_64test_empty_inSuccess53.819
8_cythonno_x86_64_5_64test_limit_multigetSuccess55.284
8_cythonno_x86_64_5_64test_float_with_exponentSuccess53.356
8_cythonno_x86_64_5_64test_blobAs_functionsSuccess53.266
8_cythonno_x86_64_5_64test_indexes_compositeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1978: test not applicable to env.
0.000
8_cythonno_x86_64_5_64test_v2_protocol_IN_with_tuplesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4250: test not applicable to env.
0.000
8_cythonno_x86_64_5_64test_with_more_results_than_page_sizeSuccess60.441
8_cythonno_x86_64_5_64test_with_limitSuccess56.393
8_cythonno_x86_64_5_64test_basic_pagingSuccess52.396
8_cythonno_x86_64_5_64test_row_TTL_expiry_during_pagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:996: test not applicable to env.
0.001
8_cythonno_x86_64_5_64test_ttl_deletionsSuccess70.714
8_cythonno_x86_64_5_64test_10822Success52.690
8_cythonno_x86_64_5_64test_sstableloader_compression_none_to_noneSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.605
8_cythonno_x86_64_5_64test_keys_index_3_11_createdSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.583
8_cythonno_x86_64_5_64test_rolling_upgradeSuccess1186.398
8_cythonno_x86_64_5_64test_udtfix_in_messagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_udtfix_test.py:61: test not applicable to env.
0.003
8_cythonno_x86_64_60_64test_timestamp_and_ttlSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1036: test not applicable to env.
0.001
8_cythonno_x86_64_60_64test_nonpure_function_collectionSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3292: test not applicable to env.
0.000
8_cythonno_x86_64_60_64test_limit_rangesSuccess58.608
8_cythonno_x86_64_60_64test_timeuuidSuccess65.058
8_cythonno_x86_64_60_64test_SIM_assertion_errorSuccess58.731
8_cythonno_x86_64_60_64test_remove_range_sliceSuccess59.943
8_cythonno_x86_64_60_64test_tuple_notationSuccess56.969
8_cythonno_x86_64_60_64test_range_tombstones_compactionSuccess91.582
8_cythonno_x86_64_60_64test_select_distinct_with_deletionsSuccess60.092
8_cythonno_x86_64_60_64test_countersSuccess148.080
8_cythonno_x86_64_60_64test_clustering_indexingSuccess60.918
8_cythonno_x86_64_60_64test_select_map_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5231: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_60_64test_reversed_compact_multikeySuccess122.895
8_cythonno_x86_64_60_64test_cas_and_compactSuccess59.910
8_cythonno_x86_64_60_64test_mapSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1339: test not applicable to env.
0.000
8_cythonno_x86_64_60_64test_store_sets_with_if_not_existsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3501: test not applicable to env.
0.000
8_cythonno_x86_64_60_64test_in_clause_wide_rowsSuccess50.662
8_cythonno_x86_64_60_64test_conversion_functionsSuccess49.940
8_cythonno_x86_64_60_64test_select_set_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5347: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_60_64test_multiorderingSuccess52.897
8_cythonno_x86_64_60_64test_whole_set_conditionalSuccess56.248
8_cythonno_x86_64_60_64test_composite_row_keyFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f0eb5d16a00>

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
49.624
8_cythonno_x86_64_60_64test_more_user_typesSuccess57.472
8_cythonno_x86_64_60_64test_order_by_with_inSuccess52.393
8_cythonno_x86_64_60_64test_empty_blobSuccess51.434
8_cythonno_x86_64_60_64test_tracing_prevents_startup_after_upgradingSuccess57.646
8_cythonno_x86_64_60_64test_truncate_clean_cacheSkippedhttps://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
8_cythonno_x86_64_60_64test_cas_and_list_indexSuccess55.632
8_cythonno_x86_64_60_64test_only_pkSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1668: test not applicable to env.
0.000
8_cythonno_x86_64_60_64test_map_keys_indexingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3785: test not applicable to env.
0.000
8_cythonno_x86_64_60_64test_with_equal_results_to_page_sizeSuccess61.629
8_cythonno_x86_64_60_64test_with_order_by_reversedSuccess63.465
8_cythonno_x86_64_60_64test_static_columns_pagingSuccess73.248
8_cythonno_x86_64_60_64test_data_change_impacting_later_pageSuccess62.082
8_cythonno_x86_64_60_64test_single_cell_deletionsSuccess79.950
8_cythonno_x86_64_60_64test_multiple_cell_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1426: test not applicable to env.
0.000
8_cythonno_x86_64_60_64test_sstableloader_compression_none_to_snappySkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.785
8_cythonno_x86_64_60_64test_sstableloader_compression_snappy_to_deflateSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.365
8_cythonno_x86_64_60_64test_parallel_upgradeSkippedSkip base class, only generated classes run the tests

/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_through_versions_test.py:359: Skip base class, only generated classes run the tests
0.353
8_cythonno_x86_64_60_64test_udtfix_in_sstableSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_udtfix_test.py:34: test not applicable to env.
0.004
8_cythonno_x86_64_61_64test_no_range_ghostSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1093: test not applicable to env.
0.001
8_cythonno_x86_64_61_64test_empty_inSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3304: test not applicable to env.
0.000
8_cythonno_x86_64_61_64test_limit_multigetSuccess65.473
8_cythonno_x86_64_61_64test_float_with_exponentSuccess61.728
8_cythonno_x86_64_61_64test_blobAs_functionsSuccess59.610
8_cythonno_x86_64_61_64test_indexes_compositeSuccess67.012
8_cythonno_x86_64_61_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.475
8_cythonno_x86_64_61_64test_delete_rowSuccess64.503
8_cythonno_x86_64_61_64test_function_with_nullFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7fe8d9752bb0>

def test_function_with_null(self):
cursor = self.prepare()

cursor.execute("""
CREATE TABLE test (
k int PRIMARY KEY,
t timeuuid
)
""")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE test")

cursor.execute("INSERT INTO test(k) VALUES (0)")

> if self.get_node_version(is_upgraded) >= LooseVersion('2.2'):

upgrade_tests/cql_tests.py:3458:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
71.765
8_cythonno_x86_64_61_64test_indexed_with_eqSuccess209.235
8_cythonno_x86_64_61_64test_edge_2i_on_complex_pkSuccess78.693
8_cythonno_x86_64_61_64test_select_set_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5259: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_61_64test_collection_and_regularSuccess189.214
8_cythonno_x86_64_61_64test_whole_list_conditionalSuccess83.641
8_cythonno_x86_64_61_64test_listSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1379: test not applicable to env.
0.001
8_cythonno_x86_64_61_64test_add_deletion_info_in_unsorted_columnSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3522: test not applicable to env.
0.001
8_cythonno_x86_64_61_64test_order_bySuccess66.440
8_cythonno_x86_64_61_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.567
8_cythonno_x86_64_61_64test_select_list_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5378: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_61_64test_returned_nullSuccess66.006
8_cythonno_x86_64_61_64test_whole_map_conditionalSuccess75.384
8_cythonno_x86_64_61_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.618
8_cythonno_x86_64_61_64test_intersection_logic_returns_empty_resultSuccess88.395
8_cythonno_x86_64_61_64test_reversed_comparatorSuccess66.372
8_cythonno_x86_64_61_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.643
8_cythonno_x86_64_61_64test_materialized_view_simpleSuccess70.468
8_cythonno_x86_64_61_64test_range_with_deletesSuccess67.277
8_cythonno_x86_64_61_64test_static_with_limitSuccess70.156
8_cythonno_x86_64_61_64test_no_clusteringSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1715: test not applicable to env.
0.000
8_cythonno_x86_64_61_64test_nan_infinitySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3819: test not applicable to env.
0.000
8_cythonno_x86_64_61_64test_undefined_page_size_defaultSuccess68.157
8_cythonno_x86_64_61_64test_with_limitSuccess66.805
8_cythonno_x86_64_61_64test_paging_using_secondary_indexes_with_static_colsSuccess68.983
8_cythonno_x86_64_61_64test_row_TTL_expiry_during_pagingSuccess89.765
8_cythonno_x86_64_61_64test_multiple_cell_deletionsSuccess66.648
8_cythonno_x86_64_61_64test_ttl_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1466: test not applicable to env.
0.001
8_cythonno_x86_64_61_64test_sstableloader_compression_none_to_deflateSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.325
8_cythonno_x86_64_61_64test_sstableloader_compression_deflate_to_noneSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.577
8_cythonno_x86_64_61_64test_rolling_upgradeSkippedSkip base class, only generated classes run the tests

/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_through_versions_test.py:359: Skip base class, only generated classes run the tests
0.650
8_cythonno_x86_64_61_64test_udtfix_in_messagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_udtfix_test.py:61: test not applicable to env.
0.008
8_cythonno_x86_64_62_64test_undefined_column_handlingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1141: test not applicable to env.
0.001
8_cythonno_x86_64_62_64test_collection_flushSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3351: test not applicable to env.
0.000
8_cythonno_x86_64_62_64test_simple_tuple_querySuccess58.426
8_cythonno_x86_64_62_64test_compact_metadataSuccess56.207
8_cythonno_x86_64_62_64test_invalid_string_literalsSkippedhttps://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
8_cythonno_x86_64_62_64test_refuse_in_with_indexesSuccess63.811
8_cythonno_x86_64_62_64test_in_with_desc_orderSuccess60.841
8_cythonno_x86_64_62_64test_range_query_2ndarySuccess64.033
8_cythonno_x86_64_62_64test_cas_simpleSuccess61.789
8_cythonno_x86_64_62_64test_select_key_inSuccess146.322
8_cythonno_x86_64_62_64test_end_of_component_as_end_keySuccess60.909
8_cythonno_x86_64_62_64test_select_list_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5290: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_62_64test_batch_and_listSuccess146.538
8_cythonno_x86_64_62_64test_list_item_conditionalSuccess67.550
8_cythonno_x86_64_62_64test_multi_collectionSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1419: test not applicable to env.
0.000
8_cythonno_x86_64_62_64test_column_name_validationSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3540: test not applicable to env.
0.000
8_cythonno_x86_64_62_64test_more_order_bySuccess55.464
8_cythonno_x86_64_62_64test_function_and_reverse_typeSuccess56.526
8_cythonno_x86_64_62_64test_deleted_row_selectSuccess59.977
8_cythonno_x86_64_62_64test_multi_list_setSuccess56.956
8_cythonno_x86_64_62_64test_map_item_conditionalSuccess54.988
8_cythonno_x86_64_62_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.333
8_cythonno_x86_64_62_64test_large_countSuccess66.200
8_cythonno_x86_64_62_64test_null_supportSuccess53.059
8_cythonno_x86_64_62_64test_clustering_order_and_functionsSuccess52.004
8_cythonno_x86_64_62_64test_static_cfSuccess53.923
8_cythonno_x86_64_62_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.589
8_cythonno_x86_64_62_64test_static_with_empty_clusteringSuccess56.163
8_cythonno_x86_64_62_64test_dateSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1728: test not applicable to env.
0.000
8_cythonno_x86_64_62_64test_static_columnsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3843: test not applicable to env.
0.000
8_cythonno_x86_64_62_64test_with_no_resultsSuccess57.977
8_cythonno_x86_64_62_64test_with_allow_filteringSuccess61.794
8_cythonno_x86_64_62_64test_basic_pagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:447: test not applicable to env.
0.000
8_cythonno_x86_64_62_64test_cell_TTL_expiry_during_pagingSuccess93.523
8_cythonno_x86_64_62_64test_ttl_deletionsSuccess72.662
8_cythonno_x86_64_62_64test_failure_threshold_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1486: test not applicable to env.
0.000
8_cythonno_x86_64_62_64test_sstableloader_compression_snappy_to_noneSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.585
8_cythonno_x86_64_62_64test_sstableloader_compression_deflate_to_snappySkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.587
8_cythonno_x86_64_62_64test_parallel_upgrade_with_internode_sslSkippedSkip base class, only generated classes run the tests

/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_through_versions_test.py:359: Skip base class, only generated classes run the tests
0.633
8_cythonno_x86_64_62_64test_udtfix_in_sstableSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_udtfix_test.py:34: test not applicable to env.
0.013
8_cythonno_x86_64_63_64test_range_tombstonesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1165: test not applicable to env.
0.001
8_cythonno_x86_64_63_64test_select_distinctSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3370: test not applicable to env.
0.000
8_cythonno_x86_64_63_64test_limit_sparseSuccess65.207
8_cythonno_x86_64_63_64test_query_compact_tables_during_upgradeSuccess65.372
8_cythonno_x86_64_63_64test_negative_timestampSuccess57.347
8_cythonno_x86_64_63_64test_reversed_compactSuccess65.514
8_cythonno_x86_64_63_64test_in_order_by_without_selectingSuccess58.858
8_cythonno_x86_64_63_64test_setSuccess65.533
8_cythonno_x86_64_63_64test_internal_application_error_on_selectSuccess60.598
8_cythonno_x86_64_63_64test_exclusive_sliceSuccess157.187
8_cythonno_x86_64_63_64test_ticket_5230Success59.871
8_cythonno_x86_64_63_64test_select_map_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5318: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_63_64test_booleanSuccess134.456
8_cythonno_x86_64_63_64test_expanded_list_item_conditionalSuccess68.547
8_cythonno_x86_64_63_64test_range_querySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1448: test not applicable to env.
0.000
8_cythonno_x86_64_63_64test_user_typesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3562: test not applicable to env.
0.000
8_cythonno_x86_64_63_64test_order_by_validationSuccess54.076
8_cythonno_x86_64_63_64test_NPE_during_select_with_tokenSuccess53.841
8_cythonno_x86_64_63_64test_secondary_index_querySkippedhttps://issues.apache.org/jira/browse/CASSANDRA-14961

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5427: https://issues.apache.org/jira/browse/CASSANDRA-14961
0.001
8_cythonno_x86_64_63_64test_composite_index_collectionsSuccess55.368
8_cythonno_x86_64_63_64test_expanded_map_item_conditionalSuccess57.360
8_cythonno_x86_64_63_64test_row_existenceSuccess54.805
8_cythonno_x86_64_63_64test_collection_indexingSuccess63.427
8_cythonno_x86_64_63_64test_nameless_indexSuccess57.296
8_cythonno_x86_64_63_64test_conditional_updateSuccess56.579
8_cythonno_x86_64_63_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.529
8_cythonno_x86_64_63_64test_composite_partition_key_validationSuccess55.748
8_cythonno_x86_64_63_64test_limit_compact_tableSuccess58.427
8_cythonno_x86_64_63_64test_range_sliceSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1746: test not applicable to env.
0.001
8_cythonno_x86_64_63_64test_static_columns_casSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3909: test not applicable to env.
0.000
8_cythonno_x86_64_63_64test_with_less_results_than_page_sizeSuccess60.993
8_cythonno_x86_64_63_64test_with_order_bySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:196: test not applicable to env.
0.000
8_cythonno_x86_64_63_64test_basic_compound_pagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:499: test not applicable to env.
0.000
8_cythonno_x86_64_63_64test_data_change_impacting_earlier_pageSuccess63.346
8_cythonno_x86_64_63_64test_failure_threshold_deletionsSuccess70.673
8_cythonno_x86_64_63_64test_10822Skippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/regression_test.py:29: test not applicable to env.
0.001
8_cythonno_x86_64_63_64test_sstableloader_compression_snappy_to_snappySkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.784
8_cythonno_x86_64_63_64test_sstableloader_compression_deflate_to_deflateSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.790
8_cythonno_x86_64_63_64test_rolling_upgrade_with_internode_sslSkippedSkip base class, only generated classes run the tests

/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_through_versions_test.py:359: Skip base class, only generated classes run the tests
0.787
8_cythonno_x86_64_63_64test_udtfix_in_messagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_udtfix_test.py:61: test not applicable to env.
0.004
8_cythonno_x86_64_64_64test_range_tombstones_compactionSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1211: test not applicable to env.
0.000
8_cythonno_x86_64_64_64test_select_distinct_with_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3414: test not applicable to env.
0.000
8_cythonno_x86_64_64_64test_countersSuccess66.978
8_cythonno_x86_64_64_64test_clustering_indexingSuccess62.012
8_cythonno_x86_64_64_64test_select_map_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5231: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_64_64test_reversed_compact_multikeySuccess68.894
8_cythonno_x86_64_64_64test_cas_and_compactSuccess61.095
8_cythonno_x86_64_64_64test_mapSuccess73.111
8_cythonno_x86_64_64_64test_store_sets_with_if_not_existsSuccess62.712
8_cythonno_x86_64_64_64test_in_clause_wide_rowsSuccess162.000
8_cythonno_x86_64_64_64test_conversion_functionsSuccess61.944
8_cythonno_x86_64_64_64test_select_set_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5347: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_64_64test_multiorderingSuccess135.535
8_cythonno_x86_64_64_64test_whole_set_conditionalSuccess70.245
8_cythonno_x86_64_64_64test_composite_row_keySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1469: test not applicable to env.
0.000
8_cythonno_x86_64_64_64test_more_user_typesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3623: test not applicable to env.
0.000
8_cythonno_x86_64_64_64test_order_by_with_inSuccess53.027
8_cythonno_x86_64_64_64test_empty_blobSuccess52.296
8_cythonno_x86_64_64_64test_tracing_prevents_startup_after_upgradingSuccess60.382
8_cythonno_x86_64_64_64test_truncate_clean_cacheSkippedhttps://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
8_cythonno_x86_64_64_64test_cas_and_list_indexSuccess55.876
8_cythonno_x86_64_64_64test_only_pkSuccess54.827
8_cythonno_x86_64_64_64test_map_keys_indexingSuccess56.382
8_cythonno_x86_64_64_64test_deletionSuccess54.612
8_cythonno_x86_64_64_64test_non_eq_conditional_updateSuccess54.817
8_cythonno_x86_64_64_64test_noncomposite_static_cfSuccess56.321
8_cythonno_x86_64_64_64test_multi_inSuccess56.586
8_cythonno_x86_64_64_64test_key_index_with_reverse_clusteringSuccess57.070
8_cythonno_x86_64_64_64test_composite_index_with_pkSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1769: test not applicable to env.
0.000
8_cythonno_x86_64_64_64test_static_columns_with_2iSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4046: test not applicable to env.
0.000
8_cythonno_x86_64_64_64test_with_more_results_than_page_sizeSuccess62.284
8_cythonno_x86_64_64_64test_with_order_by_reversedSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:248: test not applicable to env.
0.000
8_cythonno_x86_64_64_64test_paging_a_single_wide_rowSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:550: test not applicable to env.
0.000
8_cythonno_x86_64_64_64test_data_change_impacting_later_pageSuccess65.600
8_cythonno_x86_64_64_64test_single_partition_deletionsSuccess67.528
8_cythonno_x86_64_64_64test13294Skippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/regression_test.py:72: test not applicable to env.
0.000
8_cythonno_x86_64_64_64test_sstableloader_compression_snappy_to_deflateSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.350
8_cythonno_x86_64_64_64test_sstableloader_with_mvSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.332
8_cythonno_x86_64_64_64test_parallel_upgradeSuccess755.236
8_cythonno_x86_64_64_64test_udtfix_in_sstableSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_udtfix_test.py:34: test not applicable to env.
0.002
8_cythonno_x86_64_6_64test_simple_bootstrapSuccess117.145
8_cythonno_x86_64_6_64test_multi_collectionSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1419: test not applicable to env.
0.000
8_cythonno_x86_64_6_64test_column_name_validationSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3540: test not applicable to env.
0.000
8_cythonno_x86_64_6_64test_more_order_bySuccess82.718
8_cythonno_x86_64_6_64test_function_and_reverse_typeSuccess59.711
8_cythonno_x86_64_6_64test_deleted_row_selectSuccess65.814
8_cythonno_x86_64_6_64test_multi_list_setSuccess67.835
8_cythonno_x86_64_6_64test_map_item_conditionalSuccess67.949
8_cythonno_x86_64_6_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.471
8_cythonno_x86_64_6_64test_large_countSuccess87.290
8_cythonno_x86_64_6_64test_null_supportSuccess152.867
8_cythonno_x86_64_6_64test_clustering_order_and_functionsSuccess62.087
8_cythonno_x86_64_6_64test_static_cfSuccess119.222
8_cythonno_x86_64_6_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.591
8_cythonno_x86_64_6_64test_static_with_empty_clusteringSuccess62.164
8_cythonno_x86_64_6_64test_dateSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1728: test not applicable to env.
0.001
8_cythonno_x86_64_6_64test_static_columnsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3843: test not applicable to env.
0.000
8_cythonno_x86_64_6_64test_batchSuccess50.668
8_cythonno_x86_64_6_64test_range_key_orderedSuccess50.659
8_cythonno_x86_64_6_64test_dense_cfSuccess51.421
8_cythonno_x86_64_6_64test_multi_in_compact_non_compositeSuccess51.322
8_cythonno_x86_64_6_64test_clustering_order_inSuccess51.926
8_cythonno_x86_64_6_64test_npe_composite_table_sliceSuccess52.709
8_cythonno_x86_64_6_64test_select_count_pagingFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7fa05434c400>

def test_select_count_paging(self):
"""
Test for the #6579 'select count' paging bug
@jira_ticket CASSANDRA-6579
"""
cursor = self.prepare()
cursor.execute("create table test(field1 text, field2 timeuuid, field3 boolean, primary key(field1, field2));")
cursor.execute("create index test_index on test(field3);")

for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE test")

cursor.execute("insert into test(field1, field2, field3) values ('hola', now(), false);")
cursor.execute("insert into test(field1, field2, field3) values ('hola', now(), false);")

# the result depends on which node we're connected to, see CASSANDRA-8216
> if self.get_node_version(is_upgraded) >= '2.2':

upgrade_tests/cql_tests.py:4197:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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
47.641
8_cythonno_x86_64_6_64test_undefined_column_handlingSuccess50.844
8_cythonno_x86_64_6_64test_collection_flushSuccess60.929
8_cythonno_x86_64_6_64test_simple_tuple_querySuccess53.774
8_cythonno_x86_64_6_64test_compact_metadataSuccess54.586
8_cythonno_x86_64_6_64test_invalid_string_literalsSkippedhttps://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
8_cythonno_x86_64_6_64test_refuse_in_with_indexesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2020: test not applicable to env.
0.001
8_cythonno_x86_64_6_64test_in_with_desc_orderSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4274: test not applicable to env.
0.000
8_cythonno_x86_64_6_64test_with_equal_results_to_page_sizeSuccess61.078
8_cythonno_x86_64_6_64test_with_allow_filteringSuccess50.637
8_cythonno_x86_64_6_64test_basic_compound_pagingSuccess49.825
8_cythonno_x86_64_6_64test_cell_TTL_expiry_during_pagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1041: test not applicable to env.
0.000
8_cythonno_x86_64_6_64test_failure_threshold_deletionsSuccess70.757
8_cythonno_x86_64_6_64test13294Success89.302
8_cythonno_x86_64_6_64test_sstableloader_compression_none_to_snappySkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.338
8_cythonno_x86_64_6_64test_dense_supercolumnSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/thrift_upgrade_test.py:575: test not applicable to env.
0.000
8_cythonno_x86_64_6_64test_parallel_upgrade_with_internode_sslSuccess725.784
8_cythonno_x86_64_6_64test_udtfix_in_sstableSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_udtfix_test.py:34: test not applicable to env.
0.003
8_cythonno_x86_64_7_64test_bootstrap_on_write_surveySuccess99.051
8_cythonno_x86_64_7_64test_range_querySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1448: test not applicable to env.
0.000
8_cythonno_x86_64_7_64test_user_typesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3562: test not applicable to env.
0.000
8_cythonno_x86_64_7_64test_order_by_validationSuccess66.907
8_cythonno_x86_64_7_64test_NPE_during_select_with_tokenSuccess59.642
8_cythonno_x86_64_7_64test_secondary_index_querySkippedhttps://issues.apache.org/jira/browse/CASSANDRA-14961

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5427: https://issues.apache.org/jira/browse/CASSANDRA-14961
0.000
8_cythonno_x86_64_7_64test_composite_index_collectionsSuccess71.146
8_cythonno_x86_64_7_64test_expanded_map_item_conditionalSuccess67.945
8_cythonno_x86_64_7_64test_row_existenceSuccess72.318
8_cythonno_x86_64_7_64test_collection_indexingSuccess72.240
8_cythonno_x86_64_7_64test_nameless_indexSuccess161.899
8_cythonno_x86_64_7_64test_conditional_updateSuccess63.183
8_cythonno_x86_64_7_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.520
8_cythonno_x86_64_7_64test_composite_partition_key_validationSuccess137.391
8_cythonno_x86_64_7_64test_limit_compact_tableSuccess66.253
8_cythonno_x86_64_7_64test_range_sliceSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1746: test not applicable to env.
0.000
8_cythonno_x86_64_7_64test_static_columns_casSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3909: test not applicable to env.
0.000
8_cythonno_x86_64_7_64test_token_rangeSuccess54.365
8_cythonno_x86_64_7_64test_select_with_aliasSuccess54.600
8_cythonno_x86_64_7_64test_sparse_cfSuccess54.847
8_cythonno_x86_64_7_64test_large_clustering_inSuccess56.119
8_cythonno_x86_64_7_64test_end_of_component_uses_oecBoundSuccess54.859
8_cythonno_x86_64_7_64test_order_by_multikeySuccess55.323
8_cythonno_x86_64_7_64test_cas_and_ttlSuccess60.337
8_cythonno_x86_64_7_64test_range_tombstonesSuccess72.901
8_cythonno_x86_64_7_64test_select_distinctSuccess56.819
8_cythonno_x86_64_7_64test_limit_sparseSuccess57.153
8_cythonno_x86_64_7_64test_query_compact_tables_during_upgradeSuccess62.112
8_cythonno_x86_64_7_64test_negative_timestampSuccess55.573
8_cythonno_x86_64_7_64test_reversed_compactSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2042: test not applicable to env.
0.000
8_cythonno_x86_64_7_64test_in_order_by_without_selectingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4294: test not applicable to env.
0.000
8_cythonno_x86_64_7_64test_undefined_page_size_defaultSuccess74.388
8_cythonno_x86_64_7_64test_with_order_bySuccess55.378
8_cythonno_x86_64_7_64test_paging_a_single_wide_rowSuccess63.286
8_cythonno_x86_64_7_64test_data_change_impacting_earlier_pageSuccess55.886
8_cythonno_x86_64_7_64test_single_partition_deletionsSuccess69.294
8_cythonno_x86_64_7_64test_schema_agreementSkipped5.0 > 3.0.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.0.99
0.347
8_cythonno_x86_64_7_64test_sstableloader_compression_none_to_deflateSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.327
8_cythonno_x86_64_7_64test_dense_supercolumn_with_renamesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/thrift_upgrade_test.py:607: test not applicable to env.
0.001
8_cythonno_x86_64_7_64test_rolling_upgrade_with_internode_sslSuccess1151.776
8_cythonno_x86_64_7_64test_udtfix_in_messagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_udtfix_test.py:61: test not applicable to env.
0.003
8_cythonno_x86_64_8_64test_simple_bootstrap_small_keepalive_periodSuccess102.269
8_cythonno_x86_64_8_64test_composite_row_keySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1469: test not applicable to env.
0.000
8_cythonno_x86_64_8_64test_more_user_typesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3623: test not applicable to env.
0.000
8_cythonno_x86_64_8_64test_order_by_with_inSuccess63.539
8_cythonno_x86_64_8_64test_empty_blobSuccess57.330
8_cythonno_x86_64_8_64test_tracing_prevents_startup_after_upgradingSuccess65.958
8_cythonno_x86_64_8_64test_truncate_clean_cacheSkippedhttps://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
8_cythonno_x86_64_8_64test_cas_and_list_indexSuccess72.809
8_cythonno_x86_64_8_64test_only_pkSuccess68.639
8_cythonno_x86_64_8_64test_map_keys_indexingSuccess60.657
8_cythonno_x86_64_8_64test_deletionSuccess157.494
8_cythonno_x86_64_8_64test_non_eq_conditional_updateSuccess61.206
8_cythonno_x86_64_8_64test_noncomposite_static_cfSuccess125.802
8_cythonno_x86_64_8_64test_multi_inSuccess63.726
8_cythonno_x86_64_8_64test_key_index_with_reverse_clusteringSuccess66.936
8_cythonno_x86_64_8_64test_composite_index_with_pkSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1769: test not applicable to env.
0.000
8_cythonno_x86_64_8_64test_static_columns_with_2iSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4046: test not applicable to env.
0.000
8_cythonno_x86_64_8_64test_timestamp_and_ttlSuccess55.411
8_cythonno_x86_64_8_64test_nonpure_function_collectionSuccess57.171
8_cythonno_x86_64_8_64test_limit_rangesSuccess55.084
8_cythonno_x86_64_8_64test_timeuuidSuccess65.214
8_cythonno_x86_64_8_64test_SIM_assertion_errorSuccess59.048
8_cythonno_x86_64_8_64test_remove_range_sliceSuccess63.561
8_cythonno_x86_64_8_64test_tuple_notationSuccess62.947
8_cythonno_x86_64_8_64test_range_tombstones_compactionSuccess78.239
8_cythonno_x86_64_8_64test_select_distinct_with_deletionsSuccess58.959
8_cythonno_x86_64_8_64test_countersSuccess63.871
8_cythonno_x86_64_8_64test_clustering_indexingSuccess61.681
8_cythonno_x86_64_8_64test_select_map_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5231: awaiting CASSANDRA-7396
0.000
8_cythonno_x86_64_8_64test_reversed_compact_multikeySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2114: test not applicable to env.
0.000
8_cythonno_x86_64_8_64test_cas_and_compactSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4336: test not applicable to env.
0.000
8_cythonno_x86_64_8_64test_with_no_resultsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:47: test not applicable to env.
0.000
8_cythonno_x86_64_8_64test_with_order_by_reversedSuccess60.554
8_cythonno_x86_64_8_64test_paging_across_multi_wide_rowsSuccess68.828
8_cythonno_x86_64_8_64test_data_change_impacting_later_pageSuccess57.404
8_cythonno_x86_64_8_64test_multiple_partition_deletionsSuccess64.728
8_cythonno_x86_64_8_64test_10822Success56.065
8_cythonno_x86_64_8_64test_sstableloader_compression_snappy_to_noneSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.550
8_cythonno_x86_64_8_64test_sparse_supercolumn_with_renamesSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/thrift_upgrade_test.py:645: test not applicable to env.
0.000
8_cythonno_x86_64_8_64test_parallel_upgradeSuccess723.915
8_cythonno_x86_64_8_64test_udtfix_in_sstableSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_udtfix_test.py:34: test not applicable to env.
0.002
8_cythonno_x86_64_9_64test_simple_bootstrap_nodataSuccess105.012
8_cythonno_x86_64_9_64test_cql3_insert_thriftSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1504: test not applicable to env.
0.000
8_cythonno_x86_64_9_64test_intersection_logic_returns_empty_resultSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3655: test not applicable to env.
0.000
8_cythonno_x86_64_9_64test_reversed_comparatorSuccess92.072
8_cythonno_x86_64_9_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.286
8_cythonno_x86_64_9_64test_materialized_view_simpleSuccess58.511
8_cythonno_x86_64_9_64test_range_with_deletesSuccess94.363
8_cythonno_x86_64_9_64test_static_with_limitSuccess58.290
8_cythonno_x86_64_9_64test_no_clusteringSuccess105.519
8_cythonno_x86_64_9_64test_nan_infinitySuccess59.750
8_cythonno_x86_64_9_64test_countSuccess154.164
8_cythonno_x86_64_9_64test_conditional_deleteSuccess65.106
8_cythonno_x86_64_9_64test_dynamic_cfSuccess133.772
8_cythonno_x86_64_9_64test_multi_in_compactSuccess62.403
8_cythonno_x86_64_9_64test_invalid_custom_timestampSuccess65.270
8_cythonno_x86_64_9_64test_limit_bugsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1833: test not applicable to env.
0.000
8_cythonno_x86_64_9_64test_static_columns_with_distinctSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4076: test not applicable to env.
0.000
8_cythonno_x86_64_9_64test_no_range_ghostSuccess57.253
8_cythonno_x86_64_9_64test_empty_inSuccess55.360
8_cythonno_x86_64_9_64test_limit_multigetSuccess57.426
8_cythonno_x86_64_9_64test_float_with_exponentSuccess55.857
8_cythonno_x86_64_9_64test_blobAs_functionsSuccess54.622
8_cythonno_x86_64_9_64test_indexes_compositeSuccess56.601
8_cythonno_x86_64_9_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.768
8_cythonno_x86_64_9_64test_delete_rowSuccess56.248
8_cythonno_x86_64_9_64test_function_with_nullSuccess54.757
8_cythonno_x86_64_9_64test_indexed_with_eqSuccess58.286
8_cythonno_x86_64_9_64test_edge_2i_on_complex_pkSuccess61.784
8_cythonno_x86_64_9_64test_select_set_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5259: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_9_64test_collection_and_regularSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2197: test not applicable to env.
0.000
8_cythonno_x86_64_9_64test_whole_list_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4364: test not applicable to env.
0.000
8_cythonno_x86_64_9_64test_with_less_results_than_page_sizeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:67: test not applicable to env.
0.000
8_cythonno_x86_64_9_64test_with_limitSuccess63.594
8_cythonno_x86_64_9_64test_paging_using_secondary_indexesSuccess57.518
8_cythonno_x86_64_9_64test_row_TTL_expiry_during_pagingSuccess85.940
8_cythonno_x86_64_9_64test_single_row_deletionsSuccess73.303
8_cythonno_x86_64_9_64test13294Success102.640
8_cythonno_x86_64_9_64test_sstableloader_compression_snappy_to_snappySkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.562
8_cythonno_x86_64_9_64test_sparse_supercolumnSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/thrift_upgrade_test.py:686: test not applicable to env.
0.000
8_cythonno_x86_64_9_64test_rolling_upgradeSuccess1145.962
8_cythonno_x86_64_9_64test_udtfix_in_messagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/upgrade_udtfix_test.py:61: test not applicable to env.
0.004