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

Intermittent failure in TestContainerBalancerOperations

    XMLWordPrintableJSON

Details

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

    Description

      Recently added integration test for container balancer is flaky.
      Failed here: https://github.com/apache/ozone/actions/runs/8706709357/job/23881112556#step:6:2358

      [INFO] Running org.apache.hadoop.ozone.TestContainerBalancerOperations
      Error:  Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 23.141 s <<< FAILURE! - in org.apache.hadoop.ozone.TestContainerBalancerOperations
      Error:  org.apache.hadoop.ozone.TestContainerBalancerOperations.testIfCBCLIOverridesConfigs  Time elapsed: 0.118 s  <<< FAILURE!
      org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
      	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
      	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
      	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
      	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
      	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
      	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
      	at org.apache.hadoop.ozone.TestContainerBalancerOperations.testIfCBCLIOverridesConfigs(TestContainerBalancerOperations.java:165)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at java.util.ArrayList.forEach(ArrayList.java:1259) 

      Passed here for same commit: https://github.com/apache/ozone/actions/runs/8706709357/job/23914008233#step:6:2356

      [INFO] Running org.apache.hadoop.ozone.TestContainerBalancerOperations
      2356[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.879 s - in org.apache.hadoop.ozone.TestContainerBalancerOperations 

      The other test `testContainerBalancerCLIOperations`  in the class is also marked as unhealthy due to similar error.

      Attachments

        Issue Links

          Activity

            People

              sarvekshayr Sarveksha Yeshavantha Raju
              tejaskriya09 Tejaskriya Madhan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: