Intermittent failure in Application tests -----------------------------------------
Key: ARIES-560 URL: https://issues.apache.org/jira/browse/ARIES-560 Project: Aries Issue Type: Bug Components: Application Affects Versions: 0.3 Environment: Mac OSX 10.6.5, java version "1.6.0_22" Reporter: zoe slattery I see two types of failure with Application itests, one hand and one hard fail. a) Hang. Have no information on this other than I see a hang after: Running org.apache.aries.application.runtime.itests.IsolatedRuntimeTest in the build output. It is intermittent, the next time it happens I will try and get more information. b) After ctrl-c on the hung build, then mvn clean, mvn install I get this: Running org.apache.aries.application.runtime.itests.UpdateAppTest Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 24.41 sec <<< FAILURE! here is the content of the surefire* .txt file for that tests: ------------------------------------------------------------------------------ Test set: org.apache.aries.application.runtime.itests.UpdateAppTest ------------------------------------------------------------------------------- Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 24.41 sec <<< FAILURE! testFullUpdate [equinox/3.5.0](org.apache.aries.application.runtime.itests.UpdateAppTest) Time elapsed: 5.197 sec <<< FAILURE! java.lang.AssertionError: at org.junit.Assert.fail(Assert.java:74) at org.junit.Assert.assertTrue(Assert.java:37) at org.junit.Assert.assertNotNull(Assert.java:356) at org.junit.Assert.assertNotNull(Assert.java:365) at org.apache.aries.application.runtime.itests.UpdateAppTest.assertAppMessage(UpdateAppTest.java:239) at org.apache.aries.application.runtime.itests.UpdateAppTest.setupApp(UpdateAppTest.java:213) at org.apache.aries.application.runtime.itests.UpdateAppTest.testFullUpdate(UpdateAppTest.java:115) 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.ops4j.pax.exam.junit.extender.impl.internal.CallableTestMethodImpl.injectContextAndInvoke(CallableTestMethodImpl.java:134) at org.ops4j.pax.exam.junit.extender.impl.internal.CallableTestMethodImpl.call(CallableTestMethodImpl.java:101) 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.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:80) 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305) at sun.rmi.transport.Transport$1.run(Transport.java:159) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:155) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) 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:680) -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira