Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5626 Track and Address Flaky tests
  3. HDDS-8370

Intermittent failure in TestOzoneFileSystem#testListStatusWithIntermediateDir

    XMLWordPrintableJSON

Details

    Description

      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)
      

      With improved assertion message the problem turns out to be due to .Trash directory being present:

      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>
      

      Failed in 3/100 runs (only with LEGACY bucket layout).

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: