Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-1144

org.jboss.test.cluster.invokerha.UnifiedInvokerHaUnitTestCase failing in FP01

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Blocker
    • 4.3.0.GA_CP02_FP01
    • 4.3.0.GA_CP02_FP01
    • Testsuite
    • None
    • Sun JDK 1.5 / Apple JDK 1.5

    Description

      The following failures appear when running the EAP testsuite against EAP 4.3.0.GA_FP01:

      org.jboss.test.cluster.invokerha.UnifiedInvokerHaUnitTestCase.testProxyThreadSafety

      java.util.concurrent.ExecutionException: java.lang.Exception: Assertion failed in thread: pool-1-thread-1
      at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:205)
      at java.util.concurrent.FutureTask.get(FutureTask.java:80)
      at org.jboss.test.cluster.invokerha.AbstractInvokerHa.performConcurrentCalls(AbstractInvokerHa.java:221)
      at org.jboss.test.cluster.invokerha.UnifiedInvokerHaUnitTestCase.testProxyThreadSafety(UnifiedInvokerHaUnitTestCase.java:63)
      Caused by: java.lang.Exception: Assertion failed in thread: pool-1-thread-1
      at org.jboss.test.cluster.invokerha.AbstractInvokerHa$InvokerProxyBatch.logAndThrow(AbstractInvokerHa.java:396)
      at org.jboss.test.cluster.invokerha.AbstractInvokerHa$InvokerProxyBatch.call(AbstractInvokerHa.java:345)
      at org.jboss.test.cluster.invokerha.AbstractInvokerHa$InvokerProxyBatch.call(AbstractInvokerHa.java:318)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: junit.framework.AssertionFailedError: expected:<InvokerLocator [unittest://127.0.0.1:2/mock],[invoker=UnifiedInvokerHa-Server-2,org.jboss.test.cluster.invokerha.UnifiedInvokerHaMockUtils$MockUnifiedInvokerHA@9be79a]> but was:<InvokerLocator [unittest://127.0.0.1:1/mock],[invoker=UnifiedInvokerHa-Server-1,org.jboss.test.cluster.invokerha.UnifiedInvokerHaMockUtils$MockUnifiedInvokerHA@3b8b49]>
      at org.jboss.test.cluster.invokerha.AbstractInvokerHa$InvokerProxyBatch.assertThreadSafePostConditions(AbstractInvokerHa.java:390)
      at org.jboss.test.cluster.invokerha.AbstractInvokerHa$InvokerProxyBatch.performThreadSafeCalls(AbstractInvokerHa.java:367)
      at org.jboss.test.cluster.invokerha.AbstractInvokerHa$InvokerProxyBatch.call(AbstractInvokerHa.java:341)
      ... 6 more

      org.jboss.test.cluster.invokerha.UnifiedInvokerHaUnitTestCase.testProxyThreadSafetyNullPointerException

      java.util.concurrent.ExecutionException: java.lang.NullPointerException
      at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:205)
      at java.util.concurrent.FutureTask.get(FutureTask.java:80)
      at org.jboss.test.cluster.invokerha.AbstractInvokerHa.performConcurrentCalls(AbstractInvokerHa.java:221)
      at org.jboss.test.cluster.invokerha.UnifiedInvokerHaUnitTestCase.testProxyThreadSafetyNullPointerException(UnifiedInvokerHaUnitTestCase.java:69)
      Caused by: java.lang.NullPointerException
      at org.jboss.test.cluster.invokerha.UnifiedInvokerHaMockUtils$MockClient.invoke(UnifiedInvokerHaMockUtils.java:224)
      at org.jboss.invocation.unified.interfaces.UnifiedInvokerHAProxy.invoke(UnifiedInvokerHAProxy.java:224)
      at org.jboss.test.cluster.invokerha.AbstractInvokerHa$InvokerProxyBatch.performThreadSafeCalls(AbstractInvokerHa.java:365)
      at org.jboss.test.cluster.invokerha.AbstractInvokerHa$InvokerProxyBatch.call(AbstractInvokerHa.java:341)
      at org.jboss.test.cluster.invokerha.AbstractInvokerHa$InvokerProxyBatch.call(AbstractInvokerHa.java:318)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      at java.lang.Thread.run(Thread.java:595)

      This is a regression since the failures weren't present before applying the FP01 patched files.

      Attachments

        Activity

          People

            smcgowan@redhat.com Shelly McGowan (Inactive)
            exd-mmalina Martin Malina
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: