Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-upgrade-novnode_jdk11_python3.8_cythonno_x86_64_47_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_47_644001122269.7082024-07-20T10:06:28.979873797d0a344cb6

Tests

NameStatusTypeTime(s)
test_exclusive_sliceSkippedtest not applicable to env.

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

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

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5318: awaiting CASSANDRA-7396
0.001
test_booleanSuccess77.683
test_expanded_list_item_conditionalSuccess79.884
test_range_querySuccess76.548
test_user_typesSuccess74.920
test_order_by_validationSuccess71.541
test_NPE_during_select_with_tokenSuccess60.227
test_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
test_composite_index_collectionsSuccess189.571
test_expanded_map_item_conditionalSuccess65.584
test_row_existenceSuccess121.613
test_collection_indexingSuccess72.905
test_nameless_indexSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:868: 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_large_collection_errorsSkipped5.0 > 2.99

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 2.99
0.604
test_composite_partition_key_validationSuccess51.691
test_limit_compact_tableSuccess52.197
test_range_sliceSuccess53.391
test_static_columns_casSuccess53.128
test_token_rangeSuccess54.996
test_select_with_aliasFailureTypeError: '<' not supported between instances of 'str' and 'int'

self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7f9a0f6c2a30>

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

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

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

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

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

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

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

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

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

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

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

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

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

/usr/lib/python3.8/distutils/version.py:337: TypeError
48.944
test_sparse_cfSuccess53.304
test_large_clustering_inSuccess54.683
test_end_of_component_uses_oecBoundSuccess53.189
test_order_by_multikeySuccess54.486
test_cas_and_ttlSuccess58.238
test_range_tombstonesSkippedtest not applicable to env.

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

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3370: test not applicable to env.
0.000
test_with_no_resultsSuccess54.910
test_with_order_bySuccess57.724
test_paging_using_secondary_indexes_with_static_colsSuccess67.467
test_data_change_impacting_earlier_pageSuccess58.135
test_multiple_cell_deletionsSuccess62.899
test_ttl_deletionsSuccess66.983
test_upgrade_with_range_tombstone_eoc_0Skipped5.0.1 > 3.99

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

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.353
test_rolling_upgrade_with_internode_sslSuccess418.439
Properties »