You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Joseph Lynch (Jira)" <ji...@apache.org> on 2019/09/06 15:43:10 UTC
[jira] [Created] (CASSANDRA-15309) Make the upgrade tests run on
trunk
Joseph Lynch created CASSANDRA-15309:
----------------------------------------
Summary: Make the upgrade tests run on trunk
Key: CASSANDRA-15309
URL: https://issues.apache.org/jira/browse/CASSANDRA-15309
Project: Cassandra
Issue Type: Bug
Components: Test/dtest
Reporter: Joseph Lynch
It appears that the upgrade tests (j8_upgradetests-no-vnodes circleci target) don't really work on trunk right now, it appears to be a java home issue potentially. Example run: https://circleci.com/gh/jolynch/cassandra/553
{noformat}
Your job ran 4412 tests with 3923 failures
- test_IN_clause_on_last_key - upgrade_tests.cql_tests.TestCQLNodes2RF1_Upgrade_current_2_1_x_To_indev_2_1_xupgrade_tests/cql_tests.pymajor_version_int = 8
def switch_jdks(major_version_int):
"""
Changes the jdk version globally, by setting JAVA_HOME = JAVA[N]_HOME.
This means the environment must have JAVA[N]_HOME set to switch to jdk version N.
"""
new_java_home = 'JAVA{}_HOME'.format(major_version_int)
try:
> os.environ[new_java_home]
upgrade_tests/upgrade_base.py:25:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = environ({'PYTHONUNBUFFERED': 'true', 'DEFAULT_DIR': '/home/cassandra/cassandra-dtest', 'CIRCLE_NODE_INDEX': '47', 'CIR...ade_tests/cql_tests.py::TestCQLNodes2RF1_Upgrade_current_2_1_x_To_indev_2_1_x::()::test_IN_clause_on_last_key (call)'})
key = 'JAVA8_HOME'
def __getitem__(self, key):
try:
value = self._data[self.encodekey(key)]
except KeyError:
# raise KeyError with the original key value
> raise KeyError(key) from None
E KeyError: 'JAVA8_HOME'{noformat}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org