Hmmm. Just found out the test does not work on IBM Jdk 6 but it works on
Sun Jdk6. This explains why it works in Jenkins but not in my environment.
I will take a further look at the issue. If anyone has good suggestions,
please let me know.

Thanks
Emily

On Wed, Feb 22, 2012 at 9:36 AM, Emily Jiang <[email protected]>wrote:

> Does anyone hit the same problem? I am a bit stuck with the failing test.
> Any suggestions?
>
> Thanks
> Emily
>
>
> On Wed, Feb 15, 2012 at 4:02 PM, Emily Jiang <[email protected]>wrote:
>
>> Here is the test output.
>> Thanks
>>
>> On Wed, Feb 15, 2012 at 1:07 AM, Alasdair Nottingham <[email protected]>wrote:
>>
>>> I think I would need to look at the test output logs. The result
>>> indicates
>>> to me that the ProxyWeavingCollaborator service has not been seen which
>>> is
>>> odd.
>>>
>>> On 14 February 2012 23:35, Emily Jiang <[email protected]> wrote:
>>>
>>> > Yes. I did rebuild the proxy-api and proxy-impl. I am running
>>> proxy-itest,
>>> > which pulls the latest version of proxy bundle.
>>> >
>>> > On Tue, Feb 14, 2012 at 11:32 PM, Alasdair Nottingham <[email protected]
>>> > >wrote:
>>> >
>>> > > Did you rebuild proxy-api and proxy-impl? Are you running against the
>>> > > latest version of the proxy?
>>> > >
>>> > > Alasdair
>>> > >
>>> > > Alasdair Nottingham
>>> > >
>>> > > On 14 Feb 2012, at 23:05, Emily Jiang <[email protected]>
>>> wrote:
>>> > >
>>> > > > I svn up the latest proxy code and ran into the following test
>>> error:
>>> > > >
>>> > >
>>> >
>>> -------------------------------------------------------------------------------
>>> > > > Test set: org.apache.aries.proxy.itests.WeavingProxyTest
>>> > > >
>>> > >
>>> >
>>> -------------------------------------------------------------------------------
>>> > > > Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
>>> 28.599
>>> > > sec
>>> > > > <<< FAILURE!
>>> > > > checkProxyController
>>> > > >
>>> >
>>> [equinox/3.7.0.v20110613](org.apache.aries.proxy.itests.WeavingProxyTest)
>>> > > > Time elapsed: 3.564 sec  <<< ERROR!
>>> > > > java.lang.Exception: Unexpected exception,
>>> > > > expected<org.apache.aries.proxy.FinalModifierException> but
>>> > > > was<java.lang.AssertionError>
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:117)
>>> > > >    at
>>> > org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:86)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> org.ops4j.pax.exam.junit.internal.JUnit4MethodRoadie.runBeforesThenTestThenAfters(JUnit4MethodRoadie.java:60)
>>> > > >    at
>>> > > org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:84)
>>> > > >    at
>>> org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:49)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> org.ops4j.pax.exam.junit.JUnit4TestRunner.invokeTestMethod(JUnit4TestRunner.java:246)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> org.ops4j.pax.exam.junit.JUnit4TestRunner.runMethods(JUnit4TestRunner.java:196)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> org.ops4j.pax.exam.junit.JUnit4TestRunner$2.run(JUnit4TestRunner.java:186)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:34)
>>> > > >    at
>>> > > >
>>> >
>>> org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:44)
>>> > > >    at
>>> > > >
>>> >
>>> org.ops4j.pax.exam.junit.JUnit4TestRunner.run(JUnit4TestRunner.java:182)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
>>> > > >    at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
>>> > > >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>>> > > >    at java.lang.reflect.Method.invoke(Method.java:611)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1005)
>>> > > > Caused by: java.lang.AssertionError: Proxy should not have been
>>> woven!
>>> > > >    at org.junit.Assert.fail(Assert.java:74)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> org.apache.aries.proxy.itests.WeavingProxyTest.checkProxyController(WeavingProxyTest.java:116)
>>> > > >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>>> > > >    at java.lang.reflect.Method.invoke(Method.java:611)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> org.ops4j.pax.exam.junit.extender.impl.internal.CallableTestMethodImpl.injectContextAndInvoke(CallableTestMethodImpl.java:143)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> org.ops4j.pax.exam.junit.extender.impl.internal.CallableTestMethodImpl.call(CallableTestMethodImpl.java:105)
>>> > > >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>>> > > >    at java.lang.reflect.Method.invoke(Method.java:611)
>>> > > >    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:60)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>>> > > >    at java.lang.reflect.Method.invoke(Method.java:611)
>>> > > >    at
>>> > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
>>> > > >    at sun.rmi.transport.Transport$1.run(Transport.java:171)
>>> > > >    at
>>> > > >
>>> java.security.AccessController.doPrivileged(AccessController.java:284)
>>> > > >    at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
>>> > > >    at
>>> > > >
>>> >
>>> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
>>> > > >    at
>>> > > >
>>> > >
>>> >
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
>>> > > >    at java.lang.Thread.run(Thread.java:736)
>>> > > >
>>> > > > Any suggestions about why I cannot get the test passing locally. It
>>> > seems
>>> > > > the build engine Jenkins is ok.
>>> > > >
>>> > > > Thanks
>>> > > > Emily
>>> > > >
>>> > > > --
>>> > > > Thanks
>>> > > > Emily
>>> > > > =================
>>> > > > Emily Jiang
>>> > > > [email protected]
>>> > >
>>> >
>>> >
>>> >
>>> > --
>>> > Thanks
>>> > Emily
>>> > =================
>>> > Emily Jiang
>>> > [email protected]
>>> >
>>>
>>>
>>>
>>> --
>>> Alasdair Nottingham
>>> [email protected]
>>>
>>
>>
>>
>> --
>> Thanks
>> Emily
>> =================
>> Emily Jiang
>> [email protected]
>>
>>
>
>
> --
> Thanks
> Emily
> =================
> Emily Jiang
> [email protected]
>
>


-- 
Thanks
Emily
=================
Emily Jiang
[email protected]

Reply via email to