Details
Description
[INFO] Running org.apache.hadoop.ozone.security.TestOzoneDelegationTokenSecretManager [ERROR] Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.757 s <<< FAILURE! - in org.apache.hadoop.ozone.security.TestOzoneDelegationTokenSecretManager [ERROR] testRenewTokenFailureRenewalTime(org.apache.hadoop.ozone.security.TestOzoneDelegationTokenSecretManager) Time elapsed: 0.255 s <<< FAILURE! java.lang.AssertionError: Expecting java.io.IOException with text is expired but got : Expected to find 'is expired' but got unexpected exception: org.apache.hadoop.security.token.SecretManager$InvalidToken: token (OzoneToken owner=testUser, renewer=testUser, realUser=testUser, issueDate=1579761150795, maxDate=1579761160795, sequenceNumber=1, masterKeyId=1, strToSign=null, signature=null, awsAccessKeyId=null) can't be found in cache at org.apache.hadoop.ozone.security.OzoneDelegationTokenSecretManager.validateToken(OzoneDelegationTokenSecretManager.java:362) at org.apache.hadoop.ozone.security.OzoneDelegationTokenSecretManager.renewToken(OzoneDelegationTokenSecretManager.java:244) at org.apache.hadoop.ozone.security.TestOzoneDelegationTokenSecretManager.lambda$testRenewTokenFailureRenewalTime$2(TestOzoneDelegationTokenSecretManager.java:254) at org.apache.hadoop.test.LambdaTestUtils.lambda$intercept$0(LambdaTestUtils.java:527) at org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:491) at org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:522) at org.apache.hadoop.ozone.security.TestOzoneDelegationTokenSecretManager.testRenewTokenFailureRenewalTime(TestOzoneDelegationTokenSecretManager.java:253) ... at org.apache.hadoop.test.GenericTestUtils.assertExceptionContains(GenericTestUtils.java:350) at org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:500) at org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:522) at org.apache.hadoop.ozone.security.TestOzoneDelegationTokenSecretManager.testRenewTokenFailureRenewalTime(TestOzoneDelegationTokenSecretManager.java:253) ... Caused by: org.apache.hadoop.security.token.SecretManager$InvalidToken: token (OzoneToken owner=testUser, renewer=testUser, realUser=testUser, issueDate=1579761150795, maxDate=1579761160795, sequenceNumber=1, masterKeyId=1, strToSign=null, signature=null, awsAccessKeyId=null) can't be found in cache at org.apache.hadoop.ozone.security.OzoneDelegationTokenSecretManager.validateToken(OzoneDelegationTokenSecretManager.java:362) at org.apache.hadoop.ozone.security.OzoneDelegationTokenSecretManager.renewToken(OzoneDelegationTokenSecretManager.java:244) at org.apache.hadoop.ozone.security.TestOzoneDelegationTokenSecretManager.lambda$testRenewTokenFailureRenewalTime$2(TestOzoneDelegationTokenSecretManager.java:254) at org.apache.hadoop.test.LambdaTestUtils.lambda$intercept$0(LambdaTestUtils.java:527) at org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:491) ... 31 more
Attachments
Issue Links
- duplicates
-
HDDS-2643 TestOzoneDelegationTokenSecretManager#testRenewTokenFailureRenewalTime fails intermittently
- Resolved