: Subject: Re: TestSSLRandomization is failing everytime

: When I run locally I get this stack trace:

would be helpful to konw the branch, and the GIT SHA ... and if you can 
reproduce if you checkout an older branch/SHA where you know you didn't 
see this failure in the past (ex: the last SHA you committed, where you 
should have run all tests to be certain you didn't break anything)

Personally I can't reproduce on master/8e276b90f520d ...

Let's look at the exception...

:    [junit4]    > Caused by: java.lang.RuntimeException: Unable to
: initialize 'Default' SSLContext Algorithm, JVM is borked
: 
:    [junit4]    > at
: 
org.apache.solr.cloud.TestMiniSolrCloudClusterSSL.<clinit>(TestMiniSolrCloudClusterSSL.java:67)
: 
:    [junit4]    > ... 40 more
: 
:    [junit4]    > Caused by: java.security.NoSuchAlgorithmException: Error
: constructing implementation (algorithm: Default, provider: SunJSSE, class:
: sun.security.ssl.SSLContextImpl$DefaultSSLContext)

At first glance, it sounds like your JVM is completley jacked and doesn't 
have any SSL support?

The code throwing that exception is litterally...

      DEFAULT_SSL_CONTEXT = SSLContext.getDefault();

...ie: your JVM is saying the *default* SSL Algorithm, as choosen by the 
JVM config, doens't exist ... but if we look farther down...

:    [junit4]    > Caused by: java.io.IOException: Keystore was tampered
: with, or password was incorrect
        ...
:    [junit4]    > Caused by: java.security.UnrecoverableKeyException:
: Password verification failed

...well that's interesting.  We do provide our own keystore when using 
SSLTestConfig, but I honestly don't know off the top of my head if that's 
even in use when this code is running? 

Can you tell us *ANYTHING* about the machine/jvm where you are running 
this, and or what might have changed on your end since hte last time you 
ran all tests w/o failure?  what OS? new laptop? new java install? if you 
"git co releases/lucene-solr/7.2.0" does this test pass? if so can you 
"git bisect" to track down when it starts failing? etc...



-Hoss
http://www.lucidworks.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to