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

Intermittent failure in FS contract tests

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • test

    Description

      Intermittent test failures due to unexpectedly found files.

      java.lang.AssertionError: Deleted file: unexpectedly found /testmkdirdepth1 as  FileStatus{path=o3fs://bucket55106.volume05976/testmkdirdepth1; isDirectory=true; modification_time=1672746966478; access_time=1672746966478; owner=runner; group=runner; permission=rwxrwxrwx; isSymlink=false; hasAcl=false; isEncrypted=false; isErasureCoded=false}
      	at org.junit.Assert.fail(Assert.java:89)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.assertPathDoesNotExist(ContractTestUtils.java:1004)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.assertDeleted(ContractTestUtils.java:733)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.assertDeleted(ContractTestUtils.java:706)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.assertDeleted(ContractTestUtils.java:688)
      	at org.apache.hadoop.fs.contract.AbstractFSContractTestBase.assertDeleted(AbstractFSContractTestBase.java:372)
      	at org.apache.hadoop.fs.contract.AbstractContractRootDirectoryTest.testMkDirDepth1(AbstractContractRootDirectoryTest.java:74)
      
      java.lang.AssertionError: Deleted file: unexpectedly found o3fs://bucket07060.volume35574/test as  FileStatus{path=o3fs://bucket07060.volume35574/test; isDirectory=true; modification_time=1675366936086; access_time=1675366936086; owner=runner; group=runner; permission=rwxrwxrwx; isSymlink=false; hasAcl=false; isEncrypted=false; isErasureCoded=false}
      	at org.junit.Assert.fail(Assert.java:89)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.assertPathDoesNotExist(ContractTestUtils.java:1004)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.assertDeleted(ContractTestUtils.java:733)
      	at org.apache.hadoop.fs.contract.AbstractContractRootDirectoryTest.testListEmptyRootDirectory(AbstractContractRootDirectoryTest.java:196)
      
      java.lang.AssertionError: Deleted file: unexpectedly found o3fs://bucket29507.volume05478/test/testDeleteEmptyDirNonRecursive as  FileStatus{path=o3fs://bucket29507.volume05478/test/testDeleteEmptyDirNonRecursive; isDirectory=true; modification_time=1676579169907; access_time=1676579169907; owner=runner; group=runner; permission=rwxrwxrwx; isSymlink=false; hasAcl=false; isEncrypted=false; isErasureCoded=false}
      	at org.junit.Assert.fail(Assert.java:89)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.assertPathDoesNotExist(ContractTestUtils.java:1004)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.assertDeleted(ContractTestUtils.java:733)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.assertDeleted(ContractTestUtils.java:706)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.assertDeleted(ContractTestUtils.java:688)
      	at org.apache.hadoop.fs.contract.AbstractFSContractTestBase.assertDeleted(AbstractFSContractTestBase.java:372)
      	at org.apache.hadoop.fs.contract.AbstractContractDeleteTest.testDeleteEmptyDirNonRecursive(AbstractContractDeleteTest.java:37)
      
      ITestOzoneContractDelete.testDeleteNonEmptyDirRecursive  Time elapsed: 0.184 s  <<< FAILURE!
      java.lang.AssertionError: Deleted file: unexpectedly found o3fs://bucket17885.volume94145/test/testDeleteNonEmptyDirRecursive as  FileStatus{path=o3fs://bucket17885.volume94145/test/testDeleteNonEmptyDirRecursive; isDirectory=true; modification_time=1676597571285; access_time=1676597571285; owner=runner; group=runner; permission=rwxrwxrwx; isSymlink=false; hasAcl=false; isEncrypted=false; isErasureCoded=false}
      	at org.junit.Assert.fail(Assert.java:89)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.assertPathDoesNotExist(ContractTestUtils.java:1004)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.assertDeleted(ContractTestUtils.java:733)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.assertDeleted(ContractTestUtils.java:706)
      	at org.apache.hadoop.fs.contract.ContractTestUtils.assertDeleted(ContractTestUtils.java:688)
      	at org.apache.hadoop.fs.contract.AbstractFSContractTestBase.assertDeleted(AbstractFSContractTestBase.java:372)
      	at org.apache.hadoop.fs.contract.AbstractContractDeleteTest.testDeleteNonEmptyDirRecursive(AbstractContractDeleteTest.java:93)
      

      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: