[jira] [Updated] (CASSANDRA-15309) Make the upgrade tests run on trunk

2019-11-17 Thread Vinay Chella (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinay Chella updated CASSANDRA-15309:
-
  Since Version: 4.0
Source Control Link: 
https://github.com/apache/cassandra/commit/dd974b4b5f7770b293fdd8e4e76d7043508abec4
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

Thank you for reviewing [~djoshi] and [~jolynch]. Committed as 
[dd974b4b|https://github.com/apache/cassandra/commit/dd974b4b5f7770b293fdd8e4e76d7043508abec4]

> 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: Joey Lynch
>Assignee: Vinay Chella
>Priority: Normal
> Fix For: 4.0-alpha
>
>
> 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.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15309) Make the upgrade tests run on trunk

2019-11-04 Thread Dinesh Joshi (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dinesh Joshi updated CASSANDRA-15309:
-
Status: Ready to Commit  (was: Review In Progress)

> 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: Joey Lynch
>Assignee: Vinay Chella
>Priority: Normal
> Fix For: 4.0-alpha
>
>
> 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.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15309) Make the upgrade tests run on trunk

2019-11-04 Thread Joey Lynch (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joey Lynch updated CASSANDRA-15309:
---
Reviewers: Joey Lynch, Joey Lynch  (was: Joey Lynch)
   Joey Lynch, Joey Lynch
   Status: Review In Progress  (was: Patch Available)

> 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: Joey Lynch
>Assignee: Vinay Chella
>Priority: Normal
> Fix For: 4.0-alpha
>
>
> 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.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15309) Make the upgrade tests run on trunk

2019-10-25 Thread Vinay Chella (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinay Chella updated CASSANDRA-15309:
-
Test and Documentation Plan: 
Branch with fixes is 
[here|https://github.com/vinaykumarchella/cassandra/tree/CASSANDRA_15309]
 Successful upgrade Tests: [CircleCI 
tests|https://circleci.com/workflow-run/bc17668a-becc-46c4-bc70-cad21e75e968]

  was:
Fixed broken JAVA8_HOME in upgrade tests configurations. 

Branch with fixes is 
[here|https://github.com/vinaykumarchella/cassandra/tree/CASSANDRA_15309]
 Successful upgrade Tests: [CircleCI 
tests|https://circleci.com/workflow-run/bc17668a-becc-46c4-bc70-cad21e75e968]


> 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: Joey Lynch
>Assignee: Vinay Chella
>Priority: Normal
> Fix For: 4.0-alpha
>
>
> 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.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15309) Make the upgrade tests run on trunk

2019-10-25 Thread Vinay Chella (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinay Chella updated CASSANDRA-15309:
-
Test and Documentation Plan: 
Fixed broken JAVA8_HOME in upgrade tests configurations. 

Branch with fixes is 
[here|https://github.com/vinaykumarchella/cassandra/tree/CASSANDRA_15309]
 Successful upgrade Tests: [CircleCI 
tests|https://circleci.com/workflow-run/bc17668a-becc-46c4-bc70-cad21e75e968]
 Status: Patch Available  (was: In Progress)

> 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: Joey Lynch
>Assignee: Vinay Chella
>Priority: Normal
> Fix For: 4.0-alpha
>
>
> 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.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15309) Make the upgrade tests run on trunk

2019-09-09 Thread Vinay Chella (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinay Chella updated CASSANDRA-15309:
-
 Bug Category: Parent values: Code(13163)
   Complexity: Normal
Discovered By: Unit Test
 Severity: Low
   Status: Open  (was: Triage Needed)

> 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
>Assignee: Vinay Chella
>Priority: Normal
> Fix For: 4.0-alpha
>
>
> 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-15309) Make the upgrade tests run on trunk

2019-09-06 Thread Joseph Lynch (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-15309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph Lynch updated CASSANDRA-15309:
-
Fix Version/s: 4.0-alpha

> 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
>Priority: Normal
> Fix For: 4.0-alpha
>
>
> 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org