You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "zoe slattery (JIRA)" <ji...@apache.org> on 2010/08/28 11:43:52 UTC

[jira] Created: (ARIES-391) Intermittent test failure in JPA/Quiesce

Intermittent test failure in JPA/Quiesce
----------------------------------------

                 Key: ARIES-391
                 URL: https://issues.apache.org/jira/browse/ARIES-391
             Project: Aries
          Issue Type: Bug
          Components: JPA
            Reporter: zoe slattery
            Priority: Minor


An intermittent test failure was seen in running the JPA tests on 0.2-incubating release candidate 05.

Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 47.464 sec <<< FAILURE!
testComplexContextQuiesce [equinox/3.5.0](org.apache.aries.jpa.quiesce.itest.QuiesceJPATest)  Time elapsed: 4.259 sec  <<< ERROR!
java.lang.RuntimeException: Gave up waiting for service (objectClass=org.apache.aries.jpa.container.context.PersistenceContextProvider)
    at org.apache.aries.jpa.quiesce.itest.QuiesceJPATest.getOsgiService(QuiesceJPATest.java:695)
    at org.apache.aries.jpa.quiesce.itest.QuiesceJPATest.getOsgiService(QuiesceJPATest.java:668)
    at org.apache.aries.jpa.quiesce.itest.QuiesceJPATest.getOsgiService(QuiesceJPATest.java:664)
    at org.apache.aries.jpa.quiesce.itest.QuiesceJPATest.testComplexContextQuiesce(QuiesceJPATest.java:176)
    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) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ARIES-391) Intermittent test failure in JPA/Quiesce

Posted by "Joe Bohn (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ARIES-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904632#action_12904632 ] 

Joe Bohn commented on ARIES-391:
--------------------------------

Here are some more variations of the service timeout received on the jpa tests:

-------------------------------------------------------------------------------
Test set: org.apache.aries.jpa.quiesce.itest.QuiesceJPATest
-------------------------------------------------------------------------------
Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 50.815 sec <<< FAILURE!
testSimpleUnitQuiesce [equinox/3.5.0](org.apache.aries.jpa.quiesce.itest.QuiesceJPATest)  Time elapsed: 4.229 sec  <<< ERROR!
java.lang.RuntimeException: Gave up waiting for service (&(objectClass=javax.persistence.EntityManagerFactory)(&(osgi.unit.name=test-unit)(org.apache.aries.jpa.container.managed=true)))
	at org.apache.aries.jpa.quiesce.itest.QuiesceJPATest.getOsgiService(QuiesceJPATest.java:695)
	at org.apache.aries.jpa.quiesce.itest.QuiesceJPATest.getOsgiService(QuiesceJPATest.java:668)
	at org.apache.aries.jpa.quiesce.itest.QuiesceJPATest.testSimpleUnitQuiesce(QuiesceJPATest.java:293)
	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:637)



and 


-------------------------------------------------------------------------------
Test set: org.apache.aries.jpa.quiesce.itest.QuiesceJPATest
-------------------------------------------------------------------------------
Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 45.184 sec <<< FAILURE!
testComplexUnitQuiesce [equinox/3.5.0](org.apache.aries.jpa.quiesce.itest.QuiesceJPATest)  Time elapsed: 3.709 sec  <<< ERROR!
java.lang.RuntimeException: Gave up waiting for service (&(objectClass=javax.persistence.EntityManagerFactory)(&(osgi.unit.name=test-unit)(org.apache.aries.jpa.container.managed=true)))
	at org.apache.aries.jpa.quiesce.itest.QuiesceJPATest.getOsgiService(QuiesceJPATest.java:695)
	at org.apache.aries.jpa.quiesce.itest.QuiesceJPATest.getOsgiService(QuiesceJPATest.java:668)
	at org.apache.aries.jpa.quiesce.itest.QuiesceJPATest.testComplexUnitQuiesce(QuiesceJPATest.java:325)
	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:637)



> Intermittent test failure in JPA/Quiesce
> ----------------------------------------
>
>                 Key: ARIES-391
>                 URL: https://issues.apache.org/jira/browse/ARIES-391
>             Project: Aries
>          Issue Type: Bug
>          Components: JPA
>            Reporter: zoe slattery
>            Priority: Minor
>
> An intermittent test failure was seen in running the JPA tests on 0.2-incubating release candidate 05.
> Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 47.464 sec <<< FAILURE!
> testComplexContextQuiesce [equinox/3.5.0](org.apache.aries.jpa.quiesce.itest.QuiesceJPATest)  Time elapsed: 4.259 sec  <<< ERROR!
> java.lang.RuntimeException: Gave up waiting for service (objectClass=org.apache.aries.jpa.container.context.PersistenceContextProvider)
>     at org.apache.aries.jpa.quiesce.itest.QuiesceJPATest.getOsgiService(QuiesceJPATest.java:695)
>     at org.apache.aries.jpa.quiesce.itest.QuiesceJPATest.getOsgiService(QuiesceJPATest.java:668)
>     at org.apache.aries.jpa.quiesce.itest.QuiesceJPATest.getOsgiService(QuiesceJPATest.java:664)
>     at org.apache.aries.jpa.quiesce.itest.QuiesceJPATest.testComplexContextQuiesce(QuiesceJPATest.java:176)
>     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) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.