8_cythonno_x86_64_34_64 | test_parallel_upgrade_with_internode_ssl | Failure | ccmlib.node.TimeoutError: 20 May 2024 20:57:23 [node1] after 90.12/90 seconds Missing: ['Starting listening for CQL clients'] not found in system.log:
Head: INFO [main] 2024-05-20 20:55:55,136 YamlConfigura
Tail: ...table: /home/cassandra/cassandra/build/run-python-dtest.TBQOUp/dtest-9znld35z/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/nb-9-big
self = <upgrade_tests.upgrade_through_versions_test.TestUpgrade_current_4_1_x_To_indev_trunk object at 0x7f9564f48910>
@pytest.mark.timeout(3000)
def test_parallel_upgrade_with_internode_ssl(self):
"""
Test upgrading cluster all at once (requires cluster downtime), with internode ssl.
"""
> self.upgrade_scenario(internode_ssl=True)
upgrade_tests/upgrade_through_versions_test.py:402:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
upgrade_tests/upgrade_through_versions_test.py:493: in upgrade_scenario
self.upgrade_to_version(version_meta, internode_ssl=internode_ssl)
upgrade_tests/upgrade_through_versions_test.py:581: in upgrade_to_version
node.start(wait_other_notice=400, wait_for_binary_proto=True,
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:922: in start
self.wait_for_binary_interface(from_mark=self.mark)
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:710: in wait_for_binary_interface
self.watch_log_for("Starting listening for CQL clients", **kwargs)
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:609: in watch_log_for
TimeoutError.raise_if_passed(start=start, timeout=timeout, node=self.name,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
start = 1716238553.3378303, timeout = 90
msg = "Missing: ['Starting listening for CQL clients'] not found in system.log:\n Head: INFO [main] 2024-05-20 20:55:55,136...build/run-python-dtest.TBQOUp/dtest-9znld35z/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/nb-9-big\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: 20 May 2024 20:57:23 [node1] after 90.12/90 seconds Missing: ['Starting listening for CQL clients'] not found in system.log:
E Head: INFO [main] 2024-05-20 20:55:55,136 YamlConfigura
E Tail: ...table: /home/cassandra/cassandra/build/run-python-dtest.TBQOUp/dtest-9znld35z/test/node1/data0/system/local-7ad54392bcdd35a684174e047860b377/nb-9-big
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:56: TimeoutError | 287.005 |
8_cythonno_x86_64_59_64 | test_collection_indexing | Failure | AssertionError: Could not update git
self = <abc.TestCQLNodes2RF1_Upgrade_indev_5_0_x_To_indev_trunk object at 0x7fc1a8712970>
@since('2.1')
def test_collection_indexing(self):
"""
@jira_ticket CASSANDRA-4511
"""
> cursor = self.prepare()
upgrade_tests/cql_tests.py:3738:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
upgrade_tests/upgrade_base.py:88: in prepare
cluster.set_install_dir(version=self.UPGRADE_PATH.starting_version)
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/cluster.py:111: in set_install_dir
dir, v = repository.setup(version, verbose)
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/repository.py:70: in setup
clone_development(GITHUB_REPO, version, verbose=verbose)
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/repository.py:270: in clone_development
raise e
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
git_repo = 'https://github.com/apache/cassandra.git'
version = 'github:apache/cassandra-5.0', verbose = False, alias = False
def clone_development(git_repo, version, verbose=False, alias=False):
print_(git_repo, version)
target_dir = directory_name(version)
assert target_dir
if 'github' in version:
git_repo_name, git_branch = github_username_and_branch_name(version)
elif 'local:' in version:
git_repo_name = 'local_{}'.format(git_repo) # add git repo location to distinguish cache location for differing repos
git_branch = version.split(':')[-1] # last token on 'local:...' slugs should always be branch name
elif alias:
git_repo_name = 'alias_{}'.format(version.split('/')[0].split(':')[-1])
git_branch = version.split('/')[-1]
else:
git_repo_name = 'apache'
git_branch = version.split(':', 1)[1]
local_git_cache = os.path.join(__get_dir(), '_git_cache_' + git_repo_name)
logfile = lastlogfilename()
logger = get_logger(logfile)
try:
# Checkout/fetch a local repository cache to reduce the number of
# remote fetches we need to perform:
if not os.path.exists(local_git_cache):
common.info("Cloning Cassandra...")
process = subprocess.Popen(
['git', 'clone', '--mirror', git_repo, local_git_cache],
cwd=__get_dir(), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, _, _ = log_info(process, logger)
assert out == 0, "Could not do a git clone"
else:
common.info("Fetching Cassandra updates...")
process = subprocess.Popen(
['git', 'fetch', '-fup', 'origin', '+refs/*:refs/*'],
cwd=local_git_cache, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, _, _ = log_info(process, logger)
> assert out == 0, "Could not update git"
E AssertionError: Could not update git
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/repository.py:177: AssertionError | 8.395 |