Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-latest_jdk11_python3.8_cythonno_x86_64_9_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_9_64170722041.3722024-10-02T23:51:28.29869637923b97b674

Tests

NameStatusTypeTime(s)
test_modify_and_select_authSuccess98.905
test_udf_permissions_validationSuccess24.777
test_resumable_bootstrapSuccess174.319
test_disable_autocompaction_alter_and_nodetool[SizeTieredCompactionStrategy]Success40.812
test_batchSuccess14.738
test_basic_data_typesSuccess18.498
test_base_view_consistency_on_failure_after_mv_applySuccess115.396
test_paging_with_filtering_on_partition_key_on_clustering_columnsSuccess4.521
test_paging_with_filtering_on_partition_key_on_clustering_columnsFailureccmlib.common.UnavailableSocketError: Inet address 127.0.0.3:7000 is not available: [Errno 98] Address already in use; a cluster may already be running or you may need to add the loopback alias

itf = ('127.0.0.3', 7000)

def assert_socket_available(itf):
info = socket.getaddrinfo(itf[0], itf[1], socket.AF_UNSPEC, socket.SOCK_STREAM)
if not info:
raise UnavailableSocketError("Failed to get address info for [%s]:%s" % itf)

(family, socktype, proto, canonname, sockaddr) = info[0]
s = socket.socket(family, socktype)
s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)

try:
> s.bind(sockaddr)
E OSError: [Errno 98] Address already in use

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/common.py:631: OSError

During handling of the above exception, another exception occurred:

self = <paging_test.TestPagingData object at 0x7fdcaf5ef2e0>

@since('3.10')
def test_paging_with_filtering_on_partition_key_on_clustering_columns(self):
"""
test paging, when filtering on partition key clustering columns
@jira_ticket CASSANDRA-11031
"""
> session = self.prepare(row_factory=tuple_factory)

paging_test.py:2416:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
paging_test.py:33: in prepare
cluster.populate(3).start()
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/cluster.py:515: in start
common.assert_socket_available(itf)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

itf = ('127.0.0.3', 7000)

def assert_socket_available(itf):
info = socket.getaddrinfo(itf[0], itf[1], socket.AF_UNSPEC, socket.SOCK_STREAM)
if not info:
raise UnavailableSocketError("Failed to get address info for [%s]:%s" % itf)

(family, socktype, proto, canonname, sockaddr) = info[0]
s = socket.socket(family, socktype)
s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)

try:
s.bind(sockaddr)
s.close()
return True
except socket.error as msg:
s.close()
addr, port = itf
> raise UnavailableSocketError(
"Inet address %s:%s is not available: %s; a cluster may already be running or you may need to add the loopback alias" % (
addr, port, msg))
E ccmlib.common.UnavailableSocketError: Inet address 127.0.0.3:7000 is not available: [Errno 98] Address already in use; a cluster may already be running or you may need to add the loopback alias

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/common.py:637: UnavailableSocketError
5.193
test_fail_without_replaceFailureccmlib.common.UnavailableSocketError: Inet address 127.0.0.3:7000 is not available: [Errno 98] Address already in use; a cluster may already be running or you may need to add the loopback alias

itf = ('127.0.0.3', 7000)

def assert_socket_available(itf):
info = socket.getaddrinfo(itf[0], itf[1], socket.AF_UNSPEC, socket.SOCK_STREAM)
if not info:
raise UnavailableSocketError("Failed to get address info for [%s]:%s" % itf)

(family, socktype, proto, canonname, sockaddr) = info[0]
s = socket.socket(family, socktype)
s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)

try:
> s.bind(sockaddr)
E OSError: [Errno 98] Address already in use

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/common.py:631: OSError

During handling of the above exception, another exception occurred:

self = <replace_address_test.TestReplaceAddress object at 0x7fdcaf60c280>

@since('3.6')
def test_fail_without_replace(self):
"""
When starting a node from a clean slate with the same address as
an existing down node, the node should error out even when
auto_bootstrap = false (or the node is a seed) and tell the user
to use replace_address.
@jira_ticket CASSANDRA-10134
"""
self.fixture_dtest_setup.ignore_log_patterns = list(self.fixture_dtest_setup.ignore_log_patterns) + [
r'Exception encountered during startup']

> self._setup(n=3)

replace_address_test.py:379:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
replace_address_test.py:76: in _setup
self.cluster.start(jvm_args=jvm_args)
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/cluster.py:515: in start
common.assert_socket_available(itf)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

itf = ('127.0.0.3', 7000)

def assert_socket_available(itf):
info = socket.getaddrinfo(itf[0], itf[1], socket.AF_UNSPEC, socket.SOCK_STREAM)
if not info:
raise UnavailableSocketError("Failed to get address info for [%s]:%s" % itf)

(family, socktype, proto, canonname, sockaddr) = info[0]
s = socket.socket(family, socktype)
s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)

try:
s.bind(sockaddr)
s.close()
return True
except socket.error as msg:
s.close()
addr, port = itf
> raise UnavailableSocketError(
"Inet address %s:%s is not available: %s; a cluster may already be running or you may need to add the loopback alias" % (
addr, port, msg))
E ccmlib.common.UnavailableSocketError: Inet address 127.0.0.3:7000 is not available: [Errno 98] Address already in use; a cluster may already be running or you may need to add the loopback alias

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/common.py:637: UnavailableSocketError
6.208
test_update_only_on_transient_replicaSuccess26.686
test_manual_joinFailurecassandra.Unavailable: Error from server: code=1000 [Unavailable exception] message="Cannot achieve consistency level ONE" info={'consistency': 'ONE', 'required_replicas': 1, 'alive_replicas': 0}

self = <secondary_indexes_test.TestPreJoinCallback object at 0x7fdcaf55b700>

def test_manual_join(self):
def manual_join(cluster, token):
node2 = new_node(cluster)
node2.set_configuration_options(values={'initial_token': token})
node2.start(join_ring=False, wait_for_binary_proto=True, wait_other_notice=240)
assert node2.grep_log('Not joining ring as requested')
assert not node2.grep_log('Executing pre-join')

node2.nodetool("join")
assert node2.grep_log('Executing pre-join post-bootstrap tasks')

> self._base_test(manual_join)

secondary_indexes_test.py:1273:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
secondary_indexes_test.py:1212: in _base_test
create_cf(session, 'cf', columns={'c1': 'text', 'c2': 'text'})
dtest.py:368: in create_cf
session.execute('SELECT * FROM %s LIMIT 1' % name);
../cassandra/build/venv/src/cassandra-driver/cassandra/cluster.py:2618: in execute
return self.execute_async(query, parameters, trace, custom_payload, timeout, execution_profile, paging_state, host, execute_as).result()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ResponseFuture: query='<SimpleStatement query="SELECT * FROM cf LIMIT 1", consistency=Not Set>' request_id=4 result=(...cy level ONE" info={'consistency': 'ONE', 'required_replicas': 1, 'alive_replicas': 0} coordinator_host=127.0.0.3:9042>

def result(self):
"""
Return the final result or raise an Exception if errors were
encountered. If the final result or error has not been set
yet, this method will block until it is set, or the timeout
set for the request expires.

Timeout is specified in the Session request execution functions.
If the timeout is exceeded, an :exc:`cassandra.OperationTimedOut` will be raised.
This is a client-side timeout. For more information
about server-side coordinator timeouts, see :class:`.policies.RetryPolicy`.

Example usage::

>>> future = session.execute_async("SELECT * FROM mycf")
>>> # do other stuff...

>>> try:
... rows = future.result()
... for row in rows:
... ... # process results
... except Exception:
... log.exception("Operation failed:")

"""
self._event.wait()
if self._final_result is not _NOT_SET:
return ResultSet(self, self._final_result)
else:
> raise self._final_exception
E cassandra.Unavailable: Error from server: code=1000 [Unavailable exception] message="Cannot achieve consistency level ONE" info={'consistency': 'ONE', 'required_replicas': 1, 'alive_replicas': 0}

../cassandra/build/venv/src/cassandra-driver/cassandra/cluster.py:4894: Unavailable
14.294
test_6285Skipped5.0.2 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.2 > 4
0.350
test_invalid_strategy_classSkipped5.0.2 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.2 > 4
0.388
test_update_column_ttl_with_default_ttlFailurecassandra.Unavailable: Error from server: code=1000 [Unavailable exception] message="Cannot achieve consistency level ONE" info={'consistency': 'ONE', 'required_replicas': 1, 'alive_replicas': 0}

self = <ttl_test.TestTTL object at 0x7fdcaf4e6760>

def test_update_column_ttl_with_default_ttl(self):
"""
Test that specifying a column ttl works when a default ttl is set.
This test specify a lower ttl for the column than the default ttl.
"""
self.prepare(default_time_to_live=8)

start = time.time()
self.session1.execute("""
INSERT INTO ttl_table (key, col1, col2, col3) VALUES (%d, %d, %d, %d);
""" % (1, 1, 1, 1))
self.session1.execute("UPDATE ttl_table USING TTL 3 set col1=42 where key=%s;" % (1,))
> assert_all(self.session1, "SELECT * FROM ttl_table;", [[1, 42, 1, 1]])

ttl_test.py:175:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tools/assertions.py:182: in assert_all
res = session.execute(simple_query) if timeout is None else session.execute(simple_query, timeout=timeout)
../cassandra/build/venv/src/cassandra-driver/cassandra/cluster.py:2618: in execute
return self.execute_async(query, parameters, trace, custom_payload, timeout, execution_profile, paging_state, host, execute_as).result()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ResponseFuture: query='<SimpleStatement query="SELECT * FROM ttl_table;", consistency=Not Set>' request_id=6 result=(...cy level ONE" info={'consistency': 'ONE', 'required_replicas': 1, 'alive_replicas': 0} coordinator_host=127.0.0.1:9042>

def result(self):
"""
Return the final result or raise an Exception if errors were
encountered. If the final result or error has not been set
yet, this method will block until it is set, or the timeout
set for the request expires.

Timeout is specified in the Session request execution functions.
If the timeout is exceeded, an :exc:`cassandra.OperationTimedOut` will be raised.
This is a client-side timeout. For more information
about server-side coordinator timeouts, see :class:`.policies.RetryPolicy`.

Example usage::

>>> future = session.execute_async("SELECT * FROM mycf")
>>> # do other stuff...

>>> try:
... rows = future.result()
... for row in rows:
... ... # process results
... except Exception:
... log.exception("Operation failed:")

"""
self._event.wait()
if self._final_result is not _NOT_SET:
return ResultSet(self, self._final_result)
else:
> raise self._final_exception
E cassandra.Unavailable: Error from server: code=1000 [Unavailable exception] message="Cannot achieve consistency level ONE" info={'consistency': 'ONE', 'required_replicas': 1, 'alive_replicas': 0}

../cassandra/build/venv/src/cassandra-driver/cassandra/cluster.py:4894: Unavailable
15.153
test_with_empty_valuesSuccess2.523
test_with_empty_valuesFailureccmlib.node.ToolError: Subprocess ['cqlsh', 'create keyspace CASSANDRA_7196 WITH replication = {\'class\': \'SimpleStrategy\', \'replication_factor\': 1} ;\nuse CASSANDRA_7196;\n\nCREATE TABLE has_all_types (\n num int PRIMARY KEY,\n intcol int,\n asciicol ascii,\n bigintcol bigint,\n blobcol blob,\n booleancol boolean,\n decimalcol decimal,\n doublecol double,\n floatcol float,\n textcol text,\n timestampcol timestamp,\n uuidcol uuid,\n varcharcol varchar,\n varintcol varint\n) WITH compression = {\'class\':\'LZ4Compressor\'};\n\nINSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,\n decimalcol, doublecol, floatcol, textcol,\n timestampcol, uuidcol, varcharcol, varintcol)\nVALUES (0, -12, \'abcdefg\', 1234567890123456789, 0x000102030405fffefd, true,\n 19952.11882, 1.0, -2.1, \'Voilá!\', \'2012-05-14 12:53:20+0000\',\n bd1924e1-6af8-44ae-b5e1-f24131dbd460, \'"\', 10000000000000000000000000);\n\nINSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,\n decimalcol, doublecol, floatcol, textcol,\n timestampcol, uuidcol, varcharcol, varintcol)\nVALUES (1, 2147483647, \'__!\'\'$#@!~"\', 9223372036854775807, 0xffffffffffffffffff, true,\n 0.00000000000001, 9999999.999, 99999.99, \'∭Ƕ⑮ฑ➳❏\'\'\', \'1900-01-01+0000\',\n ffffffff-ffff-ffff-ffff-ffffffffffff, \'newline->\n<-\', 9);\n\nINSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,\n decimalcol, doublecol, floatcol, textcol,\n timestampcol, uuidcol, varcharcol, varintcol)\nVALUES (2, 0, \'\', 0, 0x, false,\n 0.0, 0.0, 0.0, \'\', 0,\n 00000000-0000-0000-0000-000000000000, \'\', 0);\n\nINSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,\n decimalcol, doublecol, floatcol, textcol,\n timestampcol, uuidcol, varcharcol, varintcol)\nVALUES (3, -2147483648, \'\'\'\'\'\'\'\', -9223372036854775808, 0x80, false,\n 10.0000000000000, -1004.10, 100000000.9, \'龍馭鬱\', \'2038-01-19T03:14-1200\',\n ffffffff-ffff-1fff-8fff-ffffffffffff, \'\'\'\', -10000000000000000000000000);\n\nINSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,\n decimalcol, doublecol, floatcol, textcol,\n timestampcol, uuidcol, varcharcol, varintcol)\nVALUES (4, blobAsInt(0x), \'\', blobAsBigint(0x), 0x, blobAsBoolean(0x), blobAsDecimal(0x),\n blobAsDouble(0x), blobAsFloat(0x), \'\', blobAsTimestamp(0x), blobAsUuid(0x), \'\',\n blobAsVarint(0x))', None] exited with non-zero status; exit status: 2; stderr: <stdin>:2:AlreadyExists: Keyspace 'cassandra_7196' already exists <stdin>:19:AlreadyExists: Table 'cassandra_7196.has_all_types' already exists <stdin>:25:NoHostAvailable: ('Unable to complete the operation against any hosts', {<Host: 127.0.0.1:9042 datacenter1>: Unavailable('Error from server: code=1000 [Unavailable exception] message="Cannot achieve consistency level ONE" info={\'consistency\': \'ONE\', \'required_replicas\': 1, \'alive_replicas\': 0}')})

self = <cqlsh_tests.test_cqlsh.TestCqlsh object at 0x7fdcaf4b7ee0>

def test_with_empty_values(self):
"""
CASSANDRA-7196. Make sure the server returns empty values and CQLSH prints them properly
"""
self.cluster.populate(1)
self.cluster.start()

node1, = self.cluster.nodelist()

cmds = "create keyspace CASSANDRA_7196 WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1} ;"

if self.cluster.version() >= LooseVersion('5.0'):
cmds = cmds + """
use CASSANDRA_7196;

CREATE TABLE has_all_types (
num int PRIMARY KEY,
intcol int,
asciicol ascii,
bigintcol bigint,
blobcol blob,
booleancol boolean,
decimalcol decimal,
doublecol double,
floatcol float,
textcol text,
timestampcol timestamp,
uuidcol uuid,
varcharcol varchar,
varintcol varint
) WITH compression = {'class':'LZ4Compressor'};
"""
else:
cmds = cmds + """
use CASSANDRA_7196;

CREATE TABLE has_all_types (
num int PRIMARY KEY,
intcol int,
asciicol ascii,
bigintcol bigint,
blobcol blob,
booleancol boolean,
decimalcol decimal,
doublecol double,
floatcol float,
textcol text,
timestampcol timestamp,
uuidcol uuid,
varcharcol varchar,
varintcol varint
) WITH compression = {'sstable_compression':'LZ4Compressor'};
"""

cmds = cmds + """
INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
decimalcol, doublecol, floatcol, textcol,
timestampcol, uuidcol, varcharcol, varintcol)
VALUES (0, -12, 'abcdefg', 1234567890123456789, 0x000102030405fffefd, true,
19952.11882, 1.0, -2.1, 'Voilá!', '2012-05-14 12:53:20+0000',
bd1924e1-6af8-44ae-b5e1-f24131dbd460, '"', 10000000000000000000000000);

INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
decimalcol, doublecol, floatcol, textcol,
timestampcol, uuidcol, varcharcol, varintcol)
VALUES (1, 2147483647, '__!''$#@!~"', 9223372036854775807, 0xffffffffffffffffff, true,
0.00000000000001, 9999999.999, 99999.99, '∭Ƕ⑮ฑ➳❏''', '1900-01-01+0000',
ffffffff-ffff-ffff-ffff-ffffffffffff, 'newline->
<-', 9);

INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
decimalcol, doublecol, floatcol, textcol,
timestampcol, uuidcol, varcharcol, varintcol)
VALUES (2, 0, '', 0, 0x, false,
0.0, 0.0, 0.0, '', 0,
00000000-0000-0000-0000-000000000000, '', 0);

INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
decimalcol, doublecol, floatcol, textcol,
timestampcol, uuidcol, varcharcol, varintcol)
VALUES (3, -2147483648, '''''''', -9223372036854775808, 0x80, false,
10.0000000000000, -1004.10, 100000000.9, '龍馭鬱', '2038-01-19T03:14-1200',
ffffffff-ffff-1fff-8fff-ffffffffffff, '''', -10000000000000000000000000);

INSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,
decimalcol, doublecol, floatcol, textcol,
timestampcol, uuidcol, varcharcol, varintcol)
VALUES (4, blobAsInt(0x), '', blobAsBigint(0x), 0x, blobAsBoolean(0x), blobAsDecimal(0x),
blobAsDouble(0x), blobAsFloat(0x), '', blobAsTimestamp(0x), blobAsUuid(0x), '',
blobAsVarint(0x))"""

> node1.run_cqlsh(cmds=cmds)

cqlsh_tests/test_cqlsh.py:697:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:1122: in run_cqlsh
return handle_external_tool_process(p, ['cqlsh', cmds, cqlsh_options])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

process = <subprocess.Popen object at 0x7fdcaf93ebe0>
cmd_args = ['cqlsh', "create keyspace CASSANDRA_7196 WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1} ;\n... blobAsDouble(0x), blobAsFloat(0x), '', blobAsTimestamp(0x), blobAsUuid(0x), '',\n blobAsVarint(0x))", None]

def handle_external_tool_process(process, cmd_args):
out, err = process.communicate()
if (out is not None) and isinstance(out, bytes):
out = out.decode()
if (err is not None) and isinstance(err, bytes):
err = err.decode()
rc = process.returncode

if rc != 0:
> raise ToolError(cmd_args, rc, out, err)
E ccmlib.node.ToolError: Subprocess ['cqlsh', 'create keyspace CASSANDRA_7196 WITH replication = {\'class\': \'SimpleStrategy\', \'replication_factor\': 1} ;\nuse CASSANDRA_7196;\n\nCREATE TABLE has_all_types (\n num int PRIMARY KEY,\n intcol int,\n asciicol ascii,\n bigintcol bigint,\n blobcol blob,\n booleancol boolean,\n decimalcol decimal,\n doublecol double,\n floatcol float,\n textcol text,\n timestampcol timestamp,\n uuidcol uuid,\n varcharcol varchar,\n varintcol varint\n) WITH compression = {\'class\':\'LZ4Compressor\'};\n\nINSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,\n decimalcol, doublecol, floatcol, textcol,\n timestampcol, uuidcol, varcharcol, varintcol)\nVALUES (0, -12, \'abcdefg\', 1234567890123456789, 0x000102030405fffefd, true,\n 19952.11882, 1.0, -2.1, \'Voilá!\', \'2012-05-14 12:53:20+0000\',\n bd1924e1-6af8-44ae-b5e1-f24131dbd460, \'"\', 10000000000000000000000000);\n\nINSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,\n decimalcol, doublecol, floatcol, textcol,\n timestampcol, uuidcol, varcharcol, varintcol)\nVALUES (1, 2147483647, \'__!\'\'$#@!~"\', 9223372036854775807, 0xffffffffffffffffff, true,\n 0.00000000000001, 9999999.999, 99999.99, \'∭Ƕ⑮ฑ➳❏\'\'\', \'1900-01-01+0000\',\n ffffffff-ffff-ffff-ffff-ffffffffffff, \'newline->\n<-\', 9);\n\nINSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,\n decimalcol, doublecol, floatcol, textcol,\n timestampcol, uuidcol, varcharcol, varintcol)\nVALUES (2, 0, \'\', 0, 0x, false,\n 0.0, 0.0, 0.0, \'\', 0,\n 00000000-0000-0000-0000-000000000000, \'\', 0);\n\nINSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,\n decimalcol, doublecol, floatcol, textcol,\n timestampcol, uuidcol, varcharcol, varintcol)\nVALUES (3, -2147483648, \'\'\'\'\'\'\'\', -9223372036854775808, 0x80, false,\n 10.0000000000000, -1004.10, 100000000.9, \'龍馭鬱\', \'2038-01-19T03:14-1200\',\n ffffffff-ffff-1fff-8fff-ffffffffffff, \'\'\'\', -10000000000000000000000000);\n\nINSERT INTO has_all_types (num, intcol, asciicol, bigintcol, blobcol, booleancol,\n decimalcol, doublecol, floatcol, textcol,\n timestampcol, uuidcol, varcharcol, varintcol)\nVALUES (4, blobAsInt(0x), \'\', blobAsBigint(0x), 0x, blobAsBoolean(0x), blobAsDecimal(0x),\n blobAsDouble(0x), blobAsFloat(0x), \'\', blobAsTimestamp(0x), blobAsUuid(0x), \'\',\n blobAsVarint(0x))', None] exited with non-zero status; exit status: 2;
E stderr: <stdin>:2:AlreadyExists: Keyspace 'cassandra_7196' already exists
E <stdin>:19:AlreadyExists: Table 'cassandra_7196.has_all_types' already exists
E <stdin>:25:NoHostAvailable: ('Unable to complete the operation against any hosts', {<Host: 127.0.0.1:9042 datacenter1>: Unavailable('Error from server: code=1000 [Unavailable exception] message="Cannot achieve consistency level ONE" info={\'consistency\': \'ONE\', \'required_replicas\': 1, \'alive_replicas\': 0}')})

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2333: ToolError
16.228
test_number_delimiterFailurecassandra.Unavailable: Error from server: code=1000 [Unavailable exception] message="Cannot achieve consistency level ONE" info={'consistency': 'ONE', 'required_replicas': 1, 'alive_replicas': 0}

self = <cqlsh_tests.test_cqlsh_copy.TestCqlshCopy object at 0x7fdcaf41d910>

def test_number_delimiter(self):
"""
Use non_default_delimiter_template to test COPY with the delimiter '1'.
"""
> self.non_default_delimiter_template('1')

cqlsh_tests/test_cqlsh_copy.py:463:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cqlsh_tests/test_cqlsh_copy.py:435: in non_default_delimiter_template
execute_concurrent_with_args(self.session, insert_statement, args)
../cassandra/build/venv/src/cassandra-driver/cassandra/concurrent.py:238: in execute_concurrent_with_args
return execute_concurrent(session, zip(cycle((statement,)), parameters), *args, **kwargs)
../cassandra/build/venv/src/cassandra-driver/cassandra/concurrent.py:94: in execute_concurrent
return executor.execute(concurrency, raise_on_first_error)
../cassandra/build/venv/src/cassandra-driver/cassandra/concurrent.py:201: in execute
return super(ConcurrentExecutorListResults, self).execute(concurrency, fail_fast)
../cassandra/build/venv/src/cassandra-driver/cassandra/concurrent.py:120: in execute
return self._results()
../cassandra/build/venv/src/cassandra-driver/cassandra/concurrent.py:219: in _results
self._raise(self._exception)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

exc = Unavailable('Error from server: code=1000 [Unavailable exception] message="Cannot achieve consistency level ONE" info={\'consistency\': \'ONE\', \'required_replicas\': 1, \'alive_replicas\': 0}')

@staticmethod
def _raise(exc):
if six.PY2 and isinstance(exc, tuple):
(exc_type, value, traceback) = exc
six.reraise(exc_type, value, traceback)
else:
> raise exc
E cassandra.Unavailable: Error from server: code=1000 [Unavailable exception] message="Cannot achieve consistency level ONE" info={'consistency': 'ONE', 'required_replicas': 1, 'alive_replicas': 0}

../cassandra/build/venv/src/cassandra-driver/cassandra/concurrent.py:167: Unavailable
18.318
test_round_trip_with_authenticationSuccess2.588
test_round_trip_with_authenticationFailureccmlib.node.TimeoutError: 03 Oct 2024 00:25:27 [node1] after 600.86/600 seconds Missing: ['Created default superuser'] not found in system.log: Head: INFO [main] 2024-10-03 00:15:20,566 YamlConfigura Tail: ... some nodes were not ready INFO [OptionalTasks:1] 2024-10-03 00:25:26,009 CassandraRoleManager.java:476 - Setup task failed with error, rescheduling

self = <cqlsh_tests.test_cqlsh_copy.TestCqlshCopy object at 0x7fdcaf4541c0>

@since('2.2')
def test_round_trip_with_authentication(self):
"""
Test that COPY works when authentication is enabled and when invoked via the SOURCE command
or the --file cqlsh option.

@jira_ticket CASSANDRA-12642
"""
> self.prepare(auth_enabled=True)

cqlsh_tests/test_cqlsh_copy.py:2929:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cqlsh_tests/test_cqlsh_copy.py:125: in prepare
self.node1.watch_log_for('Created default superuser')
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:610: in watch_log_for
TimeoutError.raise_if_passed(start=start, timeout=timeout, node=self.name,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

start = 1727914526.5240035, timeout = 600
msg = "Missing: ['Created default superuser'] not found in system.log:\n Head: INFO [main] 2024-10-03 00:15:20,566 YamlConf...[OptionalTasks:1] 2024-10-03 00:25:26,009 CassandraRoleManager.java:476 - Setup task failed with error, rescheduling\n"
node = 'node1'

@staticmethod
def raise_if_passed(start, timeout, msg, node=None):
if start + timeout < time.time():
> raise TimeoutError.create(start, timeout, msg, node)
E ccmlib.node.TimeoutError: 03 Oct 2024 00:25:27 [node1] after 600.86/600 seconds Missing: ['Created default superuser'] not found in system.log:
E Head: INFO [main] 2024-10-03 00:15:20,566 YamlConfigura
E Tail: ... some nodes were not ready
E INFO [OptionalTasks:1] 2024-10-03 00:25:26,009 CassandraRoleManager.java:476 - Setup task failed with error, rescheduling

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:56: TimeoutError
614.632
Properties »