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

Intermittent failure in freon/metadata-generate robot test

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • test

    Description

      output.log
      [List] File Status in FILE_SYSTEM_OPTIMIZED Bucket                    | FAIL |
      255 != 0
      

      caused by:

      2024-01-31 15:34:39,473 [pool-2-thread-10] ERROR freon.BaseFreonGenerator: Error on executing task 0
      java.nio.file.NoSuchFileException: There are not enough files for testing you should use CREATE_FILE to create at least batch-size * threads = 1000
      	at org.apache.hadoop.ozone.freon.OmMetadataGenerator.lambda$applyOperation$20(OmMetadataGenerator.java:407)
      	at com.codahale.metrics.Timer.time(Timer.java:101)
      	at org.apache.hadoop.ozone.freon.OmMetadataGenerator.applyOperation(OmMetadataGenerator.java:402)
      	at org.apache.hadoop.ozone.freon.BaseFreonGenerator.tryNextTask(BaseFreonGenerator.java:220)
      	at org.apache.hadoop.ozone.freon.BaseFreonGenerator.taskLoop(BaseFreonGenerator.java:200)
      	at org.apache.hadoop.ozone.freon.BaseFreonGenerator.lambda$startTaskRunners$0(BaseFreonGenerator.java:174)
      

      List requires 1000 items, but only 100 were created:

      2024-01-31 15:34:26,731 [shutdown-hook-0] INFO metrics: type=TIMER, name=CREATE_FILE, count=100, min=330.789366, max=2404.649653, mean=746.8419283165208, stddev=480.63373009295594, median=623.907792, p75=734.933289, p95=2157.675628, p98=2289.697891, p99=2301.645264, p999=2404.649653, mean_rate=12.187285293433908, m1=10.0, m5=10.0, m15=10.0, rate_unit=events/second, duration_unit=milliseconds
      ...
      Successful executions: 100
      

      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: