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

David Smiley commented on SOLR-17783:
-------------------------------------

Thanks you [~gmt425] !  It's helpful to have a Windows user around to check 
these things.

My recommendation is that we change the build's default choice of use of the 
SecurityManager to check if the OS is windows, and set it disabled.  This is is 
randomization.gradle.  It'd affect the default; it wouldn't prevent someone 
from explicitly opting in.  [~houstonputman] , you changed the default recently 
to consider JDK 24 so FYI, I'm proposing augmenting that further.  WDYT?

I know that's not a root cause fix for whatever the underlying issue is, but 
it's pragmatic – why waste time on a SecurityManager specific matter when we 
know the SM is going away.

> SSLTestConfig "Unable to locate keystore resource file in classpath"
> --------------------------------------------------------------------
>
>                 Key: SOLR-17783
>                 URL: https://issues.apache.org/jira/browse/SOLR-17783
>             Project: Solr
>          Issue Type: Test
>         Environment: Windows
>            Reporter: David Smiley
>            Priority: Major
>
> org.apache.solr.gcs.GCSBackupRepositoryTest (classMethod / suite) and other 
> GCS tests have been failing, only on Windows only.  The failures were 
> triggered by the Jetty 12 upgrade, which modified [SSLTestConfig 
> here|https://github.com/apache/solr/blob/7279b808628a9286def7aea8b3b00f626df23dec/solr/test-framework/src/java/org/apache/solr/util/SSLTestConfig.java#L112].
> {noformat}
> java.lang.IllegalStateException: Unable to locate keystore resource file in 
> classpath: SSLTestConfig.hostname-and-ip-missmatch.keystore
>       at __randomizedtesting.SeedInfo.seed([E4ED041D25106216]:0)
>       at org.apache.solr.util.SSLTestConfig.<init>(SSLTestConfig.java:114)
>       at org.apache.solr.util.SSLTestConfig.<init>(SSLTestConfig.java:80)
>       at 
> org.apache.solr.util.RandomizeSSL$SSLRandomizer.createSSLTestConfig(RandomizeSSL.java:129)
>       at 
> org.apache.solr.SolrTestCaseJ4.buildSSLConfig(SolrTestCaseJ4.java:429)
>       at 
> org.apache.solr.SolrTestCaseJ4.setupTestCases(SolrTestCaseJ4.java:288)
> {noformat}



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

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

Reply via email to