Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11189

TestDNFencing.testQueueingWithAppend failed often in latest test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • ha
    • None

    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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: