Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5076 Follow-on work for FileSystemOptimizations(FSO)
  3. HDDS-5012

[FSO] Fix intermittent TestOzoneFileSystemV1#testListStatusOnLargeDirectory failure

    XMLWordPrintableJSON

Details

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

    Description

      TestOzoneFileSystemV1.testListStatusOnLargeDirectory is failing intermittently.

      Failures: 
      Error:    TestOzoneFileSystemV1>TestOzoneFileSystem.testListStatusOnLargeDirectory:643 Total directories listed do not match the existing directories expected:<1536> but was:<1023>
      

      Reference build: https://github.com/apache/ozone/pull/2008/checks?check_run_id=2154211711

      Error:  Tests run: 140, Failures: 1, Errors: 0, Skipped: 4, Time elapsed: 527.683 s <<< FAILURE! - in org.apache.hadoop.fs.ozone.TestOzoneFileSystemV1
      Error:  testListStatusOnLargeDirectory[1]  Time elapsed: 2.18 s  <<< FAILURE!
      java.lang.AssertionError: Total directories listed do not match the existing directories expected:<1536> but was:<1023>
      	at org.junit.Assert.fail(Assert.java:89)
      	at org.junit.Assert.failNotEquals(Assert.java:835)
      	at org.junit.Assert.assertEquals(Assert.java:647)
      	at org.apache.hadoop.fs.ozone.TestOzoneFileSystem.testListStatusOnLargeDirectory(TestOzoneFileSystem.java:643)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
      	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.lang.Thread.run(Thread.java:748)
      

      Attachments

        Issue Links

          Activity

            People

              rakeshr Rakesh Radhakrishnan
              rakeshr Rakesh Radhakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: