[
https://issues.apache.org/jira/browse/HDDS-11354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17876859#comment-17876859
]
Ethan Rose commented on HDDS-11354:
-----------------------------------
Interesting. Different test and stack trace but looking at the surrounding code
it could be the same root cause. The one I originally saw was
[here|https://github.com/apache/ozone/blob/66c0e08b03393c57075503e913f98b1cad19ba92/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/snapshot/TestOzoneManagerSnapshotAcl.java#L593]
and I marked it as flaky. This new occurrence is
[here|https://github.com/apache/ozone/blob/3cadb248f5d504ef189e0311ff098f9b024df8e7/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOMRatisSnapshots.java#L1058].
We can file a new Jira and link them, or re-use the same Jira in both cases.
I'd recommend tagging this one as flaky too.
In case anyone sees it later, a third test has a similar check
[here|https://github.com/apache/ozone/blob/1ae270182d20ae6f1f1d282c464ac2305cdd9b7c/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/snapshot/TestSnapshotBackgroundServices.java#L640]
that might hit the same failure at some point.
> Intermittent failure in
> TestOzoneManagerSnapshotAcl#testLookupKeyWithNotAllowedUserForPrefixAcl
> -----------------------------------------------------------------------------------------------
>
> Key: HDDS-11354
> URL: https://issues.apache.org/jira/browse/HDDS-11354
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Ethan Rose
> Priority: Major
> Attachments: snapshot.zip
>
>
> {{TestOzoneManagerSnapshotAcl#testLookupKeyWithNotAllowedUserForPrefixAcl}}
> failed in [this
> run|https://github.com/errose28/ozone/actions/runs/10478142479/attempts/1]
> {code}
> -------------------------------------------------------------------------------
> Test set: org.apache.hadoop.ozone.om.snapshot.TestOzoneManagerSnapshotAcl
> -------------------------------------------------------------------------------
> Tests run: 56, Failures: 0, Errors: 56, Skipped: 0, Time elapsed: 1,151.833 s
> <<< FAILURE! - in
> org.apache.hadoop.ozone.om.snapshot.TestOzoneManagerSnapshotAcl
> org.apache.hadoop.ozone.om.snapshot.TestOzoneManagerSnapshotAcl.testLookupKeyWithNotAllowedUserForPrefixAcl(BucketLayout)[1]
> Time elapsed: 20.469 s <<< ERROR!
> java.io.IOException: snapshot directory doesn't exist
> at
> org.apache.hadoop.ozone.om.snapshot.TestOzoneManagerSnapshotAcl.createSnapshot(TestOzoneManagerSnapshotAcl.java:591)
> at
> org.apache.hadoop.ozone.om.snapshot.TestOzoneManagerSnapshotAcl.testLookupKeyWithNotAllowedUserForPrefixAcl(TestOzoneManagerSnapshotAcl.java:424)
> at java.base/java.lang.reflect.Method.invoke(Method.java:569)
> ...
> {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]