This is running fine for me on both Java 8 and 11 on Debian 10.
openjdk version "1.8.0_222"OpenJDK Runtime Environment (Zulu 8.40.0.25-
CA-linux64) (build 1.8.0_222-b10)OpenJDK 64-Bit Server VM (Zulu
8.40.0.25-CA-linux64) (build 25.222-b10, mixed mode)
I run X509UtilTest multiple times, but never failed.
Andor

-----Original Message-----From: Enrico Olivelli <[email protected]>Re
ply-To: [email protected]: DevZooKeeper <
[email protected]>Subject: Re: Flaky test
X509UtilTest.testClientRenegotiationFails ?Date: Tue, 10 Sep 2019
18:40:29 +0200
Sorry I missed to attach the error message:INFO] Running
org.apache.zookeeper.common.X509UtilTest[ERROR] Tests run: 336,
Failures: 0, Errors: 6, Skipped: 0, Time elapsed:12.394 s <<< FAILURE!
- in
org.apache.zookeeper.common.X509UtilTest[ERROR]testClientRenegotiationF
ails[0](org.apache.zookeeper.common.X509UtilTest) Time elapsed: 0.437
s  <<< ERROR!java.lang.Exception: Unexpected
exception,expected<javax.net.ssl.SSLHandshakeException>
butwas<java.lang.AssertionError>atorg.apache.zookeeper.common.X509UtilT
est.testClientRenegotiationFails(X509UtilTest.java:579)
[ERROR]testClientRenegotiationFails[1](org.apache.zookeeper.common.X509
UtilTest) Time elapsed: 0.065 s  <<< ERROR!java.lang.Exception:
Unexpected exception,expected<javax.net.ssl.SSLHandshakeException>
butwas<java.lang.AssertionError>atorg.apache.zookeeper.common.X509UtilT
est.testClientRenegotiationFails(X509UtilTest.java:579)
[ERROR]testClientRenegotiationFails[2](org.apache.zookeeper.common.X509
UtilTest) Time elapsed: 0.071 s  <<< ERROR!java.lang.Exception:
Unexpected exception,expected<javax.net.ssl.SSLHandshakeException>
butwas<java.lang.AssertionError>atorg.apache.zookeeper.common.X509UtilT
est.testClientRenegotiationFails(X509UtilTest.java:579)
[ERROR]testClientRenegotiationFails[4](org.apache.zookeeper.common.X509
UtilTest) Time elapsed: 0.052 s  <<< ERROR!java.lang.Exception:
Unexpected exception,expected<javax.net.ssl.SSLHandshakeException>
butwas<java.lang.AssertionError>atorg.apache.zookeeper.common.X509UtilT
est.testClientRenegotiationFails(X509UtilTest.java:579)
[ERROR]testClientRenegotiationFails[5](org.apache.zookeeper.common.X509
UtilTest) Time elapsed: 0.058 s  <<< ERROR!java.lang.Exception:
Unexpected exception,expected<javax.net.ssl.SSLHandshakeException>
butwas<java.lang.AssertionError>atorg.apache.zookeeper.common.X509UtilT
est.testClientRenegotiationFails(X509UtilTest.java:579)
[ERROR]testClientRenegotiationFails[7](org.apache.zookeeper.common.X509
UtilTest) Time elapsed: 0.052 s  <<< ERROR!java.lang.Exception:
Unexpected exception,expected<javax.net.ssl.SSLHandshakeException>
butwas<java.lang.AssertionError>atorg.apache.zookeeper.common.X509UtilT
est.testClientRenegotiationFails(X509UtilTest.java:579)

It is related to some combinations of the parametrized testI will debug
as soon as I have cycles
Enrico
Il giorno mar 10 set 2019 alle ore 17:32 Andor Molnar <[email protected]
> hascritto:
> What is the error message exactly?
> I don’t see this test failing on any of 3.5 builds here:
> https://builds.apache.org/view/S-Z/view/ZooKeeper/
> 
> Neither in the flaky test report:
> https://builds.apache.org/view/S-Z/view/ZooKeeper/job/ZooKeeper-Find-Flaky-Tests/lastSuccessfulBuild/artifact/report.html
> 
> Andor
> 
> 
> > On 2019. Sep 9., at 21:54, Enrico Olivelli <[email protected]>
> > wrote:
> > Hi,I am testing on branch-3.5.6, I see that this test is very flaky
> > on JDK8(1.8.0_222 on Linux)
> > X509UtilTest.testClientRenegotiationFails
> > I see the test passing consistently on JDK12
> > does anyone ever see this kind of problem ?
> > I am investigating, but any help will be very appreciated
> > Enrico

Reply via email to