0 Replies Latest reply on Jan 24, 2013 8:42 AM by jmkjboss

    Arquillian + EAP 6.0.1 + Jacoco = exception

    jmkjboss Newbie

      Hi!

       

      When upgrading EAP from 6.0.0 to 6.0.1, our tests fail (got stuck on "Deploy arquillian service"). We've updated our pom with what we hope is "the right stuff", inspired by e.g. https://access.redhat.com/knowledge/articles/112673. Now tests fail with the exception below. However, when we remove everything related to jacoco from the pom, tests run just fine.

       

      Anyone experienced something similar? Any thoughts on what might be wrong or missing?

       

      Cheers,

       

      /JMK

       

      <arquillian.version>1.0.3.Final</arquillian.version>

      <jboss.version>7.1.3.Final</jboss.version>

      <jacoco.version>0.6.1.201212231917</jacoco.version>

       

      <dependency>

      <groupId>org.jboss.arquillian.extension</groupId>

      <artifactId>arquillian-jacoco</artifactId>

      <version>1.0.0.Alpha5</version>

      <scope>test</scope>

      </dependency>

       

       

      12:18:47,117 ERROR [org.jboss.arquillian.protocol.jmx.JMXTestRunner] (pool-1-thread-2)  Failed: se.aiv.tyson.ejb.beans.role.RoleBeanTest.testCreateNewStandardAccountHappyFlow: java.lang.RuntimeExcepti

      on: Could not run @AfterSuite

              at org.jboss.arquillian.junit.Arquillian$1.shutdown(Arquillian.java:140) [arquillian-service:]

              at org.jboss.arquillian.junit.Arquillian$1.testRunFinished(Arquillian.java:114) [arquillian-service:]

              at org.junit.runner.notification.RunNotifier$2.notifyListener(RunNotifier.java:71) [arquillian-service:]

              at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:41) [arquillian-service:]

              at org.junit.runner.notification.RunNotifier.fireTestRunFinished(RunNotifier.java:68) [arquillian-service:]

              at org.junit.runner.JUnitCore.run(JUnitCore.java:158) [arquillian-service:]

              at org.junit.runner.JUnitCore.run(JUnitCore.java:136) [arquillian-service:]

              at org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:65) [arquillian-service:]

              at org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethodInternal(JMXTestRunner.java:128) [arquillian-service:]

              at org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethod(JMXTestRunner.java:107) [arquillian-service:]

              at org.jboss.as.arquillian.service.ArquillianService$ExtendedJMXTestRunner.runTestMethod(ArquillianService.java:214) [arquillian-service:]

              at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source) [:1.6.0_27]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_27]

              at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_27]

              at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93) [rt.jar:1.6.0_27]

              at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27) [rt.jar:1.6.0_27]

              at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208) [rt.jar:1.6.0_27]

              at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120) [rt.jar:1.6.0_27]

              at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262) [rt.jar:1.6.0_27]

              at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836) [rt.jar:1.6.0_27]

              at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) [rt.jar:1.6.0_27]

              at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.invoke(PluggableMBeanServerImpl.java:498)

              at org.jboss.as.jmx.PluggableMBeanServerImpl.invoke(PluggableMBeanServerImpl.java:246)

              at org.jboss.remotingjmx.protocol.v1.ServerProxy$InvokeHandler.handle(ServerProxy.java:1034)

              at org.jboss.remotingjmx.protocol.v1.ServerProxy$MessageReciever$1.run(ServerProxy.java:215)

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_27]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_27]

              at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_27]

      Caused by: java.lang.RuntimeException: Could not communicate with client side

              at org.jboss.arquillian.protocol.jmx.JMXCommandService.execute(JMXCommandService.java:62) [arquillian-service:]

              at org.jboss.arquillian.extension.jacoco.container.ShutdownCoverageData.writeCoverageData(ShutdownCoverageData.java:63) [arquillian-service:]

              at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source) [:1.6.0_27]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_27]

              at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_27]

              at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) [arquillian-service:]

              at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99) [arquillian-service:]

              at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81) [arquillian-service:]

              at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60) [arquillian-service:]

              at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) [:1.6.0_27]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_27]

              at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_27]

              at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94) [arquillian-service:]

              at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88) [arquillian-service:]

              at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135) [arquillian-service:]

              at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115) [arquillian-service:]

              at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.afterSuite(EventTestRunnerAdaptor.java:73) [arquillian-service:]

              at org.jboss.arquillian.junit.Arquillian$1.shutdown(Arquillian.java:128) [arquillian-service:]

              ... 27 more

      Caused by: java.lang.RuntimeException: No command response within timeout of 30000 ms.

              at org.jboss.arquillian.protocol.jmx.JMXCommandService.execute(JMXCommandService.java:60) [arquillian-service:]

              ... 44 more