[ 
https://issues.apache.org/jira/browse/HDDS-8370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai reassigned HDDS-8370:
--------------------------------------

    Assignee: Attila Doroszlai

> Intermittent failure in TestOzoneFileSystem#testListStatusWithIntermediateDir
> -----------------------------------------------------------------------------
>
>                 Key: HDDS-8370
>                 URL: https://issues.apache.org/jira/browse/HDDS-8370
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone Filesystem
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>              Labels: pull-request-available
>
> {code}
> Tests run: 172, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 204.692 s 
> <<< FAILURE! - in org.apache.hadoop.fs.ozone.TestOzoneFileSystem
> TestOzoneFileSystem.testListStatusWithIntermediateDir  Time elapsed: 0.03 s  
> <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<2>
>   ...
>   at 
> org.apache.hadoop.fs.ozone.TestOzoneFileSystem.testListStatusWithIntermediateDir(TestOzoneFileSystem.java:645)
> {code}
> * 
> https://github.com/adoroszlai/ozone-build-results/blob/master/2023/01/03/19324/it-filesystem/hadoop-ozone/integration-test/org.apache.hadoop.fs.ozone.TestOzoneFileSystem.txt
> * 
> https://github.com/adoroszlai/ozone-build-results/blob/master/2023/02/06/19974/it-filesystem/hadoop-ozone/integration-test/org.apache.hadoop.fs.ozone.TestOzoneFileSystem.txt
> * 
> https://github.com/adoroszlai/ozone-build-results/blob/master/2023/02/21/20251/it-filesystem/hadoop-ozone/integration-test/org.apache.hadoop.fs.ozone.TestOzoneFileSystem.txt
> * 
> https://github.com/adoroszlai/ozone-build-results/blob/master/2023/03/16/20840/it-filesystem/hadoop-ozone/integration-test/org.apache.hadoop.fs.ozone.TestOzoneFileSystem.txt
> * 
> https://github.com/adoroszlai/ozone-build-results/blob/master/2023/03/31/21220/it-filesystem/hadoop-ozone/integration-test/org.apache.hadoop.fs.ozone.TestOzoneFileSystem.txt
> With improved assertion message the problem turns out to be due to {{.Trash}} 
> directory being present:
> {code}
> AssertionFailedError: Found 
> [FileStatus{path=o3fs://bucket40939.volume15180/.Trash; isDirectory=true; 
> modification_time=1680592792546; access_time=1680592792546; owner=runner; 
> group=runner; permission=rwxrwxrwx; isSymlink=false; hasAcl=false; 
> isEncrypted=false; isErasureCoded=false}, 
> FileStatus{path=o3fs://bucket40939.volume15180/object-dir; isDirectory=true; 
> modification_time=1680592792548; access_time=1680592792548; owner=runner; 
> group=runner; permission=rwxrwxrwx; isSymlink=false; hasAcl=false; 
> isEncrypted=false; isErasureCoded=false}] with layout:LEGACY, fsPaths:false 
> ==> expected: <1> but was: <2>
> {code}
> Failed in 3/100 
> [runs|https://github.com/adoroszlai/hadoop-ozone/actions/runs/4604784005] 
> (only with LEGACY bucket layout).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to