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

Intermittent failure in TestContainerPersistence

    XMLWordPrintableJSON

Details

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

    Description

      Failed in the first run, passed in a retrigger.

      [INFO] Running org.apache.hadoop.ozone.container.common.impl.TestContainerPersistence
      Error:  Tests run: 84, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.455 s <<< FAILURE! - in org.apache.hadoop.ozone.container.common.impl.TestContainerPersistence
      Error:  TestContainerPersistence.testGetContainerReports  Time elapsed: 0.041 s  <<< ERROR!
      org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException: Container creation failed because ContainerFile already exists
      	at org.apache.hadoop.ozone.container.keyvalue.KeyValueContainer.create(KeyValueContainer.java:191)
      	at org.apache.hadoop.ozone.container.common.impl.TestContainerPersistence.addContainer(TestContainerPersistence.java:200)
      	at org.apache.hadoop.ozone.container.common.impl.TestContainerPersistence.testGetContainerReports(TestContainerPersistence.java:311)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      ...
      
      [INFO] Results:
      [INFO] 
      Error:  Errors: 
      Error:  TestContainerPersistence.testGetContainerReports
      [INFO]   Run 1: PASS
      [INFO]   Run 2: PASS
      [INFO]   Run 3: PASS
      [INFO]   Run 4: PASS
      [INFO]   Run 5: PASS
      Error:    Run 6: Container creation failed because ContainerFile already exists
      

      Attempt 2 passed: https://github.com/apache/ozone/actions/runs/3387545771/jobs/5630259340

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              smeng Siyao Meng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: