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

DistributedTask cancellation doesn't work properly in REPL_SYNC mode

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Clustered Executor
    • None

    Description

      Hi,

      I've just updated my fork with latest infinispan version, and the org.infinispan.distexec.ReplSyncDistributedExecutorTest.testTaskCancellation() test fails constantly.

      The log is the following:

      testTaskCancellation
      "java.lang.AssertionError: Dist task not cancelled null at org.infinispan.distexec.DistributedExecutorTest.testTaskCancellation(DistributedExecutorTest.java:217) 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) ... Removed 16 stack frames
      java.lang.AssertionError: Dist task not cancelled null at org.infinispan.distexec.DistributedExecutorTest.testTaskCancellation(DistributedExecutorTest.java:217) 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.Invoker.invokeMethod(Invoker.java:715) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) at org.testng.TestRunner.privateRun(TestRunner.java:767) at org.testng.TestRunner.run(TestRunner.java:617) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.access$000(SuiteRunner.java:37) at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368) at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64) 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) "
      org.infinispan.distexec.DistributedExecutorTest.testTaskCancellation(DistributedExecutorTest.java:217)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      java.lang.reflect.Method.invoke(Method.java:601)
      org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
      org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
      org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
      org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
      org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
      org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
      org.testng.TestRunner.privateRun(TestRunner.java:767)
      org.testng.TestRunner.run(TestRunner.java:617)
      org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
      org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
      org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
      org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
      java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      java.util.concurrent.FutureTask.run(FutureTask.java:166)
      java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      java.lang.Thread.run(Thread.java:722)

      Best regards,
      Anna.

      Attachments

        Activity

          People

            vblagoje Vladimir Blagojevic (Inactive)
            amanukya@redhat.com Anna Manukyan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: