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

TestDNFencing.testQueueingWithAppend failed often in latest test

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.6.0
    • ha
    • None
    • Reviewed

    Description

      Using tool from HADOOP-11045, got the following report:

      [yzhang@localhost jenkinsftf]$ ./determine-flaky-tests-hadoop.py -j PreCommit-HDFS-Build -n 1 
      
      ****Recently FAILED builds in url: https://builds.apache.org//job/PreCommit-HDFS-Build
          THERE ARE 9 builds (out of 9) that have failed tests in the past 1 days, as listed below:
      ......
      Among 9 runs examined, all failed tests <#failedRuns: testName>:
          7: org.apache.hadoop.hdfs.server.namenode.ha.TestDNFencing.testQueueingWithAppend
          6: org.apache.hadoop.hdfs.server.namenode.ha.TestDNFencingWithReplication.testFencingStress
          3: org.apache.hadoop.hdfs.server.namenode.snapshot.TestOpenFilesWithSnapshot.testOpenFilesWithMultipleSnapshots
          1: org.apache.hadoop.hdfs.server.namenode.TestEditLog.testFailedOpen
          1: org.apache.hadoop.hdfs.server.namenode.TestEditLog.testSyncBatching
      ......
      

      TestDNFencingWithReplication.testFencingStress was reported as HDFS-7221.

      Creating this jira for TestDNFencing.testQueueingWithAppend.

      Symptom:

      Failed
      
      org.apache.hadoop.hdfs.server.namenode.ha.TestDNFencing.testQueueingWithAppend
      
      Failing for the past 1 build (Since Failed#8390 )
      Took 2.9 sec.
      Error Message
      
      expected:<18> but was:<12>
      Stacktrace
      
      java.lang.AssertionError: expected:<18> but was:<12>
      	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.junit.Assert.assertEquals(Assert.java:542)
      	at org.apache.hadoop.hdfs.server.namenode.ha.TestDNFencing.testQueueingWithAppend(TestDNFencing.java:448)
      

      Attachments

        1. HDFS-7226.001.patch
          2 kB
          Yongjun Zhang
        2. HDFS-7226.002.patch
          4 kB
          Yongjun Zhang
        3. HDFS-7226.003.patch
          4 kB
          Yongjun Zhang

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            yzhangal Yongjun Zhang Assign to me
            yzhangal Yongjun Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment