Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-latest_jdk17_python3.8_cythonno_x86_64_14_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_14_64183114442.7922024-10-30T15:21:33.510280871624f3e652

Failures

NameStatusTypeTime(s)
test_cant_create_existing_userFailureccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-35r73g7p/test/node1/cassandra.pid'

self = <ccmlib.node.Node object at 0x7ffab24bebb0>
process = <subprocess.Popen object at 0x7ffab1ca6040>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
> with open(pidfile, 'rb') as f:
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-35r73g7p/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2107: FileNotFoundError

During handling of the above exception, another exception occurred:

self = <auth_test.TestAuth object at 0x7ffab2985730>

def test_cant_create_existing_user(self):
"""
* Launch a one node cluster
* Connect as the default superuser
* Create a new user
* Verify that attempting to create a duplicate user fails with InvalidRequest
"""
> self.prepare()

auth_test.py:185:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
auth_test.py:1135: in prepare
self.cluster.populate(nodes).start()
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/cluster.py:543: in start
if not node._wait_for_running(p, timeout_s=7):
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:938: in _wait_for_running
self._update_pid(process)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.node.Node object at 0x7ffab24bebb0>
process = <subprocess.Popen object at 0x7ffab1ca6040>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
with open(pidfile, 'rb') as f:
if common.is_modern_windows_install(self.get_base_cassandra_version()):
self.pid = int(f.readline().strip().decode('utf-16').strip())
else:
self.pid = int(f.readline().strip())
except IOError as e:
> raise NodeError('Problem starting node %s due to %s' % (self.name, e), process)
E ccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-35r73g7p/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2113: NodeError
33.529
test_killed_wiped_node_cannot_joinFailureccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-y6bbxrjd/test/node1/cassandra.pid'

self = <ccmlib.node.Node object at 0x7ffab25a8fd0>
process = <subprocess.Popen object at 0x7ffab25add00>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
> with open(pidfile, 'rb') as f:
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-y6bbxrjd/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2107: FileNotFoundError

During handling of the above exception, another exception occurred:

self = <bootstrap_test.TestBootstrap object at 0x7ffab28fb460>

def test_killed_wiped_node_cannot_join(self):
> self._wiped_node_cannot_join_test(gently=False)

bootstrap_test.py:621:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
bootstrap_test.py:638: in _wiped_node_cannot_join_test
cluster.start()
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/cluster.py:543: in start
if not node._wait_for_running(p, timeout_s=7):
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:938: in _wait_for_running
self._update_pid(process)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.node.Node object at 0x7ffab25a8fd0>
process = <subprocess.Popen object at 0x7ffab25add00>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
with open(pidfile, 'rb') as f:
if common.is_modern_windows_install(self.get_base_cassandra_version()):
self.pid = int(f.readline().strip().decode('utf-16').strip())
else:
self.pid = int(f.readline().strip())
except IOError as e:
> raise NodeError('Problem starting node %s due to %s' % (self.name, e), process)
E ccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-y6bbxrjd/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2113: NodeError
33.758
test_compression_cql_optionsFailureccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-1tt8q478/test/node1/cassandra.pid'

self = <ccmlib.node.Node object at 0x7ffab275b940>
process = <subprocess.Popen object at 0x7ffab29a8d90>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
> with open(pidfile, 'rb') as f:
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-1tt8q478/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2107: FileNotFoundError

During handling of the above exception, another exception occurred:

self = <compression_test.TestCompression object at 0x7ffab291f4f0>

@since("3.0")
def test_compression_cql_options(self):
"""
@jira_ticket CASSANDRA-8384
using new cql create table syntax to configure compression
"""
cluster = self.cluster
> cluster.populate(1).start()

compression_test.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/cluster.py:543: in start
if not node._wait_for_running(p, timeout_s=7):
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:938: in _wait_for_running
self._update_pid(process)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.node.Node object at 0x7ffab275b940>
process = <subprocess.Popen object at 0x7ffab29a8d90>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
with open(pidfile, 'rb') as f:
if common.is_modern_windows_install(self.get_base_cassandra_version()):
self.pid = int(f.readline().strip().decode('utf-16').strip())
else:
self.pid = int(f.readline().strip())
except IOError as e:
> raise NodeError('Problem starting node %s due to %s' % (self.name, e), process)
E ccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-1tt8q478/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2113: NodeError
33.817
test_prepared_statement_invalidationFailureccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-rgz_v3jm/test/node1/cassandra.pid'

self = <ccmlib.node.Node object at 0x7ffab158b460>
process = <subprocess.Popen object at 0x7ffab2666730>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
> with open(pidfile, 'rb') as f:
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-rgz_v3jm/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2107: FileNotFoundError

During handling of the above exception, another exception occurred:

self = <cql_test.TestMiscellaneousCQL object at 0x7ffab2750ee0>

def test_prepared_statement_invalidation(self):
"""
@jira_ticket CASSANDRA-7910

- CREATE a table and INSERT a row
- prepare 2 prepared SELECT statements
- SELECT the row with a bound prepared statement and assert it returns the expected row
- ALTER the table, dropping a column
- assert prepared statement without that column in it still works
- assert prepared statement containing that column fails
- ALTER the table, adding a column
- assert prepared statement without that column in it still works
- assert prepared statement containing that column also still works
- ALTER the table, changing the type of a column
- assert that both prepared statements still work
"""
> session = self.prepare()

cql_test.py:632:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cql_test.py:57: in prepare
cluster.populate(nodes).start()
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/cluster.py:543: in start
if not node._wait_for_running(p, timeout_s=7):
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:938: in _wait_for_running
self._update_pid(process)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.node.Node object at 0x7ffab158b460>
process = <subprocess.Popen object at 0x7ffab2666730>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
with open(pidfile, 'rb') as f:
if common.is_modern_windows_install(self.get_base_cassandra_version()):
self.pid = int(f.readline().strip().decode('utf-16').strip())
else:
self.pid = int(f.readline().strip())
except IOError as e:
> raise NodeError('Problem starting node %s due to %s' % (self.name, e), process)
E ccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-rgz_v3jm/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2113: NodeError
33.044
test_collection_updateFailureccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-mf7tcbax/test/node1/cassandra.pid'

self = <ccmlib.node.Node object at 0x7ffab2942850>
process = <subprocess.Popen object at 0x7ffab2985370>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
> with open(pidfile, 'rb') as f:
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-mf7tcbax/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2107: FileNotFoundError

During handling of the above exception, another exception occurred:

self = <json_test.TestFromJsonUpdate object at 0x7ffab270b790>

def test_collection_update(self):
"""
Setup schema, add a row:

>>> cqlsh('''
... CREATE TABLE basic_collections (
... key1 text PRIMARY KEY,
... mylist list<text>,
... myset set<text>,
... mymap map<text, int>)
... ''')

>>> cqlsh("INSERT INTO basic_collections (key1) values ('row1')")

Issue some updates:

>>> cqlsh('''
... UPDATE basic_collections
... SET mylist = fromJson('["c"]'),
... myset = fromJson('["f"]'),
... mymap = fromJson('{"one": 1}')
... WHERE key1 = 'row1'
... ''')

>>> cqlsh('''
... UPDATE basic_collections
... SET mylist = fromJson('["a","b"]') + mylist,
... myset = myset + fromJson('["d","e"]'),
... mymap['two'] = fromJson('2')
... WHERE key1 = 'row1'
... ''')

Query the row and make sure it's correct:

>>> cqlsh_print("SELECT * from basic_collections where key1 = 'row1'")
<BLANKLINE>
key1 | mylist | mymap | myset
------+-----------------+----------------------+-----------------
row1 | ['a', 'b', 'c'] | {'one': 1, 'two': 2} | {'d', 'e', 'f'}
<BLANKLINE>
(1 rows)
<BLANKLINE>

Some more updates of differing types:

>>> cqlsh('''
... UPDATE basic_collections
... SET mylist = mylist + fromJson('["d","e"]'),
... myset = myset + fromJson('["g"]'),
... mymap['three'] = fromJson('3')
... WHERE key1 = 'row1'
... ''')

>>> cqlsh('''
... UPDATE basic_collections
... SET mylist = mylist - fromJson('["b"]'),
... myset = myset - fromJson('["d"]'),
... mymap['three'] = fromJson('4')
... WHERE key1 = 'row1'
... ''')

Query final state and check it:

>>> cqlsh_print("SELECT * from basic_collections where key1 = 'row1'")
<BLANKLINE>
key1 | mylist | mymap | myset
------+----------------------+----------------------------------+-----------------
row1 | ['a', 'c', 'd', 'e'] | {'one': 1, 'three': 4, 'two': 2} | {'e', 'f', 'g'}
<BLANKLINE>
(1 rows)
<BLANKLINE>
"""
> run_func_docstring(tester=self, test_func=self.test_collection_update)

json_test.py:758:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
json_test.py:176: in run_func_docstring
globs = build_doc_context(tester, name)
json_test.py:38: in build_doc_context
tester.cluster.populate(1).start()
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/cluster.py:543: in start
if not node._wait_for_running(p, timeout_s=7):
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:938: in _wait_for_running
self._update_pid(process)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.node.Node object at 0x7ffab2942850>
process = <subprocess.Popen object at 0x7ffab2985370>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
with open(pidfile, 'rb') as f:
if common.is_modern_windows_install(self.get_base_cassandra_version()):
self.pid = int(f.readline().strip().decode('utf-16').strip())
else:
self.pid = int(f.readline().strip())
except IOError as e:
> raise NodeError('Problem starting node %s due to %s' % (self.name, e), process)
E ccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-mf7tcbax/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2113: NodeError
33.434
test_paging_with_no_clustering_columnsFailureccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-jr0i_lbe/test/node1/cassandra.pid'

self = <ccmlib.node.Node object at 0x7ffab2624220>
process = <subprocess.Popen object at 0x7ffab2619e20>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
> with open(pidfile, 'rb') as f:
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-jr0i_lbe/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2107: FileNotFoundError

During handling of the above exception, another exception occurred:

self = <paging_test.TestPagingData object at 0x7ffab26e49a0>

def test_paging_with_no_clustering_columns(self):
"""
test paging for tables without clustering columns
@jira_ticket CASSANDRA-11208
"""
> session = self.prepare(row_factory=tuple_factory)

paging_test.py:2569:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
paging_test.py:33: in prepare
cluster.populate(3).start()
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/cluster.py:543: in start
if not node._wait_for_running(p, timeout_s=7):
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:938: in _wait_for_running
self._update_pid(process)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.node.Node object at 0x7ffab2624220>
process = <subprocess.Popen object at 0x7ffab2619e20>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
with open(pidfile, 'rb') as f:
if common.is_modern_windows_install(self.get_base_cassandra_version()):
self.pid = int(f.readline().strip().decode('utf-16').strip())
else:
self.pid = int(f.readline().strip())
except IOError as e:
> raise NodeError('Problem starting node %s due to %s' % (self.name, e), process)
E ccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-jr0i_lbe/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2113: NodeError
35.080
test_replace_with_insufficient_replicasFailureccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-fntup4br/test/node1/cassandra.pid'

self = <ccmlib.node.Node object at 0x7ffab2602d90>
process = <subprocess.Popen object at 0x7ffab260b490>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
> with open(pidfile, 'rb') as f:
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-fntup4br/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2107: FileNotFoundError

During handling of the above exception, another exception occurred:

self = <replace_address_test.TestReplaceAddress object at 0x7ffab2688460>

def test_replace_with_insufficient_replicas(self):
"""
Test that replace fails when there are insufficient replicas
@jira_ticket CASSANDRA-11848
"""
self.fixture_dtest_setup.ignore_log_patterns = list(self.fixture_dtest_setup.ignore_log_patterns) + [
r'Unable to find sufficient sources for streaming range']

> self._setup(n=3)

replace_address_test.py:617:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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:543: in start
if not node._wait_for_running(p, timeout_s=7):
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:938: in _wait_for_running
self._update_pid(process)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.node.Node object at 0x7ffab2602d90>
process = <subprocess.Popen object at 0x7ffab260b490>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
with open(pidfile, 'rb') as f:
if common.is_modern_windows_install(self.get_base_cassandra_version()):
self.pid = int(f.readline().strip().decode('utf-16').strip())
else:
self.pid = int(f.readline().strip())
except IOError as e:
> raise NodeError('Problem starting node %s due to %s' % (self.name, e), process)
E ccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-fntup4br/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2113: NodeError
36.036
test_basic_snapshot_and_restoreFailureccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-oett0ox4/test/node1/cassandra.pid'

self = <ccmlib.node.Node object at 0x7ffab0236b80>
process = <subprocess.Popen object at 0x7ffab25adb50>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
> with open(pidfile, 'rb') as f:
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-oett0ox4/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2107: FileNotFoundError

During handling of the above exception, another exception occurred:

self = <snapshot_test.TestSnapshot object at 0x7ffab2651b20>

def test_basic_snapshot_and_restore(self):
cluster = self.cluster
> cluster.populate(1).start()

snapshot_test.py:94:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/cluster.py:543: in start
if not node._wait_for_running(p, timeout_s=7):
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:938: in _wait_for_running
self._update_pid(process)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.node.Node object at 0x7ffab0236b80>
process = <subprocess.Popen object at 0x7ffab25adb50>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
with open(pidfile, 'rb') as f:
if common.is_modern_windows_install(self.get_base_cassandra_version()):
self.pid = int(f.readline().strip().decode('utf-16').strip())
else:
self.pid = int(f.readline().strip())
except IOError as e:
> raise NodeError('Problem starting node %s due to %s' % (self.name, e), process)
E ccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-oett0ox4/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2113: NodeError
33.074
test_describe_describes_non_default_compaction_parametersFailureccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-g0uaiw9d/test/node1/cassandra.pid'

self = <ccmlib.node.Node object at 0x7ffab26d7220>
process = <subprocess.Popen object at 0x7ffab26e1130>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
> with open(pidfile, 'rb') as f:
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-g0uaiw9d/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2107: FileNotFoundError

During handling of the above exception, another exception occurred:

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

def test_describe_describes_non_default_compaction_parameters(self):
self.cluster.populate(1)
> self.cluster.start()

cqlsh_tests/test_cqlsh.py:950:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/cluster.py:543: in start
if not node._wait_for_running(p, timeout_s=7):
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:938: in _wait_for_running
self._update_pid(process)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.node.Node object at 0x7ffab26d7220>
process = <subprocess.Popen object at 0x7ffab26e1130>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
with open(pidfile, 'rb') as f:
if common.is_modern_windows_install(self.get_base_cassandra_version()):
self.pid = int(f.readline().strip().decode('utf-16').strip())
else:
self.pid = int(f.readline().strip())
except IOError as e:
> raise NodeError('Problem starting node %s due to %s' % (self.name, e), process)
E ccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-g0uaiw9d/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2113: NodeError
34.382
test_null_as_null_indicatorFailureccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-vovv5buc/test/node1/cassandra.pid'

self = <ccmlib.node.Node object at 0x7ffab29b5040>
process = <subprocess.Popen object at 0x7ffab24be340>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
> with open(pidfile, 'rb') as f:
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-vovv5buc/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2107: FileNotFoundError

During handling of the above exception, another exception occurred:

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

def test_null_as_null_indicator(self):
"""
Use custom_null_indicator_template to test COPY with NULL = 'null'.
"""
> self.custom_null_indicator_template('null')

cqlsh_tests/test_cqlsh_copy.py:564:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cqlsh_tests/test_cqlsh_copy.py:477: in custom_null_indicator_template
self.prepare()
cqlsh_tests/test_cqlsh_copy.py:116: in prepare
self.cluster.populate(nodes, tokens=tokens).start()
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/cluster.py:543: in start
if not node._wait_for_running(p, timeout_s=7):
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:938: in _wait_for_running
self._update_pid(process)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.node.Node object at 0x7ffab29b5040>
process = <subprocess.Popen object at 0x7ffab24be340>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
with open(pidfile, 'rb') as f:
if common.is_modern_windows_install(self.get_base_cassandra_version()):
self.pid = int(f.readline().strip().decode('utf-16').strip())
else:
self.pid = int(f.readline().strip())
except IOError as e:
> raise NodeError('Problem starting node %s due to %s' % (self.name, e), process)
E ccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-vovv5buc/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2113: NodeError
33.530
test_reading_empty_strings_for_different_typesFailureccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-1fuyazup/test/node1/cassandra.pid'

self = <ccmlib.node.Node object at 0x7ffab02c77c0>
process = <subprocess.Popen object at 0x7ffab26d3eb0>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
> with open(pidfile, 'rb') as f:
E FileNotFoundError: [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-1fuyazup/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2107: FileNotFoundError

During handling of the above exception, another exception occurred:

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

@since('3.0')
def test_reading_empty_strings_for_different_types(self):
"""
Users can use the NULL=<marker> option to force importing empty strings in the primary key
as long as the marker is set to something that indicates that the value should be safely skipped (typically
something not present in the csv). A problem was reported when trying to import a csv file with
many missing values, including strings and numbers, because the empty strings could not be converted
to numbers.

@jira_ticket CASSANDRA-12794
"""
> self.prepare()

cqlsh_tests/test_cqlsh_copy.py:3147:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cqlsh_tests/test_cqlsh_copy.py:116: in prepare
self.cluster.populate(nodes, tokens=tokens).start()
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/cluster.py:543: in start
if not node._wait_for_running(p, timeout_s=7):
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:938: in _wait_for_running
self._update_pid(process)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ccmlib.node.Node object at 0x7ffab02c77c0>
process = <subprocess.Popen object at 0x7ffab26d3eb0>

def _update_pid(self, process):
"""
Reads pid from cassandra.pid file and stores in the self.pid
After setting up pid updates status (UP, DOWN, etc) and node.conf
"""
pidfile = os.path.join(self.get_path(), 'cassandra.pid')

start = time.time()
while not (os.path.isfile(pidfile) and os.stat(pidfile).st_size > 0):
if (time.time() - start > 30.0):
common.error("Timed out waiting for pidfile to be filled (current time is {})".format(datetime.now()))
break
else:
time.sleep(0.1)

try:
with open(pidfile, 'rb') as f:
if common.is_modern_windows_install(self.get_base_cassandra_version()):
self.pid = int(f.readline().strip().decode('utf-16').strip())
else:
self.pid = int(f.readline().strip())
except IOError as e:
> raise NodeError('Problem starting node %s due to %s' % (self.name, e), process)
E ccmlib.node.NodeError: Problem starting node node1 due to [Errno 2] No such file or directory: '/home/cassandra/cassandra/build/run-python-dtest.aMXms5/dtest-1fuyazup/test/node1/cassandra.pid'

../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:2113: NodeError
33.142
Properties »