Mohammad Arafat Khan created HDDS-9444:
------------------------------------------
Summary: Resolve Delayed Flush Inconsistency Between S3SecretCache
and S3SecretTable in DB Updates.
Key: HDDS-9444
URL: https://issues.apache.org/jira/browse/HDDS-9444
Project: Apache Ozone
Issue Type: Bug
Components: S3
Reporter: Mohammad Arafat Khan
During a recent CI run, the *{{TestSecureOzoneCluster}}* test, specifically
{*}{{testGetSetRevokeS3Secret}}{*}, failed. The issue encountered was that the
S3 secret was not being revoked as expected. Upon examining the logs, it was
determined that the discrepancy arose due to a mismatch between the value in
the cache and the corresponding value in the database.
*CI Run :-
[https://github.com/ArafatKhan2198/ozone/actions/runs/6468031778/job/17559261272|http://example.com]*
*Error Output :-*
{code:java}
Error: Tests run: 13, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
120.823 s <<< FAILURE! - in org.apache.hadoop.ozone.TestSecureOzoneCluster
Error: org.apache.hadoop.ozone.TestSecureOzoneCluster.testGetSetRevokeS3Secret
Time elapsed: 10.03 s <<< ERROR!
S3_SECRET_ALREADY_EXISTS org.apache.hadoop.ozone.om.exceptions.OMException:
Secret for
'om/fv-az484-290.bfj14xst0uxejdsadjltsbuuog.phxx.internal.cloudapp....@example.com'
already exists
at
org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB.handleError(OzoneManagerProtocolClientSideTranslatorPB.java:729)
at
org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB.getS3Secret(OzoneManagerProtocolClientSideTranslatorPB.java:1017)
at
org.apache.hadoop.ozone.TestSecureOzoneCluster.testGetSetRevokeS3Secret(TestSecureOzoneCluster.java:740)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
at
org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at
org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at
org.junit.jupiter.engine.extension.TimeoutInvocation.proceed(TimeoutInvocation.java:46)
at
org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
at
org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
{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]