Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-upgrade_jdk11_python3.8_cythonno_x86_64_53_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_53_643801141723.7672024-07-20T12:42:03.776927ae5779cbcb6d

Tests

NameStatusTypeTime(s)
test_token_rangeSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1004: test not applicable to env.
0.001
test_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
test_order_bySuccess72.264
test_non_eq_conditional_updateSuccess61.784
test_dense_cfSuccess69.237
test_end_of_component_as_end_keySuccess66.354
test_select_set_key_multi_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5347: awaiting CASSANDRA-7396
0.000
test_multi_inSuccess69.737
test_clustering_order_inSuccess62.340
test_reversed_compact_multikeySuccess161.961
test_whole_set_conditionalSuccess68.674
test_cql3_non_compound_range_tombstonesSkipped5.0 > 3.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.450
test_select_count_pagingSuccess139.966
test_range_tombstones_compactionSkippedtest not applicable to env.

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

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3623: test not applicable to env.
0.000
test_reversed_comparatorSuccess58.100
test_empty_inSuccess58.929
test_limit_sparseSuccess58.883
test_function_and_reverse_typeSuccess57.626
test_tracing_prevents_startup_after_upgradingSuccess65.682
test_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
test_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
test_multiorderingSuccess58.615
test_cas_and_list_indexSuccess60.242
test_range_sliceSuccess61.112
test_in_with_desc_orderSuccess60.942
test_mapSkippedtest not applicable to env.

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

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3785: test not applicable to env.
0.000
test_with_equal_results_to_page_sizeSuccess66.108
test_with_order_by_reversedSuccess68.285
test_static_columns_pagingSuccess77.859
test_data_change_impacting_later_pageSuccess65.748
test_single_cell_deletionsSuccess72.350
test_multiple_cell_deletionsSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/paging_test.py:1426: test not applicable to env.
0.000
test_sstableloader_compression_none_to_snappySkipped5.0.1 > 3.99

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

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99
0.581
test_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
test_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
Properties »