Hi, thanks much for the log. I am still not able to recreate it after many runs which made me to believe it is a timing prob.
In looking at your logs, it seems right after (within a sec) the blueprint extender detects the blueprint sample, we throw this unable to get the blueprint container service for the blueprint sample error. So I tried to wait a bit before we kick the test. Hope it helped. Lin On Mon, Dec 7, 2009 at 9:58 AM, Alasdair Nottingham <[email protected]> wrote: > I have rerun a few times and it isn't consistantly. Attached are the > logs from a failing run. > > Alasdair > > 2009/12/7 Lin Sun <[email protected]>: >> Hi, >> >> It worked for me. Does this fail constantly for you? If so, could >> you attach the surefire logs for this test? >> >> I think there is an intermittent blueprint itest failure that happens >> once a while on various blueprint itest which I don't have much clue >> yet. >> >> Lin >> >> On Mon, Dec 7, 2009 at 9:33 AM, Alasdair Nottingham <[email protected]> wrote: >>> Hi, >>> >>> After doing an svn update I get the following error out of one of the >>> itests: >>> >>> ------------------------------------------------------------------------------- >>> Test set: >>> org.apache.aries.blueprint.itests.BlueprintContainer2BTCustomizerTest >>> ------------------------------------------------------------------------------- >>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.591 >>> sec <<< FAILURE! >>> test >>> [equinox/3.5.0](org.apache.aries.blueprint.itests.BlueprintContainer2BTCustomizerTest) >>> Time elapsed: 5.513 sec <<< ERROR! >>> java.lang.RuntimeException: Gave up waiting for service >>> (&(objectClass=org.osgi.service.blueprint.container.BlueprintContainer)(osgi.blueprint.container.symbolicname=org.apache.aries.blueprint.sample)) >>> at >>> org.apache.aries.blueprint.itests.AbstractIntegrationTest.getOsgiService(AbstractIntegrationTest.java:96) >>> at >>> org.apache.aries.blueprint.itests.AbstractIntegrationTest.getBlueprintContainerForBundle(AbstractIntegrationTest.java:65) >>> at >>> org.apache.aries.blueprint.itests.AbstractIntegrationTest.testBlueprintContainer(AbstractIntegrationTest.java:149) >>> at >>> org.apache.aries.blueprint.itests.BlueprintContainer2BTCustomizerTest.test(BlueprintContainer2BTCustomizerTest.java:105) >>> 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) >>> >>> Any one have any thoughts? >>> Alasdair >>> >>> -- >>> Alasdair Nottingham >>> [email protected] >>> >> > > > > -- > Alasdair Nottingham > [email protected] >
