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

StaleLockRecoveryTest.testStaleLock failing randomly

    XMLWordPrintable

Details

    Description

      See http://goo.gl/H99K2

      2012-06-14 13:08:56,856 ERROR [TCP] (Incoming-1,ISPN,StaleLockRecoveryTest-NodeB-14067) failed sending message to StaleLockRecoveryTest-NodeA-41830 (59 bytes): java.net.SocketException: Socket closed, cause: null
      2012-06-14 13:08:56,976 ERROR [UnitTestTestNGListener] (testng-StaleLockRecoveryTest) Method testStaleLock(org.infinispan.tx.StaleLockRecoveryTest) threw an exception
      java.lang.IllegalStateException: Cache at address StaleLockRecoveryTest-NodeB-14067 had 2 members; expecting 1. Members were (StaleLockRecoveryTest-NodeA-41830, StaleLockRecoveryTest-NodeB-14067)
      	at org.infinispan.test.TestingUtil.isCacheViewComplete(TestingUtil.java:517)
      	at org.infinispan.test.TestingUtil.blockUntilViewReceived(TestingUtil.java:405)
      	at org.infinispan.test.TestingUtil.blockUntilViewReceived(TestingUtil.java:396)
      	at org.infinispan.tx.StaleLockRecoveryTest.testStaleLock(StaleLockRecoveryTest.java:74)
      	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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:74)
      	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
      	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:846)
      	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1170)
      	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
      	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
      	at org.testng.TestRunner.runWorkers(TestRunner.java:1147)
      	at org.testng.TestRunner.privateRun(TestRunner.java:749)
      	at org.testng.TestRunner.run(TestRunner.java:600)
      	at org.testng.SuiteRunner.runTest(SuiteRunner.java:317)
      	at org.testng.SuiteRunner.access$000(SuiteRunner.java:34)
      	at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:351)
      	at org.testng.internal.thread.ThreadUtil$CountDownLatchedRunnable.run(ThreadUtil.java:147)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:662)
      [testng-StaleLockRecoveryTest] Test testStaleLock(org.infinispan.tx.StaleLockRecoveryTest) failed.
      2012-06-14 13:08:56,986 ERROR [UnitTestTestNGListener] (testng-StaleLockRecoveryTest) Test failed testStaleLock(org.infinispan.tx.StaleLockRecoveryTest)
      java.lang.IllegalStateException: Cache at address StaleLockRecoveryTest-NodeB-14067 had 2 members; expecting 1. Members were (StaleLockRecoveryTest-NodeA-41830, StaleLockRecoveryTest-NodeB-14067)
      	at org.infinispan.test.TestingUtil.isCacheViewComplete(TestingUtil.java:517)
      	at org.infinispan.test.TestingUtil.blockUntilViewReceived(TestingUtil.java:405)
      	at org.infinispan.test.TestingUtil.blockUntilViewReceived(TestingUtil.java:396)
      	at org.infinispan.tx.StaleLockRecoveryTest.testStaleLock(StaleLockRecoveryTest.java:74)
      	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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:74)
      	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
      	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:846)
      	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1170)
      	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
      	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
      	at org.testng.TestRunner.runWorkers(TestRunner.java:1147)
      	at org.testng.TestRunner.privateRun(TestRunner.java:749)
      	at org.testng.TestRunner.run(TestRunner.java:600)
      	at org.testng.SuiteRunner.runTest(SuiteRunner.java:317)
      	at org.testng.SuiteRunner.access$000(SuiteRunner.java:34)
      	at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:351)
      	at org.testng.internal.thread.ThreadUtil$CountDownLatchedRunnable.run(ThreadUtil.java:147)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:662)
      Test suite progress: tests succeeded: 82, failed: 1, skipped: 0.

      Attachments

        Activity

          People

            rh-ee-galder Galder ZamarreƱo
            rh-ee-galder Galder ZamarreƱo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: