Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-6537

SharedSessionParallelTest timeout occasionally

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.59.0.Final
    • 7.58.0.Final
    • core engine
    • None
    • 2021 Week 31-33 (from Aug 2)
    • 1
    • Undefined
    • NEW
    • NEW

      In Jenkins FDB, I occasionally see that SharedSessionParallelTest fails with timeout (both non-exec-model and exec-model). According to the stack traces, it seemed to be just slow.

      org.drools.mvel.integrationtests.concurrency.SharedSessionParallelTest.testNoExceptions[Enforced jitting=false, KieBase type=CLOUD_IDENTITY_MODEL_PATTERN]
      
      org.junit.runners.model.TestTimedOutException: test timed out after 60000 milliseconds
      	at sun.misc.Unsafe.park(Native Method)
      	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
      	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
      	at java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1475)
      	at org.drools.mvel.integrationtests.concurrency.AbstractConcurrentTest.shutdownExecutorService(AbstractConcurrentTest.java:143)
      	at org.drools.mvel.integrationtests.concurrency.AbstractConcurrentTest.parallelTest(AbstractConcurrentTest.java:79)
      	at org.drools.mvel.integrationtests.concurrency.SharedSessionParallelTest.testNoExceptions(SharedSessionParallelTest.java:77)
      
         org.drools.mvel.integrationtests.concurrency.SharedSessionParallelTest.testNoExceptions[Enforced jitting=false, KieBase type=CLOUD_IDENTITY]
      
      org.junit.runners.model.TestTimedOutException: test timed out after 60000 milliseconds
      at sun.misc.Unsafe.park(Native Method)
      at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
      at java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1475)
      at org.drools.mvel.integrationtests.concurrency.AbstractConcurrentTest.shutdownExecutorService(AbstractConcurrentTest.java:143)
      at org.drools.mvel.integrationtests.concurrency.AbstractConcurrentTest.parallelTest(AbstractConcurrentTest.java:79)
      at org.drools.mvel.integrationtests.concurrency.SharedSessionParallelTest.testNoExceptions(SharedSessionParallelTest.java:77)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      
          org.drools.mvel.integrationtests.concurrency.SharedSessionParallelTest.testNoExceptions[Enforced jitting=false, KieBase type=CLOUD_IDENTITY_MODEL_PATTERN]
      
      org.junit.runners.model.TestTimedOutException: test timed out after 60000 milliseconds
      at java.security.AccessController.getStackAccessControlContext(Native Method)
      at java.security.AccessController.getContext(AccessController.java:822)
      at java.lang.Thread.init(Thread.java:415)
      at java.lang.Thread.init(Thread.java:349)
      at java.lang.Thread.<init>(Thread.java:464)
      at org.drools.mvel.integrationtests.concurrency.AbstractConcurrentTest.lambda$createExecutorService$2(AbstractConcurrentTest.java:135)
      at org.drools.mvel.integrationtests.concurrency.AbstractConcurrentTest$$Lambda$1754/2018097911.newThread(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.<init>(ThreadPoolExecutor.java:619)
      at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:932)
      at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1367)
      at java.util.concurrent.ExecutorCompletionService.submit(ExecutorCompletionService.java:181)
      at org.drools.mvel.integrationtests.concurrency.AbstractConcurrentTest.executeAndAssertTasks(AbstractConcurrentTest.java:116)
      at org.drools.mvel.integrationtests.concurrency.AbstractConcurrentTest.parallelTest(AbstractConcurrentTest.java:77)
      at org.drools.mvel.integrationtests.concurrency.SharedSessionParallelTest.testNoExceptions(SharedSessionParallelTest.java:77)
      

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: