Attila Doroszlai created HDDS-15298:
---------------------------------------
Summary: Intermittent failure in testDelegationTokenRenewal
Key: HDDS-15298
URL: https://issues.apache.org/jira/browse/HDDS-15298
Project: Apache Ozone
Issue Type: Sub-task
Components: test
Reporter: Attila Doroszlai
Seems to be time-dependent test problem.
{code}
Tests run: 15, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 222.4 s <<<
FAILURE! -- in org.apache.hadoop.ozone.TestSecureOzoneCluster
Error:
org.apache.hadoop.ozone.TestSecureOzoneCluster.testDelegationTokenRenewal --
Time elapsed: 29.64 s <<< FAILURE!
java.lang.AssertionError:
Expecting throwable message:
"om tried to renew an expired token (OzoneToken
owner=om/[email protected], renewer=randomService, realUser=,
issueDate=2026-05-16T07:55:40.871Z, maxDate=2026-05-16T07:55:41.871Z,
sequenceNumber=2, masterKeyId=1, strToSign=null, signature=null,
awsAccessKeyId=null, omServiceId=omServiceIdDefault, omCertSerialId=null,
secretKeyId=4099eef0-f144-49ef-8f02-31a2d7801302) max expiration date:
2026-05-16 07:55:41,871+0000 currentTime: 2026-05-16 07:55:42,367+0000"
to contain:
"Delegation token renewal failed"
but did not.
Throwable that failed the check:
TOKEN_EXPIRED org.apache.hadoop.ozone.om.exceptions.OMException: om tried to
renew an expired token (OzoneToken owner=om/[email protected],
renewer=randomService, realUser=, issueDate=2026-05-16T07:55:40.871Z,
maxDate=2026-05-16T07:55:41.871Z, sequenceNumber=2, masterKeyId=1,
strToSign=null, signature=null, awsAccessKeyId=null,
omServiceId=omServiceIdDefault, omCertSerialId=null,
secretKeyId=4099eef0-f144-49ef-8f02-31a2d7801302) max expiration date:
2026-05-16 07:55:41,871+0000 currentTime: 2026-05-16 07:55:42,367+0000
...
at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3128)
at
org.apache.hadoop.ozone.TestSecureOzoneCluster.testDelegationTokenRenewal(TestSecureOzoneCluster.java:698)
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]