Re: TestSSLRandomization is failing everytime

2018-04-04 Thread Joel Bernstein
Nice little program. I got the same result, so the digests are not the issue: SHA == SHA SHA == SHA-1 SHA != SHA-256 SHA != SHA-512 SHA-1 == SHA SHA-1 == SHA-1 SHA-1 != SHA-256 SHA-1 != SHA-512 SHA-256 != SHA SHA-256 != SHA-1 SHA-256 == SHA-256 SHA-256 != SHA-512 SHA-512 != SHA SHA-51

Re: TestSSLRandomization is failing everytime

2018-04-04 Thread Chris Hostetter
: I have not been able to get the actual SHA implementation (SHA-1, : SHA-256...) from the MessageDigest instance. If we could get that, I : suspect it would be different on my machine then yours. How about this... import java.security.MessageDigest; public final class Temp { public static voi

Re: TestSSLRandomization is failing everytime

2018-04-04 Thread Joel Bernstein
I get the same result: SHA Message Digest from SUN, SHA SUN version 1.8 I have not been able to get the actual SHA implementation (SHA-1, SHA-256...) from the MessageDigest instance. If we could get that, I suspect it would be different on my machine then yours. Joel Bernstein http://joel

Re: TestSSLRandomization is failing everytime

2018-04-04 Thread Chris Hostetter
: http://grepcode.com/file_/repository.grepcode.com/java/root/jdk/openjdk/8u40-b25/sun/security/provider/JavaKeyStore.java/?v=source : : The getPreKeyedHash method is where MessageDigest.getInstance("SHA") is : called. From everything I've read this code is incorrect because SHA is not : a valid

Re: TestSSLRandomization is failing everytime

2018-04-04 Thread Joel Bernstein
; } > > what do you see for either test? > > > Martin > __ > > > > > -- > *From:* Joel Bernstein > *Sent:* Wednesday, April 4, 2018 3:35 PM > *To:* lucene dev > *Subject:* Re: TestSS

Re: TestSSLRandomization is failing everytime

2018-04-04 Thread Martin Gainty
st? Martin __ From: Joel Bernstein Sent: Wednesday, April 4, 2018 3:35 PM To: lucene dev Subject: Re: TestSSLRandomization is failing everytime The code below ran fine from the command line and from a basic test case: System.out.println(javax.net<http://javax.net>. javax.net -

Re: TestSSLRandomization is failing everytime

2018-04-04 Thread Joel Bernstein
gt; : >>> : Joel Bernstein >>> : http://joelsolr.blogspot.com/ >>> : >>> : On Wed, Apr 4, 2018 at 12:29 PM, Joel Bernstein >>> wrote: >>> : >>> : > Ok, so it does sounds like a local problem then. Nothing much has >>> chang

Re: TestSSLRandomization is failing everytime

2018-04-04 Thread Joel Bernstein
;> : > Java(TM) SE Runtime Environment (build 1.8.0_40-b27) >> : > >> : > Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode) >> : > >> : > I'll try running on a newer version of Java. >> : > >> : > >> : > >> :

Re: TestSSLRandomization is failing everytime

2018-04-04 Thread Joel Bernstein
on a newer version of Java. > : > > : > > : > > : > Joel Bernstein > : > http://joelsolr.blogspot.com/ > : > > : > On Wed, Apr 4, 2018 at 12:19 PM, Chris Hostetter < > hossman_luc...@fucit.org > : > > wrote: > : > > : >> > : >&g

Re: TestSSLRandomization is failing everytime

2018-04-04 Thread Chris Hostetter
t; Joel Bernstein : > http://joelsolr.blogspot.com/ : > : > On Wed, Apr 4, 2018 at 12:19 PM, Chris Hostetter > wrote: : > : >> : >> : Subject: Re: TestSSLRandomization is failing everytime : >> : >> : When I run locally I get this stack trace: : >> : >>

Re: TestSSLRandomization is failing everytime

2018-04-04 Thread Joel Bernstein
build 1.8.0_40-b27) > > Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode) > > I'll try running on a newer version of Java. > > > > Joel Bernstein > http://joelsolr.blogspot.com/ > > On Wed, Apr 4, 2018 at 12:19 PM, Chris Hostetter > wrote: >

Re: TestSSLRandomization is failing everytime

2018-04-04 Thread Joel Bernstein
4-Bit Server VM (build 25.40-b25, mixed mode) I'll try running on a newer version of Java. Joel Bernstein http://joelsolr.blogspot.com/ On Wed, Apr 4, 2018 at 12:19 PM, Chris Hostetter wrote: > > : Subject: Re: TestSSLRandomization is failing everytime > > : When I ru

Re: TestSSLRandomization is failing everytime

2018-04-04 Thread Chris Hostetter
: 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 las

Re: TestSSLRandomization is failing everytime

2018-04-04 Thread Kevin Risden
What Java version are you using? It's almost like it can't find the Java cipher? Kevin Risden On Wed, Apr 4, 2018, 11:14 Joel Bernstein wrote: > I've looked through the recent commits but don't see anything that looks > like it might have caused this. I don't see jenkins errors yet either. > >

Re: TestSSLRandomization is failing everytime

2018-04-04 Thread Joel Bernstein
I've looked through the recent commits but don't see anything that looks like it might have caused this. I don't see jenkins errors yet either. I'm running my tests on a fresh clone so I don't think this is due to an issue with my local repo. Anybody else seeing this problem locally? Joel Bernst

Re: TestSSLRandomization is failing everytime

2018-04-04 Thread Joel Bernstein
When I run locally I get this stack trace: ERROR 0.02s | TestSSLRandomization.testRandomizedSslAndClientAuth <<< [junit4]> Throwable #1: java.lang.ExceptionInInitializerError [junit4]> at __randomizedtesting.SeedInfo.seed([59B26B23CF90404E:D2E6DA446D0F0132]:0) [junit4]> a

TestSSLRandomization is failing everytime

2018-04-04 Thread Joel Bernstein
TestSSLRandomization is failing 100% of the time. Anybody make changes recently to this code?