Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-1127 Fix failing and intermittent Ozone unit tests
  3. HDDS-2961

Intermittent failure in TestSCMContainerPlacementPolicyMetrics

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • test
    • None
    • HDDS BadLands

    Description

      TestSCMContainerPlacementPolicyMetrics fails intermittently, probably due to usage of Thread.sleep.

      2020-01-30T14:46:16.2217714Z [INFO] Running org.apache.hadoop.ozone.scm.TestSCMContainerPlacementPolicyMetrics
      2020-01-30T14:47:46.5509550Z [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 90.285 s <<< FAILURE! - in org.apache.hadoop.ozone.scm.TestSCMContainerPlacementPolicyMetrics
      2020-01-30T14:47:46.5532268Z [ERROR] test(org.apache.hadoop.ozone.scm.TestSCMContainerPlacementPolicyMetrics)  Time elapsed: 90.147 s  <<< ERROR!
      2020-01-30T14:47:46.5584246Z java.lang.Exception: test timed out after 60000 milliseconds
      2020-01-30T14:47:46.5588764Z 	at java.lang.Thread.sleep(Native Method)
      2020-01-30T14:47:46.5605748Z 	at org.apache.hadoop.ozone.scm.TestSCMContainerPlacementPolicyMetrics.test(TestSCMContainerPlacementPolicyMetrics.java:135)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            adoroszlai Attila Doroszlai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: