You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Dennis Sosnoski <dm...@sosnoski.com> on 2011/02/10 00:17:07 UTC

Build failure

I'm getting a test failure with Simple Frontend:

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.cxf.frontend.soap.SoapBindingSelectionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.263 sec
Running org.apache.cxf.frontend.spring.ClientServerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.463 sec
Running org.apache.cxf.frontend.spring.SpringBeansTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.607 sec
Running org.apache.cxf.service.factory.RountripTest
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.347
sec <<< FAILURE!
testServerFactoryBean(org.apache.cxf.service.factory.RountripTest)  Time
elapsed: 0.076 sec  <<< ERROR!
java.lang.IllegalStateException: Local destination does not have a
MessageObserver on address http://localhost/Hello
        at
org.apache.cxf.transport.local.LocalConduit.dispatchViaPipe(LocalConduit.java:114)
        at
org.apache.cxf.transport.local.LocalConduit.prepare(LocalConduit.java:59)
        at
org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265)
        at
org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
        at org.apache.cxf.frontend.ClientProxy.invoke(ClientProxy.java:68)
        ...

Running org.apache.cxf.service.factory.ServerFactoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.413 sec
Running org.apache.cxf.service.factory.ClientFactoryBeanTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.102 sec
Running org.apache.cxf.service.factory.ReflectionServiceFactoryTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.185 sec
Running org.apache.cxf.service.stax.StaxDatabindingTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.111 sec

Results :

Tests in error:
  testServerFactoryBean(org.apache.cxf.service.factory.RountripTest)

Tests run: 17, Failures: 0, Errors: 1, Skipped: 0

Any suggestions? This is with the latest code, but I also saw the same
problem when I tried to build a couple of days ago with the then-latest
code.

I'm running on Linux, using Sun/Oracle 1.5.0_15 and 1.6.0_10 JVMs.

  - Dennis

-- 

Dennis M. Sosnoski
Java SOA and Web Services Consulting <http://www.sosnoski.com/consult.html>
Axis2/CXF/Metro SOA and Web Services Training
<http://www.sosnoski.com/training.html>
Web Services Jump-Start <http://www.sosnoski.com/jumpstart.html>


Re: Build failure

Posted by Dennis Sosnoski <dm...@sosnoski.com>.
On 02/10/2011 02:05 PM, Daniel Kulp wrote:
> Your tests are definitely running in a different order that mine.  You coudl 
> try doing a "touch" on the RountripTest.java and seeing if that changes the 
> order.
>
> I just committed changes to the poms to force it into alpha order.  (I thought 
> the latest surefire had that as the default, apparently not)  That may fix it 
> as well.
>
>   

Latest commits did the trick. Thanks!

  - Dennis

Re: Build failure

Posted by Daniel Kulp <dk...@apache.org>.
On Wednesday 09 February 2011 7:44:42 pm Dennis Sosnoski wrote:
> On 02/10/2011 01:37 PM, Daniel Kulp wrote:
> > On Wednesday 09 February 2011 6:17:07 pm Dennis Sosnoski wrote:
> >> I'm getting a test failure with Simple Frontend:
> > Hmm... no idea.   Hudson is passing and I cannot reproduce it.   Can you
> > try going into the directory and running just:
> > 
> > mvn -Dtest=RountripTes
> > 
> > and seeing if it fails by itself.   I'm wondering if one of the tests
> > ahead of it is causing a conflict.   That said, with the latest surefire
> > that we are using, it shouldn't happen.
> 
> "mvn -Dtest=RountripTest" runs fine by itself, running "mvn clean
> install" from the rt/frontend/simple directory fails as before. I've
> also updated to Java 1.6.0_23, with no change in the failure.
> 
> Any other suggestions?

Your tests are definitely running in a different order that mine.  You coudl 
try doing a "touch" on the RountripTest.java and seeing if that changes the 
order.

I just committed changes to the poms to force it into alpha order.  (I thought 
the latest surefire had that as the default, apparently not)  That may fix it 
as well.

-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog

Re: Build failure

Posted by Dennis Sosnoski <dm...@sosnoski.com>.
On 02/10/2011 01:37 PM, Daniel Kulp wrote:
> On Wednesday 09 February 2011 6:17:07 pm Dennis Sosnoski wrote:
>   
>> I'm getting a test failure with Simple Frontend:
>>
>>     
> Hmm... no idea.   Hudson is passing and I cannot reproduce it.   Can you try 
> going into the directory and running just:
>
> mvn -Dtest=RountripTes
>
> and seeing if it fails by itself.   I'm wondering if one of the tests ahead of 
> it is causing a conflict.   That said, with the latest surefire that we are 
> using, it shouldn't happen.
>   

"mvn -Dtest=RountripTest" runs fine by itself, running "mvn clean
install" from the rt/frontend/simple directory fails as before. I've
also updated to Java 1.6.0_23, with no change in the failure.

Any other suggestions?

  - Dennis


Re: Build failure

Posted by Daniel Kulp <dk...@apache.org>.
On Wednesday 09 February 2011 6:17:07 pm Dennis Sosnoski wrote:
> I'm getting a test failure with Simple Frontend:
>

Hmm... no idea.   Hudson is passing and I cannot reproduce it.   Can you try 
going into the directory and running just:

mvn -Dtest=RountripTes

and seeing if it fails by itself.   I'm wondering if one of the tests ahead of 
it is causing a conflict.   That said, with the latest surefire that we are 
using, it shouldn't happen.

Dan


> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.cxf.frontend.soap.SoapBindingSelectionTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.263 sec
> Running org.apache.cxf.frontend.spring.ClientServerTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.463 sec
> Running org.apache.cxf.frontend.spring.SpringBeansTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.607 sec
> Running org.apache.cxf.service.factory.RountripTest
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.347
> sec <<< FAILURE!
> testServerFactoryBean(org.apache.cxf.service.factory.RountripTest)  Time
> elapsed: 0.076 sec  <<< ERROR!
> java.lang.IllegalStateException: Local destination does not have a
> MessageObserver on address http://localhost/Hello
>         at
> org.apache.cxf.transport.local.LocalConduit.dispatchViaPipe(LocalConduit.ja
> va:114) at
> org.apache.cxf.transport.local.LocalConduit.prepare(LocalConduit.java:59)
>         at
> org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSe
> nderInterceptor.java:46) at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChai
> n.java:255) at
> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516) at
> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313) at
> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265) at
> org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
>         at org.apache.cxf.frontend.ClientProxy.invoke(ClientProxy.java:68)
>         ...
> 
> Running org.apache.cxf.service.factory.ServerFactoryTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.413 sec
> Running org.apache.cxf.service.factory.ClientFactoryBeanTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.102 sec
> Running org.apache.cxf.service.factory.ReflectionServiceFactoryTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.185 sec
> Running org.apache.cxf.service.stax.StaxDatabindingTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.111 sec
> 
> Results :
> 
> Tests in error:
>   testServerFactoryBean(org.apache.cxf.service.factory.RountripTest)
> 
> Tests run: 17, Failures: 0, Errors: 1, Skipped: 0
> 
> Any suggestions? This is with the latest code, but I also saw the same
> problem when I tried to build a couple of days ago with the then-latest
> code.
> 
> I'm running on Linux, using Sun/Oracle 1.5.0_15 and 1.6.0_10 JVMs.
> 
>   - Dennis

-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog

Re: Build failure

Posted by Willem Jiang <wi...@gmail.com>.
Hi,

I reproduced this error and it is caused by SpringBeansTest is not 
shutdown the bus rightly.
So I created a JIRA[1] for it and will commit a fix shortly.

[1]https://issues.apache.org/jira/browse/CXF-3326

Willem

On 2/10/11 7:18 AM, Dennis Sosnoski wrote:
> Oh, and I'm running "mvn clean install" with Maven 2.2.1.
>
>    - Dennis
>
>
> On 02/10/2011 12:17 PM, Dennis Sosnoski wrote:
>> I'm getting a test failure with Simple Frontend:
>>
>> -------------------------------------------------------
>>   T E S T S
>> -------------------------------------------------------
>> Running org.apache.cxf.frontend.soap.SoapBindingSelectionTest
>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.263 sec
>> Running org.apache.cxf.frontend.spring.ClientServerTest
>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.463 sec
>> Running org.apache.cxf.frontend.spring.SpringBeansTest
>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.607 sec
>> Running org.apache.cxf.service.factory.RountripTest
>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.347
>> sec<<<  FAILURE!
>> testServerFactoryBean(org.apache.cxf.service.factory.RountripTest)
>> Time elapsed: 0.076 sec<<<  ERROR!
>> java.lang.IllegalStateException: Local destination does not have a
>> MessageObserver on address http://localhost/Hello
>>          at
>> org.apache.cxf.transport.local.LocalConduit.dispatchViaPipe(LocalConduit.java:114)
>>          at
>> org.apache.cxf.transport.local.LocalConduit.prepare(LocalConduit.java:59)
>>          at
>> org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
>>          at
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)
>>          at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516)
>>          at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)
>>          at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265)
>>          at
>> org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
>>          at org.apache.cxf.frontend.ClientProxy.invoke(ClientProxy.java:68)
>>          ...
>>
>> Running org.apache.cxf.service.factory.ServerFactoryTest
>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.413 sec
>> Running org.apache.cxf.service.factory.ClientFactoryBeanTest
>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.102 sec
>> Running org.apache.cxf.service.factory.ReflectionServiceFactoryTest
>> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.185 sec
>> Running org.apache.cxf.service.stax.StaxDatabindingTest
>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.111 sec
>>
>> Results :
>>
>> Tests in error:
>>    testServerFactoryBean(org.apache.cxf.service.factory.RountripTest)
>>
>> Tests run: 17, Failures: 0, Errors: 1, Skipped: 0
>>
>> Any suggestions? This is with the latest code, but I also saw the same
>> problem when I tried to build a couple of days ago with the
>> then-latest code.
>>
>> I'm running on Linux, using Sun/Oracle 1.5.0_15 and 1.6.0_10 JVMs.
>>
>>    - Dennis
>>
>> --
>>
>> Dennis M. Sosnoski
>> Java SOA and Web Services Consulting
>> <http://www.sosnoski.com/consult.html>
>> Axis2/CXF/Metro SOA and Web Services Training
>> <http://www.sosnoski.com/training.html>
>> Web Services Jump-Start<http://www.sosnoski.com/jumpstart.html>
>>
>


-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang

Re: Build failure

Posted by Dennis Sosnoski <dm...@sosnoski.com>.
Oh, and I'm running "mvn clean install" with Maven 2.2.1.

  - Dennis


On 02/10/2011 12:17 PM, Dennis Sosnoski wrote:
> I'm getting a test failure with Simple Frontend:
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.cxf.frontend.soap.SoapBindingSelectionTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.263 sec
> Running org.apache.cxf.frontend.spring.ClientServerTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.463 sec
> Running org.apache.cxf.frontend.spring.SpringBeansTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.607 sec
> Running org.apache.cxf.service.factory.RountripTest
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.347
> sec <<< FAILURE!
> testServerFactoryBean(org.apache.cxf.service.factory.RountripTest) 
> Time elapsed: 0.076 sec  <<< ERROR!
> java.lang.IllegalStateException: Local destination does not have a
> MessageObserver on address http://localhost/Hello
>         at
> org.apache.cxf.transport.local.LocalConduit.dispatchViaPipe(LocalConduit.java:114)
>         at
> org.apache.cxf.transport.local.LocalConduit.prepare(LocalConduit.java:59)
>         at
> org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
>         at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)
>         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516)
>         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)
>         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265)
>         at
> org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
>         at org.apache.cxf.frontend.ClientProxy.invoke(ClientProxy.java:68)
>         ...
>
> Running org.apache.cxf.service.factory.ServerFactoryTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.413 sec
> Running org.apache.cxf.service.factory.ClientFactoryBeanTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.102 sec
> Running org.apache.cxf.service.factory.ReflectionServiceFactoryTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.185 sec
> Running org.apache.cxf.service.stax.StaxDatabindingTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.111 sec
>
> Results :
>
> Tests in error:
>   testServerFactoryBean(org.apache.cxf.service.factory.RountripTest)
>
> Tests run: 17, Failures: 0, Errors: 1, Skipped: 0
>
> Any suggestions? This is with the latest code, but I also saw the same
> problem when I tried to build a couple of days ago with the
> then-latest code.
>
> I'm running on Linux, using Sun/Oracle 1.5.0_15 and 1.6.0_10 JVMs.
>
>   - Dennis
>
> -- 
>
> Dennis M. Sosnoski
> Java SOA and Web Services Consulting
> <http://www.sosnoski.com/consult.html>
> Axis2/CXF/Metro SOA and Web Services Training
> <http://www.sosnoski.com/training.html>
> Web Services Jump-Start <http://www.sosnoski.com/jumpstart.html>
>