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

TestFSNamesystem.testFSLockGetWaiterCount fails intermittently in jenkins

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.7.4, 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      This test was added as part of HDFS-8883, There is a race condition in the test and it has failed once in the Apache Jenkins run.

      Here is the stack

      FAILED: org.apache.hadoop.hdfs.server.namenode.TestFSNamesystem.testFSLockGetWaiterCount

      Error Message:
      Expected number of blocked thread not found expected:<3> but was:<1>

      Stack Trace:
      java.lang.AssertionError: Expected number of blocked thread not found expected:<3> 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.namenode.TestFSNamesystem.testFSLockGetWaiterCount(TestFSNamesystem.java:261)

      From cursory code reading , even though we call into readlock.lock() there is no guarantee that our thread is put in the wait queue. A proposed fix could be to check for any thread in the lock queue instead of all 3, or disable the test.

      It could also indicate an issue with the test infra-structure but any test open to variations in result due to infra-structure issues creates noise in tests so we are better off fixing it.

      1. HDFS-8915.001.patch
        2 kB
        Masatake Iwasaki
      2. HDFS-8915.002.patch
        2 kB
        Masatake Iwasaki

        Issue Links

          Activity

          Hide
          xiaochen Xiao Chen added a comment -

          Thanks for the fix. Linking HDFS-8883 here to make it more explicit.

          Show
          xiaochen Xiao Chen added a comment - Thanks for the fix. Linking HDFS-8883 here to make it more explicit.
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10354 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10354/)
          HDFS-8915. TestFSNamesystem.testFSLockGetWaiterCount fails (kihwal: rev 13fb1b50e608558b2970184908ee5b9fcd7eb7b6)

          • (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFSNamesystem.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10354 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10354/ ) HDFS-8915 . TestFSNamesystem.testFSLockGetWaiterCount fails (kihwal: rev 13fb1b50e608558b2970184908ee5b9fcd7eb7b6) (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFSNamesystem.java
          Hide
          kihwal Kihwal Lee added a comment -

          Committed to trunk, branch-2, branch-2.8 and branch-2.7. Thanks for the patch Masatake Iwasaki.

          Show
          kihwal Kihwal Lee added a comment - Committed to trunk, branch-2, branch-2.8 and branch-2.7. Thanks for the patch Masatake Iwasaki .
          Hide
          hadoopqa Hadoop QA added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 0s Docker mode activated.
          -1 patch 0m 7s HDFS-8915 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.



          Subsystem Report/Notes
          JIRA Issue HDFS-8915
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12766477/HDFS-8915.002.patch
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/16549/console
          Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 0s Docker mode activated. -1 patch 0m 7s HDFS-8915 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. Subsystem Report/Notes JIRA Issue HDFS-8915 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12766477/HDFS-8915.002.patch Console output https://builds.apache.org/job/PreCommit-HDFS-Build/16549/console Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
          Hide
          kihwal Kihwal Lee added a comment -

          testFSLockGetWaiterCount is very flaky in branch-2.7 for me and this patch seems to fix it.
          GenericTestUtils.waitFor() is certainly preferred over simple sleep.
          +1

          Show
          kihwal Kihwal Lee added a comment - testFSLockGetWaiterCount is very flaky in branch-2.7 for me and this patch seems to fix it. GenericTestUtils.waitFor() is certainly preferred over simple sleep. +1
          Hide
          hadoopqa Hadoop QA added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 11s Docker mode activated.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 test4tests 0m 0s The patch appears to include 1 new or modified test files.
          +1 mvninstall 6m 54s trunk passed
          +1 compile 0m 38s trunk passed with JDK v1.8.0_74
          +1 compile 0m 43s trunk passed with JDK v1.7.0_95
          +1 checkstyle 0m 21s trunk passed
          +1 mvnsite 0m 53s trunk passed
          +1 mvneclipse 0m 14s trunk passed
          +1 findbugs 1m 57s trunk passed
          +1 javadoc 1m 5s trunk passed with JDK v1.8.0_74
          +1 javadoc 1m 48s trunk passed with JDK v1.7.0_95
          +1 mvninstall 0m 46s the patch passed
          +1 compile 0m 40s the patch passed with JDK v1.8.0_74
          +1 javac 0m 40s the patch passed
          +1 compile 0m 39s the patch passed with JDK v1.7.0_95
          +1 javac 0m 39s the patch passed
          +1 checkstyle 0m 18s the patch passed
          +1 mvnsite 0m 49s the patch passed
          +1 mvneclipse 0m 12s the patch passed
          +1 whitespace 0m 0s Patch has no whitespace issues.
          +1 findbugs 2m 10s the patch passed
          +1 javadoc 1m 3s the patch passed with JDK v1.8.0_74
          +1 javadoc 1m 40s the patch passed with JDK v1.7.0_95
          -1 unit 57m 9s hadoop-hdfs in the patch failed with JDK v1.8.0_74.
          -1 unit 54m 24s hadoop-hdfs in the patch failed with JDK v1.7.0_95.
          +1 asflicense 0m 21s Patch does not generate ASF License warnings.
          136m 56s



          Reason Tests
          JDK v1.8.0_74 Failed junit tests hadoop.hdfs.server.namenode.TestEditLog
            hadoop.hdfs.server.datanode.fsdataset.impl.TestFsDatasetImpl
          JDK v1.7.0_95 Failed junit tests hadoop.hdfs.TestEncryptionZones
            hadoop.hdfs.TestHFlush
            hadoop.hdfs.server.datanode.fsdataset.impl.TestFsDatasetImpl



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:fbe3e86
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12766477/HDFS-8915.002.patch
          JIRA Issue HDFS-8915
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
          uname Linux fb0640b495fb 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
          git revision trunk / 938222b
          Default Java 1.7.0_95
          Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_74 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95
          findbugs v3.0.0
          unit https://builds.apache.org/job/PreCommit-HDFS-Build/14915/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_74.txt
          unit https://builds.apache.org/job/PreCommit-HDFS-Build/14915/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_95.txt
          unit test logs https://builds.apache.org/job/PreCommit-HDFS-Build/14915/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_74.txt https://builds.apache.org/job/PreCommit-HDFS-Build/14915/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_95.txt
          JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/14915/testReport/
          modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/14915/console
          Powered by Apache Yetus 0.2.0 http://yetus.apache.org

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 11s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. +1 test4tests 0m 0s The patch appears to include 1 new or modified test files. +1 mvninstall 6m 54s trunk passed +1 compile 0m 38s trunk passed with JDK v1.8.0_74 +1 compile 0m 43s trunk passed with JDK v1.7.0_95 +1 checkstyle 0m 21s trunk passed +1 mvnsite 0m 53s trunk passed +1 mvneclipse 0m 14s trunk passed +1 findbugs 1m 57s trunk passed +1 javadoc 1m 5s trunk passed with JDK v1.8.0_74 +1 javadoc 1m 48s trunk passed with JDK v1.7.0_95 +1 mvninstall 0m 46s the patch passed +1 compile 0m 40s the patch passed with JDK v1.8.0_74 +1 javac 0m 40s the patch passed +1 compile 0m 39s the patch passed with JDK v1.7.0_95 +1 javac 0m 39s the patch passed +1 checkstyle 0m 18s the patch passed +1 mvnsite 0m 49s the patch passed +1 mvneclipse 0m 12s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 findbugs 2m 10s the patch passed +1 javadoc 1m 3s the patch passed with JDK v1.8.0_74 +1 javadoc 1m 40s the patch passed with JDK v1.7.0_95 -1 unit 57m 9s hadoop-hdfs in the patch failed with JDK v1.8.0_74. -1 unit 54m 24s hadoop-hdfs in the patch failed with JDK v1.7.0_95. +1 asflicense 0m 21s Patch does not generate ASF License warnings. 136m 56s Reason Tests JDK v1.8.0_74 Failed junit tests hadoop.hdfs.server.namenode.TestEditLog   hadoop.hdfs.server.datanode.fsdataset.impl.TestFsDatasetImpl JDK v1.7.0_95 Failed junit tests hadoop.hdfs.TestEncryptionZones   hadoop.hdfs.TestHFlush   hadoop.hdfs.server.datanode.fsdataset.impl.TestFsDatasetImpl Subsystem Report/Notes Docker Image:yetus/hadoop:fbe3e86 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12766477/HDFS-8915.002.patch JIRA Issue HDFS-8915 Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux fb0640b495fb 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 938222b Default Java 1.7.0_95 Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_74 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_95 findbugs v3.0.0 unit https://builds.apache.org/job/PreCommit-HDFS-Build/14915/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_74.txt unit https://builds.apache.org/job/PreCommit-HDFS-Build/14915/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_95.txt unit test logs https://builds.apache.org/job/PreCommit-HDFS-Build/14915/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_74.txt https://builds.apache.org/job/PreCommit-HDFS-Build/14915/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_95.txt JDK v1.7.0_95 Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/14915/testReport/ modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs Console output https://builds.apache.org/job/PreCommit-HDFS-Build/14915/console Powered by Apache Yetus 0.2.0 http://yetus.apache.org This message was automatically generated.
          Hide
          liuml07 Mingliang Liu added a comment -

          Comparing with little sleep, I'm in favor of a GenericTestUtils.waitFor. Will this patch be committed?

          Show
          liuml07 Mingliang Liu added a comment - Comparing with little sleep, I'm in favor of a GenericTestUtils.waitFor . Will this patch be committed?
          Hide
          vinayrpet Vinayakumar B added a comment -
          Thread.sleep(10); // Lets all threads get BLOCKED

          This line itself was added in HDFS-9139,
          Did anyone observe this test failed after HDFS-9139?

          Show
          vinayrpet Vinayakumar B added a comment - Thread .sleep(10); // Lets all threads get BLOCKED This line itself was added in HDFS-9139 , Did anyone observe this test failed after HDFS-9139 ?
          Hide
          vinayrpet Vinayakumar B added a comment -

          I think, this was fixed as part of HDFS-9139,
          I was hitting this quite often during parallel runs, just introducing little sleep, it didnt occur again.

          Show
          vinayrpet Vinayakumar B added a comment - I think, this was fixed as part of HDFS-9139 , I was hitting this quite often during parallel runs, just introducing little sleep, it didnt occur again.
          Hide
          hadoopqa Hadoop QA added a comment -



          -1 overall



          Vote Subsystem Runtime Comment
          -1 pre-patch 8m 54s Pre-patch trunk has 1 extant Findbugs (version 3.0.0) warnings.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 tests included 0m 0s The patch appears to include 1 new or modified test files.
          +1 javac 8m 42s There were no new javac warning messages.
          +1 release audit 0m 22s The applied patch does not increase the total number of release audit warnings.
          +1 checkstyle 1m 32s There were no new checkstyle issues.
          +1 whitespace 0m 0s The patch has no lines that end in whitespace.
          +1 install 1m 37s mvn install still works.
          +1 eclipse:eclipse 0m 36s The patch built with eclipse:eclipse.
          +1 findbugs 2m 51s The patch does not introduce any new Findbugs (version 3.0.0) warnings.
          +1 native 1m 11s Pre-build of native portion
          -1 hdfs tests 54m 44s Tests failed in hadoop-hdfs.
              80m 32s  



          Reason Tests
          Failed unit tests hadoop.hdfs.server.namenode.ha.TestStandbyCheckpoints
            hadoop.hdfs.server.blockmanagement.TestBlockManager
            hadoop.hdfs.web.TestWebHDFS



          Subsystem Report/Notes
          Patch URL http://issues.apache.org/jira/secure/attachment/12766477/HDFS-8915.002.patch
          Optional Tests javac unit findbugs checkstyle
          git revision trunk / 2a98724
          Pre-patch Findbugs warnings https://builds.apache.org/job/PreCommit-HDFS-Build/12972/artifact/patchprocess/trunkFindbugsWarningshadoop-hdfs.html
          hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/12972/artifact/patchprocess/testrun_hadoop-hdfs.txt
          Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/12972/testReport/
          Java 1.7.0_55
          uname Linux asf901.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/12972/console

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment -1 pre-patch 8m 54s Pre-patch trunk has 1 extant Findbugs (version 3.0.0) warnings. +1 @author 0m 0s The patch does not contain any @author tags. +1 tests included 0m 0s The patch appears to include 1 new or modified test files. +1 javac 8m 42s There were no new javac warning messages. +1 release audit 0m 22s The applied patch does not increase the total number of release audit warnings. +1 checkstyle 1m 32s There were no new checkstyle issues. +1 whitespace 0m 0s The patch has no lines that end in whitespace. +1 install 1m 37s mvn install still works. +1 eclipse:eclipse 0m 36s The patch built with eclipse:eclipse. +1 findbugs 2m 51s The patch does not introduce any new Findbugs (version 3.0.0) warnings. +1 native 1m 11s Pre-build of native portion -1 hdfs tests 54m 44s Tests failed in hadoop-hdfs.     80m 32s   Reason Tests Failed unit tests hadoop.hdfs.server.namenode.ha.TestStandbyCheckpoints   hadoop.hdfs.server.blockmanagement.TestBlockManager   hadoop.hdfs.web.TestWebHDFS Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12766477/HDFS-8915.002.patch Optional Tests javac unit findbugs checkstyle git revision trunk / 2a98724 Pre-patch Findbugs warnings https://builds.apache.org/job/PreCommit-HDFS-Build/12972/artifact/patchprocess/trunkFindbugsWarningshadoop-hdfs.html hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/12972/artifact/patchprocess/testrun_hadoop-hdfs.txt Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/12972/testReport/ Java 1.7.0_55 uname Linux asf901.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Console output https://builds.apache.org/job/PreCommit-HDFS-Build/12972/console This message was automatically generated.
          Hide
          iwasakims Masatake Iwasaki added a comment -

          Thanks for checking.

          HDFS-9139 added fix for the same purpose.

              Thread.sleep(10); // Lets all threads get BLOCKED
          

          Though the difference is just doing retry or not, I attached rebased patch.

          Show
          iwasakims Masatake Iwasaki added a comment - Thanks for checking. HDFS-9139 added fix for the same purpose. Thread .sleep(10); // Lets all threads get BLOCKED Though the difference is just doing retry or not, I attached rebased patch.
          Hide
          stevel@apache.org Steve Loughran added a comment -

          just tried to apply the patch to branch-2 and it failed. resubmitting

          Show
          stevel@apache.org Steve Loughran added a comment - just tried to apply the patch to branch-2 and it failed. resubmitting
          Hide
          iwasakims Masatake Iwasaki added a comment -

          With this change I presume that test passes consistently on your local machine.

          Yeah. mvn test -Dtest='TestFSNamesystem#testFSLockGetWaiterCount' failed within 5 tries without the fix. TestNNHandlesCombinedBlockReport and TestWebHDFSOAuth2 succeeded on my local environment.

          Show
          iwasakims Masatake Iwasaki added a comment - With this change I presume that test passes consistently on your local machine. Yeah. mvn test -Dtest='TestFSNamesystem#testFSLockGetWaiterCount' failed within 5 tries without the fix. TestNNHandlesCombinedBlockReport and TestWebHDFSOAuth2 succeeded on my local environment.
          Hide
          anu Anu Engineer added a comment -

          +1 (Non-Binding)
          Masatake Iwasaki Thanks for fixing this. With this change I presume that test passes consistently on your local machine. We have not seen this fail in Apache machines yet, but it is a good to have fix. Test failures does not seem to be related to this patch.

          Show
          anu Anu Engineer added a comment - +1 (Non-Binding) Masatake Iwasaki Thanks for fixing this. With this change I presume that test passes consistently on your local machine. We have not seen this fail in Apache machines yet, but it is a good to have fix. Test failures does not seem to be related to this patch.
          Hide
          hadoopqa Hadoop QA added a comment -



          -1 overall



          Vote Subsystem Runtime Comment
          0 pre-patch 11m 12s Pre-patch trunk compilation is healthy.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 tests included 0m 0s The patch appears to include 1 new or modified test files.
          +1 javac 7m 57s There were no new javac warning messages.
          +1 release audit 0m 19s The applied patch does not increase the total number of release audit warnings.
          +1 checkstyle 1m 26s There were no new checkstyle issues.
          +1 whitespace 0m 0s The patch has no lines that end in whitespace.
          +1 install 1m 25s mvn install still works.
          +1 eclipse:eclipse 0m 31s The patch built with eclipse:eclipse.
          +1 findbugs 2m 25s The patch does not introduce any new Findbugs (version 3.0.0) warnings.
          +1 native 1m 15s Pre-build of native portion
          -1 hdfs tests 162m 39s Tests failed in hadoop-hdfs.
              189m 13s  



          Reason Tests
          Failed unit tests hadoop.hdfs.server.datanode.TestNNHandlesCombinedBlockReport
            hadoop.hdfs.web.TestWebHDFSOAuth2



          Subsystem Report/Notes
          Patch URL http://issues.apache.org/jira/secure/attachment/12756203/HDFS-8915.001.patch
          Optional Tests javac unit findbugs checkstyle
          git revision trunk / bf2f2b4
          hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/12474/artifact/patchprocess/testrun_hadoop-hdfs.txt
          Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/12474/testReport/
          Java 1.7.0_55
          uname Linux asf906.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/12474/console

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 11m 12s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. +1 tests included 0m 0s The patch appears to include 1 new or modified test files. +1 javac 7m 57s There were no new javac warning messages. +1 release audit 0m 19s The applied patch does not increase the total number of release audit warnings. +1 checkstyle 1m 26s There were no new checkstyle issues. +1 whitespace 0m 0s The patch has no lines that end in whitespace. +1 install 1m 25s mvn install still works. +1 eclipse:eclipse 0m 31s The patch built with eclipse:eclipse. +1 findbugs 2m 25s The patch does not introduce any new Findbugs (version 3.0.0) warnings. +1 native 1m 15s Pre-build of native portion -1 hdfs tests 162m 39s Tests failed in hadoop-hdfs.     189m 13s   Reason Tests Failed unit tests hadoop.hdfs.server.datanode.TestNNHandlesCombinedBlockReport   hadoop.hdfs.web.TestWebHDFSOAuth2 Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12756203/HDFS-8915.001.patch Optional Tests javac unit findbugs checkstyle git revision trunk / bf2f2b4 hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/12474/artifact/patchprocess/testrun_hadoop-hdfs.txt Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/12474/testReport/ Java 1.7.0_55 uname Linux asf906.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Console output https://builds.apache.org/job/PreCommit-HDFS-Build/12474/console This message was automatically generated.
          Hide
          iwasakims Masatake Iwasaki added a comment -

          I added retry for checking.

          Show
          iwasakims Masatake Iwasaki added a comment - I added retry for checking.
          Hide
          iwasakims Masatake Iwasaki added a comment -

          I can reproduce this in my local environment. There is a chance that assertion is checked before all testing threads hold lock.

          Show
          iwasakims Masatake Iwasaki added a comment - I can reproduce this in my local environment. There is a chance that assertion is checked before all testing threads hold lock.
          Hide
          anu Anu Engineer added a comment -

          This was a tracking bug to see if this failure happens in the apache tree. Since the only failure was reported when we had a VM outage, resolving this issue as won't fix. This test has been running without any issues for a week.

          Show
          anu Anu Engineer added a comment - This was a tracking bug to see if this failure happens in the apache tree. Since the only failure was reported when we had a VM outage, resolving this issue as won't fix. This test has been running without any issues for a week.

            People

            • Assignee:
              iwasakims Masatake Iwasaki
              Reporter:
              anu Anu Engineer
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development