hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9515) Intermittent TestZKSecretWatcher#testKeyUpdate failure
Date Fri, 13 Sep 2013 17:30:52 GMT

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

Hudson commented on HBASE-9515:
-------------------------------

SUCCESS: Integrated in HBase-TRUNK #4502 (See [https://builds.apache.org/job/HBase-TRUNK/4502/])
HBASE-9515 Intermittent TestZKSecretWatcher#testKeyUpdate failure (Ted Yu) (tedyu: rev 1522949)
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/security/token/AuthenticationTokenSecretManager.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/security/token/TestZKSecretWatcher.java

                
> Intermittent TestZKSecretWatcher#testKeyUpdate failure
> ------------------------------------------------------
>
>                 Key: HBASE-9515
>                 URL: https://issues.apache.org/jira/browse/HBASE-9515
>             Project: HBase
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>             Fix For: 0.98.0
>
>         Attachments: 9515-v2.txt
>
>
> From https://builds.apache.org/job/hbase-0.96-hadoop2/19/testReport/org.apache.hadoop.hbase.security.token/TestZKSecretWatcher/testKeyUpdate/
:
> {code}
> java.lang.AssertionError: expected null, but was:<AuthenticationKey[ id=2, expiration=9223372036854775807
]>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotNull(Assert.java:664)
> 	at org.junit.Assert.assertNull(Assert.java:646)
> 	at org.junit.Assert.assertNull(Assert.java:656)
> 	at org.apache.hadoop.hbase.security.token.TestZKSecretWatcher.testKeyUpdate(TestZKSecretWatcher.java:149)
> {code}
> It failed here:
> {code}
>     // verify that the expired key has been removed
>     assertNull(KEY_SLAVE.getKey(key1.getKeyId()));
> {code}
> Normally key1 should be removed by AuthenticationTokenSecretManager#removeKey():
> {code}
>     allKeys.remove(keyId);
> {code}
> A search in the test output for 'Removing key ' yielded nothing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message