Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-upgrade_jdk11_python3.8_cythonno_x86_64_11_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_11_643801112619.2582024-07-19T21:56:52.6411896270f8cb969f

Tests

NameStatusTypeTime(s)
test_consistent_range_movement_true_with_rf1_should_failSuccess166.459
test_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
test_list_item_conditionalSkippedtest not applicable to env.

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4463: test not applicable to env.
0.000
test_composite_row_keySuccess91.674
test_static_columns_with_2iSuccess60.856
test_no_range_ghostSuccess97.144
test_column_name_validationSuccess61.823
test_order_by_validationSuccess109.896
test_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
test_limit_multigetSuccess163.092
test_conversion_functionsSuccess62.192
test_deleted_row_selectSuccess69.872
test_multi_in_compact_non_compositeSuccess138.923
test_SIM_assertion_errorSuccess65.638
test_batch_and_listSkippedtest not applicable to env.

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

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:4789: test not applicable to env.
0.000
test_no_clusteringSuccess55.306
test_tuple_notationSuccess55.881
test_range_query_2ndarySuccess57.626
test_large_countSuccess67.151
test_nameless_indexSuccess59.068
test_select_distinct_with_deletionsSuccess57.616
test_indexed_with_eqSuccess59.422
test_empty_blobSuccess56.773
test_static_cfSuccess58.371
test_compact_metadataSuccess58.797
test_select_map_key_single_rowSkippedawaiting CASSANDRA-7396

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

/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:2331: test not applicable to env.
0.000
test_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
test_with_no_resultsSuccess57.378
test_with_allow_filteringSuccess58.619
test_paging_using_secondary_indexes_with_static_colsSuccess60.177
test_cell_TTL_expiry_during_pagingSuccess93.008
test_multiple_cell_deletionsSkippedtest not applicable to env.

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

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

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

/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99
0.810
test_parallel_upgrade_with_internode_sslSuccess616.702
Properties »