Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7525

TestDatanodeManager.testNumVersionsReportedCorrect fails occassionally in trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • namenode, test
    • None

    Description

      https://builds.apache.org/job/Hadoop-Hdfs-trunk/1974/testReport/

      Error Message

      The map of version counts returned by DatanodeManager was not what it was expected to be on iteration 484 expected:<0> but was:<1>
      Stacktrace

      java.lang.AssertionError: The map of version counts returned by DatanodeManager was not what it was expected to be on iteration 484 expected:<0> but was:<1>
      at org.junit.Assert.fail(Assert.java:88)
      at org.junit.Assert.failNotEquals(Assert.java:743)
      at org.junit.Assert.assertEquals(Assert.java:118)
      at org.junit.Assert.assertEquals(Assert.java:555)
      at org.apache.hadoop.hdfs.server.blockmanagement.TestDatanodeManager.testNumVersionsReportedCorrect(TestDatanodeManager.java:150)

      Found by tool proposed in HADOOP-11045:

      [yzhang@localhost jenkinsftf]$ ./determine-flaky-tests-hadoop.py -j Hadoop-Hdfs-trunk -n 5 | tee bt.log
      ****Recently FAILED builds in url: https://builds.apache.org//job/Hadoop-Hdfs-trunk
      THERE ARE 4 builds (out of 6) that have failed tests in the past 5 days, as listed below:

      ===>https://builds.apache.org/job/Hadoop-Hdfs-trunk/1974/testReport (2014-12-15 03:30:01)
      Failed test: org.apache.hadoop.hdfs.TestDecommission.testIncludeByRegistrationName
      Failed test: org.apache.hadoop.hdfs.server.blockmanagement.TestDatanodeManager.testNumVersionsReportedCorrect
      Failed test: org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA.testUpdatePipeline
      ===>https://builds.apache.org/job/Hadoop-Hdfs-trunk/1972/testReport (2014-12-13 10:32:27)
      Failed test: org.apache.hadoop.hdfs.TestDecommission.testIncludeByRegistrationName
      ===>https://builds.apache.org/job/Hadoop-Hdfs-trunk/1971/testReport (2014-12-13 03:30:01)
      Failed test: org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA.testUpdatePipeline
      ===>https://builds.apache.org/job/Hadoop-Hdfs-trunk/1969/testReport (2014-12-11 03:30:01)
      Failed test: org.apache.hadoop.hdfs.server.blockmanagement.TestDatanodeManager.testNumVersionsReportedCorrect
      Failed test: org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA.testUpdatePipeline
      Failed test: org.apache.hadoop.hdfs.server.namenode.ha.TestPipelinesFailover.testFailoverRightBeforeCommitSynchronization

      Among 6 runs examined, all failed tests <#failedRuns: testName>:
      3: org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA.testUpdatePipeline
      2: org.apache.hadoop.hdfs.TestDecommission.testIncludeByRegistrationName
      2: org.apache.hadoop.hdfs.server.blockmanagement.TestDatanodeManager.testNumVersionsReportedCorrect
      1: org.apache.hadoop.hdfs.server.namenode.ha.TestPipelinesFailover.testFailoverRightBeforeCommitSynchronization

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yzhangal Yongjun Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: