[
https://issues.apache.org/jira/browse/HDDS-8453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17763076#comment-17763076
]
Devesh Kumar Singh commented on HDDS-8453:
------------------------------------------
[~smeng] [~prashantpogde] This test timeout seems to be issue with
KeyDeletionService not snapshot aware, may be I have mis-understood something,
but looks like this test case
*(org.apache.hadoop.fs.ozone.TestDirectoryDeletingServiceWithFSO#testDirDeletedTableCleanUpForSnapshot)*
has created snapshot after creating 8 keys. Then after taking snapshot, test
case deleted 3 keys, but assertion of 3 keys presence in deletedKeyTable times
out at line #456. Looks like some race condition where KeyDeletionService is
purgin/cleaning keys from deletedKeyTable, even when these 3 deleted keys are
present in last previous only snapshot taken.
> Intermittent timeout in TestDirectoryDeletingServiceWithFSO
> -----------------------------------------------------------
>
> Key: HDDS-8453
> URL: https://issues.apache.org/jira/browse/HDDS-8453
> Project: Apache Ozone
> Issue Type: Sub-task
> Affects Versions: 1.4.0
> Reporter: Attila Doroszlai
> Assignee: Devesh Kumar Singh
> Priority: Major
>
> {code}
> Tests run: 5, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 279.448 s <<<
> FAILURE! - in org.apache.hadoop.fs.ozone.TestDirectoryDeletingServiceWithFSO
> org.apache.hadoop.fs.ozone.TestDirectoryDeletingServiceWithFSO.testDirDeletedTableCleanUpForSnapshot
> Time elapsed: 122.491 s <<< ERROR!
> ...
> at org.apache.ozone.test.GenericTestUtils.waitFor(GenericTestUtils.java:231)
> at
> org.apache.hadoop.fs.ozone.TestDirectoryDeletingServiceWithFSO.assertTableRowCount(TestDirectoryDeletingServiceWithFSO.java:509)
> at
> org.apache.hadoop.fs.ozone.TestDirectoryDeletingServiceWithFSO.testDirDeletedTableCleanUpForSnapshot(TestDirectoryDeletingServiceWithFSO.java:470)
> org.apache.hadoop.fs.ozone.TestDirectoryDeletingServiceWithFSO.testDeleteWithLargeSubPathsThanBatchSize
> Time elapsed: 120.321 s <<< ERROR!
> ...
> at org.apache.ozone.test.GenericTestUtils.waitFor(GenericTestUtils.java:231)
> at
> org.apache.hadoop.fs.ozone.TestDirectoryDeletingServiceWithFSO.assertTableRowCount(TestDirectoryDeletingServiceWithFSO.java:509)
> at
> org.apache.hadoop.fs.ozone.TestDirectoryDeletingServiceWithFSO.testDeleteWithLargeSubPathsThanBatchSize(TestDirectoryDeletingServiceWithFSO.java:218)
> {code}
> *
> https://github.com/adoroszlai/ozone-build-results/blob/master/2023/04/14/21548/it-filesystem/hadoop-ozone/integration-test/org.apache.hadoop.fs.ozone.TestDirectoryDeletingServiceWithFSO.txt
> *
> https://github.com/adoroszlai/ozone-build-results/blob/master/2023/04/18/21638/it-filesystem/hadoop-ozone/integration-test/org.apache.hadoop.fs.ozone.TestDirectoryDeletingServiceWithFSO.txt
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]