Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-upgrade_jdk11_python3.8_cythonno_x86_64_38_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_38_643801132188.9952024-07-20T06:34:01.513590c43792af5d1b

Tests

NameStatusTypeTime(s)
test_countersSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:418: test not applicable to env.
0.001
test_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
test_materialized_view_simpleSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5506: test not applicable to env.
0.000
test_float_with_exponentSuccess69.834
test_negative_timestampSuccess62.605
test_returned_nullSuccess71.616
test_static_with_limitSuccess62.860
test_npe_composite_table_sliceSuccess76.134
test_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
test_listSuccess162.594
test_nan_infinitySuccess63.318
test_batchSuccess138.996
test_internal_application_error_on_selectSuccess66.202
test_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
test_conditional_updateSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3062: test not applicable to env.
0.000
test_dynamic_cfSuccess56.099
test_edge_2i_on_complex_pkSuccess58.351
test_select_map_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5318: awaiting CASSANDRA-7396
0.000
test_composite_partition_key_validationSuccess57.319
test_invalid_custom_timestampSuccess58.917
test_reversed_compactSuccess60.397
test_expanded_list_item_conditionalSuccess63.836
test_cql3_insert_thriftSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.359
test_static_columns_with_distinctSuccess62.045
test_range_tombstonesSuccess76.849
test_user_typesSuccess60.878
test_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
test_nonpure_function_collectionSkippedtest not applicable to env.

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

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1466: test not applicable to env.
0.000
test_with_limitSuccess67.813
test_paging_using_secondary_indexesSuccess70.161
test_static_columns_pagingSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:650: test not applicable to env.
0.000
test_single_row_deletionsSuccess72.352
test_single_cell_deletionsSuccess65.093
test_upgrade_with_range_tombstonesSuccess113.488
test_sstableloader_compression_none_to_noneSkipped5.0.1 > 4.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.602
test_rolling_upgradeSuccess407.360
Properties »