Unit Test Results.

Designed for use with JUnit and Ant.

All Tests

ClassNameStatusTypeTime(s)
8_cythonno_x86_64_10_64test_consistent_range_movement_false_with_replica_down_should_succeedSuccess172.000
8_cythonno_x86_64_10_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_10_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_10_64test_range_querySuccess66.960
8_cythonno_x86_64_10_64test_static_columns_casSuccess61.832
8_cythonno_x86_64_10_64test_timestamp_and_ttlSuccess71.517
8_cythonno_x86_64_10_64test_add_deletion_info_in_unsorted_columnSuccess64.513
8_cythonno_x86_64_10_64test_more_order_bySuccess75.833
8_cythonno_x86_64_10_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 0x7f87c1c9bb20>

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
61.041
8_cythonno_x86_64_10_64test_sparse_cfSuccess171.184
8_cythonno_x86_64_10_64test_ticket_5230Success68.496
8_cythonno_x86_64_10_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_10_64test_multi_in_compactSuccess156.998
8_cythonno_x86_64_10_64test_end_of_component_uses_oecBoundSuccess69.591
8_cythonno_x86_64_10_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_10_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_10_64test_row_existenceSuccess58.903
8_cythonno_x86_64_10_64test_cas_and_ttlSuccess64.677
8_cythonno_x86_64_10_64test_delete_rowSuccess60.681
8_cythonno_x86_64_10_64test_intersection_logic_returns_empty_resultSuccess73.453
8_cythonno_x86_64_10_64test_null_supportSuccess61.957
8_cythonno_x86_64_10_64test_collection_flushSuccess76.452
8_cythonno_x86_64_10_64test_countersSuccess60.887
8_cythonno_x86_64_10_64test_NPE_during_select_with_tokenSuccess57.862
8_cythonno_x86_64_10_64test_materialized_view_simpleSuccess61.334
8_cythonno_x86_64_10_64test_float_with_exponentSuccess61.142
8_cythonno_x86_64_10_64test_negative_timestampSuccess58.158
8_cythonno_x86_64_10_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_10_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_10_64test_undefined_page_size_defaultSuccess62.593
8_cythonno_x86_64_10_64test_with_limitSuccess64.357
8_cythonno_x86_64_10_64test_static_columns_pagingSuccess68.673
8_cythonno_x86_64_10_64test_row_TTL_expiry_during_pagingSuccess88.727
8_cythonno_x86_64_10_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_10_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_10_64test_sstableloader_compression_none_to_deflateSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.345
8_cythonno_x86_64_10_64test_sparse_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.300
8_cythonno_x86_64_10_64test_rolling_upgradeSuccess852.086
8_cythonno_x86_64_11_64test_consistent_range_movement_true_with_rf1_should_failSuccess166.459
8_cythonno_x86_64_11_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_11_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_11_64test_composite_row_keySuccess91.674
8_cythonno_x86_64_11_64test_static_columns_with_2iSuccess60.856
8_cythonno_x86_64_11_64test_no_range_ghostSuccess97.144
8_cythonno_x86_64_11_64test_column_name_validationSuccess61.823
8_cythonno_x86_64_11_64test_order_by_validationSuccess109.896
8_cythonno_x86_64_11_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 0x7fa8f14048e0>

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
56.459
8_cythonno_x86_64_11_64test_limit_multigetSuccess163.092
8_cythonno_x86_64_11_64test_conversion_functionsSuccess62.192
8_cythonno_x86_64_11_64test_deleted_row_selectSuccess69.872
8_cythonno_x86_64_11_64test_multi_in_compact_non_compositeSuccess138.923
8_cythonno_x86_64_11_64test_SIM_assertion_errorSuccess65.638
8_cythonno_x86_64_11_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_11_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_11_64test_no_clusteringSuccess55.306
8_cythonno_x86_64_11_64test_tuple_notationSuccess55.881
8_cythonno_x86_64_11_64test_range_query_2ndarySuccess57.626
8_cythonno_x86_64_11_64test_large_countSuccess67.151
8_cythonno_x86_64_11_64test_nameless_indexSuccess59.068
8_cythonno_x86_64_11_64test_select_distinct_with_deletionsSuccess57.616
8_cythonno_x86_64_11_64test_indexed_with_eqSuccess59.422
8_cythonno_x86_64_11_64test_empty_blobSuccess56.773
8_cythonno_x86_64_11_64test_static_cfSuccess58.371
8_cythonno_x86_64_11_64test_compact_metadataSuccess58.797
8_cythonno_x86_64_11_64test_select_map_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5231: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_11_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_11_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_11_64test_with_no_resultsSuccess57.378
8_cythonno_x86_64_11_64test_with_allow_filteringSuccess58.619
8_cythonno_x86_64_11_64test_paging_using_secondary_indexes_with_static_colsSuccess60.177
8_cythonno_x86_64_11_64test_cell_TTL_expiry_during_pagingSuccess93.008
8_cythonno_x86_64_11_64test_multiple_cell_deletionsSkippedtest not applicable to env.

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

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.808
8_cythonno_x86_64_11_64test_dense_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.810
8_cythonno_x86_64_11_64test_parallel_upgrade_with_internode_sslSuccess616.702
8_cythonno_x86_64_12_64test_consistent_range_movement_false_with_rf1_should_succeedSuccess171.860
8_cythonno_x86_64_12_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_12_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_12_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.487
8_cythonno_x86_64_12_64test_static_columns_with_distinctSuccess65.834
8_cythonno_x86_64_12_64test_range_tombstonesSuccess71.423
8_cythonno_x86_64_12_64test_user_typesSuccess61.197
8_cythonno_x86_64_12_64test_order_by_with_inSuccess62.881
8_cythonno_x86_64_12_64test_nonpure_function_collectionSuccess60.520
8_cythonno_x86_64_12_64test_simple_tuple_querySuccess159.409
8_cythonno_x86_64_12_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.552
8_cythonno_x86_64_12_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_12_64test_large_clustering_inSuccess137.547
8_cythonno_x86_64_12_64test_blobAs_functionsSuccess65.317
8_cythonno_x86_64_12_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_12_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_12_64test_dateSuccess54.222
8_cythonno_x86_64_12_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.643
8_cythonno_x86_64_12_64test_setSuccess55.660
8_cythonno_x86_64_12_64test_collection_indexingSuccess62.956
8_cythonno_x86_64_12_64test_deletionSuccess56.468
8_cythonno_x86_64_12_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 0x7fae3e8c9fa0>

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
53.270
8_cythonno_x86_64_12_64test_select_key_inSuccess55.326
8_cythonno_x86_64_12_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.619
8_cythonno_x86_64_12_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.616
8_cythonno_x86_64_12_64test_query_compact_tables_during_upgradeSuccess60.298
8_cythonno_x86_64_12_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_12_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_12_64test_limit_compact_tableSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5001: test not applicable to env.
0.001
8_cythonno_x86_64_12_64test_with_less_results_than_page_sizeSuccess53.613
8_cythonno_x86_64_12_64test_with_order_bySuccess55.527
8_cythonno_x86_64_12_64test_basic_pagingSuccess54.584
8_cythonno_x86_64_12_64test_data_change_impacting_earlier_pageSuccess53.925
8_cythonno_x86_64_12_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_12_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_12_64test_sstableloader_compression_snappy_to_snappySkipped5.0.1 > 3.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.328
8_cythonno_x86_64_12_64test_rolling_upgrade_with_internode_sslSuccess867.025
8_cythonno_x86_64_13_64test_rf_gt_nodes_multidc_should_succeedSuccess149.353
8_cythonno_x86_64_13_64test_reversed_compact_multikeySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2114: test not applicable to env.
0.001
8_cythonno_x86_64_13_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_13_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.292
8_cythonno_x86_64_13_64test_select_count_pagingSuccess91.879
8_cythonno_x86_64_13_64test_range_tombstones_compactionSuccess124.245
8_cythonno_x86_64_13_64test_more_user_typesSuccess62.586
8_cythonno_x86_64_13_64test_reversed_comparatorSuccess109.397
8_cythonno_x86_64_13_64test_empty_inSuccess62.663
8_cythonno_x86_64_13_64test_limit_sparseSuccess157.468
8_cythonno_x86_64_13_64test_function_and_reverse_typeSuccess61.698
8_cythonno_x86_64_13_64test_tracing_prevents_startup_after_upgradingSuccess72.255
8_cythonno_x86_64_13_64test_timeuuidSuccess145.792
8_cythonno_x86_64_13_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_13_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_13_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_13_64test_range_sliceSuccess55.344
8_cythonno_x86_64_13_64test_in_with_desc_orderSuccess55.828
8_cythonno_x86_64_13_64test_mapSuccess56.084
8_cythonno_x86_64_13_64test_map_keys_indexingSuccess58.186
8_cythonno_x86_64_13_64test_countSuccess57.094
8_cythonno_x86_64_13_64test_cas_simpleSuccess57.305
8_cythonno_x86_64_13_64test_exclusive_sliceSuccess56.470
8_cythonno_x86_64_13_64test_clustering_order_and_functionsSuccess57.529
8_cythonno_x86_64_13_64test_noncomposite_static_cfSuccess59.494
8_cythonno_x86_64_13_64test_clustering_indexingSuccess60.768
8_cythonno_x86_64_13_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_13_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_13_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_13_64test_with_more_results_than_page_sizeSuccess57.136
8_cythonno_x86_64_13_64test_with_order_by_reversedSuccess59.800
8_cythonno_x86_64_13_64test_basic_compound_pagingSuccess57.282
8_cythonno_x86_64_13_64test_data_change_impacting_later_pageSuccess58.590
8_cythonno_x86_64_13_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_13_64test_repair_after_upgradeSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.527
8_cythonno_x86_64_13_64test_sstableloader_compression_snappy_to_deflateSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.523
8_cythonno_x86_64_13_64test_sparse_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.774
8_cythonno_x86_64_13_64test_parallel_upgradeSuccess589.533
8_cythonno_x86_64_14_64test_resumable_bootstrapSuccess170.551
8_cythonno_x86_64_14_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_14_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_14_64test_row_existenceSuccess68.956
8_cythonno_x86_64_14_64test_cas_and_ttlSuccess64.468
8_cythonno_x86_64_14_64test_delete_rowSuccess71.905
8_cythonno_x86_64_14_64test_intersection_logic_returns_empty_resultSuccess84.181
8_cythonno_x86_64_14_64test_null_supportSuccess76.097
8_cythonno_x86_64_14_64test_collection_flushSuccess84.281
8_cythonno_x86_64_14_64test_countersSuccess163.501
8_cythonno_x86_64_14_64test_NPE_during_select_with_tokenSuccess63.467
8_cythonno_x86_64_14_64test_materialized_view_simpleSuccess65.699
8_cythonno_x86_64_14_64test_float_with_exponentSuccess142.033
8_cythonno_x86_64_14_64test_negative_timestampSuccess66.518
8_cythonno_x86_64_14_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_14_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_14_64test_npe_composite_table_sliceSuccess55.867
8_cythonno_x86_64_14_64test_in_order_by_without_selectingSuccess56.340
8_cythonno_x86_64_14_64test_listSuccess57.350
8_cythonno_x86_64_14_64test_nan_infinitySuccess57.553
8_cythonno_x86_64_14_64test_batchSuccess59.304
8_cythonno_x86_64_14_64test_internal_application_error_on_selectSuccess58.868
8_cythonno_x86_64_14_64test_in_clause_wide_rowsSuccess59.602
8_cythonno_x86_64_14_64test_conditional_updateSuccess57.577
8_cythonno_x86_64_14_64test_dynamic_cfSuccess59.290
8_cythonno_x86_64_14_64test_edge_2i_on_complex_pkSuccess64.580
8_cythonno_x86_64_14_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_14_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_14_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_14_64test_with_equal_results_to_page_sizeSuccess60.428
8_cythonno_x86_64_14_64test_with_limitSuccess66.319
8_cythonno_x86_64_14_64test_paging_a_single_wide_rowSuccess66.951
8_cythonno_x86_64_14_64test_row_TTL_expiry_during_pagingSuccess89.401
8_cythonno_x86_64_14_64test_single_partition_deletionsSuccess62.048
8_cythonno_x86_64_14_64test_update_and_drop_columnSuccess35.579
8_cythonno_x86_64_14_64test_sstableloader_compression_deflate_to_noneSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.383
8_cythonno_x86_64_14_64test_sparse_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.332
8_cythonno_x86_64_14_64test_rolling_upgradeSuccess878.433
8_cythonno_x86_64_15_64test_bootstrap_with_reset_bootstrap_stateSuccess332.083
8_cythonno_x86_64_15_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_15_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_15_64test_no_clusteringSuccess62.094
8_cythonno_x86_64_15_64test_tuple_notationSuccess58.855
8_cythonno_x86_64_15_64test_range_query_2ndarySuccess66.846
8_cythonno_x86_64_15_64test_large_countSuccess83.600
8_cythonno_x86_64_15_64test_nameless_indexSuccess63.538
8_cythonno_x86_64_15_64test_select_distinct_with_deletionsSuccess62.119
8_cythonno_x86_64_15_64test_indexed_with_eqSuccess149.481
8_cythonno_x86_64_15_64test_empty_blobSuccess59.767
8_cythonno_x86_64_15_64test_static_cfSuccess119.837
8_cythonno_x86_64_15_64test_compact_metadataSuccess63.137
8_cythonno_x86_64_15_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_15_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_15_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_15_64test_remove_range_sliceSuccess51.143
8_cythonno_x86_64_15_64test_cas_and_compactSuccess51.857
8_cythonno_x86_64_15_64test_multi_collectionSuccess52.996
8_cythonno_x86_64_15_64test_static_columnsSuccess53.426
8_cythonno_x86_64_15_64test_token_rangeSuccess55.095
8_cythonno_x86_64_15_64test_store_sets_with_if_not_existsSuccess53.380
8_cythonno_x86_64_15_64test_order_bySuccess53.254
8_cythonno_x86_64_15_64test_non_eq_conditional_updateSuccess53.841
8_cythonno_x86_64_15_64test_dense_cfSuccess55.767
8_cythonno_x86_64_15_64test_end_of_component_as_end_keySuccess56.216
8_cythonno_x86_64_15_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_15_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_15_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_15_64test_undefined_page_size_defaultSuccess58.283
8_cythonno_x86_64_15_64test_with_allow_filteringSuccess55.027
8_cythonno_x86_64_15_64test_paging_across_multi_wide_rowsSuccess63.747
8_cythonno_x86_64_15_64test_cell_TTL_expiry_during_pagingSuccess86.972
8_cythonno_x86_64_15_64test_multiple_partition_deletionsSuccess53.940
8_cythonno_x86_64_15_64test_upgrade_with_clustered_CQL_tableSuccess33.648
8_cythonno_x86_64_15_64test_sstableloader_compression_deflate_to_snappySkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.612
8_cythonno_x86_64_15_64test_dense_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.388
8_cythonno_x86_64_15_64test_parallel_upgrade_with_internode_sslSuccess538.709
8_cythonno_x86_64_16_64test_manual_bootstrapSuccess127.503
8_cythonno_x86_64_16_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_16_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_16_64test_dateSuccess68.908
8_cythonno_x86_64_16_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.214
8_cythonno_x86_64_16_64test_setSuccess71.241
8_cythonno_x86_64_16_64test_collection_indexingSuccess74.170
8_cythonno_x86_64_16_64test_deletionSuccess77.643
8_cythonno_x86_64_16_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 0x7efc2c2eec40>

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
62.492
8_cythonno_x86_64_16_64test_select_key_inSuccess182.549
8_cythonno_x86_64_16_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.450
8_cythonno_x86_64_16_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.643
8_cythonno_x86_64_16_64test_query_compact_tables_during_upgradeSuccess175.374
8_cythonno_x86_64_16_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_16_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_16_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_16_64test_indexes_compositeSuccess64.263
8_cythonno_x86_64_16_64test_whole_list_conditionalSuccess68.003
8_cythonno_x86_64_16_64test_range_querySuccess61.564
8_cythonno_x86_64_16_64test_static_columns_casSuccess65.466
8_cythonno_x86_64_16_64test_timestamp_and_ttlSuccess65.653
8_cythonno_x86_64_16_64test_add_deletion_info_in_unsorted_columnSuccess59.454
8_cythonno_x86_64_16_64test_more_order_bySuccess59.880
8_cythonno_x86_64_16_64test_conditional_deleteSuccess62.439
8_cythonno_x86_64_16_64test_sparse_cfSuccess61.089
8_cythonno_x86_64_16_64test_ticket_5230Success60.375
8_cythonno_x86_64_16_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_16_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_16_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_16_64test_with_no_resultsSuccess57.404
8_cythonno_x86_64_16_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_16_64test_paging_using_secondary_indexesSuccess62.120
8_cythonno_x86_64_16_64test_data_change_impacting_earlier_pageSuccess60.967
8_cythonno_x86_64_16_64test_single_row_deletionsSuccess65.149
8_cythonno_x86_64_16_64test_upgrade_with_clustered_compact_tableSuccess38.867
8_cythonno_x86_64_16_64test_sstableloader_compression_deflate_to_deflateSkipped5.0.1 > 3.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.345
8_cythonno_x86_64_16_64test_rolling_upgrade_with_internode_sslSuccess872.632
8_cythonno_x86_64_17_64test_local_quorum_bootstrapSuccess170.519
8_cythonno_x86_64_17_64test_multiorderingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2268: test not applicable to env.
0.001
8_cythonno_x86_64_17_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.001
8_cythonno_x86_64_17_64test_range_sliceSuccess62.686
8_cythonno_x86_64_17_64test_in_with_desc_orderSuccess61.265
8_cythonno_x86_64_17_64test_mapSuccess65.076
8_cythonno_x86_64_17_64test_map_keys_indexingSuccess67.235
8_cythonno_x86_64_17_64test_countSuccess73.852
8_cythonno_x86_64_17_64test_cas_simpleSuccess66.680
8_cythonno_x86_64_17_64test_exclusive_sliceSuccess150.161
8_cythonno_x86_64_17_64test_clustering_order_and_functionsSuccess58.687
8_cythonno_x86_64_17_64test_noncomposite_static_cfSuccess120.144
8_cythonno_x86_64_17_64test_clustering_indexingSuccess64.306
8_cythonno_x86_64_17_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_17_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_17_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_17_64test_refuse_in_with_indexesSuccess53.948
8_cythonno_x86_64_17_64test_list_item_conditionalSuccess54.471
8_cythonno_x86_64_17_64test_composite_row_keySuccess54.956
8_cythonno_x86_64_17_64test_static_columns_with_2iSuccess55.467
8_cythonno_x86_64_17_64test_no_range_ghostSuccess57.404
8_cythonno_x86_64_17_64test_column_name_validationSuccess55.391
8_cythonno_x86_64_17_64test_order_by_validationSuccess54.654
8_cythonno_x86_64_17_64test_select_with_aliasSuccess55.606
8_cythonno_x86_64_17_64test_limit_multigetSuccess57.816
8_cythonno_x86_64_17_64test_conversion_functionsSuccess56.196
8_cythonno_x86_64_17_64test_deleted_row_selectSuccess60.627
8_cythonno_x86_64_17_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.001
8_cythonno_x86_64_17_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_17_64test_with_less_results_than_page_sizeSuccess54.329
8_cythonno_x86_64_17_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.001
8_cythonno_x86_64_17_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 0x7fc190974280>

@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
48.214
8_cythonno_x86_64_17_64test_data_change_impacting_later_pageSuccess56.900
8_cythonno_x86_64_17_64test_single_cell_deletionsSuccess60.416
8_cythonno_x86_64_17_64test_upgrade_with_unclustered_CQL_tableSuccess30.585
8_cythonno_x86_64_17_64test_sstableloader_with_mvSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.324
8_cythonno_x86_64_17_64test_sparse_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.331
8_cythonno_x86_64_17_64test_bootstrapSuccess394.015
8_cythonno_x86_64_18_64test_shutdown_wiped_node_cannot_joinSuccess200.244
8_cythonno_x86_64_18_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_18_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_18_64test_npe_composite_table_sliceSuccess66.886
8_cythonno_x86_64_18_64test_in_order_by_without_selectingSuccess61.066
8_cythonno_x86_64_18_64test_listSuccess70.383
8_cythonno_x86_64_18_64test_nan_infinitySuccess63.115
8_cythonno_x86_64_18_64test_batchSuccess71.403
8_cythonno_x86_64_18_64test_internal_application_error_on_selectSuccess6.238
8_cythonno_x86_64_18_64test_internal_application_error_on_selectSuccess65.133
8_cythonno_x86_64_18_64test_in_clause_wide_rowsSuccess162.292
8_cythonno_x86_64_18_64test_conditional_updateSuccess64.102
8_cythonno_x86_64_18_64test_dynamic_cfSuccess137.080
8_cythonno_x86_64_18_64test_edge_2i_on_complex_pkSuccess70.521
8_cythonno_x86_64_18_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_18_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_18_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_18_64test_reversed_compactSuccess57.270
8_cythonno_x86_64_18_64test_expanded_list_item_conditionalSuccess60.330
8_cythonno_x86_64_18_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.337
8_cythonno_x86_64_18_64test_static_columns_with_distinctSuccess62.342
8_cythonno_x86_64_18_64test_range_tombstonesSuccess75.602
8_cythonno_x86_64_18_64test_user_typesSuccess58.879
8_cythonno_x86_64_18_64test_order_by_with_inSuccess56.788
8_cythonno_x86_64_18_64test_nonpure_function_collectionSuccess56.798
8_cythonno_x86_64_18_64test_simple_tuple_querySuccess58.321
8_cythonno_x86_64_18_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.336
8_cythonno_x86_64_18_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_18_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_18_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_18_64test_with_more_results_than_page_sizeSuccess58.087
8_cythonno_x86_64_18_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_18_64test_paging_using_secondary_indexes_with_static_colsSuccess59.068
8_cythonno_x86_64_18_64test_row_TTL_expiry_during_pagingSuccess86.847
8_cythonno_x86_64_18_64test_multiple_cell_deletionsSuccess58.785
8_cythonno_x86_64_18_64test_upgrade_with_unclustered_compact_tableSuccess31.525
8_cythonno_x86_64_18_64test_sstableloader_compression_none_to_noneSkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.286
8_cythonno_x86_64_18_64test_bootstrap_multidcSuccess474.461
8_cythonno_x86_64_19_64test_killed_wiped_node_cannot_joinSuccess177.931
8_cythonno_x86_64_19_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_19_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_19_64test_remove_range_sliceSuccess68.425
8_cythonno_x86_64_19_64test_cas_and_compactSuccess63.314
8_cythonno_x86_64_19_64test_multi_collectionSuccess67.200
8_cythonno_x86_64_19_64test_static_columnsSuccess65.642
8_cythonno_x86_64_19_64test_token_rangeSuccess74.538
8_cythonno_x86_64_19_64test_store_sets_with_if_not_existsSuccess67.548
8_cythonno_x86_64_19_64test_order_bySuccess185.920
8_cythonno_x86_64_19_64test_non_eq_conditional_updateSuccess64.089
8_cythonno_x86_64_19_64test_dense_cfSuccess147.577
8_cythonno_x86_64_19_64test_end_of_component_as_end_keySuccess69.843
8_cythonno_x86_64_19_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_19_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_19_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_19_64test_reversed_compact_multikeySuccess53.382
8_cythonno_x86_64_19_64test_whole_set_conditionalSuccess58.012
8_cythonno_x86_64_19_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.311
8_cythonno_x86_64_19_64test_select_count_pagingSuccess56.224
8_cythonno_x86_64_19_64test_range_tombstones_compactionSuccess74.881
8_cythonno_x86_64_19_64test_more_user_typesSuccess57.307
8_cythonno_x86_64_19_64test_reversed_comparatorSuccess56.246
8_cythonno_x86_64_19_64test_empty_inSuccess55.227
8_cythonno_x86_64_19_64test_limit_sparseSuccess58.519
8_cythonno_x86_64_19_64test_function_and_reverse_typeSuccess56.537
8_cythonno_x86_64_19_64test_tracing_prevents_startup_after_upgradingSuccess63.520
8_cythonno_x86_64_19_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_19_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_19_64test_with_equal_results_to_page_sizeSuccess56.805
8_cythonno_x86_64_19_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_19_64test_basic_pagingSuccess56.106
8_cythonno_x86_64_19_64test_cell_TTL_expiry_during_pagingSuccess91.945
8_cythonno_x86_64_19_64test_ttl_deletionsSuccess66.573
8_cythonno_x86_64_19_64test_upgrade_with_staticsSuccess32.834
8_cythonno_x86_64_19_64test_sstableloader_compression_none_to_snappySkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.327
8_cythonno_x86_64_19_64test_parallel_upgradeSuccess255.186
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.767
8_cythonno_x86_64_1_64test_composite_row_keySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1469: test not applicable to env.
0.001
8_cythonno_x86_64_1_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.001
8_cythonno_x86_64_1_64test_no_range_ghostSuccess63.916
8_cythonno_x86_64_1_64test_column_name_validationSuccess64.432
8_cythonno_x86_64_1_64test_order_by_validationSuccess70.156
8_cythonno_x86_64_1_64test_select_with_aliasSuccess65.567
8_cythonno_x86_64_1_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 0x7f875937c670>

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
64.775
8_cythonno_x86_64_1_64test_conversion_functionsSuccess66.318
8_cythonno_x86_64_1_64test_deleted_row_selectSuccess76.005
8_cythonno_x86_64_1_64test_multi_in_compact_non_compositeSuccess171.067
8_cythonno_x86_64_1_64test_SIM_assertion_errorSuccess64.428
8_cythonno_x86_64_1_64test_batch_and_listSuccess146.938
8_cythonno_x86_64_1_64test_map_item_conditionalSuccess68.110
8_cythonno_x86_64_1_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_1_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_1_64test_range_query_2ndarySuccess55.645
8_cythonno_x86_64_1_64test_large_countSuccess70.764
8_cythonno_x86_64_1_64test_nameless_indexSuccess60.699
8_cythonno_x86_64_1_64test_select_distinct_with_deletionsSuccess58.768
8_cythonno_x86_64_1_64test_indexed_with_eqSuccess60.539
8_cythonno_x86_64_1_64test_empty_blobSuccess59.051
8_cythonno_x86_64_1_64test_static_cfSuccess58.410
8_cythonno_x86_64_1_64test_compact_metadataSuccess59.522
8_cythonno_x86_64_1_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_1_64test_multi_list_setSuccess62.770
8_cythonno_x86_64_1_64test_static_with_empty_clusteringSuccess60.505
8_cythonno_x86_64_1_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_1_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_1_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_1_64test_with_order_by_reversedSuccess62.972
8_cythonno_x86_64_1_64test_paging_across_multi_wide_rowsSuccess62.920
8_cythonno_x86_64_1_64test_data_change_impacting_later_pageSuccess55.543
8_cythonno_x86_64_1_64test_multiple_partition_deletionsSuccess70.310
8_cythonno_x86_64_1_64test_10822Success62.773
8_cythonno_x86_64_1_64test_sstableloader_compression_snappy_to_noneSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.403
8_cythonno_x86_64_1_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_1_64test_parallel_upgradeSuccess753.691
8_cythonno_x86_64_1_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_20_64test_decommissioned_wiped_node_can_joinSuccess267.087
8_cythonno_x86_64_20_64test_range_with_deletesSkippedtest not applicable to env.

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

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5001: test not applicable to env.
0.001
8_cythonno_x86_64_20_64test_indexes_compositeSuccess80.709
8_cythonno_x86_64_20_64test_whole_list_conditionalSuccess79.083
8_cythonno_x86_64_20_64test_range_querySuccess80.734
8_cythonno_x86_64_20_64test_static_columns_casSuccess74.751
8_cythonno_x86_64_20_64test_timestamp_and_ttlSuccess92.914
8_cythonno_x86_64_20_64test_add_deletion_info_in_unsorted_columnSuccess79.506
8_cythonno_x86_64_20_64test_more_order_bySuccess216.777
8_cythonno_x86_64_20_64test_conditional_deleteSuccess87.240
8_cythonno_x86_64_20_64test_sparse_cfSuccess188.758
8_cythonno_x86_64_20_64test_ticket_5230Success83.071
8_cythonno_x86_64_20_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_20_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_20_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.001
8_cythonno_x86_64_20_64test_collection_and_regularSuccess64.059
8_cythonno_x86_64_20_64test_whole_map_conditionalSuccess73.741
8_cythonno_x86_64_20_64test_row_existenceSuccess56.655
8_cythonno_x86_64_20_64test_cas_and_ttlSuccess61.142
8_cythonno_x86_64_20_64test_delete_rowSuccess57.815
8_cythonno_x86_64_20_64test_intersection_logic_returns_empty_resultSuccess69.921
8_cythonno_x86_64_20_64test_null_supportSuccess56.589
8_cythonno_x86_64_20_64test_collection_flushSuccess67.660
8_cythonno_x86_64_20_64test_countersSuccess57.849
8_cythonno_x86_64_20_64test_NPE_during_select_with_tokenSuccess57.130
8_cythonno_x86_64_20_64test_materialized_view_simpleSuccess59.333
8_cythonno_x86_64_20_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_20_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_20_64test_undefined_page_size_defaultSuccess64.161
8_cythonno_x86_64_20_64test_basic_pagingSuccess60.538
8_cythonno_x86_64_20_64test_basic_compound_pagingSuccess57.071
8_cythonno_x86_64_20_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_20_64test_failure_threshold_deletionsSuccess65.926
8_cythonno_x86_64_20_64test_upgrade_with_wide_partition_and_staticsSuccess35.326
8_cythonno_x86_64_20_64test_sstableloader_compression_none_to_deflateSkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.325
8_cythonno_x86_64_20_64test_rolling_upgradeSuccess409.924
8_cythonno_x86_64_21_64test_decommissioned_wiped_node_can_gossip_to_single_seedSuccess191.602
8_cythonno_x86_64_21_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_21_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_21_64test_refuse_in_with_indexesSuccess60.455
8_cythonno_x86_64_21_64test_list_item_conditionalSuccess57.886
8_cythonno_x86_64_21_64test_composite_row_keySuccess60.265
8_cythonno_x86_64_21_64test_static_columns_with_2iSuccess59.506
8_cythonno_x86_64_21_64test_no_range_ghostSuccess66.577
8_cythonno_x86_64_21_64test_column_name_validationSuccess60.492
8_cythonno_x86_64_21_64test_order_by_validationSuccess145.205
8_cythonno_x86_64_21_64test_select_with_aliasSuccess59.687
8_cythonno_x86_64_21_64test_limit_multigetSuccess124.601
8_cythonno_x86_64_21_64test_conversion_functionsSuccess62.316
8_cythonno_x86_64_21_64test_deleted_row_selectSuccess68.278
8_cythonno_x86_64_21_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.001
8_cythonno_x86_64_21_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_21_64test_batch_and_listSuccess51.372
8_cythonno_x86_64_21_64test_map_item_conditionalSuccess53.603
8_cythonno_x86_64_21_64test_no_clusteringSuccess54.479
8_cythonno_x86_64_21_64test_tuple_notationSuccess54.869
8_cythonno_x86_64_21_64test_range_query_2ndarySuccess56.973
8_cythonno_x86_64_21_64test_large_countSuccess68.223
8_cythonno_x86_64_21_64test_nameless_indexSuccess56.249
8_cythonno_x86_64_21_64test_select_distinct_with_deletionsSuccess55.346
8_cythonno_x86_64_21_64test_indexed_with_eqSuccess58.844
8_cythonno_x86_64_21_64test_empty_blobSuccess57.154
8_cythonno_x86_64_21_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_21_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_21_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_21_64test_with_no_resultsSuccess54.637
8_cythonno_x86_64_21_64test_basic_compound_pagingSuccess58.917
8_cythonno_x86_64_21_64test_paging_a_single_wide_rowSuccess62.635
8_cythonno_x86_64_21_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_21_64test_single_partition_deletionsSuccess59.226
8_cythonno_x86_64_21_64test_upgrade_with_wide_partitionSuccess38.092
8_cythonno_x86_64_21_64test_sstableloader_compression_snappy_to_noneSkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.605
8_cythonno_x86_64_21_64test_parallel_upgrade_with_internode_sslSuccess246.431
8_cythonno_x86_64_22_64test_failed_bootstrap_wiped_node_can_joinSuccess138.781
8_cythonno_x86_64_22_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_22_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_22_64test_reversed_compactSuccess64.291
8_cythonno_x86_64_22_64test_expanded_list_item_conditionalSuccess63.261
8_cythonno_x86_64_22_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.174
8_cythonno_x86_64_22_64test_static_columns_with_distinctSuccess67.800
8_cythonno_x86_64_22_64test_range_tombstonesSuccess71.652
8_cythonno_x86_64_22_64test_user_typesSuccess62.793
8_cythonno_x86_64_22_64test_order_by_with_inSuccess142.029
8_cythonno_x86_64_22_64test_nonpure_function_collectionSuccess59.029
8_cythonno_x86_64_22_64test_simple_tuple_querySuccess120.575
8_cythonno_x86_64_22_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.360
8_cythonno_x86_64_22_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_22_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_22_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_22_64test_booleanSuccess50.907
8_cythonno_x86_64_22_64test_expanded_map_item_conditionalSuccess55.691
8_cythonno_x86_64_22_64test_dateSuccess52.588
8_cythonno_x86_64_22_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.565
8_cythonno_x86_64_22_64test_setSuccess54.122
8_cythonno_x86_64_22_64test_collection_indexingSuccess62.760
8_cythonno_x86_64_22_64test_deletionSuccess55.052
8_cythonno_x86_64_22_64test_function_with_nullSuccess53.455
8_cythonno_x86_64_22_64test_select_key_inSuccess55.550
8_cythonno_x86_64_22_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.607
8_cythonno_x86_64_22_64test_large_collection_errorsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:86: test not applicable to env.
0.001
8_cythonno_x86_64_22_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.001
8_cythonno_x86_64_22_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_22_64test_with_less_results_than_page_sizeSuccess55.644
8_cythonno_x86_64_22_64test_paging_a_single_wide_rowSuccess70.646
8_cythonno_x86_64_22_64test_paging_across_multi_wide_rowsSuccess61.914
8_cythonno_x86_64_22_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.000
8_cythonno_x86_64_22_64test_multiple_partition_deletionsSuccess56.748
8_cythonno_x86_64_22_64test_upgrade_with_wide_partition_reversedSuccess38.362
8_cythonno_x86_64_22_64test_sstableloader_compression_snappy_to_snappySkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.597
8_cythonno_x86_64_22_64test_rolling_upgrade_with_internode_sslSuccess416.572
8_cythonno_x86_64_23_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.555
8_cythonno_x86_64_23_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_23_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_23_64test_reversed_compact_multikeySuccess70.180
8_cythonno_x86_64_23_64test_whole_set_conditionalSuccess72.688
8_cythonno_x86_64_23_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.240
8_cythonno_x86_64_23_64test_select_count_pagingSuccess90.381
8_cythonno_x86_64_23_64test_range_tombstones_compactionSuccess124.672
8_cythonno_x86_64_23_64test_more_user_typesSuccess82.571
8_cythonno_x86_64_23_64test_reversed_comparatorSuccess189.751
8_cythonno_x86_64_23_64test_empty_inSuccess74.526
8_cythonno_x86_64_23_64test_limit_sparseSuccess159.887
8_cythonno_x86_64_23_64test_function_and_reverse_typeSuccess67.771
8_cythonno_x86_64_23_64test_tracing_prevents_startup_after_upgradingSuccess76.577
8_cythonno_x86_64_23_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_23_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_23_64test_multiorderingSuccess54.580
8_cythonno_x86_64_23_64test_cas_and_list_indexSuccess55.044
8_cythonno_x86_64_23_64test_range_sliceSuccess57.356
8_cythonno_x86_64_23_64test_in_with_desc_orderSuccess56.143
8_cythonno_x86_64_23_64test_mapSuccess58.118
8_cythonno_x86_64_23_64test_map_keys_indexingSuccess59.638
8_cythonno_x86_64_23_64test_countSuccess56.599
8_cythonno_x86_64_23_64test_cas_simpleSuccess57.119
8_cythonno_x86_64_23_64test_exclusive_sliceSuccess57.340
8_cythonno_x86_64_23_64test_clustering_order_and_functionsSuccess57.578
8_cythonno_x86_64_23_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_23_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_23_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_23_64test_with_more_results_than_page_sizeSuccess57.340
8_cythonno_x86_64_23_64test_paging_across_multi_wide_rowsSuccess75.832
8_cythonno_x86_64_23_64test_paging_using_secondary_indexesSuccess58.926
8_cythonno_x86_64_23_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_23_64test_single_row_deletionsSuccess66.367
8_cythonno_x86_64_23_64test_upgrade_with_indexSuccess34.838
8_cythonno_x86_64_23_64test_sstableloader_compression_snappy_to_deflateSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.357
8_cythonno_x86_64_23_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_23_64test_bootstrapSuccess433.224
8_cythonno_x86_64_24_64test_simultaneous_bootstrapSuccess205.232
8_cythonno_x86_64_24_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_24_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_24_64test_collection_and_regularSuccess62.413
8_cythonno_x86_64_24_64test_whole_map_conditionalSuccess66.707
8_cythonno_x86_64_24_64test_row_existenceSuccess68.828
8_cythonno_x86_64_24_64test_cas_and_ttlSuccess65.945
8_cythonno_x86_64_24_64test_delete_rowSuccess62.805
8_cythonno_x86_64_24_64test_intersection_logic_returns_empty_resultSuccess77.959
8_cythonno_x86_64_24_64test_null_supportSuccess140.972
8_cythonno_x86_64_24_64test_collection_flushSuccess73.751
8_cythonno_x86_64_24_64test_countersSuccess119.034
8_cythonno_x86_64_24_64test_NPE_during_select_with_tokenSuccess61.361
8_cythonno_x86_64_24_64test_materialized_view_simpleSuccess64.226
8_cythonno_x86_64_24_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_24_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_24_64test_returned_nullSuccess51.607
8_cythonno_x86_64_24_64test_static_with_limitSuccess53.229
8_cythonno_x86_64_24_64test_npe_composite_table_sliceSuccess52.611
8_cythonno_x86_64_24_64test_in_order_by_without_selectingSuccess52.553
8_cythonno_x86_64_24_64test_listSuccess53.658
8_cythonno_x86_64_24_64test_nan_infinitySuccess53.574
8_cythonno_x86_64_24_64test_batchSuccess52.378
8_cythonno_x86_64_24_64test_internal_application_error_on_selectSuccess53.913
8_cythonno_x86_64_24_64test_in_clause_wide_rowsSuccess55.782
8_cythonno_x86_64_24_64test_conditional_updateSuccess55.342
8_cythonno_x86_64_24_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_24_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_24_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_24_64test_with_equal_results_to_page_sizeSuccess52.816
8_cythonno_x86_64_24_64test_paging_using_secondary_indexesSuccess61.142
8_cythonno_x86_64_24_64test_static_columns_pagingSuccess60.391
8_cythonno_x86_64_24_64test_query_isolationSuccess120.335
8_cythonno_x86_64_24_64test_single_cell_deletionsSuccess61.398
8_cythonno_x86_64_24_64test_upgrade_with_range_tombstonesSuccess30.789
8_cythonno_x86_64_24_64test_sstableloader_compression_deflate_to_noneSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.325
8_cythonno_x86_64_24_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_24_64test_bootstrap_multidcSuccess463.842
8_cythonno_x86_64_25_64test_cleanupSuccess213.800
8_cythonno_x86_64_25_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_25_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_25_64test_batch_and_listSuccess65.923
8_cythonno_x86_64_25_64test_map_item_conditionalSuccess60.825
8_cythonno_x86_64_25_64test_no_clusteringSuccess68.718
8_cythonno_x86_64_25_64test_tuple_notationSuccess62.073
8_cythonno_x86_64_25_64test_range_query_2ndarySuccess70.289
8_cythonno_x86_64_25_64test_large_countSuccess81.372
8_cythonno_x86_64_25_64test_nameless_indexSuccess150.393
8_cythonno_x86_64_25_64test_select_distinct_with_deletionsSuccess61.619
8_cythonno_x86_64_25_64test_indexed_with_eqSuccess146.112
8_cythonno_x86_64_25_64test_empty_blobSuccess78.847
8_cythonno_x86_64_25_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_25_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_25_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_25_64test_multi_list_setSuccess55.184
8_cythonno_x86_64_25_64test_static_with_empty_clusteringSuccess55.959
8_cythonno_x86_64_25_64test_remove_range_sliceSuccess56.830
8_cythonno_x86_64_25_64test_cas_and_compactSuccess56.664
8_cythonno_x86_64_25_64test_multi_collectionSuccess59.394
8_cythonno_x86_64_25_64test_static_columnsSuccess58.413
8_cythonno_x86_64_25_64test_token_rangeSuccess55.979
8_cythonno_x86_64_25_64test_store_sets_with_if_not_existsSuccess54.220
8_cythonno_x86_64_25_64test_order_bySuccess58.086
8_cythonno_x86_64_25_64test_non_eq_conditional_updateSuccess58.052
8_cythonno_x86_64_25_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_25_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_25_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_25_64test_undefined_page_size_defaultSuccess61.028
8_cythonno_x86_64_25_64test_static_columns_pagingSuccess69.324
8_cythonno_x86_64_25_64test_paging_using_secondary_indexes_with_static_colsSuccess58.312
8_cythonno_x86_64_25_64test_query_isolationSuccess125.008
8_cythonno_x86_64_25_64test_multiple_cell_deletionsSuccess60.808
8_cythonno_x86_64_25_64test_upgrade_with_range_and_collection_tombstonesSuccess33.075
8_cythonno_x86_64_25_64test_sstableloader_compression_deflate_to_snappySkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.311
8_cythonno_x86_64_25_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_25_64test_parallel_upgradeSuccess259.383
8_cythonno_x86_64_26_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.779
8_cythonno_x86_64_26_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_26_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_26_64test_booleanSuccess64.340
8_cythonno_x86_64_26_64test_expanded_map_item_conditionalSuccess64.199
8_cythonno_x86_64_26_64test_dateSuccess65.295
8_cythonno_x86_64_26_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.549
8_cythonno_x86_64_26_64test_setSuccess68.754
8_cythonno_x86_64_26_64test_collection_indexingSuccess71.893
8_cythonno_x86_64_26_64test_deletionSuccess158.759
8_cythonno_x86_64_26_64test_function_with_nullSuccess63.325
8_cythonno_x86_64_26_64test_select_key_inSuccess137.781
8_cythonno_x86_64_26_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.614
8_cythonno_x86_64_26_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_26_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_26_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_26_64test_range_with_deletesSuccess56.138
8_cythonno_x86_64_26_64test_limit_compact_tableSuccess55.924
8_cythonno_x86_64_26_64test_indexes_compositeSuccess57.971
8_cythonno_x86_64_26_64test_whole_list_conditionalSuccess60.893
8_cythonno_x86_64_26_64test_range_querySuccess57.592
8_cythonno_x86_64_26_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 0x7fa4ae718550>

@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
52.259
8_cythonno_x86_64_26_64test_timestamp_and_ttlSuccess57.333
8_cythonno_x86_64_26_64test_add_deletion_info_in_unsorted_columnSuccess56.940
8_cythonno_x86_64_26_64test_more_order_bySuccess60.031
8_cythonno_x86_64_26_64test_conditional_deleteSuccess63.325
8_cythonno_x86_64_26_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_26_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_26_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_26_64test_with_no_resultsSuccess58.750
8_cythonno_x86_64_26_64test_paging_using_secondary_indexes_with_static_colsSuccess65.427
8_cythonno_x86_64_26_64test_basic_pagingSuccess60.743
8_cythonno_x86_64_26_64test_query_isolationSuccess125.589
8_cythonno_x86_64_26_64test_ttl_deletionsSuccess70.204
8_cythonno_x86_64_26_64test_upgrade_with_range_tombstone_eoc_0Skipped5.0.1 > 3.99

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.603
8_cythonno_x86_64_26_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_26_64test_rolling_upgradeSuccess403.544
8_cythonno_x86_64_27_64test__compatibility_flag_on_3014Success36.137
8_cythonno_x86_64_27_64test_timeuuidSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2630: test not applicable to env.
0.001
8_cythonno_x86_64_27_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_27_64test_multiorderingSuccess63.092
8_cythonno_x86_64_27_64test_cas_and_list_indexSuccess58.875
8_cythonno_x86_64_27_64test_range_sliceSuccess67.582
8_cythonno_x86_64_27_64test_in_with_desc_orderSuccess60.822
8_cythonno_x86_64_27_64test_mapSuccess68.353
8_cythonno_x86_64_27_64test_map_keys_indexingSuccess63.123
8_cythonno_x86_64_27_64test_countSuccess156.384
8_cythonno_x86_64_27_64test_cas_simpleSuccess62.804
8_cythonno_x86_64_27_64test_exclusive_sliceSuccess137.302
8_cythonno_x86_64_27_64test_clustering_order_and_functionsSuccess63.736
8_cythonno_x86_64_27_64test_noncomposite_static_cfSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:121: test not applicable to env.
0.001
8_cythonno_x86_64_27_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_27_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_27_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.605
8_cythonno_x86_64_27_64test_key_index_with_reverse_clusteringSuccess56.116
8_cythonno_x86_64_27_64test_refuse_in_with_indexesSuccess58.930
8_cythonno_x86_64_27_64test_list_item_conditionalSuccess58.146
8_cythonno_x86_64_27_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 0x7fc371d6a940>

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
51.532
8_cythonno_x86_64_27_64test_static_columns_with_2iSuccess58.872
8_cythonno_x86_64_27_64test_no_range_ghostSuccess61.390
8_cythonno_x86_64_27_64test_column_name_validationSuccess57.320
8_cythonno_x86_64_27_64test_order_by_validationSuccess58.524
8_cythonno_x86_64_27_64test_select_with_aliasSuccess59.367
8_cythonno_x86_64_27_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_27_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_27_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_27_64test_with_less_results_than_page_sizeSuccess59.674
8_cythonno_x86_64_27_64test_basic_pagingSuccess65.030
8_cythonno_x86_64_27_64test_basic_compound_pagingSuccess62.291
8_cythonno_x86_64_27_64test_query_isolationSuccess128.592
8_cythonno_x86_64_27_64test_failure_threshold_deletionsSuccess68.956
8_cythonno_x86_64_27_64test_upgrade_with_range_tombstone_aeSuccess36.225
8_cythonno_x86_64_27_64test_sstableloader_with_mvSkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.937
8_cythonno_x86_64_27_64test_parallel_upgrade_with_internode_sslSuccess283.617
8_cythonno_x86_64_28_64test__compatibility_flag_off_3014Success31.542
8_cythonno_x86_64_28_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_28_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_28_64test_returned_nullSuccess57.380
8_cythonno_x86_64_28_64test_static_with_limitSuccess58.468
8_cythonno_x86_64_28_64test_npe_composite_table_sliceSuccess60.449
8_cythonno_x86_64_28_64test_in_order_by_without_selectingSuccess59.498
8_cythonno_x86_64_28_64test_listSuccess62.470
8_cythonno_x86_64_28_64test_nan_infinitySuccess61.337
8_cythonno_x86_64_28_64test_batchSuccess144.303
8_cythonno_x86_64_28_64test_internal_application_error_on_selectSuccess60.004
8_cythonno_x86_64_28_64test_in_clause_wide_rowsSuccess121.493
8_cythonno_x86_64_28_64test_conditional_updateSuccess62.843
8_cythonno_x86_64_28_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_28_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_28_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_28_64test_composite_partition_key_validationSuccess51.581
8_cythonno_x86_64_28_64test_invalid_custom_timestampSuccess51.915
8_cythonno_x86_64_28_64test_reversed_compactSuccess53.370
8_cythonno_x86_64_28_64test_expanded_list_item_conditionalSuccess56.933
8_cythonno_x86_64_28_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.570
8_cythonno_x86_64_28_64test_static_columns_with_distinctSuccess58.172
8_cythonno_x86_64_28_64test_range_tombstonesSuccess70.063
8_cythonno_x86_64_28_64test_user_typesSuccess55.988
8_cythonno_x86_64_28_64test_order_by_with_inSuccess55.081
8_cythonno_x86_64_28_64test_nonpure_function_collectionSuccess54.949
8_cythonno_x86_64_28_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_28_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_28_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_28_64test_with_more_results_than_page_sizeSuccess55.486
8_cythonno_x86_64_28_64test_basic_compound_pagingSuccess60.956
8_cythonno_x86_64_28_64test_paging_a_single_wide_rowSuccess63.324
8_cythonno_x86_64_28_64test_query_isolationSuccess124.010
8_cythonno_x86_64_28_64test_single_partition_deletionsSuccess60.241
8_cythonno_x86_64_28_64test_update_and_drop_columnSuccess110.528
8_cythonno_x86_64_28_64test_sstableloader_compression_none_to_noneSkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.627
8_cythonno_x86_64_28_64test_rolling_upgrade_with_internode_sslSuccess412.608
8_cythonno_x86_64_29_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_29_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_29_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_29_64test_multi_list_setSuccess66.073
8_cythonno_x86_64_29_64test_static_with_empty_clusteringSuccess56.978
8_cythonno_x86_64_29_64test_remove_range_sliceSuccess65.296
8_cythonno_x86_64_29_64test_cas_and_compactSuccess59.208
8_cythonno_x86_64_29_64test_multi_collectionSuccess68.732
8_cythonno_x86_64_29_64test_static_columnsSuccess60.537
8_cythonno_x86_64_29_64test_token_rangeSuccess147.101
8_cythonno_x86_64_29_64test_store_sets_with_if_not_existsSuccess59.917
8_cythonno_x86_64_29_64test_order_bySuccess125.501
8_cythonno_x86_64_29_64test_non_eq_conditional_updateSuccess63.710
8_cythonno_x86_64_29_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_29_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_29_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_29_64test_multi_inSuccess53.343
8_cythonno_x86_64_29_64test_clustering_order_inSuccess50.959
8_cythonno_x86_64_29_64test_reversed_compact_multikeySuccess53.464
8_cythonno_x86_64_29_64test_whole_set_conditionalSuccess57.776
8_cythonno_x86_64_29_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.281
8_cythonno_x86_64_29_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 0x7f2d57442a60>

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
48.654
8_cythonno_x86_64_29_64test_range_tombstones_compactionSuccess70.193
8_cythonno_x86_64_29_64test_more_user_typesSuccess55.707
8_cythonno_x86_64_29_64test_reversed_comparatorSuccess55.461
8_cythonno_x86_64_29_64test_empty_inSuccess56.067
8_cythonno_x86_64_29_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_29_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_29_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_29_64test_with_equal_results_to_page_sizeSuccess56.502
8_cythonno_x86_64_29_64test_paging_a_single_wide_rowSuccess72.786
8_cythonno_x86_64_29_64test_paging_across_multi_wide_rowsSuccess64.658
8_cythonno_x86_64_29_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_29_64test_multiple_partition_deletionsSuccess56.266
8_cythonno_x86_64_29_64test_upgrade_with_clustered_CQL_tableSuccess113.856
8_cythonno_x86_64_29_64test_sstableloader_compression_none_to_snappySkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.277
8_cythonno_x86_64_29_64test_bootstrapSuccess398.783
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.726
8_cythonno_x86_64_2_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_2_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_2_64test_range_tombstonesSuccess69.435
8_cythonno_x86_64_2_64test_user_typesSuccess65.961
8_cythonno_x86_64_2_64test_order_by_with_inSuccess64.025
8_cythonno_x86_64_2_64test_nonpure_function_collectionSuccess61.693
8_cythonno_x86_64_2_64test_simple_tuple_querySuccess67.270
8_cythonno_x86_64_2_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.321
8_cythonno_x86_64_2_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_2_64test_large_clustering_inSuccess173.816
8_cythonno_x86_64_2_64test_blobAs_functionsSuccess63.212
8_cythonno_x86_64_2_64test_booleanSuccess138.542
8_cythonno_x86_64_2_64test_expanded_map_item_conditionalSuccess80.902
8_cythonno_x86_64_2_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_2_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_2_64test_setSuccess54.406
8_cythonno_x86_64_2_64test_collection_indexingSuccess62.894
8_cythonno_x86_64_2_64test_deletionSuccess56.414
8_cythonno_x86_64_2_64test_function_with_nullSuccess59.004
8_cythonno_x86_64_2_64test_select_key_inSuccess57.920
8_cythonno_x86_64_2_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.617
8_cythonno_x86_64_2_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.653
8_cythonno_x86_64_2_64test_query_compact_tables_during_upgradeSuccess63.836
8_cythonno_x86_64_2_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_2_64test_range_with_deletesSuccess59.018
8_cythonno_x86_64_2_64test_limit_compact_tableSuccess59.970
8_cythonno_x86_64_2_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_2_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_2_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_2_64test_with_limitSuccess61.438
8_cythonno_x86_64_2_64test_paging_using_secondary_indexesSuccess55.454
8_cythonno_x86_64_2_64test_row_TTL_expiry_during_pagingSuccess85.070
8_cythonno_x86_64_2_64test_single_row_deletionsSuccess77.946
8_cythonno_x86_64_2_64test13294Success106.397
8_cythonno_x86_64_2_64test_sstableloader_compression_snappy_to_snappySkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.600
8_cythonno_x86_64_2_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_2_64test_rolling_upgradeSuccess1243.976
8_cythonno_x86_64_2_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_30_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_30_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_30_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_30_64test_range_with_deletesSuccess69.819
8_cythonno_x86_64_30_64test_limit_compact_tableSuccess60.573
8_cythonno_x86_64_30_64test_indexes_compositeSuccess74.146
8_cythonno_x86_64_30_64test_whole_list_conditionalSuccess69.366
8_cythonno_x86_64_30_64test_range_querySuccess74.980
8_cythonno_x86_64_30_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 0x7efcb0598280>

@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
60.987
8_cythonno_x86_64_30_64test_timestamp_and_ttlSuccess161.621
8_cythonno_x86_64_30_64test_add_deletion_info_in_unsorted_columnSuccess63.055
8_cythonno_x86_64_30_64test_more_order_bySuccess140.862
8_cythonno_x86_64_30_64test_conditional_deleteSuccess70.279
8_cythonno_x86_64_30_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_30_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_30_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_30_64test_multi_in_compactSuccess55.550
8_cythonno_x86_64_30_64test_end_of_component_uses_oecBoundSuccess55.880
8_cythonno_x86_64_30_64test_collection_and_regularSuccess56.153
8_cythonno_x86_64_30_64test_whole_map_conditionalSuccess62.112
8_cythonno_x86_64_30_64test_row_existenceSuccess59.380
8_cythonno_x86_64_30_64test_cas_and_ttlSuccess62.137
8_cythonno_x86_64_30_64test_delete_rowSuccess57.378
8_cythonno_x86_64_30_64test_intersection_logic_returns_empty_resultSuccess69.865
8_cythonno_x86_64_30_64test_null_supportSuccess57.597
8_cythonno_x86_64_30_64test_collection_flushSuccess71.374
8_cythonno_x86_64_30_64test_countersSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:418: test not applicable to env.
0.000
8_cythonno_x86_64_30_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_30_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_30_64test_undefined_page_size_defaultSuccess64.361
8_cythonno_x86_64_30_64test_paging_across_multi_wide_rowsSuccess84.361
8_cythonno_x86_64_30_64test_paging_using_secondary_indexesSuccess62.387
8_cythonno_x86_64_30_64test_query_isolationSuccess116.278
8_cythonno_x86_64_30_64test_single_row_deletionsSuccess68.183
8_cythonno_x86_64_30_64test_upgrade_with_clustered_compact_tableSuccess116.961
8_cythonno_x86_64_30_64test_sstableloader_compression_none_to_deflateSkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.351
8_cythonno_x86_64_30_64test_bootstrap_multidcSuccess513.024
8_cythonno_x86_64_31_64test_noncomposite_static_cfSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:121: test not applicable to env.
0.001
8_cythonno_x86_64_31_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_31_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_31_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.831
8_cythonno_x86_64_31_64test_key_index_with_reverse_clusteringSuccess67.348
8_cythonno_x86_64_31_64test_refuse_in_with_indexesSuccess68.708
8_cythonno_x86_64_31_64test_list_item_conditionalSuccess70.278
8_cythonno_x86_64_31_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 0x7fa5d5f2a3d0>

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

cursor.execute("""
CREATE TABLE test (
k1 int,
k2 int,
c int,
v int,
PRIMARY KEY ((k1, k2), c)
)
""")

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

req = "INSERT INTO test (k1, k2, c, v) VALUES ({}, {}, {}, {})"
for i in range(0, 4):
cursor.execute(req.format(0, i, i, i))

assert_all(cursor, "SELECT * FROM test", [[0, 2, 2, 2], [0, 3, 3, 3], [0, 0, 0, 0], [0, 1, 1, 1]])

assert_all(cursor, "SELECT * FROM test WHERE k1 = 0 and k2 IN (1, 3)", [[0, 1, 1, 1], [0, 3, 3, 3]])

assert_invalid(cursor, "SELECT * FROM test WHERE k2 = 3")

> if self.get_node_version(is_upgraded) < '2.2':

upgrade_tests/cql_tests.py:1496:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
upgrade_tests/upgrade_base.py:227: in get_node_version
return max(node_versions) if is_upgraded else min(node_versions)
/usr/lib/python3.8/distutils/version.py:64: in __gt__
c = self._cmp(other)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = LooseVersion ('5.0-rc1'), other = LooseVersion ('5.0.1')

def _cmp (self, other):
if isinstance(other, str):
other = LooseVersion(other)

if self.version == other.version:
return 0
> if self.version < other.version:
E TypeError: '<' not supported between instances of 'str' and 'int'

/usr/lib/python3.8/distutils/version.py:337: TypeError
69.742
8_cythonno_x86_64_31_64test_static_columns_with_2iSuccess80.054
8_cythonno_x86_64_31_64test_no_range_ghostSuccess187.127
8_cythonno_x86_64_31_64test_column_name_validationSuccess64.504
8_cythonno_x86_64_31_64test_order_by_validationSuccess136.545
8_cythonno_x86_64_31_64test_select_with_aliasSuccess72.379
8_cythonno_x86_64_31_64test_limit_multigetSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:334: test not applicable to env.
0.001
8_cythonno_x86_64_31_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_31_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_31_64test_multi_in_compact_non_compositeSuccess53.392
8_cythonno_x86_64_31_64test_SIM_assertion_errorSuccess52.139
8_cythonno_x86_64_31_64test_batch_and_listSuccess52.701
8_cythonno_x86_64_31_64test_map_item_conditionalSuccess54.935
8_cythonno_x86_64_31_64test_no_clusteringSuccess53.184
8_cythonno_x86_64_31_64test_tuple_notationSuccess53.930
8_cythonno_x86_64_31_64test_range_query_2ndarySuccess53.867
8_cythonno_x86_64_31_64test_large_countSuccess64.031
8_cythonno_x86_64_31_64test_nameless_indexSuccess55.342
8_cythonno_x86_64_31_64test_select_distinct_with_deletionsSuccess55.482
8_cythonno_x86_64_31_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_31_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_31_64test_drop_compact_storageSkipped5.0.1 > 3.11

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.11
0.340
8_cythonno_x86_64_31_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_31_64test_paging_using_secondary_indexesSuccess64.120
8_cythonno_x86_64_31_64test_static_columns_pagingSuccess64.091
8_cythonno_x86_64_31_64test_query_isolationSuccess110.289
8_cythonno_x86_64_31_64test_single_cell_deletionsSuccess62.471
8_cythonno_x86_64_31_64test_upgrade_with_unclustered_CQL_tableSuccess110.213
8_cythonno_x86_64_31_64test_sstableloader_compression_snappy_to_noneSkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.632
8_cythonno_x86_64_31_64test_parallel_upgradeSuccess261.601
8_cythonno_x86_64_32_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_32_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_32_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_32_64test_composite_partition_key_validationSuccess57.771
8_cythonno_x86_64_32_64test_invalid_custom_timestampSuccess57.261
8_cythonno_x86_64_32_64test_reversed_compactSuccess61.069
8_cythonno_x86_64_32_64test_expanded_list_item_conditionalSuccess63.213
8_cythonno_x86_64_32_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.436
8_cythonno_x86_64_32_64test_static_columns_with_distinctSuccess69.784
8_cythonno_x86_64_32_64test_range_tombstonesSuccess151.049
8_cythonno_x86_64_32_64test_user_typesSuccess61.776
8_cythonno_x86_64_32_64test_order_by_with_inSuccess119.779
8_cythonno_x86_64_32_64test_nonpure_function_collectionSuccess60.827
8_cythonno_x86_64_32_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_32_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_32_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_32_64test_large_clustering_inSuccess53.185
8_cythonno_x86_64_32_64test_blobAs_functionsSuccess52.603
8_cythonno_x86_64_32_64test_booleanSuccess53.642
8_cythonno_x86_64_32_64test_expanded_map_item_conditionalSuccess58.683
8_cythonno_x86_64_32_64test_dateSuccess55.104
8_cythonno_x86_64_32_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.625
8_cythonno_x86_64_32_64test_setSuccess55.160
8_cythonno_x86_64_32_64test_collection_indexingSuccess62.638
8_cythonno_x86_64_32_64test_deletionSuccess57.023
8_cythonno_x86_64_32_64test_function_with_nullSuccess57.290
8_cythonno_x86_64_32_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_32_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_32_64test_drop_compact_storage_mixed_clusterSkipped5.0.1 > 4.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.333
8_cythonno_x86_64_32_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_32_64test_static_columns_pagingSuccess70.465
8_cythonno_x86_64_32_64test_paging_using_secondary_indexes_with_static_colsSuccess58.666
8_cythonno_x86_64_32_64test_query_isolationSuccess110.152
8_cythonno_x86_64_32_64test_multiple_cell_deletionsSuccess60.097
8_cythonno_x86_64_32_64test_upgrade_with_unclustered_compact_tableSuccess110.325
8_cythonno_x86_64_32_64test_sstableloader_compression_snappy_to_snappySkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.611
8_cythonno_x86_64_32_64test_rolling_upgradeSuccess407.685
8_cythonno_x86_64_33_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_33_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_33_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_33_64test_multi_inSuccess63.027
8_cythonno_x86_64_33_64test_clustering_order_inSuccess57.795
8_cythonno_x86_64_33_64test_reversed_compact_multikeySuccess65.880
8_cythonno_x86_64_33_64test_whole_set_conditionalSuccess64.842
8_cythonno_x86_64_33_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.330
8_cythonno_x86_64_33_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 0x7fe956b11e20>

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
63.392
8_cythonno_x86_64_33_64test_range_tombstones_compactionSuccess183.828
8_cythonno_x86_64_33_64test_more_user_typesSuccess64.440
8_cythonno_x86_64_33_64test_reversed_comparatorSuccess137.445
8_cythonno_x86_64_33_64test_empty_inSuccess65.148
8_cythonno_x86_64_33_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_33_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_33_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_33_64test_timeuuidSuccess64.147
8_cythonno_x86_64_33_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_33_64test_multiorderingSuccess56.530
8_cythonno_x86_64_33_64test_cas_and_list_indexSuccess57.867
8_cythonno_x86_64_33_64test_range_sliceSuccess57.595
8_cythonno_x86_64_33_64test_in_with_desc_orderSuccess57.597
8_cythonno_x86_64_33_64test_mapSuccess56.745
8_cythonno_x86_64_33_64test_map_keys_indexingSuccess61.401
8_cythonno_x86_64_33_64test_countSuccess61.583
8_cythonno_x86_64_33_64test_cas_simpleSuccess61.057
8_cythonno_x86_64_33_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_33_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_33_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_33_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_33_64test_paging_using_secondary_indexes_with_static_colsSuccess68.694
8_cythonno_x86_64_33_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_33_64test_query_isolationSuccess117.386
8_cythonno_x86_64_33_64test_ttl_deletionsSuccess71.416
8_cythonno_x86_64_33_64test_upgrade_with_staticsSuccess122.785
8_cythonno_x86_64_33_64test_sstableloader_compression_snappy_to_deflateSkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.568
8_cythonno_x86_64_33_64test_parallel_upgrade_with_internode_sslSuccess295.182
8_cythonno_x86_64_34_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_34_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_34_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_34_64test_multi_in_compactSuccess65.468
8_cythonno_x86_64_34_64test_end_of_component_uses_oecBoundSuccess60.804
8_cythonno_x86_64_34_64test_collection_and_regularSuccess66.614
8_cythonno_x86_64_34_64test_whole_map_conditionalSuccess67.310
8_cythonno_x86_64_34_64test_row_existenceSuccess69.790
8_cythonno_x86_64_34_64test_cas_and_ttlSuccess65.079
8_cythonno_x86_64_34_64test_delete_rowSuccess156.264
8_cythonno_x86_64_34_64test_intersection_logic_returns_empty_resultSuccess82.511
8_cythonno_x86_64_34_64test_null_supportSuccess137.003
8_cythonno_x86_64_34_64test_collection_flushSuccess84.205
8_cythonno_x86_64_34_64test_countersSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:418: test not applicable to env.
0.000
8_cythonno_x86_64_34_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_34_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_34_64test_float_with_exponentSuccess55.041
8_cythonno_x86_64_34_64test_negative_timestampSuccess54.574
8_cythonno_x86_64_34_64test_returned_nullSuccess56.580
8_cythonno_x86_64_34_64test_static_with_limitSuccess55.879
8_cythonno_x86_64_34_64test_npe_composite_table_sliceSuccess56.680
8_cythonno_x86_64_34_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 0x7f4234f47f10>

@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
52.929
8_cythonno_x86_64_34_64test_listSuccess57.554
8_cythonno_x86_64_34_64test_nan_infinitySuccess57.573
8_cythonno_x86_64_34_64test_batchSuccess57.843
8_cythonno_x86_64_34_64test_internal_application_error_on_selectSuccess59.142
8_cythonno_x86_64_34_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_34_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_34_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_34_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_34_64test_basic_pagingSuccess62.872
8_cythonno_x86_64_34_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_34_64test_query_isolationSuccess114.802
8_cythonno_x86_64_34_64test_failure_threshold_deletionsSuccess65.828
8_cythonno_x86_64_34_64test_upgrade_with_wide_partition_and_staticsSuccess119.686
8_cythonno_x86_64_34_64test_sstableloader_compression_deflate_to_noneSkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.544
8_cythonno_x86_64_34_64test_rolling_upgrade_with_internode_sslSuccess403.041
8_cythonno_x86_64_35_64test_limit_multigetSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:334: test not applicable to env.
0.001
8_cythonno_x86_64_35_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_35_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_35_64test_multi_in_compact_non_compositeSuccess68.808
8_cythonno_x86_64_35_64test_SIM_assertion_errorSuccess60.307
8_cythonno_x86_64_35_64test_batch_and_listSuccess62.352
8_cythonno_x86_64_35_64test_map_item_conditionalSuccess61.377
8_cythonno_x86_64_35_64test_no_clusteringSuccess62.093
8_cythonno_x86_64_35_64test_tuple_notationSuccess59.278
8_cythonno_x86_64_35_64test_range_query_2ndarySuccess146.818
8_cythonno_x86_64_35_64test_large_countSuccess76.664
8_cythonno_x86_64_35_64test_nameless_indexSuccess123.525
8_cythonno_x86_64_35_64test_select_distinct_with_deletionsSuccess62.286
8_cythonno_x86_64_35_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_35_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_35_64test_static_cfSuccess50.946
8_cythonno_x86_64_35_64test_compact_metadataSuccess50.925
8_cythonno_x86_64_35_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_35_64test_multi_list_setSuccess52.902
8_cythonno_x86_64_35_64test_static_with_empty_clusteringSuccess53.176
8_cythonno_x86_64_35_64test_remove_range_sliceSuccess56.368
8_cythonno_x86_64_35_64test_cas_and_compactSuccess55.683
8_cythonno_x86_64_35_64test_multi_collectionSuccess53.702
8_cythonno_x86_64_35_64test_static_columnsSuccess54.938
8_cythonno_x86_64_35_64test_token_rangeSuccess56.803
8_cythonno_x86_64_35_64test_store_sets_with_if_not_existsSuccess56.055
8_cythonno_x86_64_35_64test_order_bySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:607: test not applicable to env.
0.001
8_cythonno_x86_64_35_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_35_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_35_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_35_64test_basic_compound_pagingSuccess61.108
8_cythonno_x86_64_35_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_35_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_35_64test_single_partition_deletionsSuccess60.343
8_cythonno_x86_64_35_64test_upgrade_with_wide_partitionSuccess116.840
8_cythonno_x86_64_35_64test_sstableloader_compression_deflate_to_snappySkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.348
8_cythonno_x86_64_35_64test_bootstrapSuccess391.488
8_cythonno_x86_64_36_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_36_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_36_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_36_64test_large_clustering_inSuccess60.410
8_cythonno_x86_64_36_64test_blobAs_functionsSuccess55.496
8_cythonno_x86_64_36_64test_booleanSuccess59.296
8_cythonno_x86_64_36_64test_expanded_map_item_conditionalSuccess64.455
8_cythonno_x86_64_36_64test_dateSuccess63.547
8_cythonno_x86_64_36_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.479
8_cythonno_x86_64_36_64test_setSuccess144.271
8_cythonno_x86_64_36_64test_collection_indexingSuccess66.956
8_cythonno_x86_64_36_64test_deletionSuccess120.938
8_cythonno_x86_64_36_64test_function_with_nullSuccess61.859
8_cythonno_x86_64_36_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_36_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_36_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.565
8_cythonno_x86_64_36_64test_query_compact_tables_during_upgradeSuccess58.364
8_cythonno_x86_64_36_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_36_64test_range_with_deletesSuccess54.529
8_cythonno_x86_64_36_64test_limit_compact_tableSuccess53.112
8_cythonno_x86_64_36_64test_indexes_compositeSuccess55.945
8_cythonno_x86_64_36_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 0x7f08668fd6a0>

@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
50.505
8_cythonno_x86_64_36_64test_range_querySuccess53.349
8_cythonno_x86_64_36_64test_static_columns_casSuccess55.162
8_cythonno_x86_64_36_64test_timestamp_and_ttlSuccess55.670
8_cythonno_x86_64_36_64test_add_deletion_info_in_unsorted_columnSuccess55.684
8_cythonno_x86_64_36_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_36_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_36_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_36_64test_with_order_bySuccess57.947
8_cythonno_x86_64_36_64test_paging_a_single_wide_rowSuccess75.422
8_cythonno_x86_64_36_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_36_64test_single_partition_deletionsSuccess64.089
8_cythonno_x86_64_36_64test_multiple_partition_deletionsSuccess56.366
8_cythonno_x86_64_36_64test_upgrade_with_wide_partition_reversedSuccess119.235
8_cythonno_x86_64_36_64test_sstableloader_compression_deflate_to_deflateSkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.615
8_cythonno_x86_64_36_64test_bootstrap_multidcSuccess468.598
8_cythonno_x86_64_37_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_37_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_37_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_37_64test_timeuuidSuccess70.376
8_cythonno_x86_64_37_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_37_64test_multiorderingSuccess68.402
8_cythonno_x86_64_37_64test_cas_and_list_indexSuccess65.947
8_cythonno_x86_64_37_64test_range_sliceSuccess70.590
8_cythonno_x86_64_37_64test_in_with_desc_orderSuccess67.398
8_cythonno_x86_64_37_64test_mapSuccess164.842
8_cythonno_x86_64_37_64test_map_keys_indexingSuccess65.013
8_cythonno_x86_64_37_64test_countSuccess127.310
8_cythonno_x86_64_37_64test_cas_simpleSuccess62.271
8_cythonno_x86_64_37_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_37_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_37_64test_noncomposite_static_cfSuccess51.603
8_cythonno_x86_64_37_64test_clustering_indexingSuccess53.673
8_cythonno_x86_64_37_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_37_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.313
8_cythonno_x86_64_37_64test_key_index_with_reverse_clusteringSuccess54.159
8_cythonno_x86_64_37_64test_refuse_in_with_indexesSuccess55.101
8_cythonno_x86_64_37_64test_list_item_conditionalSuccess54.852
8_cythonno_x86_64_37_64test_composite_row_keySuccess52.867
8_cythonno_x86_64_37_64test_static_columns_with_2iSuccess53.325
8_cythonno_x86_64_37_64test_no_range_ghostSuccess57.280
8_cythonno_x86_64_37_64test_column_name_validationSuccess55.039
8_cythonno_x86_64_37_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_37_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_37_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_37_64test_with_order_by_reversedSuccess58.915
8_cythonno_x86_64_37_64test_paging_across_multi_wide_rowsSuccess76.026
8_cythonno_x86_64_37_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_37_64test_multiple_partition_deletionsSuccess60.632
8_cythonno_x86_64_37_64test_single_row_deletionsSuccess63.662
8_cythonno_x86_64_37_64test_upgrade_with_indexSuccess114.148
8_cythonno_x86_64_37_64test_sstableloader_with_mvSkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.629
8_cythonno_x86_64_37_64test_parallel_upgradeSuccess252.078
8_cythonno_x86_64_38_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_38_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_38_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_38_64test_float_with_exponentSuccess69.834
8_cythonno_x86_64_38_64test_negative_timestampSuccess62.605
8_cythonno_x86_64_38_64test_returned_nullSuccess71.616
8_cythonno_x86_64_38_64test_static_with_limitSuccess62.860
8_cythonno_x86_64_38_64test_npe_composite_table_sliceSuccess76.134
8_cythonno_x86_64_38_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 0x7f8dd1adf3a0>

@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
60.983
8_cythonno_x86_64_38_64test_listSuccess162.594
8_cythonno_x86_64_38_64test_nan_infinitySuccess63.318
8_cythonno_x86_64_38_64test_batchSuccess138.996
8_cythonno_x86_64_38_64test_internal_application_error_on_selectSuccess66.202
8_cythonno_x86_64_38_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_38_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_38_64test_dynamic_cfSuccess56.099
8_cythonno_x86_64_38_64test_edge_2i_on_complex_pkSuccess58.351
8_cythonno_x86_64_38_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_38_64test_composite_partition_key_validationSuccess57.319
8_cythonno_x86_64_38_64test_invalid_custom_timestampSuccess58.917
8_cythonno_x86_64_38_64test_reversed_compactSuccess60.397
8_cythonno_x86_64_38_64test_expanded_list_item_conditionalSuccess63.836
8_cythonno_x86_64_38_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.359
8_cythonno_x86_64_38_64test_static_columns_with_distinctSuccess62.045
8_cythonno_x86_64_38_64test_range_tombstonesSuccess76.849
8_cythonno_x86_64_38_64test_user_typesSuccess60.878
8_cythonno_x86_64_38_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_38_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_38_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_38_64test_with_limitSuccess67.813
8_cythonno_x86_64_38_64test_paging_using_secondary_indexesSuccess70.161
8_cythonno_x86_64_38_64test_static_columns_pagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:650: test not applicable to env.
0.000
8_cythonno_x86_64_38_64test_single_row_deletionsSuccess72.352
8_cythonno_x86_64_38_64test_single_cell_deletionsSuccess65.093
8_cythonno_x86_64_38_64test_upgrade_with_range_tombstonesSuccess113.488
8_cythonno_x86_64_38_64test_sstableloader_compression_none_to_noneSkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.602
8_cythonno_x86_64_38_64test_rolling_upgradeSuccess407.360
8_cythonno_x86_64_39_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_39_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_39_64test_static_cfSuccess58.920
8_cythonno_x86_64_39_64test_compact_metadataSuccess57.206
8_cythonno_x86_64_39_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_39_64test_multi_list_setSuccess60.874
8_cythonno_x86_64_39_64test_static_with_empty_clusteringSuccess60.353
8_cythonno_x86_64_39_64test_remove_range_sliceSuccess64.302
8_cythonno_x86_64_39_64test_cas_and_compactSuccess61.968
8_cythonno_x86_64_39_64test_multi_collectionSuccess142.875
8_cythonno_x86_64_39_64test_static_columnsSuccess61.303
8_cythonno_x86_64_39_64test_token_rangeSuccess123.959
8_cythonno_x86_64_39_64test_store_sets_with_if_not_existsSuccess62.217
8_cythonno_x86_64_39_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_39_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_39_64test_dense_cfSuccess51.216
8_cythonno_x86_64_39_64test_end_of_component_as_end_keySuccess52.687
8_cythonno_x86_64_39_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_39_64test_multi_inSuccess53.844
8_cythonno_x86_64_39_64test_clustering_order_inSuccess53.134
8_cythonno_x86_64_39_64test_reversed_compact_multikeySuccess55.087
8_cythonno_x86_64_39_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 0x7f9c316ddd30>

@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
49.936
8_cythonno_x86_64_39_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.414
8_cythonno_x86_64_39_64test_select_count_pagingSuccess54.500
8_cythonno_x86_64_39_64test_range_tombstones_compactionSuccess71.392
8_cythonno_x86_64_39_64test_more_user_typesSuccess56.607
8_cythonno_x86_64_39_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_39_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_39_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_39_64test_with_allow_filteringSuccess57.826
8_cythonno_x86_64_39_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 0x7f9c3153c2e0>

@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
56.358
8_cythonno_x86_64_39_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_39_64test_single_cell_deletionsSuccess64.778
8_cythonno_x86_64_39_64test_multiple_cell_deletionsSuccess59.788
8_cythonno_x86_64_39_64test_upgrade_with_range_and_collection_tombstonesSuccess109.526
8_cythonno_x86_64_39_64test_sstableloader_compression_none_to_snappySkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.337
8_cythonno_x86_64_39_64test_parallel_upgrade_with_internode_sslSuccess250.402
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.581
8_cythonno_x86_64_3_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_3_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_3_64test_range_tombstones_compactionSuccess105.405
8_cythonno_x86_64_3_64test_more_user_typesSuccess68.789
8_cythonno_x86_64_3_64test_reversed_comparatorSuccess80.525
8_cythonno_x86_64_3_64test_empty_inSuccess69.766
8_cythonno_x86_64_3_64test_limit_sparseSuccess78.154
8_cythonno_x86_64_3_64test_function_and_reverse_typeSuccess65.207
8_cythonno_x86_64_3_64test_tracing_prevents_startup_after_upgradingSuccess76.752
8_cythonno_x86_64_3_64test_timeuuidSuccess173.733
8_cythonno_x86_64_3_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_3_64test_multiorderingSuccess158.638
8_cythonno_x86_64_3_64test_cas_and_list_indexSuccess75.534
8_cythonno_x86_64_3_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_3_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_3_64test_mapSuccess55.629
8_cythonno_x86_64_3_64test_map_keys_indexingSuccess65.000
8_cythonno_x86_64_3_64test_countSuccess67.786
8_cythonno_x86_64_3_64test_cas_simpleSuccess63.574
8_cythonno_x86_64_3_64test_exclusive_sliceSuccess59.154
8_cythonno_x86_64_3_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 0x7fec220e0280>

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
52.541
8_cythonno_x86_64_3_64test_noncomposite_static_cfSuccess61.731
8_cythonno_x86_64_3_64test_clustering_indexingSuccess65.495
8_cythonno_x86_64_3_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_3_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.511
8_cythonno_x86_64_3_64test_key_index_with_reverse_clusteringSuccess65.834
8_cythonno_x86_64_3_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_3_64test_list_item_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4463: test not applicable to env.
0.001
8_cythonno_x86_64_3_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.001
8_cythonno_x86_64_3_64test_with_allow_filteringSuccess61.722
8_cythonno_x86_64_3_64test_static_columns_pagingSuccess63.905
8_cythonno_x86_64_3_64test_cell_TTL_expiry_during_pagingSuccess90.543
8_cythonno_x86_64_3_64test_single_cell_deletionsSuccess75.043
8_cythonno_x86_64_3_64test_schema_agreementSkipped5.0 > 3.0.99

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.585
8_cythonno_x86_64_3_64test_dense_supercolumnSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.344
8_cythonno_x86_64_3_64test_parallel_upgrade_with_internode_sslSuccess780.275
8_cythonno_x86_64_40_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_40_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_40_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.529
8_cythonno_x86_64_40_64test_query_compact_tables_during_upgradeSuccess65.422
8_cythonno_x86_64_40_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_40_64test_range_with_deletesSuccess59.945
8_cythonno_x86_64_40_64test_limit_compact_tableSuccess58.952
8_cythonno_x86_64_40_64test_indexes_compositeSuccess66.480
8_cythonno_x86_64_40_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 0x7fd6c6aad490>

@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
57.726
8_cythonno_x86_64_40_64test_range_querySuccess148.075
8_cythonno_x86_64_40_64test_static_columns_casSuccess63.256
8_cythonno_x86_64_40_64test_timestamp_and_ttlSuccess127.346
8_cythonno_x86_64_40_64test_add_deletion_info_in_unsorted_columnSuccess64.159
8_cythonno_x86_64_40_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_40_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_40_64test_sparse_cfSuccess53.186
8_cythonno_x86_64_40_64test_ticket_5230Success53.945
8_cythonno_x86_64_40_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_40_64test_multi_in_compactSuccess55.664
8_cythonno_x86_64_40_64test_end_of_component_uses_oecBoundSuccess54.688
8_cythonno_x86_64_40_64test_collection_and_regularSuccess55.477
8_cythonno_x86_64_40_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 0x7fd6c67862b0>

@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
52.369
8_cythonno_x86_64_40_64test_row_existenceSuccess56.046
8_cythonno_x86_64_40_64test_cas_and_ttlSuccess59.957
8_cythonno_x86_64_40_64test_delete_rowSuccess55.394
8_cythonno_x86_64_40_64test_intersection_logic_returns_empty_resultSuccess67.543
8_cythonno_x86_64_40_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_40_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_40_64test_with_no_resultsSuccess58.607
8_cythonno_x86_64_40_64test_with_order_bySuccess60.458
8_cythonno_x86_64_40_64test_paging_using_secondary_indexes_with_static_colsSuccess66.214
8_cythonno_x86_64_40_64test_data_change_impacting_earlier_pageSuccess58.336
8_cythonno_x86_64_40_64test_multiple_cell_deletionsSuccess64.100
8_cythonno_x86_64_40_64test_ttl_deletionsSuccess66.675
8_cythonno_x86_64_40_64test_upgrade_with_range_tombstone_eoc_0Skipped5.0.1 > 3.99

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

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.383
8_cythonno_x86_64_40_64test_rolling_upgrade_with_internode_sslSuccess415.373
8_cythonno_x86_64_41_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_41_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_41_64test_noncomposite_static_cfSuccess62.986
8_cythonno_x86_64_41_64test_clustering_indexingSuccess60.327
8_cythonno_x86_64_41_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_41_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.292
8_cythonno_x86_64_41_64test_key_index_with_reverse_clusteringSuccess64.347
8_cythonno_x86_64_41_64test_refuse_in_with_indexesSuccess69.595
8_cythonno_x86_64_41_64test_list_item_conditionalSuccess63.811
8_cythonno_x86_64_41_64test_composite_row_keySuccess156.373
8_cythonno_x86_64_41_64test_static_columns_with_2iSuccess63.336
8_cythonno_x86_64_41_64test_no_range_ghostSuccess138.312
8_cythonno_x86_64_41_64test_column_name_validationSuccess63.074
8_cythonno_x86_64_41_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_41_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_41_64test_limit_multigetSuccess56.773
8_cythonno_x86_64_41_64test_conversion_functionsSuccess55.433
8_cythonno_x86_64_41_64test_deleted_row_selectSuccess60.658
8_cythonno_x86_64_41_64test_multi_in_compact_non_compositeSuccess56.858
8_cythonno_x86_64_41_64test_SIM_assertion_errorSuccess58.857
8_cythonno_x86_64_41_64test_batch_and_listSuccess56.558
8_cythonno_x86_64_41_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 0x7ffb8f587e20>

@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
52.755
8_cythonno_x86_64_41_64test_no_clusteringSuccess56.009
8_cythonno_x86_64_41_64test_tuple_notationSuccess58.284
8_cythonno_x86_64_41_64test_range_query_2ndarySuccess59.593
8_cythonno_x86_64_41_64test_large_countSuccess68.654
8_cythonno_x86_64_41_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_41_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_41_64test_with_less_results_than_page_sizeSuccess59.046
8_cythonno_x86_64_41_64test_with_order_by_reversedSuccess62.063
8_cythonno_x86_64_41_64test_basic_pagingSuccess61.427
8_cythonno_x86_64_41_64test_data_change_impacting_later_pageSuccess62.061
8_cythonno_x86_64_41_64test_ttl_deletionsSuccess72.053
8_cythonno_x86_64_41_64test_failure_threshold_deletionsSuccess66.191
8_cythonno_x86_64_41_64test_upgrade_with_range_tombstone_aeSuccess112.688
8_cythonno_x86_64_41_64test_sstableloader_compression_snappy_to_noneSkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.580
8_cythonno_x86_64_41_64test_bootstrapSuccess419.844
8_cythonno_x86_64_42_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_42_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_42_64test_dynamic_cfSuccess65.732
8_cythonno_x86_64_42_64test_edge_2i_on_complex_pkSuccess63.031
8_cythonno_x86_64_42_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_42_64test_composite_partition_key_validationSuccess66.623
8_cythonno_x86_64_42_64test_invalid_custom_timestampSuccess60.923
8_cythonno_x86_64_42_64test_reversed_compactSuccess70.009
8_cythonno_x86_64_42_64test_expanded_list_item_conditionalSuccess65.656
8_cythonno_x86_64_42_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.186
8_cythonno_x86_64_42_64test_static_columns_with_distinctSuccess154.151
8_cythonno_x86_64_42_64test_range_tombstonesSuccess135.573
8_cythonno_x86_64_42_64test_user_typesSuccess66.399
8_cythonno_x86_64_42_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_42_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_42_64test_simple_tuple_querySuccess53.498
8_cythonno_x86_64_42_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.305
8_cythonno_x86_64_42_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_42_64test_large_clustering_inSuccess56.115
8_cythonno_x86_64_42_64test_blobAs_functionsSuccess53.557
8_cythonno_x86_64_42_64test_booleanSuccess54.838
8_cythonno_x86_64_42_64test_expanded_map_item_conditionalSuccess60.575
8_cythonno_x86_64_42_64test_dateSuccess57.832
8_cythonno_x86_64_42_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.303
8_cythonno_x86_64_42_64test_setSuccess56.499
8_cythonno_x86_64_42_64test_collection_indexingSuccess66.515
8_cythonno_x86_64_42_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_42_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_42_64test_with_more_results_than_page_sizeSuccess58.241
8_cythonno_x86_64_42_64test_with_limitSuccess66.926
8_cythonno_x86_64_42_64test_basic_compound_pagingSuccess59.644
8_cythonno_x86_64_42_64test_row_TTL_expiry_during_pagingSuccess90.534
8_cythonno_x86_64_42_64test_failure_threshold_deletionsSuccess71.344
8_cythonno_x86_64_42_64test_single_partition_deletionsSuccess63.252
8_cythonno_x86_64_42_64test_sstableloader_compression_none_to_noneSkipped5.0.1 > 3.99

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

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.524
8_cythonno_x86_64_42_64test_bootstrap_multidcSuccess507.182
8_cythonno_x86_64_43_64test_order_bySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:607: test not applicable to env.
0.001
8_cythonno_x86_64_43_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_43_64test_dense_cfSuccess70.803
8_cythonno_x86_64_43_64test_end_of_component_as_end_keySuccess59.499
8_cythonno_x86_64_43_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_43_64test_multi_inSuccess66.738
8_cythonno_x86_64_43_64test_clustering_order_inSuccess59.541
8_cythonno_x86_64_43_64test_reversed_compact_multikeySuccess67.872
8_cythonno_x86_64_43_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 0x7f07c7624d00>

@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
59.608
8_cythonno_x86_64_43_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.209
8_cythonno_x86_64_43_64test_select_count_pagingSuccess151.608
8_cythonno_x86_64_43_64test_range_tombstones_compactionSuccess153.298
8_cythonno_x86_64_43_64test_more_user_typesSuccess66.180
8_cythonno_x86_64_43_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_43_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_43_64test_limit_sparseSuccess54.045
8_cythonno_x86_64_43_64test_function_and_reverse_typeSuccess52.826
8_cythonno_x86_64_43_64test_tracing_prevents_startup_after_upgradingSuccess58.777
8_cythonno_x86_64_43_64test_timeuuidSuccess62.742
8_cythonno_x86_64_43_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_43_64test_multiorderingSuccess53.972
8_cythonno_x86_64_43_64test_cas_and_list_indexSuccess54.779
8_cythonno_x86_64_43_64test_range_sliceSuccess54.458
8_cythonno_x86_64_43_64test_in_with_desc_orderSuccess55.241
8_cythonno_x86_64_43_64test_mapSuccess56.315
8_cythonno_x86_64_43_64test_map_keys_indexingSuccess57.238
8_cythonno_x86_64_43_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_43_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_43_64test_with_equal_results_to_page_sizeSuccess58.712
8_cythonno_x86_64_43_64test_with_allow_filteringSuccess60.412
8_cythonno_x86_64_43_64test_paging_a_single_wide_rowSuccess72.929
8_cythonno_x86_64_43_64test_cell_TTL_expiry_during_pagingSuccess94.646
8_cythonno_x86_64_43_64test_single_partition_deletionsSuccess66.720
8_cythonno_x86_64_43_64test_multiple_partition_deletionsSuccess58.030
8_cythonno_x86_64_43_64test_sstableloader_compression_none_to_snappySkipped5.0.1 > 3.99

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

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.288
8_cythonno_x86_64_43_64test_parallel_upgradeSuccess265.189
8_cythonno_x86_64_44_64test_more_order_bySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:656: test not applicable to env.
0.001
8_cythonno_x86_64_44_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_44_64test_sparse_cfSuccess68.246
8_cythonno_x86_64_44_64test_ticket_5230Success61.358
8_cythonno_x86_64_44_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_44_64test_multi_in_compactSuccess71.636
8_cythonno_x86_64_44_64test_end_of_component_uses_oecBoundSuccess61.963
8_cythonno_x86_64_44_64test_collection_and_regularSuccess75.756
8_cythonno_x86_64_44_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 0x7ff61e87f700>

@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.349
8_cythonno_x86_64_44_64test_row_existenceSuccess163.004
8_cythonno_x86_64_44_64test_cas_and_ttlSuccess66.819
8_cythonno_x86_64_44_64test_delete_rowSuccess166.148
8_cythonno_x86_64_44_64test_intersection_logic_returns_empty_resultSuccess94.658
8_cythonno_x86_64_44_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_44_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_44_64test_countersSuccess60.441
8_cythonno_x86_64_44_64test_NPE_during_select_with_tokenSuccess62.703
8_cythonno_x86_64_44_64test_materialized_view_simpleSuccess60.048
8_cythonno_x86_64_44_64test_float_with_exponentSuccess66.227
8_cythonno_x86_64_44_64test_negative_timestampSuccess56.472
8_cythonno_x86_64_44_64test_returned_nullSuccess58.985
8_cythonno_x86_64_44_64test_static_with_limitSuccess63.170
8_cythonno_x86_64_44_64test_npe_composite_table_sliceSuccess59.387
8_cythonno_x86_64_44_64test_in_order_by_without_selectingSuccess60.477
8_cythonno_x86_64_44_64test_listSuccess66.683
8_cythonno_x86_64_44_64test_nan_infinitySuccess73.059
8_cythonno_x86_64_44_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_44_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_44_64test_undefined_page_size_defaultSuccess90.577
8_cythonno_x86_64_44_64test_with_order_bySuccess77.372
8_cythonno_x86_64_44_64test_paging_across_multi_wide_rowsSuccess85.045
8_cythonno_x86_64_44_64test_data_change_impacting_earlier_pageSuccess70.074
8_cythonno_x86_64_44_64test_multiple_partition_deletionsSuccess70.939
8_cythonno_x86_64_44_64test_single_row_deletionsSuccess71.409
8_cythonno_x86_64_44_64test_sstableloader_compression_none_to_deflateSkipped5.0.1 > 3.99

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

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.369
8_cythonno_x86_64_44_64test_rolling_upgradeSuccess422.039
8_cythonno_x86_64_45_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_45_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_45_64test_limit_multigetSuccess65.927
8_cythonno_x86_64_45_64test_conversion_functionsSuccess58.843
8_cythonno_x86_64_45_64test_deleted_row_selectSuccess65.790
8_cythonno_x86_64_45_64test_multi_in_compact_non_compositeSuccess64.034
8_cythonno_x86_64_45_64test_SIM_assertion_errorSuccess63.097
8_cythonno_x86_64_45_64test_batch_and_listSuccess68.290
8_cythonno_x86_64_45_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 0x7fd5e48a0a60>

@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
58.271
8_cythonno_x86_64_45_64test_no_clusteringSuccess156.490
8_cythonno_x86_64_45_64test_tuple_notationSuccess61.504
8_cythonno_x86_64_45_64test_range_query_2ndarySuccess136.547
8_cythonno_x86_64_45_64test_large_countSuccess76.563
8_cythonno_x86_64_45_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_45_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_45_64test_indexed_with_eqSuccess56.636
8_cythonno_x86_64_45_64test_empty_blobSuccess55.636
8_cythonno_x86_64_45_64test_static_cfSuccess57.866
8_cythonno_x86_64_45_64test_compact_metadataSuccess58.712
8_cythonno_x86_64_45_64test_select_map_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5231: awaiting CASSANDRA-7396
0.001
8_cythonno_x86_64_45_64test_multi_list_setSuccess59.151
8_cythonno_x86_64_45_64test_static_with_empty_clusteringSuccess58.632
8_cythonno_x86_64_45_64test_remove_range_sliceSuccess60.554
8_cythonno_x86_64_45_64test_cas_and_compactSuccess58.344
8_cythonno_x86_64_45_64test_multi_collectionSuccess60.249
8_cythonno_x86_64_45_64test_static_columnsSuccess60.694
8_cythonno_x86_64_45_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_45_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_45_64test_with_no_resultsSuccess63.264
8_cythonno_x86_64_45_64test_with_order_by_reversedSuccess65.104
8_cythonno_x86_64_45_64test_paging_using_secondary_indexesSuccess67.095
8_cythonno_x86_64_45_64test_data_change_impacting_later_pageSuccess64.696
8_cythonno_x86_64_45_64test_single_row_deletionsSuccess72.131
8_cythonno_x86_64_45_64test_single_cell_deletionsSuccess70.570
8_cythonno_x86_64_45_64test_sstableloader_compression_snappy_to_noneSkipped5.0.1 > 3.99

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

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.642
8_cythonno_x86_64_45_64test_parallel_upgrade_with_internode_sslSuccess314.373
8_cythonno_x86_64_46_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_46_64test_nonpure_function_collectionSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3292: test not applicable to env.
0.001
8_cythonno_x86_64_46_64test_simple_tuple_querySuccess64.068
8_cythonno_x86_64_46_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.574
8_cythonno_x86_64_46_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_46_64test_large_clustering_inSuccess68.635
8_cythonno_x86_64_46_64test_blobAs_functionsSuccess60.099
8_cythonno_x86_64_46_64test_booleanSuccess68.565
8_cythonno_x86_64_46_64test_expanded_map_item_conditionalSuccess68.145
8_cythonno_x86_64_46_64test_dateSuccess158.609
8_cythonno_x86_64_46_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.432
8_cythonno_x86_64_46_64test_setSuccess138.495
8_cythonno_x86_64_46_64test_collection_indexingSuccess76.497
8_cythonno_x86_64_46_64test_deletionSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:891: test not applicable to env.
0.001
8_cythonno_x86_64_46_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_46_64test_select_key_inSuccess59.383
8_cythonno_x86_64_46_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.658
8_cythonno_x86_64_46_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.625
8_cythonno_x86_64_46_64test_query_compact_tables_during_upgradeSuccess68.711
8_cythonno_x86_64_46_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_46_64test_range_with_deletesSuccess60.881
8_cythonno_x86_64_46_64test_limit_compact_tableSuccess60.898
8_cythonno_x86_64_46_64test_indexes_compositeSuccess61.455
8_cythonno_x86_64_46_64test_whole_list_conditionalSuccess69.168
8_cythonno_x86_64_46_64test_range_querySuccess60.878
8_cythonno_x86_64_46_64test_static_columns_casSuccess60.484
8_cythonno_x86_64_46_64test_timestamp_and_ttlSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1036: test not applicable to env.
0.000
8_cythonno_x86_64_46_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_46_64test_with_less_results_than_page_sizeSuccess61.567
8_cythonno_x86_64_46_64test_with_limitSuccess70.588
8_cythonno_x86_64_46_64test_static_columns_pagingSuccess74.793
8_cythonno_x86_64_46_64test_row_TTL_expiry_during_pagingSuccess93.781
8_cythonno_x86_64_46_64test_single_cell_deletionsSuccess68.151
8_cythonno_x86_64_46_64test_multiple_cell_deletionsSuccess66.206
8_cythonno_x86_64_46_64test_sstableloader_compression_snappy_to_snappySkipped5.0.1 > 3.99

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

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.559
8_cythonno_x86_64_46_64test_rolling_upgrade_with_internode_sslSuccess409.156
8_cythonno_x86_64_47_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_47_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_47_64test_limit_sparseSuccess70.349
8_cythonno_x86_64_47_64test_function_and_reverse_typeSuccess60.098
8_cythonno_x86_64_47_64test_tracing_prevents_startup_after_upgradingSuccess71.862
8_cythonno_x86_64_47_64test_timeuuidSuccess81.024
8_cythonno_x86_64_47_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_47_64test_multiorderingSuccess77.399
8_cythonno_x86_64_47_64test_cas_and_list_indexSuccess65.397
8_cythonno_x86_64_47_64test_range_sliceSuccess161.457
8_cythonno_x86_64_47_64test_in_with_desc_orderSuccess63.499
8_cythonno_x86_64_47_64test_mapSuccess141.776
8_cythonno_x86_64_47_64test_map_keys_indexingSuccess69.543
8_cythonno_x86_64_47_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_47_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_47_64test_exclusive_sliceSuccess55.621
8_cythonno_x86_64_47_64test_clustering_order_and_functionsSuccess56.327
8_cythonno_x86_64_47_64test_noncomposite_static_cfSuccess57.587
8_cythonno_x86_64_47_64test_clustering_indexingSuccess59.630
8_cythonno_x86_64_47_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_47_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.359
8_cythonno_x86_64_47_64test_key_index_with_reverse_clusteringSuccess58.573
8_cythonno_x86_64_47_64test_refuse_in_with_indexesSuccess59.101
8_cythonno_x86_64_47_64test_list_item_conditionalSuccess59.797
8_cythonno_x86_64_47_64test_composite_row_keySuccess59.070
8_cythonno_x86_64_47_64test_static_columns_with_2iSuccess59.551
8_cythonno_x86_64_47_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_47_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_47_64test_with_more_results_than_page_sizeSuccess65.500
8_cythonno_x86_64_47_64test_with_allow_filteringSuccess66.234
8_cythonno_x86_64_47_64test_paging_using_secondary_indexes_with_static_colsSuccess69.183
8_cythonno_x86_64_47_64test_cell_TTL_expiry_during_pagingSuccess100.195
8_cythonno_x86_64_47_64test_multiple_cell_deletionsSuccess70.832
8_cythonno_x86_64_47_64test_ttl_deletionsSuccess73.887
8_cythonno_x86_64_47_64test_sstableloader_compression_snappy_to_deflateSkipped5.0.1 > 3.99

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.339
8_cythonno_x86_64_47_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_47_64test_bootstrapSuccess598.191
8_cythonno_x86_64_48_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_48_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_48_64test_countersSuccess64.451
8_cythonno_x86_64_48_64test_NPE_during_select_with_tokenSuccess57.255
8_cythonno_x86_64_48_64test_materialized_view_simpleSuccess58.969
8_cythonno_x86_64_48_64test_float_with_exponentSuccess66.771
8_cythonno_x86_64_48_64test_negative_timestampSuccess60.029
8_cythonno_x86_64_48_64test_returned_nullSuccess69.232
8_cythonno_x86_64_48_64test_static_with_limitSuccess60.487
8_cythonno_x86_64_48_64test_npe_composite_table_sliceSuccess146.956
8_cythonno_x86_64_48_64test_in_order_by_without_selectingSuccess61.333
8_cythonno_x86_64_48_64test_listSuccess123.208
8_cythonno_x86_64_48_64test_nan_infinitySuccess61.863
8_cythonno_x86_64_48_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_48_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_48_64test_in_clause_wide_rowsSuccess53.180
8_cythonno_x86_64_48_64test_conditional_updateSuccess52.956
8_cythonno_x86_64_48_64test_dynamic_cfSuccess53.542
8_cythonno_x86_64_48_64test_edge_2i_on_complex_pkSuccess58.056
8_cythonno_x86_64_48_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_48_64test_composite_partition_key_validationSuccess55.238
8_cythonno_x86_64_48_64test_invalid_custom_timestampSuccess55.086
8_cythonno_x86_64_48_64test_reversed_compactSuccess54.789
8_cythonno_x86_64_48_64test_expanded_list_item_conditionalSuccess57.945
8_cythonno_x86_64_48_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.287
8_cythonno_x86_64_48_64test_static_columns_with_distinctSuccess59.489
8_cythonno_x86_64_48_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_48_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_48_64test_with_equal_results_to_page_sizeSuccess61.469
8_cythonno_x86_64_48_64test_with_order_bySuccess60.876
8_cythonno_x86_64_48_64test_basic_pagingSuccess61.428
8_cythonno_x86_64_48_64test_data_change_impacting_earlier_pageSuccess62.927
8_cythonno_x86_64_48_64test_ttl_deletionsSuccess73.805
8_cythonno_x86_64_48_64test_failure_threshold_deletionsSuccess65.020
8_cythonno_x86_64_48_64test_sstableloader_compression_deflate_to_noneSkipped5.0.1 > 3.99

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.279
8_cythonno_x86_64_48_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_48_64test_bootstrap_multidcSuccess607.476
8_cythonno_x86_64_49_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_49_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_49_64test_indexed_with_eqSuccess58.820
8_cythonno_x86_64_49_64test_empty_blobSuccess56.327
8_cythonno_x86_64_49_64test_static_cfSuccess60.642
8_cythonno_x86_64_49_64test_compact_metadataSuccess58.588
8_cythonno_x86_64_49_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_49_64test_multi_list_setSuccess61.918
8_cythonno_x86_64_49_64test_static_with_empty_clusteringSuccess61.146
8_cythonno_x86_64_49_64test_remove_range_sliceSuccess143.970
8_cythonno_x86_64_49_64test_cas_and_compactSuccess59.879
8_cythonno_x86_64_49_64test_multi_collectionSuccess120.006
8_cythonno_x86_64_49_64test_static_columnsSuccess62.398
8_cythonno_x86_64_49_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_49_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_49_64test_order_bySuccess52.360
8_cythonno_x86_64_49_64test_non_eq_conditional_updateSuccess51.611
8_cythonno_x86_64_49_64test_dense_cfSuccess54.217
8_cythonno_x86_64_49_64test_end_of_component_as_end_keySuccess55.168
8_cythonno_x86_64_49_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_49_64test_multi_inSuccess55.917
8_cythonno_x86_64_49_64test_clustering_order_inSuccess55.651
8_cythonno_x86_64_49_64test_reversed_compact_multikeySuccess53.831
8_cythonno_x86_64_49_64test_whole_set_conditionalSuccess58.116
8_cythonno_x86_64_49_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.578
8_cythonno_x86_64_49_64test_select_count_pagingSuccess56.289
8_cythonno_x86_64_49_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_49_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_49_64test_undefined_page_size_defaultSuccess68.703
8_cythonno_x86_64_49_64test_with_order_by_reversedSuccess61.728
8_cythonno_x86_64_49_64test_basic_compound_pagingSuccess61.227
8_cythonno_x86_64_49_64test_data_change_impacting_later_pageSuccess62.926
8_cythonno_x86_64_49_64test_failure_threshold_deletionsSuccess71.993
8_cythonno_x86_64_49_64test_single_partition_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1259: test not applicable to env.
0.001
8_cythonno_x86_64_49_64test_sstableloader_compression_deflate_to_snappySkipped5.0.1 > 3.99

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.574
8_cythonno_x86_64_49_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_49_64test_parallel_upgradeSuccess439.506
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.793
8_cythonno_x86_64_4_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_4_64test_cas_and_ttlSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4204: test not applicable to env.
0.001
8_cythonno_x86_64_4_64test_delete_rowSuccess61.178
8_cythonno_x86_64_4_64test_intersection_logic_returns_empty_resultSuccess89.043
8_cythonno_x86_64_4_64test_null_supportSuccess67.616
8_cythonno_x86_64_4_64test_collection_flushSuccess84.706
8_cythonno_x86_64_4_64test_countersSuccess68.735
8_cythonno_x86_64_4_64test_NPE_during_select_with_tokenSuccess68.221
8_cythonno_x86_64_4_64test_materialized_view_simpleSuccess65.072
8_cythonno_x86_64_4_64test_float_with_exponentSuccess151.467
8_cythonno_x86_64_4_64test_negative_timestampSuccess61.070
8_cythonno_x86_64_4_64test_returned_nullSuccess125.729
8_cythonno_x86_64_4_64test_static_with_limitSuccess64.883
8_cythonno_x86_64_4_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_4_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_4_64test_listSuccess52.912
8_cythonno_x86_64_4_64test_nan_infinitySuccess52.908
8_cythonno_x86_64_4_64test_batchSuccess54.926
8_cythonno_x86_64_4_64test_internal_application_error_on_selectSuccess56.557
8_cythonno_x86_64_4_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 0x7f33aa657850>

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
52.373
8_cythonno_x86_64_4_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 0x7f33aa615490>

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
49.129
8_cythonno_x86_64_4_64test_dynamic_cfSuccess55.056
8_cythonno_x86_64_4_64test_edge_2i_on_complex_pkSuccess56.127
8_cythonno_x86_64_4_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_4_64test_composite_partition_key_validationSuccess56.547
8_cythonno_x86_64_4_64test_invalid_custom_timestampSuccess56.696
8_cythonno_x86_64_4_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_4_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_4_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_4_64test_with_order_bySuccess76.214
8_cythonno_x86_64_4_64test_paging_using_secondary_indexes_with_static_colsSuccess68.481
8_cythonno_x86_64_4_64test_data_change_impacting_earlier_pageSuccess60.755
8_cythonno_x86_64_4_64test_multiple_cell_deletionsSuccess77.210
8_cythonno_x86_64_4_64test_10822Success57.637
8_cythonno_x86_64_4_64test_sstableloader_compression_deflate_to_noneSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.586
8_cythonno_x86_64_4_64test_dense_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.587
8_cythonno_x86_64_4_64test_rolling_upgrade_with_internode_sslSuccess1217.673
8_cythonno_x86_64_50_64test_deletionSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:891: test not applicable to env.
0.001
8_cythonno_x86_64_50_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_50_64test_select_key_inSuccess65.067
8_cythonno_x86_64_50_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.540
8_cythonno_x86_64_50_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.542
8_cythonno_x86_64_50_64test_query_compact_tables_during_upgradeSuccess72.876
8_cythonno_x86_64_50_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_50_64test_range_with_deletesSuccess67.581
8_cythonno_x86_64_50_64test_limit_compact_tableSuccess61.299
8_cythonno_x86_64_50_64test_indexes_compositeSuccess158.124
8_cythonno_x86_64_50_64test_whole_list_conditionalSuccess66.151
8_cythonno_x86_64_50_64test_range_querySuccess135.738
8_cythonno_x86_64_50_64test_static_columns_casSuccess66.301
8_cythonno_x86_64_50_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_50_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_50_64test_more_order_bySuccess56.095
8_cythonno_x86_64_50_64test_conditional_deleteSuccess58.800
8_cythonno_x86_64_50_64test_sparse_cfSuccess56.081
8_cythonno_x86_64_50_64test_ticket_5230Success56.560
8_cythonno_x86_64_50_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_50_64test_multi_in_compactSuccess58.295
8_cythonno_x86_64_50_64test_end_of_component_uses_oecBoundSuccess56.838
8_cythonno_x86_64_50_64test_collection_and_regularSuccess56.979
8_cythonno_x86_64_50_64test_whole_map_conditionalSuccess60.895
8_cythonno_x86_64_50_64test_row_existenceSuccess58.345
8_cythonno_x86_64_50_64test_cas_and_ttlSuccess62.365
8_cythonno_x86_64_50_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_50_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_50_64test_with_no_resultsSuccess62.062
8_cythonno_x86_64_50_64test_with_limitSuccess68.816
8_cythonno_x86_64_50_64test_paging_a_single_wide_rowSuccess72.219
8_cythonno_x86_64_50_64test_row_TTL_expiry_during_pagingSuccess94.778
8_cythonno_x86_64_50_64test_single_partition_deletionsSuccess67.923
8_cythonno_x86_64_50_64test_multiple_partition_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1305: test not applicable to env.
0.001
8_cythonno_x86_64_50_64test_sstableloader_compression_deflate_to_deflateSkipped5.0.1 > 3.99

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

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

/home/cassandra/cassandra-dtest/upgrade_tests/thrift_upgrade_test.py:686: test not applicable to env.
0.001
8_cythonno_x86_64_50_64test_rolling_upgradeSuccess601.027
8_cythonno_x86_64_51_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_51_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_51_64test_exclusive_sliceSuccess70.432
8_cythonno_x86_64_51_64test_clustering_order_and_functionsSuccess61.137
8_cythonno_x86_64_51_64test_noncomposite_static_cfSuccess72.600
8_cythonno_x86_64_51_64test_clustering_indexingSuccess66.410
8_cythonno_x86_64_51_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_51_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.214
8_cythonno_x86_64_51_64test_key_index_with_reverse_clusteringSuccess76.594
8_cythonno_x86_64_51_64test_refuse_in_with_indexesSuccess161.614
8_cythonno_x86_64_51_64test_list_item_conditionalSuccess67.176
8_cythonno_x86_64_51_64test_composite_row_keySuccess139.532
8_cythonno_x86_64_51_64test_static_columns_with_2iSuccess67.869
8_cythonno_x86_64_51_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_51_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_51_64test_order_by_validationSuccess54.822
8_cythonno_x86_64_51_64test_select_with_aliasSuccess56.081
8_cythonno_x86_64_51_64test_limit_multigetSuccess59.158
8_cythonno_x86_64_51_64test_conversion_functionsSuccess57.954
8_cythonno_x86_64_51_64test_deleted_row_selectSuccess64.352
8_cythonno_x86_64_51_64test_multi_in_compact_non_compositeSuccess58.384
8_cythonno_x86_64_51_64test_SIM_assertion_errorSuccess60.564
8_cythonno_x86_64_51_64test_batch_and_listSuccess57.571
8_cythonno_x86_64_51_64test_map_item_conditionalSuccess61.348
8_cythonno_x86_64_51_64test_no_clusteringSuccess57.628
8_cythonno_x86_64_51_64test_tuple_notationSuccess57.836
8_cythonno_x86_64_51_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_51_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_51_64test_with_less_results_than_page_sizeSuccess66.280
8_cythonno_x86_64_51_64test_with_allow_filteringSuccess63.748
8_cythonno_x86_64_51_64test_paging_across_multi_wide_rowsSuccess83.518
8_cythonno_x86_64_51_64test_cell_TTL_expiry_during_pagingSuccess103.154
8_cythonno_x86_64_51_64test_multiple_partition_deletionsSuccess69.983
8_cythonno_x86_64_51_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_51_64test_sstableloader_with_mvSkipped5.0.1 > 3.99

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

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.336
8_cythonno_x86_64_51_64test_parallel_upgrade_with_internode_sslSuccess494.366
8_cythonno_x86_64_52_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_52_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_52_64test_in_clause_wide_rowsSuccess66.017
8_cythonno_x86_64_52_64test_conditional_updateSuccess60.353
8_cythonno_x86_64_52_64test_dynamic_cfSuccess67.663
8_cythonno_x86_64_52_64test_edge_2i_on_complex_pkSuccess66.366
8_cythonno_x86_64_52_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_52_64test_composite_partition_key_validationSuccess68.840
8_cythonno_x86_64_52_64test_invalid_custom_timestampSuccess67.634
8_cythonno_x86_64_52_64test_reversed_compactSuccess171.625
8_cythonno_x86_64_52_64test_expanded_list_item_conditionalSuccess73.266
8_cythonno_x86_64_52_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.723
8_cythonno_x86_64_52_64test_static_columns_with_distinctSuccess152.259
8_cythonno_x86_64_52_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_52_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_52_64test_order_by_with_inSuccess56.107
8_cythonno_x86_64_52_64test_nonpure_function_collectionSuccess58.815
8_cythonno_x86_64_52_64test_simple_tuple_querySuccess59.866
8_cythonno_x86_64_52_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.618
8_cythonno_x86_64_52_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_52_64test_large_clustering_inSuccess60.941
8_cythonno_x86_64_52_64test_blobAs_functionsSuccess57.599
8_cythonno_x86_64_52_64test_booleanSuccess59.711
8_cythonno_x86_64_52_64test_expanded_map_item_conditionalSuccess62.546
8_cythonno_x86_64_52_64test_dateSuccess59.283
8_cythonno_x86_64_52_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.533
8_cythonno_x86_64_52_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_52_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_52_64test_with_more_results_than_page_sizeSuccess64.526
8_cythonno_x86_64_52_64test_with_order_bySuccess66.041
8_cythonno_x86_64_52_64test_paging_using_secondary_indexesSuccess68.371
8_cythonno_x86_64_52_64test_data_change_impacting_earlier_pageSuccess64.246
8_cythonno_x86_64_52_64test_single_row_deletionsSuccess73.136
8_cythonno_x86_64_52_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_52_64test_sstableloader_compression_none_to_noneSkipped5.0.1 > 3.99

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

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.528
8_cythonno_x86_64_52_64test_rolling_upgrade_with_internode_sslSuccess610.888
8_cythonno_x86_64_53_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_53_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.001
8_cythonno_x86_64_53_64test_order_bySuccess72.264
8_cythonno_x86_64_53_64test_non_eq_conditional_updateSuccess61.784
8_cythonno_x86_64_53_64test_dense_cfSuccess69.237
8_cythonno_x86_64_53_64test_end_of_component_as_end_keySuccess66.354
8_cythonno_x86_64_53_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_53_64test_multi_inSuccess69.737
8_cythonno_x86_64_53_64test_clustering_order_inSuccess62.340
8_cythonno_x86_64_53_64test_reversed_compact_multikeySuccess161.961
8_cythonno_x86_64_53_64test_whole_set_conditionalSuccess68.674
8_cythonno_x86_64_53_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.450
8_cythonno_x86_64_53_64test_select_count_pagingSuccess139.966
8_cythonno_x86_64_53_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_53_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_53_64test_reversed_comparatorSuccess58.100
8_cythonno_x86_64_53_64test_empty_inSuccess58.929
8_cythonno_x86_64_53_64test_limit_sparseSuccess58.883
8_cythonno_x86_64_53_64test_function_and_reverse_typeSuccess57.626
8_cythonno_x86_64_53_64test_tracing_prevents_startup_after_upgradingSuccess65.682
8_cythonno_x86_64_53_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 0x7f1db3047fd0>

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
56.705
8_cythonno_x86_64_53_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_53_64test_multiorderingSuccess58.615
8_cythonno_x86_64_53_64test_cas_and_list_indexSuccess60.242
8_cythonno_x86_64_53_64test_range_sliceSuccess61.112
8_cythonno_x86_64_53_64test_in_with_desc_orderSuccess60.942
8_cythonno_x86_64_53_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_53_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_53_64test_with_equal_results_to_page_sizeSuccess66.108
8_cythonno_x86_64_53_64test_with_order_by_reversedSuccess68.285
8_cythonno_x86_64_53_64test_static_columns_pagingSuccess77.859
8_cythonno_x86_64_53_64test_data_change_impacting_later_pageSuccess65.748
8_cythonno_x86_64_53_64test_single_cell_deletionsSuccess72.350
8_cythonno_x86_64_53_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_53_64test_sstableloader_compression_none_to_snappySkipped5.0.1 > 3.99

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.581
8_cythonno_x86_64_53_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.794
8_cythonno_x86_64_53_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_54_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_54_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_54_64test_more_order_bySuccess61.698
8_cythonno_x86_64_54_64test_conditional_deleteSuccess61.797
8_cythonno_x86_64_54_64test_sparse_cfSuccess61.980
8_cythonno_x86_64_54_64test_ticket_5230Success59.291
8_cythonno_x86_64_54_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_54_64test_multi_in_compactSuccess62.578
8_cythonno_x86_64_54_64test_end_of_component_uses_oecBoundSuccess62.483
8_cythonno_x86_64_54_64test_collection_and_regularSuccess145.336
8_cythonno_x86_64_54_64test_whole_map_conditionalSuccess65.922
8_cythonno_x86_64_54_64test_row_existenceSuccess122.611
8_cythonno_x86_64_54_64test_cas_and_ttlSuccess65.463
8_cythonno_x86_64_54_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_54_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_54_64test_null_supportSuccess51.107
8_cythonno_x86_64_54_64test_collection_flushSuccess61.884
8_cythonno_x86_64_54_64test_countersSuccess52.859
8_cythonno_x86_64_54_64test_NPE_during_select_with_tokenSuccess52.891
8_cythonno_x86_64_54_64test_materialized_view_simpleSuccess58.893
8_cythonno_x86_64_54_64test_float_with_exponentSuccess58.280
8_cythonno_x86_64_54_64test_negative_timestampSuccess60.433
8_cythonno_x86_64_54_64test_returned_nullSuccess60.893
8_cythonno_x86_64_54_64test_static_with_limitSuccess63.426
8_cythonno_x86_64_54_64test_npe_composite_table_sliceSuccess57.220
8_cythonno_x86_64_54_64test_in_order_by_without_selectingSuccess57.265
8_cythonno_x86_64_54_64test_listSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1379: test not applicable to env.
0.003
8_cythonno_x86_64_54_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_54_64test_undefined_page_size_defaultSuccess82.277
8_cythonno_x86_64_54_64test_with_limitSuccess80.983
8_cythonno_x86_64_54_64test_paging_using_secondary_indexes_with_static_colsSuccess77.049
8_cythonno_x86_64_54_64test_row_TTL_expiry_during_pagingSuccess97.732
8_cythonno_x86_64_54_64test_multiple_cell_deletionsSuccess76.209
8_cythonno_x86_64_54_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_54_64test_sstableloader_compression_none_to_deflateSkipped5.0.1 > 3.99

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.353
8_cythonno_x86_64_54_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.575
8_cythonno_x86_64_54_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.005
8_cythonno_x86_64_55_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_55_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_55_64test_order_by_validationSuccess59.899
8_cythonno_x86_64_55_64test_select_with_aliasSuccess57.521
8_cythonno_x86_64_55_64test_limit_multigetSuccess64.739
8_cythonno_x86_64_55_64test_conversion_functionsSuccess59.249
8_cythonno_x86_64_55_64test_deleted_row_selectSuccess65.756
8_cythonno_x86_64_55_64test_multi_in_compact_non_compositeSuccess62.882
8_cythonno_x86_64_55_64test_SIM_assertion_errorSuccess64.006
8_cythonno_x86_64_55_64test_batch_and_listSuccess152.136
8_cythonno_x86_64_55_64test_map_item_conditionalSuccess63.493
8_cythonno_x86_64_55_64test_no_clusteringSuccess125.383
8_cythonno_x86_64_55_64test_tuple_notationSuccess62.531
8_cythonno_x86_64_55_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_55_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_55_64test_nameless_indexSuccess52.885
8_cythonno_x86_64_55_64test_select_distinct_with_deletionsSuccess51.607
8_cythonno_x86_64_55_64test_indexed_with_eqSuccess53.927
8_cythonno_x86_64_55_64test_empty_blobSuccess53.447
8_cythonno_x86_64_55_64test_static_cfSuccess55.492
8_cythonno_x86_64_55_64test_compact_metadataSuccess54.620
8_cythonno_x86_64_55_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_55_64test_multi_list_setSuccess53.420
8_cythonno_x86_64_55_64test_static_with_empty_clusteringSuccess54.106
8_cythonno_x86_64_55_64test_remove_range_sliceSuccess55.889
8_cythonno_x86_64_55_64test_cas_and_compactSuccess55.310
8_cythonno_x86_64_55_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_55_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_55_64test_with_no_resultsSuccess59.451
8_cythonno_x86_64_55_64test_with_allow_filteringSuccess64.247
8_cythonno_x86_64_55_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_55_64test_cell_TTL_expiry_during_pagingSuccess97.237
8_cythonno_x86_64_55_64test_ttl_deletionsSuccess75.769
8_cythonno_x86_64_55_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_55_64test_sstableloader_compression_snappy_to_noneSkipped5.0.1 > 3.99

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.595
8_cythonno_x86_64_55_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.603
8_cythonno_x86_64_55_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.014
8_cythonno_x86_64_56_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_56_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_56_64test_order_by_with_inSuccess59.330
8_cythonno_x86_64_56_64test_nonpure_function_collectionSuccess57.538
8_cythonno_x86_64_56_64test_simple_tuple_querySuccess61.950
8_cythonno_x86_64_56_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.476
8_cythonno_x86_64_56_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_56_64test_large_clustering_inSuccess63.976
8_cythonno_x86_64_56_64test_blobAs_functionsSuccess58.798
8_cythonno_x86_64_56_64test_booleanSuccess141.291
8_cythonno_x86_64_56_64test_expanded_map_item_conditionalSuccess65.551
8_cythonno_x86_64_56_64test_dateSuccess123.455
8_cythonno_x86_64_56_64test_v2_protocol_IN_with_tuplesSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.620
8_cythonno_x86_64_56_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_56_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_56_64test_deletionSuccess52.215
8_cythonno_x86_64_56_64test_function_with_nullSuccess52.349
8_cythonno_x86_64_56_64test_select_key_inSuccess53.865
8_cythonno_x86_64_56_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.339
8_cythonno_x86_64_56_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.564
8_cythonno_x86_64_56_64test_query_compact_tables_during_upgradeSuccess59.148
8_cythonno_x86_64_56_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_56_64test_range_with_deletesSuccess52.780
8_cythonno_x86_64_56_64test_limit_compact_tableSuccess53.418
8_cythonno_x86_64_56_64test_indexes_compositeSuccess58.026
8_cythonno_x86_64_56_64test_whole_list_conditionalSuccess59.628
8_cythonno_x86_64_56_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_56_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_56_64test_with_less_results_than_page_sizeSuccess58.612
8_cythonno_x86_64_56_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_56_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_56_64test_data_change_impacting_earlier_pageSuccess63.830
8_cythonno_x86_64_56_64test_failure_threshold_deletionsSuccess75.747
8_cythonno_x86_64_56_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_56_64test_sstableloader_compression_snappy_to_snappySkipped5.0.1 > 3.99

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.607
8_cythonno_x86_64_56_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.584
8_cythonno_x86_64_56_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_57_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_57_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_57_64test_reversed_comparatorSuccess71.621
8_cythonno_x86_64_57_64test_empty_inSuccess61.865
8_cythonno_x86_64_57_64test_limit_sparseSuccess66.950
8_cythonno_x86_64_57_64test_function_and_reverse_typeSuccess60.078
8_cythonno_x86_64_57_64test_tracing_prevents_startup_after_upgradingSuccess77.155
8_cythonno_x86_64_57_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 0x7f5008f07130>

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

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

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

assert_invalid(cursor, "INSERT INTO test (k, t) VALUES (0, 2012-11-07 18:18:22-0800)", expected=SyntaxException)

for i in range(4):
cursor.execute("INSERT INTO test (k, t) VALUES (0, now())")
time.sleep(1)

assert_row_count(cursor, 'test', 4)

res = list(cursor.execute("SELECT * FROM test"))
dates = [d[1] for d in res]

assert_row_count(cursor, 'test', 4, where="k = 0 AND t >= {}".format(dates[0]))

assert_row_count(cursor, 'test', 0, where="k = 0 AND t < {}".format(dates[0]))

assert_row_count(cursor, 'test', 2, where="k = 0 AND t > {} AND t <= {}".format(dates[0], dates[2]))

assert_row_count(cursor, 'test', 1, where="k = 0 AND t = {}".format(dates[0]))

# test function with deprecated pre-5.0 names
# not sure what to check exactly so just checking the query returns
assert_invalid(cursor, "SELECT minTimeuuid(k) FROM test WHERE k = 0 AND t = %s" % dates[0])
cursor.execute("SELECT t FROM test WHERE k = 0"
" AND t > maxTimeuuid(1234567)"
" AND t < minTimeuuid('2012-11-07 18:18:22-0800')")
> if self.get_node_version(is_upgraded) >= LooseVersion('2.2'):

upgrade_tests/cql_tests.py:2670:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
upgrade_tests/upgrade_base.py:227: in get_node_version
return max(node_versions) if is_upgraded else min(node_versions)
/usr/lib/python3.8/distutils/version.py:64: in __gt__
c = self._cmp(other)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = LooseVersion ('5.0-rc1'), other = LooseVersion ('5.0.1')

def _cmp (self, other):
if isinstance(other, str):
other = LooseVersion(other)

if self.version == other.version:
return 0
> if self.version < other.version:
E TypeError: '<' not supported between instances of 'str' and 'int'

/usr/lib/python3.8/distutils/version.py:337: TypeError
62.991
8_cythonno_x86_64_57_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_57_64test_multiorderingSuccess173.521
8_cythonno_x86_64_57_64test_cas_and_list_indexSuccess66.581
8_cythonno_x86_64_57_64test_range_sliceSuccess136.933
8_cythonno_x86_64_57_64test_in_with_desc_orderSuccess74.666
8_cythonno_x86_64_57_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_57_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_57_64test_countSuccess62.309
8_cythonno_x86_64_57_64test_cas_simpleSuccess54.837
8_cythonno_x86_64_57_64test_exclusive_sliceSuccess57.432
8_cythonno_x86_64_57_64test_clustering_order_and_functionsSuccess54.184
8_cythonno_x86_64_57_64test_noncomposite_static_cfSuccess57.166
8_cythonno_x86_64_57_64test_clustering_indexingSuccess58.909
8_cythonno_x86_64_57_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_57_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.714
8_cythonno_x86_64_57_64test_key_index_with_reverse_clusteringSuccess57.128
8_cythonno_x86_64_57_64test_refuse_in_with_indexesSuccess57.477
8_cythonno_x86_64_57_64test_list_item_conditionalSuccess57.416
8_cythonno_x86_64_57_64test_composite_row_keySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1469: test not applicable to env.
0.001
8_cythonno_x86_64_57_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_57_64test_with_more_results_than_page_sizeSuccess59.023
8_cythonno_x86_64_57_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_57_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_57_64test_data_change_impacting_later_pageSuccess64.519
8_cythonno_x86_64_57_64test_single_partition_deletionsSuccess67.200
8_cythonno_x86_64_57_64test13294Skippedtest not applicable to env.

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

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.585
8_cythonno_x86_64_57_64test_parallel_upgradeSuccess692.157
8_cythonno_x86_64_57_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_58_64test_delete_rowSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1242: test not applicable to env.
0.001
8_cythonno_x86_64_58_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.001
8_cythonno_x86_64_58_64test_null_supportSuccess65.223
8_cythonno_x86_64_58_64test_collection_flushSuccess77.119
8_cythonno_x86_64_58_64test_countersSuccess67.153
8_cythonno_x86_64_58_64test_NPE_during_select_with_tokenSuccess63.897
8_cythonno_x86_64_58_64test_materialized_view_simpleSuccess66.348
8_cythonno_x86_64_58_64test_float_with_exponentSuccess70.400
8_cythonno_x86_64_58_64test_negative_timestampSuccess63.168
8_cythonno_x86_64_58_64test_returned_nullSuccess161.351
8_cythonno_x86_64_58_64test_static_with_limitSuccess63.793
8_cythonno_x86_64_58_64test_npe_composite_table_sliceSuccess142.304
8_cythonno_x86_64_58_64test_in_order_by_without_selectingSuccess66.872
8_cythonno_x86_64_58_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_58_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_58_64test_batchSuccess56.138
8_cythonno_x86_64_58_64test_internal_application_error_on_selectSuccess57.094
8_cythonno_x86_64_58_64test_in_clause_wide_rowsSuccess59.817
8_cythonno_x86_64_58_64test_conditional_updateSuccess59.660
8_cythonno_x86_64_58_64test_dynamic_cfSuccess59.932
8_cythonno_x86_64_58_64test_edge_2i_on_complex_pkSuccess63.412
8_cythonno_x86_64_58_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_58_64test_composite_partition_key_validationSuccess57.715
8_cythonno_x86_64_58_64test_invalid_custom_timestampSuccess59.848
8_cythonno_x86_64_58_64test_reversed_compactSuccess61.861
8_cythonno_x86_64_58_64test_expanded_list_item_conditionalSuccess64.853
8_cythonno_x86_64_58_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_58_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_58_64test_with_equal_results_to_page_sizeSuccess62.248
8_cythonno_x86_64_58_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_58_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_58_64test_row_TTL_expiry_during_pagingSuccess97.452
8_cythonno_x86_64_58_64test_multiple_partition_deletionsSuccess64.330
8_cythonno_x86_64_58_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_58_64test_sstableloader_compression_deflate_to_noneSkipped5.0.1 > 3.99

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.528
8_cythonno_x86_64_58_64test_rolling_upgradeSuccess1097.996
8_cythonno_x86_64_58_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_59_64test_range_query_2ndarySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1273: test not applicable to env.
0.001
8_cythonno_x86_64_59_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_59_64test_nameless_indexSuccess73.217
8_cythonno_x86_64_59_64test_select_distinct_with_deletionsSuccess64.042
8_cythonno_x86_64_59_64test_indexed_with_eqSuccess64.737
8_cythonno_x86_64_59_64test_empty_blobSuccess58.747
8_cythonno_x86_64_59_64test_static_cfSuccess63.927
8_cythonno_x86_64_59_64test_compact_metadataSuccess62.434
8_cythonno_x86_64_59_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_59_64test_multi_list_setSuccess147.198
8_cythonno_x86_64_59_64test_static_with_empty_clusteringSuccess61.795
8_cythonno_x86_64_59_64test_remove_range_sliceSuccess120.714
8_cythonno_x86_64_59_64test_cas_and_compactSuccess61.953
8_cythonno_x86_64_59_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_59_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_59_64test_token_rangeSuccess52.107
8_cythonno_x86_64_59_64test_store_sets_with_if_not_existsSuccess51.108
8_cythonno_x86_64_59_64test_order_bySuccess53.501
8_cythonno_x86_64_59_64test_non_eq_conditional_updateSuccess53.625
8_cythonno_x86_64_59_64test_dense_cfSuccess53.963
8_cythonno_x86_64_59_64test_end_of_component_as_end_keySuccess53.882
8_cythonno_x86_64_59_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_59_64test_multi_inSuccess53.341
8_cythonno_x86_64_59_64test_clustering_order_inSuccess54.178
8_cythonno_x86_64_59_64test_reversed_compact_multikeySuccess56.124
8_cythonno_x86_64_59_64test_whole_set_conditionalSuccess60.689
8_cythonno_x86_64_59_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_59_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_59_64test_undefined_page_size_defaultSuccess67.829
8_cythonno_x86_64_59_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_59_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_59_64test_cell_TTL_expiry_during_pagingSuccess98.360
8_cythonno_x86_64_59_64test_single_row_deletionsSuccess69.344
8_cythonno_x86_64_59_64test_10822Success52.888
8_cythonno_x86_64_59_64test_sstableloader_compression_deflate_to_snappySkipped5.0.1 > 3.99

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.338
8_cythonno_x86_64_59_64test_parallel_upgrade_with_internode_sslSuccess732.273
8_cythonno_x86_64_59_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_5_64test_simple_bootstrap_nodataSuccess148.753
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.001
8_cythonno_x86_64_5_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_5_64test_range_query_2ndarySuccess86.892
8_cythonno_x86_64_5_64test_large_countSuccess85.131
8_cythonno_x86_64_5_64test_nameless_indexSuccess69.070
8_cythonno_x86_64_5_64test_select_distinct_with_deletionsSuccess65.797
8_cythonno_x86_64_5_64test_indexed_with_eqSuccess73.957
8_cythonno_x86_64_5_64test_empty_blobSuccess65.369
8_cythonno_x86_64_5_64test_static_cfSuccess171.716
8_cythonno_x86_64_5_64test_compact_metadataSuccess62.057
8_cythonno_x86_64_5_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_5_64test_multi_list_setSuccess123.080
8_cythonno_x86_64_5_64test_static_with_empty_clusteringSuccess64.240
8_cythonno_x86_64_5_64test_remove_range_sliceSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1958: test not applicable to env.
0.001
8_cythonno_x86_64_5_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_5_64test_multi_collectionSuccess52.124
8_cythonno_x86_64_5_64test_static_columnsSuccess51.466
8_cythonno_x86_64_5_64test_token_rangeSuccess55.227
8_cythonno_x86_64_5_64test_store_sets_with_if_not_existsSuccess53.114
8_cythonno_x86_64_5_64test_order_bySuccess55.597
8_cythonno_x86_64_5_64test_non_eq_conditional_updateSuccess56.661
8_cythonno_x86_64_5_64test_dense_cfSuccess52.595
8_cythonno_x86_64_5_64test_end_of_component_as_end_keySuccess53.678
8_cythonno_x86_64_5_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_5_64test_multi_inSuccess56.059
8_cythonno_x86_64_5_64test_clustering_order_inSuccess54.866
8_cythonno_x86_64_5_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_5_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_5_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_5_64test_with_order_by_reversedSuccess56.653
8_cythonno_x86_64_5_64test_basic_pagingSuccess53.177
8_cythonno_x86_64_5_64test_data_change_impacting_later_pageSuccess54.450
8_cythonno_x86_64_5_64test_ttl_deletionsSuccess76.909
8_cythonno_x86_64_5_64test13294Success90.415
8_cythonno_x86_64_5_64test_sstableloader_compression_deflate_to_snappySkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.373
8_cythonno_x86_64_5_64test_sparse_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.314
8_cythonno_x86_64_5_64test_parallel_upgradeSuccess705.934
8_cythonno_x86_64_60_64test_setSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1297: test not applicable to env.
0.001
8_cythonno_x86_64_60_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_60_64test_deletionSuccess62.751
8_cythonno_x86_64_60_64test_function_with_nullSuccess62.083
8_cythonno_x86_64_60_64test_select_key_inSuccess61.448
8_cythonno_x86_64_60_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.173
8_cythonno_x86_64_60_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.173
8_cythonno_x86_64_60_64test_query_compact_tables_during_upgradeSuccess68.481
8_cythonno_x86_64_60_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_60_64test_range_with_deletesSuccess139.177
8_cythonno_x86_64_60_64test_limit_compact_tableSuccess58.498
8_cythonno_x86_64_60_64test_indexes_compositeSuccess121.361
8_cythonno_x86_64_60_64test_whole_list_conditionalSuccess69.142
8_cythonno_x86_64_60_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_60_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_60_64test_timestamp_and_ttlSuccess50.856
8_cythonno_x86_64_60_64test_add_deletion_info_in_unsorted_columnSuccess50.808
8_cythonno_x86_64_60_64test_more_order_bySuccess53.079
8_cythonno_x86_64_60_64test_conditional_deleteSuccess57.407
8_cythonno_x86_64_60_64test_sparse_cfSuccess55.189
8_cythonno_x86_64_60_64test_ticket_5230Success53.680
8_cythonno_x86_64_60_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_60_64test_multi_in_compactSuccess53.863
8_cythonno_x86_64_60_64test_end_of_component_uses_oecBoundSuccess54.320
8_cythonno_x86_64_60_64test_collection_and_regularSuccess55.011
8_cythonno_x86_64_60_64test_whole_map_conditionalSuccess59.551
8_cythonno_x86_64_60_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_60_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_60_64test_with_no_resultsSuccess67.014
8_cythonno_x86_64_60_64test_with_order_bySuccess58.250
8_cythonno_x86_64_60_64test_static_columns_pagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:650: test not applicable to env.
0.000
8_cythonno_x86_64_60_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_60_64test_single_cell_deletionsSuccess71.988
8_cythonno_x86_64_60_64test13294Success101.866
8_cythonno_x86_64_60_64test_sstableloader_compression_deflate_to_deflateSkipped5.0.1 > 3.99

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.531
8_cythonno_x86_64_60_64test_rolling_upgrade_with_internode_sslSuccess1290.436
8_cythonno_x86_64_60_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_61_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_61_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_61_64test_countSuccess64.338
8_cythonno_x86_64_61_64test_cas_simpleSuccess57.264
8_cythonno_x86_64_61_64test_exclusive_sliceSuccess65.336
8_cythonno_x86_64_61_64test_clustering_order_and_functionsSuccess60.284
8_cythonno_x86_64_61_64test_noncomposite_static_cfSuccess69.762
8_cythonno_x86_64_61_64test_clustering_indexingSuccess62.491
8_cythonno_x86_64_61_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_61_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.183
8_cythonno_x86_64_61_64test_key_index_with_reverse_clusteringSuccess146.661
8_cythonno_x86_64_61_64test_refuse_in_with_indexesSuccess126.207
8_cythonno_x86_64_61_64test_list_item_conditionalSuccess67.227
8_cythonno_x86_64_61_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_61_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_61_64test_no_range_ghostSuccess56.398
8_cythonno_x86_64_61_64test_column_name_validationSuccess54.036
8_cythonno_x86_64_61_64test_order_by_validationSuccess57.177
8_cythonno_x86_64_61_64test_select_with_aliasSuccess64.344
8_cythonno_x86_64_61_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 0x7f4679b9eb80>

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
52.384
8_cythonno_x86_64_61_64test_conversion_functionsSuccess64.878
8_cythonno_x86_64_61_64test_deleted_row_selectSuccess63.852
8_cythonno_x86_64_61_64test_multi_in_compact_non_compositeSuccess55.566
8_cythonno_x86_64_61_64test_SIM_assertion_errorSuccess58.692
8_cythonno_x86_64_61_64test_batch_and_listSuccess79.474
8_cythonno_x86_64_61_64test_map_item_conditionalSuccess73.899
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.001
8_cythonno_x86_64_61_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_61_64test_with_less_results_than_page_sizeSuccess66.386
8_cythonno_x86_64_61_64test_with_order_by_reversedSuccess54.388
8_cythonno_x86_64_61_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_61_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_61_64test_multiple_cell_deletionsSuccess66.490
8_cythonno_x86_64_61_64test_schema_agreementSkipped5.0 > 3.0.99

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

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.278
8_cythonno_x86_64_61_64test_parallel_upgradeSuccess715.577
8_cythonno_x86_64_61_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_62_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_62_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_62_64test_batchSuccess64.720
8_cythonno_x86_64_62_64test_internal_application_error_on_selectSuccess59.042
8_cythonno_x86_64_62_64test_in_clause_wide_rowsSuccess68.941
8_cythonno_x86_64_62_64test_conditional_updateSuccess61.611
8_cythonno_x86_64_62_64test_dynamic_cfSuccess71.399
8_cythonno_x86_64_62_64test_edge_2i_on_complex_pkSuccess65.203
8_cythonno_x86_64_62_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_62_64test_composite_partition_key_validationSuccess151.492
8_cythonno_x86_64_62_64test_invalid_custom_timestampSuccess63.663
8_cythonno_x86_64_62_64test_reversed_compactSuccess126.350
8_cythonno_x86_64_62_64test_expanded_list_item_conditionalSuccess69.706
8_cythonno_x86_64_62_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_62_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_62_64test_range_tombstonesSuccess67.052
8_cythonno_x86_64_62_64test_user_typesSuccess54.313
8_cythonno_x86_64_62_64test_order_by_with_inSuccess55.093
8_cythonno_x86_64_62_64test_nonpure_function_collectionSuccess54.017
8_cythonno_x86_64_62_64test_simple_tuple_querySuccess55.565
8_cythonno_x86_64_62_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.309
8_cythonno_x86_64_62_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_62_64test_large_clustering_inSuccess55.333
8_cythonno_x86_64_62_64test_blobAs_functionsSuccess54.274
8_cythonno_x86_64_62_64test_booleanSuccess55.743
8_cythonno_x86_64_62_64test_expanded_map_item_conditionalSuccess60.858
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.001
8_cythonno_x86_64_62_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_62_64test_with_more_results_than_page_sizeSuccess62.457
8_cythonno_x86_64_62_64test_with_limitSuccess59.553
8_cythonno_x86_64_62_64test_basic_pagingSuccess53.544
8_cythonno_x86_64_62_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.000
8_cythonno_x86_64_62_64test_ttl_deletionsSuccess74.061
8_cythonno_x86_64_62_64test_10822Success55.827
8_cythonno_x86_64_62_64test_sstableloader_compression_none_to_noneSkipped5.0.1 > 3.99

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.295
8_cythonno_x86_64_62_64test_rolling_upgradeSuccess1112.260
8_cythonno_x86_64_62_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.002
8_cythonno_x86_64_63_64test_multi_collectionSkippedtest not applicable to env.

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

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3843: test not applicable to env.
0.001
8_cythonno_x86_64_63_64test_token_rangeSuccess68.618
8_cythonno_x86_64_63_64test_store_sets_with_if_not_existsSuccess65.683
8_cythonno_x86_64_63_64test_order_bySuccess66.073
8_cythonno_x86_64_63_64test_non_eq_conditional_updateSuccess61.223
8_cythonno_x86_64_63_64test_dense_cfSuccess70.562
8_cythonno_x86_64_63_64test_end_of_component_as_end_keySuccess63.568
8_cythonno_x86_64_63_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_63_64test_multi_inSuccess149.470
8_cythonno_x86_64_63_64test_clustering_order_inSuccess60.498
8_cythonno_x86_64_63_64test_reversed_compact_multikeySuccess118.358
8_cythonno_x86_64_63_64test_whole_set_conditionalSuccess68.521
8_cythonno_x86_64_63_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_63_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_63_64test_range_tombstones_compactionSuccess66.439
8_cythonno_x86_64_63_64test_more_user_typesSuccess52.116
8_cythonno_x86_64_63_64test_reversed_comparatorSuccess54.614
8_cythonno_x86_64_63_64test_empty_inSuccess54.060
8_cythonno_x86_64_63_64test_limit_sparseSuccess55.151
8_cythonno_x86_64_63_64test_function_and_reverse_typeSuccess53.373
8_cythonno_x86_64_63_64test_tracing_prevents_startup_after_upgradingSuccess59.675
8_cythonno_x86_64_63_64test_timeuuidSuccess60.232
8_cythonno_x86_64_63_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_63_64test_multiorderingSuccess55.370
8_cythonno_x86_64_63_64test_cas_and_list_indexSuccess55.934
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.000
8_cythonno_x86_64_63_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_63_64test_with_equal_results_to_page_sizeSuccess62.562
8_cythonno_x86_64_63_64test_with_allow_filteringSuccess51.388
8_cythonno_x86_64_63_64test_basic_compound_pagingSuccess51.353
8_cythonno_x86_64_63_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_63_64test_failure_threshold_deletionsSuccess71.977
8_cythonno_x86_64_63_64test13294Success90.965
8_cythonno_x86_64_63_64test_sstableloader_compression_none_to_snappySkipped5.0.1 > 3.99

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

/home/cassandra/cassandra-dtest/upgrade_tests/thrift_upgrade_test.py:575: test not applicable to env.
0.001
8_cythonno_x86_64_63_64test_parallel_upgrade_with_internode_sslSuccess714.322
8_cythonno_x86_64_63_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_64_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_64_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_64_64test_timestamp_and_ttlSuccess69.802
8_cythonno_x86_64_64_64test_add_deletion_info_in_unsorted_columnSuccess62.359
8_cythonno_x86_64_64_64test_more_order_bySuccess73.495
8_cythonno_x86_64_64_64test_conditional_deleteSuccess66.866
8_cythonno_x86_64_64_64test_sparse_cfSuccess73.708
8_cythonno_x86_64_64_64test_ticket_5230Success64.695
8_cythonno_x86_64_64_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_64_64test_multi_in_compactSuccess164.758
8_cythonno_x86_64_64_64test_end_of_component_uses_oecBoundSuccess62.429
8_cythonno_x86_64_64_64test_collection_and_regularSuccess137.798
8_cythonno_x86_64_64_64test_whole_map_conditionalSuccess70.261
8_cythonno_x86_64_64_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_64_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_64_64test_delete_rowSuccess55.798
8_cythonno_x86_64_64_64test_intersection_logic_returns_empty_resultSuccess67.368
8_cythonno_x86_64_64_64test_null_supportSuccess56.369
8_cythonno_x86_64_64_64test_collection_flushSuccess68.616
8_cythonno_x86_64_64_64test_countersSuccess57.124
8_cythonno_x86_64_64_64test_NPE_during_select_with_tokenSuccess57.107
8_cythonno_x86_64_64_64test_materialized_view_simpleSuccess58.555
8_cythonno_x86_64_64_64test_float_with_exponentSuccess56.402
8_cythonno_x86_64_64_64test_negative_timestampSuccess55.567
8_cythonno_x86_64_64_64test_returned_nullSuccess57.348
8_cythonno_x86_64_64_64test_static_with_limitSuccess59.080
8_cythonno_x86_64_64_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_64_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_64_64test_undefined_page_size_defaultSuccess76.416
8_cythonno_x86_64_64_64test_with_order_bySuccess56.573
8_cythonno_x86_64_64_64test_paging_a_single_wide_rowSuccess65.042
8_cythonno_x86_64_64_64test_data_change_impacting_earlier_pageSuccess56.110
8_cythonno_x86_64_64_64test_single_partition_deletionsSuccess70.873
8_cythonno_x86_64_64_64test_schema_agreementSkipped5.0 > 3.0.99

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.579
8_cythonno_x86_64_64_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_64_64test_rolling_upgrade_with_internode_sslSuccess1159.526
8_cythonno_x86_64_64_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_6_64test_schema_removed_nodesSuccess211.076
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_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_6_64test_setSuccess59.934
8_cythonno_x86_64_6_64test_collection_indexingSuccess66.841
8_cythonno_x86_64_6_64test_deletionSuccess63.275
8_cythonno_x86_64_6_64test_function_with_nullSuccess61.775
8_cythonno_x86_64_6_64test_select_key_inSuccess126.431
8_cythonno_x86_64_6_64test_renameSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.431
8_cythonno_x86_64_6_64test_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.480
8_cythonno_x86_64_6_64test_query_compact_tables_during_upgradeSuccess154.196
8_cythonno_x86_64_6_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_6_64test_range_with_deletesSuccess124.150
8_cythonno_x86_64_6_64test_limit_compact_tableSuccess64.426
8_cythonno_x86_64_6_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_6_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_6_64test_range_querySuccess52.011
8_cythonno_x86_64_6_64test_static_columns_casSuccess53.678
8_cythonno_x86_64_6_64test_timestamp_and_ttlSuccess53.836
8_cythonno_x86_64_6_64test_add_deletion_info_in_unsorted_columnSuccess54.161
8_cythonno_x86_64_6_64test_more_order_bySuccess56.418
8_cythonno_x86_64_6_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 0x7f50cc7b9430>

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.927
8_cythonno_x86_64_6_64test_sparse_cfSuccess55.180
8_cythonno_x86_64_6_64test_ticket_5230Success52.929
8_cythonno_x86_64_6_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_6_64test_multi_in_compactSuccess56.498
8_cythonno_x86_64_6_64test_end_of_component_uses_oecBoundSuccess56.237
8_cythonno_x86_64_6_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_6_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_6_64test_with_no_resultsSuccess51.772
8_cythonno_x86_64_6_64test_with_limitSuccess60.644
8_cythonno_x86_64_6_64test_basic_compound_pagingSuccess64.611
8_cythonno_x86_64_6_64test_row_TTL_expiry_during_pagingSuccess115.995
8_cythonno_x86_64_6_64test_failure_threshold_deletionsSuccess86.626
8_cythonno_x86_64_6_64test_schema_agreementSkipped5.0 > 3.0.99

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

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.340
8_cythonno_x86_64_6_64test_rolling_upgradeSuccess1205.258
8_cythonno_x86_64_7_64test_read_from_bootstrapped_nodeSuccess202.159
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_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_7_64test_mapSuccess68.128
8_cythonno_x86_64_7_64test_map_keys_indexingSuccess63.169
8_cythonno_x86_64_7_64test_countSuccess72.943
8_cythonno_x86_64_7_64test_cas_simpleSuccess63.402
8_cythonno_x86_64_7_64test_exclusive_sliceSuccess77.144
8_cythonno_x86_64_7_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 0x7f5571eb5a00>

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

cursor.execute("""
CREATE TABLE test (
k int,
t timeuuid,
PRIMARY KEY (k, t)
) WITH CLUSTERING ORDER BY (t DESC)
""")

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

for i in range(0, 5):
cursor.execute("INSERT INTO test (k, t) VALUES (%d, now())" % i)

> if self.get_node_version(is_upgraded) >= LooseVersion('2.2'):

upgrade_tests/cql_tests.py:3056:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
upgrade_tests/upgrade_base.py:227: in get_node_version
return max(node_versions) if is_upgraded else min(node_versions)
/usr/lib/python3.8/distutils/version.py:64: in __gt__
c = self._cmp(other)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = LooseVersion ('5.0-rc1'), other = LooseVersion ('5.0.1')

def _cmp (self, other):
if isinstance(other, str):
other = LooseVersion(other)

if self.version == other.version:
return 0
> if self.version < other.version:
E TypeError: '<' not supported between instances of 'str' and 'int'

/usr/lib/python3.8/distutils/version.py:337: TypeError
60.455
8_cythonno_x86_64_7_64test_noncomposite_static_cfSuccess163.785
8_cythonno_x86_64_7_64test_clustering_indexingSuccess67.799
8_cythonno_x86_64_7_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_7_64test_collection_functionSkipped5.0 > 4.1

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1
0.531
8_cythonno_x86_64_7_64test_key_index_with_reverse_clusteringSuccess139.845
8_cythonno_x86_64_7_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_7_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_7_64test_composite_row_keySuccess54.871
8_cythonno_x86_64_7_64test_static_columns_with_2iSuccess57.671
8_cythonno_x86_64_7_64test_no_range_ghostSuccess58.415
8_cythonno_x86_64_7_64test_column_name_validationSuccess56.556
8_cythonno_x86_64_7_64test_order_by_validationSuccess57.151
8_cythonno_x86_64_7_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 0x7f5571c0dc70>

def test_select_with_alias(self):
cursor = self.prepare()
cursor.execute('CREATE TABLE users (id int PRIMARY KEY, name text)')

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

for id in range(0, 5):
cursor.execute("INSERT INTO users (id, name) VALUES ({}, 'name{}') USING TTL 10 AND TIMESTAMP 0".format(id, id))

# test aliasing count(*)
res = cursor.execute('SELECT count(*) AS user_count FROM users')
assert 'user_count' == res[0]._fields[0]
assert 5 == res[0].user_count

# test aliasing regular value
res = cursor.execute('SELECT name AS user_name FROM users WHERE id = 0')
assert 'user_name' == res[0]._fields[0]
assert 'name0' == res[0].user_name

# test aliasing writetime
res = cursor.execute('SELECT writeTime(name) AS name_writetime FROM users WHERE id = 0')
assert 'name_writetime' == res[0]._fields[0]
assert 0 == res[0].name_writetime

# test aliasing ttl
res = cursor.execute('SELECT ttl(name) AS name_ttl FROM users WHERE id = 0')
assert 'name_ttl' == res[0]._fields[0]
assert res[0].name_ttl, (9 in 10)

# test aliasing a regular function
res = cursor.execute('SELECT intAsBlob(id) AS id_blob FROM users WHERE id = 0')
assert 'id_blob' == res[0]._fields[0]
assert '\x00\x00\x00\x00' == res[0].id_blob.decode()

> logger.debug("Current node version is {}".format(self.get_node_version(is_upgraded)))

upgrade_tests/cql_tests.py:3276:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
upgrade_tests/upgrade_base.py:227: in get_node_version
return max(node_versions) if is_upgraded else min(node_versions)
/usr/lib/python3.8/distutils/version.py:64: in __gt__
c = self._cmp(other)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = LooseVersion ('5.0-rc1'), other = LooseVersion ('5.0.1')

def _cmp (self, other):
if isinstance(other, str):
other = LooseVersion(other)

if self.version == other.version:
return 0
> if self.version < other.version:
E TypeError: '<' not supported between instances of 'str' and 'int'

/usr/lib/python3.8/distutils/version.py:337: TypeError
55.953
8_cythonno_x86_64_7_64test_limit_multigetSuccess58.074
8_cythonno_x86_64_7_64test_conversion_functionsSuccess56.603
8_cythonno_x86_64_7_64test_deleted_row_selectSuccess63.127
8_cythonno_x86_64_7_64test_multi_in_compact_non_compositeSuccess64.487
8_cythonno_x86_64_7_64test_SIM_assertion_errorSuccess70.635
8_cythonno_x86_64_7_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_7_64test_map_item_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4789: test not applicable to env.
0.001
8_cythonno_x86_64_7_64test_with_less_results_than_page_sizeSuccess66.702
8_cythonno_x86_64_7_64test_with_allow_filteringSuccess62.393
8_cythonno_x86_64_7_64test_paging_a_single_wide_rowSuccess69.533
8_cythonno_x86_64_7_64test_cell_TTL_expiry_during_pagingSuccess102.204
8_cythonno_x86_64_7_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_7_64test_10822Success64.245
8_cythonno_x86_64_7_64test_sstableloader_with_mvSkipped5.0.1 > 3.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.355
8_cythonno_x86_64_7_64test_parallel_upgrade_with_internode_sslSuccess795.758
8_cythonno_x86_64_8_64test_bootstrap_waits_for_streaming_to_finishSuccess132.254
8_cythonno_x86_64_8_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_8_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_8_64test_listSuccess61.047
8_cythonno_x86_64_8_64test_nan_infinitySuccess55.472
8_cythonno_x86_64_8_64test_batchSuccess65.611
8_cythonno_x86_64_8_64test_internal_application_error_on_selectSuccess59.180
8_cythonno_x86_64_8_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 0x7f3792601b80>

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
59.488
8_cythonno_x86_64_8_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 0x7f37925b7c40>

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
55.915
8_cythonno_x86_64_8_64test_dynamic_cfSuccess143.876
8_cythonno_x86_64_8_64test_edge_2i_on_complex_pkSuccess65.055
8_cythonno_x86_64_8_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_8_64test_composite_partition_key_validationSuccess120.393
8_cythonno_x86_64_8_64test_invalid_custom_timestampSuccess64.041
8_cythonno_x86_64_8_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_8_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_8_64test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.340
8_cythonno_x86_64_8_64test_static_columns_with_distinctSuccess56.448
8_cythonno_x86_64_8_64test_range_tombstonesSuccess67.858
8_cythonno_x86_64_8_64test_user_typesSuccess54.149
8_cythonno_x86_64_8_64test_order_by_with_inSuccess53.993
8_cythonno_x86_64_8_64test_nonpure_function_collectionSuccess54.243
8_cythonno_x86_64_8_64test_simple_tuple_querySuccess52.952
8_cythonno_x86_64_8_64test_IN_clause_on_last_keySkipped5.0 > 3.11.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.11.99
0.342
8_cythonno_x86_64_8_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_8_64test_large_clustering_inSuccess56.429
8_cythonno_x86_64_8_64test_blobAs_functionsSuccess55.146
8_cythonno_x86_64_8_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_8_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_8_64test_with_more_results_than_page_sizeSuccess51.473
8_cythonno_x86_64_8_64test_with_order_bySuccess53.895
8_cythonno_x86_64_8_64test_paging_across_multi_wide_rowsSuccess62.201
8_cythonno_x86_64_8_64test_data_change_impacting_earlier_pageSuccess55.043
8_cythonno_x86_64_8_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_8_64test13294Success94.964
8_cythonno_x86_64_8_64test_sstableloader_compression_none_to_noneSkipped5.0.1 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99
0.668
8_cythonno_x86_64_8_64test_dense_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.610
8_cythonno_x86_64_8_64test_rolling_upgrade_with_internode_sslSuccess1186.449
8_cythonno_x86_64_9_64test_consistent_range_movement_true_with_replica_down_should_failSuccess164.389
8_cythonno_x86_64_9_64test_remove_range_sliceSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1958: test not applicable to env.
0.001
8_cythonno_x86_64_9_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_9_64test_multi_collectionSuccess57.603
8_cythonno_x86_64_9_64test_static_columnsSuccess56.593
8_cythonno_x86_64_9_64test_token_rangeSuccess64.043
8_cythonno_x86_64_9_64test_store_sets_with_if_not_existsSuccess60.086
8_cythonno_x86_64_9_64test_order_bySuccess67.215
8_cythonno_x86_64_9_64test_non_eq_conditional_updateSuccess61.100
8_cythonno_x86_64_9_64test_dense_cfSuccess183.773
8_cythonno_x86_64_9_64test_end_of_component_as_end_keySuccess66.204
8_cythonno_x86_64_9_64test_select_set_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5347: awaiting CASSANDRA-7396
0.016
8_cythonno_x86_64_9_64test_multi_inSuccess140.183
8_cythonno_x86_64_9_64test_clustering_order_inSuccess62.979
8_cythonno_x86_64_9_64test_reversed_compact_multikeySkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2114: test not applicable to env.
0.003
8_cythonno_x86_64_9_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_9_64test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.580
8_cythonno_x86_64_9_64test_select_count_pagingSuccess51.886
8_cythonno_x86_64_9_64test_range_tombstones_compactionSuccess81.642
8_cythonno_x86_64_9_64test_more_user_typesSuccess58.372
8_cythonno_x86_64_9_64test_reversed_comparatorSuccess57.105
8_cythonno_x86_64_9_64test_empty_inSuccess59.864
8_cythonno_x86_64_9_64test_limit_sparseSuccess55.386
8_cythonno_x86_64_9_64test_function_and_reverse_typeSuccess57.588
8_cythonno_x86_64_9_64test_tracing_prevents_startup_after_upgradingSuccess59.150
8_cythonno_x86_64_9_64test_timeuuidSuccess65.183
8_cythonno_x86_64_9_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_9_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_9_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_9_64test_with_equal_results_to_page_sizeSuccess51.439
8_cythonno_x86_64_9_64test_with_order_by_reversedSuccess54.127
8_cythonno_x86_64_9_64test_paging_using_secondary_indexesSuccess55.450
8_cythonno_x86_64_9_64test_data_change_impacting_later_pageSuccess55.357
8_cythonno_x86_64_9_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_9_64test_schema_agreementSkipped5.0 > 3.0.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.0.99
0.336
8_cythonno_x86_64_9_64test_sstableloader_compression_none_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_supercolumn_with_renamesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.594
8_cythonno_x86_64_9_64test_parallel_upgradeSuccess543.408