Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-5689

IgniteCommunicationBalanceTest hangs on Windows

    XMLWordPrintableJSON

Details

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

    Description

      Test runner is waiting for ComputeTask to finish:

      "test-runner-#40602%communication.IgniteCommunicationBalanceMultipleConnectionsTest%" prio=6 tid=0x00000000766d6000 nid=0x7934 waiting on condition [0x00000000eacfe000]
         java.lang.Thread.State: WAITING (parking)
      	at sun.misc.Unsafe.park(Native Method)
      	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:315)
      	at org.apache.ignite.internal.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:176)
      	at org.apache.ignite.internal.util.future.GridFutureAdapter.get(GridFutureAdapter.java:139)
      	at org.apache.ignite.internal.AsyncSupportAdapter.saveOrGet(AsyncSupportAdapter.java:112)
      	at org.apache.ignite.internal.IgniteComputeImpl.call(IgniteComputeImpl.java:785)
      	at org.apache.ignite.internal.managers.communication.IgniteCommunicationBalanceTest$1.apply(IgniteCommunicationBalanceTest.java:158)
      	at org.apache.ignite.testframework.GridTestUtils.waitForCondition(GridTestUtils.java:1603)
      	at org.apache.ignite.internal.managers.communication.IgniteCommunicationBalanceTest.testBalance1(IgniteCommunicationBalanceTest.java:148)
      	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:606)
      	at junit.framework.TestCase.runTest(TestCase.java:176)
      	at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1997)
      	at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:132)
      	at org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1912)
      	at java.lang.Thread.run(Thread.java:745)
      

      While thread that tried to send job result got stuck in IgniteUtils.reachable(...):

      "pub-#40657%communication.IgniteCommunicationBalanceMultipleConnectionsTest5%" prio=6 tid=0x0000000011b80000 nid=0x3868 runnable [0x00000000eecfe000]
         java.lang.Thread.State: RUNNABLE
      	at java.net.Inet4AddressImpl.isReachable0(Native Method)
      	at java.net.Inet4AddressImpl.isReachable(Inet4AddressImpl.java:70)
      	at java.net.InetAddress.isReachable(InetAddress.java:475)
      	at java.net.InetAddress.isReachable(InetAddress.java:434)
      	at org.apache.ignite.internal.util.IgniteUtils.reachable(IgniteUtils.java:2113)
      	at org.apache.ignite.internal.util.IgniteUtils.filterReachable(IgniteUtils.java:1877)
      	at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.createTcpClient(TcpCommunicationSpi.java:2955)
      	at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.createNioClient(TcpCommunicationSpi.java:2763)
      	at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.reserveClient(TcpCommunicationSpi.java:2655)
      	at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage0(TcpCommunicationSpi.java:2516)
      	at org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.sendMessage(TcpCommunicationSpi.java:2480)
      	at org.apache.ignite.internal.managers.communication.GridIoManager.send(GridIoManager.java:1643)
      	at org.apache.ignite.internal.managers.communication.GridIoManager.sendToGridTopic(GridIoManager.java:1715)
      	at org.apache.ignite.internal.processors.job.GridJobWorker.finishJob(GridJobWorker.java:928)
      	at org.apache.ignite.internal.processors.job.GridJobWorker.finishJob(GridJobWorker.java:773)
      	at org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:625)
      	at org.apache.ignite.internal.processors.job.GridJobWorker.body(GridJobWorker.java:489)
      	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
      	at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1181)
      	at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1908)
      	at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1556)
      	at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1184)
      	at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:126)
      	at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1097)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            ilantukh Ilya Lantukh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: