hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ratandeep Ratti (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10823) Intermittent testcase failure: TestReloadingX509TrustManager.testReload
Date Tue, 15 Jul 2014 07:22:04 GMT

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

Ratandeep Ratti commented on HADOOP-10823:
------------------------------------------

This test is sporadically failing on our test machines

It seems that the trust-store file created with 2 issuers is not loaded in time for the test-case
to verify. The loading of the trust-store file happens in different thread by the TrustStoreManager.
A simple fix is to wait for a longer time. Currently it is 0.2 secs

> Intermittent testcase failure: TestReloadingX509TrustManager.testReload
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-10823
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10823
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>         Environment: java version "1.6.0_31"
> Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
> Linux [hostname] 2.6.32-279.14.1.el6.x86_64 #1 SMP Mon Oct 15 13:44:51 EDT 2012 x86_64
x86_64 x86_64 GNU/Linux
>            Reporter: Ratandeep Ratti
>
> Pasting the log
> {quote}
> Error Message
> expected:<2> but was:<1>
> Stacktrace
> junit.framework.AssertionFailedError: expected:<2> but was:<1>
> 	at junit.framework.Assert.fail(Assert.java:50)
> 	at junit.framework.Assert.failNotEquals(Assert.java:287)
> 	at junit.framework.Assert.assertEquals(Assert.java:67)
> 	at junit.framework.Assert.assertEquals(Assert.java:199)
> 	at junit.framework.Assert.assertEquals(Assert.java:205)
> 	at org.apache.hadoop.security.ssl.TestReloadingX509TrustManager.testReload(TestReloadingX509TrustManager.java:112)
> Standard Output
> 2014-07-06 06:12:21,170 WARN  ssl.ReloadingX509TrustManager (ReloadingX509TrustManager.java:run(197))
- Could not load truststore (keep using existing one) : java.io.EOFException
> java.io.EOFException
> 	at java.io.DataInputStream.readInt(DataInputStream.java:375)
> 	at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:628)
> 	at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
> 	at java.security.KeyStore.load(KeyStore.java:1185)
> 	at org.apache.hadoop.security.ssl.ReloadingX509TrustManager.loadTrustManager(ReloadingX509TrustManager.java:166)
> 	at org.apache.hadoop.security.ssl.ReloadingX509TrustManager.run(ReloadingX509TrustManager.java:195)
> 	at java.lang.Thread.run(Thread.java:662)
> {quote}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message