[ 
https://issues.apache.org/jira/browse/CASSANDRA-18285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17730204#comment-17730204
 ] 

Ekaterina Dimitrova commented on CASSANDRA-18285:
-------------------------------------------------

I managed to reproduce the issue with JDK 11 upgrade tests locally by just 
commenting out for now 
{code:java}
@pytest.mark.skip("Fake skip so that this isn't run outside of a generated 
class that removes this annotation"){code}
in upgrade_through_versions_test.py.

I can see in the logs 
{code:java}
intx ThreadPriorityPolicy=42 is outside the allowed range [ 0 ... 1 ]
Improperly specified VM option 'ThreadPriorityPolicy=42.'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. The program will exit.
{code}
ThreadPriorityPolicy is an option we use with JDK8. The 
upgrade_through_versions_test.py tests use [this multiupgrade 
matrix|https://github.com/apache/cassandra-dtest/blob/trunk/upgrade_tests/upgrade_through_versions_test.py#L903-L920]
 which starts from versions that do not support JDK11

This issue is only with upgrade_through_versions.py, and it was not initially 
seen in CASSANDRA-17869 because those are skipped to run at all in Jenkins. It 
appears from the test runs that the rest of the tests are run with JDK 11 and 
the suitable options(no issue around ThreadPriorityPolicy observed). 

 

> Add JDK 11 upgrade tests for 4.0+ in CircleCI
> ---------------------------------------------
>
>                 Key: CASSANDRA-18285
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18285
>             Project: Cassandra
>          Issue Type: Task
>          Components: CI
>            Reporter: Ekaterina Dimitrova
>            Assignee: Ekaterina Dimitrova
>            Priority: Normal
>             Fix For: 4.0.x, 4.1.x, 5.x
>
>
> Currently we test upgrades with Java 8, in preparation to drop it we need 
> first to ensurer we test with 11. This has to be added not only in trunk,, 
> but also 4.1
> I believe [~mck] has this ready to push in Jenkins at some point so this 
> ticket should accommodate the addition of those upgrade tests in CircleCI for 
> 4.1 and trunk.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to