Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-upgrade-novnode_jdk11_python3.8_cythonno_x86_64_12_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_12_644001112587.3992024-07-19T22:21:40.239323105ec0e250a2

Tests

NameStatusTypeTime(s)
test_bootstrap_waits_for_streaming_to_finishSuccess105.779
test_only_pkSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1668: 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_deletionSuccess60.072
test_non_eq_conditional_updateSuccess59.342
test_noncomposite_static_cfSuccess64.242
test_multi_inSuccess65.419
test_key_index_with_reverse_clusteringSuccess62.025
test_composite_index_with_pkFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7fec59f7fa30>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/usr/lib/python3.8/distutils/version.py:337: TypeError
61.321
test_static_columns_with_2iSuccess70.445
test_timestamp_and_ttlSuccess169.170
test_nonpure_function_collectionSuccess58.517
test_limit_rangesSuccess122.108
test_timeuuidSuccess68.451
test_SIM_assertion_errorSuccess60.991
test_remove_range_sliceSkippedtest not applicable to env.

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

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4217: test not applicable to env.
0.000
test_range_tombstones_compactionSuccess65.999
test_select_distinct_with_deletionsSuccess49.675
test_countersSuccess53.101
test_clustering_indexingSuccess52.432
test_select_map_key_single_rowSkippedawaiting CASSANDRA-7396

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5231: awaiting CASSANDRA-7396
0.000
test_reversed_compact_multikeySuccess52.360
test_cas_and_compactSuccess53.140
test_mapSuccess52.163
test_store_sets_with_if_not_existsSuccess51.182
test_in_clause_wide_rowsSuccess54.603
test_conversion_functionsSuccess53.460
test_select_set_key_multi_rowSkippedawaiting CASSANDRA-7396

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

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

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4594: test not applicable to env.
0.000
test_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
test_with_order_by_reversedSuccess54.137
test_basic_pagingSuccess51.154
test_data_change_impacting_later_pageSuccess53.837
test_ttl_deletionsSuccess74.825
test13294Success89.504
test_sstableloader_compression_deflate_to_snappySkipped5.0.1 > 3.99

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.333
test_parallel_upgradeSuccess695.768
Properties »