Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-upgrade-novnode_jdk11_python3.8_cythonno_x86_64_29_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_29_643419132440.7212024-08-14T22:54:17.3172121b91b9b46b22

Failures

NameStatusTypeTime(s)
test_no_clusteringFailureAssertionError: Could not update git

self = <abc.TestCQLNodes3RF3_Upgrade_indev_4_1_x_To_indev_5_0_x object at 0x7fafd111e550>

def test_no_clustering(self):
> cursor = self.prepare()

upgrade_tests/cql_tests.py:1716:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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'
version = 'github:apache/cassandra-4.1', 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
107.394
test_nan_infinityFailureAssertionError: Could not update git

self = <abc.TestCQLNodes3RF3_Upgrade_indev_4_1_x_To_indev_5_0_x object at 0x7fafd10d80a0>

def test_nan_infinity(self):
> cursor = self.prepare()

upgrade_tests/cql_tests.py:3820:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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'
version = 'github:apache/cassandra-4.1', 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
106.266
test_no_range_ghostFailureAssertionError: Could not update git

self = <abc.TestCQLNodes2RF1_Upgrade_indev_4_0_x_To_indev_5_0_x object at 0x7fafd0f7e550>

def test_no_range_ghost(self):
> cursor = self.prepare()

upgrade_tests/cql_tests.py:1094:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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'
version = 'github:apache/cassandra-4.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
127.573
test_empty_inFailureAssertionError: Could not update git

self = <abc.TestCQLNodes2RF1_Upgrade_indev_4_0_x_To_indev_5_0_x object at 0x7fafd0f2f850>

def test_empty_in(self):
> cursor = self.prepare()

upgrade_tests/cql_tests.py:3305:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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'
version = 'github:apache/cassandra-4.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
96.119
test_limit_multigetFailureAssertionError: Could not update git

self = <abc.TestCQLNodes2RF1_Upgrade_indev_4_1_x_To_indev_5_0_x object at 0x7fafd0ee4d90>

def test_limit_multiget(self):
""" Validate LIMIT option for 'multiget' in SELECT statements """
> cursor = self.prepare()

upgrade_tests/cql_tests.py:336:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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'
version = 'github:apache/cassandra-4.1', 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
185.882
test_float_with_exponentFailureAssertionError: Could not update git

self = <abc.TestCQLNodes2RF1_Upgrade_indev_4_1_x_To_indev_5_0_x object at 0x7fafd0e98070>

def test_float_with_exponent(self):
> cursor = self.prepare()

upgrade_tests/cql_tests.py:2686:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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'
version = 'github:apache/cassandra-4.1', 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
104.920
test_blobAs_functionsFailureAssertionError: Could not update git

self = <abc.TestCQLNodes2RF1_Upgrade_indev_4_1_x_To_indev_5_0_x object at 0x7fafd0e4b730>

def test_blobAs_functions(self):
> cursor = self.prepare()

upgrade_tests/cql_tests.py:5184:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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'
version = 'github:apache/cassandra-4.1', 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
70.590
test_paging_using_secondary_indexesFailureAssertionError: Could not update git

self = <abc.TestPagingDataNodes2RF1_Upgrade_indev_4_1_x_To_indev_5_0_x object at 0x7fafd0da4820>

def test_paging_using_secondary_indexes(self):
> cursor = self.prepare()

upgrade_tests/paging_test.py:611:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
upgrade_tests/paging_test.py:37: in prepare
cursor = UpgradeTester.prepare(self, *args, row_factory=kwargs.pop('row_factory', dict_factory), **kwargs)
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'
version = 'github:apache/cassandra-4.1', 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
86.152
test_parallel_upgradeFailureAssertionError: Could not update git

self = <upgrade_tests.upgrade_through_versions_test.TestProtoV4Upgrade_AllVersions_EndsAt_Trunk_HEAD object at 0x7fafd0d0e700>

@pytest.mark.timeout(3000)
def test_parallel_upgrade(self):
"""
Test upgrading cluster all at once (requires cluster downtime).
"""
> self.upgrade_scenario()

upgrade_tests/upgrade_through_versions_test.py:388:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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:562: in upgrade_to_version
node.set_install_dir(version=version_meta.version)
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:334: in set_install_dir
self.__install_dir = self.node_setup(version, verbose=verbose)
../cassandra/build/venv/lib/python3.8/site-packages/ccmlib/node.py:322: in node_setup
dir, v = setup(version, verbose=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'
version = 'github:apache/trunk', 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
600.356
Properties »