Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-1082

InMemoryMapTest fails on some platforms

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • tserver
    • None

    Description

      I get a sporadic test failure with InMemoryMapTest with a quad core macbook pro, running TRUNK as of just after the 1.5 branching. Not sure if this is more of a test of Accumulo or of the platform.

      Running org.apache.accumulo.server.tabletserver.InMemoryMapTest
      13/02/21 15:05:23 INFO tabletserver.InMemoryMapTest: 514000.0 mutations per second with 1 threads
      13/02/21 15:05:24 INFO tabletserver.InMemoryMapTest: 379000.0 mutations per second with 2 threads
      13/02/21 15:05:25 INFO tabletserver.InMemoryMapTest: 396299.9 mutations per second with 16 threads
      13/02/21 15:05:26 INFO tabletserver.InMemoryMapTest: 292196.0 mutations per second with 64 threads
      13/02/21 15:05:27 INFO tabletserver.InMemoryMapTest: 208366.9 mutations per second with 256 threads
      13/02/21 15:05:27 WARN conf.SiteConfiguration: accumulo-site.xml not found on classpath
      13/02/21 15:05:27 INFO compress.CodecPool: Got brand-new decompressor
      13/02/21 15:05:27 INFO compress.CodecPool: Got brand-new decompressor
      Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.433 sec <<< FAILURE!
      
      -------------------------------------------------------------------------------
      Test set: org.apache.accumulo.server.tabletserver.InMemoryMapTest
      -------------------------------------------------------------------------------
      Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.433 sec <<< FAILURE!
      testParallelWriteSpeed(org.apache.accumulo.server.tabletserver.InMemoryMapTest)  Time elapsed: 5.38 sec  <<< FAILURE!
      junit.framework.AssertionFailedError
        at junit.framework.Assert.fail(Assert.java:55)
        at junit.framework.Assert.assertTrue(Assert.java:22)
        at junit.framework.Assert.assertTrue(Assert.java:31)
        at junit.framework.TestCase.assertTrue(TestCase.java:201)
        at org.apache.accumulo.server.tabletserver.InMemoryMapTest.testParallelWriteSpeed(InMemoryMapTest.java:344)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at junit.framework.TestCase.runTest(TestCase.java:176)
        at junit.framework.TestCase.runBare(TestCase.java:141)
        at junit.framework.TestResult$1.protect(TestResult.java:122)
        at junit.framework.TestResult.runProtected(TestResult.java:142)
        at junit.framework.TestResult.run(TestResult.java:125)
        at junit.framework.TestCase.run(TestCase.java:129)
        at junit.framework.TestSuite.runTest(TestSuite.java:255)
        at junit.framework.TestSuite.run(TestSuite.java:250)
        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            afuchs Adam Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: