Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2535

AsyncStoreTest fails every time (with TRACE logs enabled)

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Duplicate
    • 5.2.0.Beta4
    • None
    • None

    Description

      I have TRACE enabled for org.infinispan (except for org.infinispan.marshall) and AsyncStoreTest fails for me every time with this stack trace:

      11:56:27,576 ERROR (testng-AsyncStoreTest:) [UnitTestTestNGListener] Test testRestrictionOnAddingToAsyncQueue(org.infinispan.loaders.decorators.AsyncStoreTest) failed.
      org.testng.internal.thread.ThreadTimeoutException: Method org.testng.internal.TestNGMethod.testRestrictionOnAddingToAsyncQueue() didn't finish within the time-out 10000
      	at java.lang.Throwable.getStackTraceElement(Native Method)
      	at java.lang.Throwable.getOurStackTrace(Throwable.java:826)
      	at java.lang.Throwable.printStackTrace(Throwable.java:655)
      	at java.lang.Throwable.printStackTrace(Throwable.java:720)
      	at org.apache.log4j.DefaultThrowableRenderer.render(DefaultThrowableRenderer.java:60)
      	at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:87)
      	at org.apache.log4j.pattern.ThrowableInformationPatternConverter.format(ThrowableInformationPatternConverter.java:84)
      	at org.apache.log4j.pattern.BridgePatternConverter.format(BridgePatternConverter.java:119)
      	at org.apache.log4j.EnhancedPatternLayout.format(EnhancedPatternLayout.java:546)
      	at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:310)
      	at org.apache.log4j.WriterAppender.append(WriterAppender.java:162)
      	at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
      	at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
      	at org.apache.log4j.Category.callAppenders(Category.java:206)
      	at org.apache.log4j.Category.forcedLog(Category.java:391)
      	at org.apache.log4j.Category.log(Category.java:856)
      	at org.jboss.logging.Log4jLogger.doLogf(Log4jLogger.java:53)
      	at org.jboss.logging.Logger.logf(Logger.java:2143)
      	at org.infinispan.util.logging.Log_$logger.interruptedWaitingAsyncStorePush(Log_$logger.java:246)
      	at org.infinispan.loaders.decorators.AsyncStore.stop(AsyncStore.java:326)
      	at org.infinispan.loaders.decorators.AsyncStoreTest.testRestrictionOnAddingToAsyncQueue(AsyncStoreTest.java:136)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:601)
      	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
      	at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:46)
      	at org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      	at java.lang.Thread.run(Thread.java:722)
      

      Attachments

        Issue Links

          Activity

            People

              gzamarre Galder ZamarreƱo
              dberinde@redhat.com Dan Berindei
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: