Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11984

TestClassFinder failing on occasion

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.99.0, 0.98.7
    • Component/s: None
    • Labels:
      None

      Description

      Failed like this:

      Tests run: 11, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 1.913 sec <<< FAILURE! - in org.apache.hadoop.hbase.TestClassFinder
      testClassFinderFiltersByClassInDirs(org.apache.hadoop.hbase.TestClassFinder)  Time elapsed: 0.028 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<-1> but was:<0>
      	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.hbase.TestClassFinder.testClassFinderFiltersByClassInDirs(TestClassFinder.java:259)
      
      testClassFinderCanFindClassesInDirs(org.apache.hadoop.hbase.TestClassFinder)  Time elapsed: 0.017 sec  <<< FAILURE!
      java.lang.AssertionError: null
      	at org.junit.Assert.fail(Assert.java:86)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.junit.Assert.assertTrue(Assert.java:52)
      	at org.apache.hadoop.hbase.TestClassFinder.testClassFinderCanFindClassesInDirs(TestClassFinder.java:223)
      
      testClassFinderFiltersByNameInDirs(org.apache.hadoop.hbase.TestClassFinder)  Time elapsed: 0.018 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<-1> but was:<0>
      	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.hbase.TestClassFinder.testClassFinderFiltersByNameInDirs(TestClassFinder.java:242)
      

      ... in precommit https://builds.apache.org/job/PreCommit-HBASE-Build/10912/console

        Attachments

        1. 0001-More-debug.patch
          3 kB
          Michael Stack
        2. 11984v2.txt
          11 kB
          Michael Stack
        3. 11984.branch-1.txt
          10 kB
          Michael Stack

          Activity

            People

            • Assignee:
              stack Michael Stack
              Reporter:
              stack Michael Stack
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: