You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Ashish Jain <as...@gmail.com> on 2010/06/04 11:20:22 UTC

Regarding the CXF release 2.0.13

Hi All,

Since I have joined the mailing list today I am sending it as a reference to
ongoing release of CXF.

I am trying to build CXF 2.0.13 which is up for release as per the " *[VOTE]
Release CXF 2.0.13/2.1.10/2.2.9".
*I see some test failures which are as follows: I am running a clean build
with clean M2repo.My environment is
apache maven 2.0.10, windows XP SP2 and  Java 5.

Can someone help me identify what might be going wrong?

Running org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.125 sec
<<< FAILURE!
testSuppressCodeGen(org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest)
Time elapsed: 0.453 sec
<<< FAILURE!
org.junit.ComparisonFailure:
expected:<http://localhost:9[000/SoapContext/SoapPort]>
but was:<http:
/localhost:9[100]>
        at org.junit.Assert.assertEquals(Assert.java:99)
        at org.junit.Assert.assertEquals(Assert.java:117)
        at
org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest.testSuppressCodeGen(JAXWSContainerT
st.java:198)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
        at
org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
        at
org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
        at
org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:8
)
        at
org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
        at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
        at
org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
        at
org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
        at
org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
        at
org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
        at
org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
        at
org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
        at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirect
ryTestSuite.java:138)
        at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTest
uite.java:125)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:2
0)
        at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)

Running org.apache.cxf.tools.wsdlto.validator.ValidatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.485 sec
Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenTest
Tests run: 41, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 76.39 sec
Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenBugTest
2010-06-04 14:35:05.005::INFO:  Logging to STDERR via
org.mortbay.log.StdErrLog
2010-06-04 14:35:05.052::INFO:  jetty-6.1.18
2010-06-04 14:35:05.083::INFO:  Started SocketConnector@0.0.0.0:8585
Tests run: 54, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.719 sec
Running org.apache.cxf.tools.wsdlto.jaxws.JAXWSBindingTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.469 sec
Running org.apache.cxf.tools.wsdlto.core.PluginLoaderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenOptionTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.297 sec
Running org.apache.cxf.tools.wsdlto.jaxws.CatalogTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.406 sec
Running org.apache.cxf.tools.wsdlto.jaxws.wsdl11.JAXWSDefinitionBuilderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
Running org.apache.cxf.tools.wsdlto.WSDLToJavaTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec

Results :

Failed tests:
  testSuppressCodeGen(org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest)

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

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 50 minutes 19 seconds
[INFO] Finished at: Fri Jun 04 14:36:10 IST 2010
[INFO] Final Memory: 60M/192M
[INFO]
------------------------------------------------------------------------

Thanks for all the help!!

Regards
Ashish

Re: Regarding the CXF release 2.0.13

Posted by Daniel Kulp <dk...@apache.org>.

I just did a build with:

dkulp@dilbert ~/working/cxf-2.0.x $ java -version
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_22-b03, mixed mode)

dkulp@dilbert ~/working/cxf-2.0.x $ mvn -version
Apache Maven 3.0-beta-1 (r935667; 2010-04-19 13:00:39-0400)
Java version: 1.5.0_22
Java home: /opt/sun-jdk-1.5.0.22/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux" version: "2.6.34_dk" arch: "amd64" Family: "unix"


And all the tests passed.   One thing to check is your jre/lib/endorsed stuff 
to make sure there isn't anything in there.      Also, check to make sure you 
are using the latest JDK from Oracle.   I know the parsers and xslt things in 
various versions of 1.5.0 were quite broken.   I know all the versions from 
1.5.0_07 to 1.5.0_13 were very broken.   We couldn't pass the TCK's with 
those.  

That said, 2.0.x and, to a lesser extend, 2.1.x doesn't have all the changes 
that were put into 2.2.x to make it work better with different JDK's and such.  
There were also a bunch of "random" failures that we never tracked down until 
2.2 timeframe so the 2.0.x builds were fairly unreliable.     A couple tests 
also had timing issues on fast and/or slow computers (and you computer seems 
to fall into "slow".  50 minutes to get that far?!?!   My whole successful 
build took 24 minutes.).   

Dan



On Friday 04 June 2010 5:20:22 am Ashish Jain wrote:
> Hi All,
> 
> Since I have joined the mailing list today I am sending it as a reference
> to ongoing release of CXF.
> 
> I am trying to build CXF 2.0.13 which is up for release as per the "
> *[VOTE] Release CXF 2.0.13/2.1.10/2.2.9".
> *I see some test failures which are as follows: I am running a clean build
> with clean M2repo.My environment is
> apache maven 2.0.10, windows XP SP2 and  Java 5.
> 
> Can someone help me identify what might be going wrong?
> 
> Running org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.125 sec
> <<< FAILURE!
> testSuppressCodeGen(org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest)
> Time elapsed: 0.453 sec
> <<< FAILURE!
> org.junit.ComparisonFailure:
> expected:<http://localhost:9[000/SoapContext/SoapPort]>
> but was:<http:
> /localhost:9[100]>
>         at org.junit.Assert.assertEquals(Assert.java:99)
>         at org.junit.Assert.assertEquals(Assert.java:117)
>         at
> org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest.testSuppressCodeGen(JA
> XWSContainerT st.java:198)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:6
> 4) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
> l.java:43) at java.lang.reflect.Method.invoke(Method.java:615)
>         at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
>         at
> org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
>         at
> org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
>         at
> org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(Method
> Roadie.java:8 )
>         at
> org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
>         at
> org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42) at
> org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRu
> nner.java:88) at
> org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.j
> ava:51) at
> org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:4
> 4) at
> org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
>         at
> org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
>         at
> org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
>         at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:6
> 2) at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(A
> bstractDirect ryTestSuite.java:138)
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Abstract
> DirectoryTest uite.java:125)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:6
> 4) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
> l.java:43) at java.lang.reflect.Method.invoke(Method.java:615)
>         at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Surefire
> Booter.java:2 0)
>         at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:81
> 8)
> 
> Running org.apache.cxf.tools.wsdlto.validator.ValidatorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.485 sec
> Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenTest
> Tests run: 41, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 76.39 sec
> Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenBugTest
> 2010-06-04 14:35:05.005::INFO:  Logging to STDERR via
> org.mortbay.log.StdErrLog
> 2010-06-04 14:35:05.052::INFO:  jetty-6.1.18
> 2010-06-04 14:35:05.083::INFO:  Started SocketConnector@0.0.0.0:8585
> Tests run: 54, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.719
> sec Running org.apache.cxf.tools.wsdlto.jaxws.JAXWSBindingTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.469 sec
> Running org.apache.cxf.tools.wsdlto.core.PluginLoaderTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenOptionTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.297 sec
> Running org.apache.cxf.tools.wsdlto.jaxws.CatalogTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.406 sec
> Running org.apache.cxf.tools.wsdlto.jaxws.wsdl11.JAXWSDefinitionBuilderTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
> Running org.apache.cxf.tools.wsdlto.WSDLToJavaTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> 
> Results :
> 
> Failed tests:
>   testSuppressCodeGen(org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest)
> 
> Tests run: 112, Failures: 1, Errors: 0, Skipped: 0
> 
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 50 minutes 19 seconds
> [INFO] Finished at: Fri Jun 04 14:36:10 IST 2010
> [INFO] Final Memory: 60M/192M
> [INFO]
> ------------------------------------------------------------------------
> 
> Thanks for all the help!!
> 
> Regards
> Ashish

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

Re: Regarding the CXF release 2.0.13

Posted by Craig Tataryn <cr...@tataryn.net>.
Actually, we ran into this very same issue with the IBM JDK that shipped with RAD7 (a 1.5 jvm), but it worked with the one that shipped with RAD 7.5 (a 1.6 jvm).

For our own projects we had to pass the -npa switch to the various xjc type plugins (i.e. cxf-codegen-plugin and cxf-common-xsd)

Craig.

--
Craig Tataryn
site: http://www.basementcoders.com/
podcast:http://feeds.feedburner.com/TheBasementCoders
irc: ThaDon on freenode #basementcoders, ##wicket, #papernapkin
twitter: craiger

On 2010-06-04, at 8:47 AM, Daniel Kulp wrote:

> 
> Definitely check your JDK version.   I know various 1.6.x JDK's sufferred from 
> this bug on Windows.   I'm not sure if the 1.5.0 jdk's also did or not.
> 
> Dan
> 
> 
> On Friday 04 June 2010 8:21:36 am Ashish Jain wrote:
>> Just an update I built CXF 2.1.10 and I see another build failure. Kindly
>> help me resolving this issue
>> 
>> INFO] Compiling 6 source files to
>> C:\builds\cxf2110\cxf-2.1.10\common\xjc\dv-test\target\classes
>> INFO]
>> ------------------------------------------------------------------------
>> ERROR] BUILD FAILURE
>> INFO]
>> ------------------------------------------------------------------------
>> INFO] Compilation failure
>> 
>> :/builds/cxf2110/cxf-2.1.10/common/xjc/dv-test/target/generated/src/test/ja
>> :va/org/apache/cxf/config
>> 
>> ration/foo/package-info.java:[8,148] package annotations should be in file
>> package-info.java
>> 
>> :/builds/cxf2110/cxf-2.1.10/common/xjc/dv-test/target/generated/src/test/ja
>> :va/org/apache/cxf/config
>> 
>> ration/foo/package-info.java:[8,148] package annotations should be in file
>> package-info.java
>> 
>> 
>> INFO]
>> ------------------------------------------------------------------------
>> INFO] For more information, run Maven with the -e switch
>> INFO]
>> ------------------------------------------------------------------------
>> INFO] Total time: 87 minutes 22 seconds
>> INFO] Finished at: Fri Jun 04 17:51:07 IST 2010
>> INFO] Final Memory: 47M/130M
>> 
>> --Ashish
>> 
>> On Fri, Jun 4, 2010 at 2:50 PM, Ashish Jain <as...@gmail.com> wrote:
>>> Hi All,
>>> 
>>> Since I have joined the mailing list today I am sending it as a reference
>>> to ongoing release of CXF.
>>> 
>>> I am trying to build CXF 2.0.13 which is up for release as per the "
>>> *[VOTE] Release CXF 2.0.13/2.1.10/2.2.9".
>>> *I see some test failures which are as follows: I am running a clean
>>> build with clean M2repo.My environment is
>>> apache maven 2.0.10, windows XP SP2 and  Java 5.
>>> 
>>> Can someone help me identify what might be going wrong?
>>> 
>>> Running org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest
>>> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.125 sec
>>> <<< FAILURE!
>>> testSuppressCodeGen(org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest)
>>> Time elapsed: 0.453 sec
>>> <<< FAILURE!
>>> org.junit.ComparisonFailure:
>>> expected:<http://localhost:9[000/SoapContext/SoapPort]> but was:<http:
>>> /localhost:9[100]>
>>> 
>>>        at org.junit.Assert.assertEquals(Assert.java:99)
>>>        at org.junit.Assert.assertEquals(Assert.java:117)
>>>        at
>>> 
>>> org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest.testSuppressCodeGen(
>>> JAXWSContainerT st.java:198)
>>> 
>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>        at
>>> 
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
>>> :64)
>>> 
>>>        at
>>> 
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
>>> mpl.java:43)
>>> 
>>>        at java.lang.reflect.Method.invoke(Method.java:615)
>>>        at
>>>        org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
>>>        at
>>> 
>>> org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:9
>>> 8)
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(Meth
>>> odRoadie.java:8 )
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4Class
>>> Runner.java:88)
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner
>>> .java:51)
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java
>>> :44)
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27
>>> )
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
>>> 
>>>        at
>>> 
>>> org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:4
>>> 2)
>>> 
>>>        at
>>> 
>>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java
>>> :62)
>>> 
>>>        at
>>> 
>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet
>>> (AbstractDirect ryTestSuite.java:138)
>>> 
>>>        at
>>> 
>>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Abstra
>>> ctDirectoryTest uite.java:125)
>>> 
>>>        at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>        at
>>> 
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
>>> :64)
>>> 
>>>        at
>>> 
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
>>> mpl.java:43)
>>> 
>>>        at java.lang.reflect.Method.invoke(Method.java:615)
>>>        at
>>> 
>>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Surefi
>>> reBooter.java:2 0)
>>> 
>>>        at
>>> 
>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:
>>> 818)
>>> 
>>> Running org.apache.cxf.tools.wsdlto.validator.ValidatorTest
>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.485 sec
>>> Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenTest
>>> Tests run: 41, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 76.39
>>> sec Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenBugTest
>>> 2010-06-04 14:35:05.005::INFO:  Logging to STDERR via
>>> org.mortbay.log.StdErrLog
>>> 2010-06-04 14:35:05.052::INFO:  jetty-6.1.18
>>> 2010-06-04 14:35:05.083::INFO:  Started SocketConnector@0.0.0.0:8585
>>> Tests run: 54, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.719
>>> sec
>>> Running org.apache.cxf.tools.wsdlto.jaxws.JAXWSBindingTest
>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.469 sec
>>> Running org.apache.cxf.tools.wsdlto.core.PluginLoaderTest
>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
>>> Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenOptionTest
>>> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.297 sec
>>> Running org.apache.cxf.tools.wsdlto.jaxws.CatalogTest
>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.406 sec
>>> Running
>>> org.apache.cxf.tools.wsdlto.jaxws.wsdl11.JAXWSDefinitionBuilderTest
>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047
>>> sec Running org.apache.cxf.tools.wsdlto.WSDLToJavaTest
>>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
>>> 
>>> Results :
>>> 
>>> Failed tests:
>>>  testSuppressCodeGen(org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTes
>>>  t)
>>> 
>>> Tests run: 112, Failures: 1, Errors: 0, Skipped: 0
>>> 
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] There are test failures.
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 50 minutes 19 seconds
>>> [INFO] Finished at: Fri Jun 04 14:36:10 IST 2010
>>> [INFO] Final Memory: 60M/192M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> 
>>> Thanks for all the help!!
>>> 
>>> Regards
>>> Ashish
> 
> -- 
> Daniel Kulp
> dkulp@apache.org
> http://dankulp.com/blog


Re: Regarding the CXF release 2.0.13

Posted by Daniel Kulp <dk...@apache.org>.
Definitely check your JDK version.   I know various 1.6.x JDK's sufferred from 
this bug on Windows.   I'm not sure if the 1.5.0 jdk's also did or not.

Dan


On Friday 04 June 2010 8:21:36 am Ashish Jain wrote:
> Just an update I built CXF 2.1.10 and I see another build failure. Kindly
> help me resolving this issue
> 
> INFO] Compiling 6 source files to
> C:\builds\cxf2110\cxf-2.1.10\common\xjc\dv-test\target\classes
> INFO]
> ------------------------------------------------------------------------
> ERROR] BUILD FAILURE
> INFO]
> ------------------------------------------------------------------------
> INFO] Compilation failure
> 
> :/builds/cxf2110/cxf-2.1.10/common/xjc/dv-test/target/generated/src/test/ja
> :va/org/apache/cxf/config
> 
> ration/foo/package-info.java:[8,148] package annotations should be in file
> package-info.java
> 
> :/builds/cxf2110/cxf-2.1.10/common/xjc/dv-test/target/generated/src/test/ja
> :va/org/apache/cxf/config
> 
> ration/foo/package-info.java:[8,148] package annotations should be in file
> package-info.java
> 
> 
> INFO]
> ------------------------------------------------------------------------
> INFO] For more information, run Maven with the -e switch
> INFO]
> ------------------------------------------------------------------------
> INFO] Total time: 87 minutes 22 seconds
> INFO] Finished at: Fri Jun 04 17:51:07 IST 2010
> INFO] Final Memory: 47M/130M
> 
> --Ashish
> 
> On Fri, Jun 4, 2010 at 2:50 PM, Ashish Jain <as...@gmail.com> wrote:
> > Hi All,
> > 
> > Since I have joined the mailing list today I am sending it as a reference
> > to ongoing release of CXF.
> > 
> > I am trying to build CXF 2.0.13 which is up for release as per the "
> > *[VOTE] Release CXF 2.0.13/2.1.10/2.2.9".
> > *I see some test failures which are as follows: I am running a clean
> > build with clean M2repo.My environment is
> > apache maven 2.0.10, windows XP SP2 and  Java 5.
> > 
> > Can someone help me identify what might be going wrong?
> > 
> > Running org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest
> > Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.125 sec
> > <<< FAILURE!
> > testSuppressCodeGen(org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest)
> > Time elapsed: 0.453 sec
> > <<< FAILURE!
> > org.junit.ComparisonFailure:
> > expected:<http://localhost:9[000/SoapContext/SoapPort]> but was:<http:
> > /localhost:9[100]>
> > 
> >         at org.junit.Assert.assertEquals(Assert.java:99)
> >         at org.junit.Assert.assertEquals(Assert.java:117)
> >         at
> > 
> > org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest.testSuppressCodeGen(
> > JAXWSContainerT st.java:198)
> > 
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> > 
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> > :64)
> > 
> >         at
> > 
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> > mpl.java:43)
> > 
> >         at java.lang.reflect.Method.invoke(Method.java:615)
> >         at
> >         org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
> >         at
> > 
> > org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:9
> > 8)
> > 
> >         at
> > 
> > org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
> > 
> >         at
> > 
> > org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(Meth
> > odRoadie.java:8 )
> > 
> >         at
> > 
> > org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
> > 
> >         at
> > 
> > org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
> > 
> >         at
> > 
> > org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4Class
> > Runner.java:88)
> > 
> >         at
> > 
> > org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner
> > .java:51)
> > 
> >         at
> > 
> > org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java
> > :44)
> > 
> >         at
> > 
> > org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27
> > )
> > 
> >         at
> > 
> > org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
> > 
> >         at
> > 
> > org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:4
> > 2)
> > 
> >         at
> > 
> > org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java
> > :62)
> > 
> >         at
> > 
> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet
> > (AbstractDirect ryTestSuite.java:138)
> > 
> >         at
> > 
> > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Abstra
> > ctDirectoryTest uite.java:125)
> > 
> >         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> > 
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> > :64)
> > 
> >         at
> > 
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> > mpl.java:43)
> > 
> >         at java.lang.reflect.Method.invoke(Method.java:615)
> >         at
> > 
> > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Surefi
> > reBooter.java:2 0)
> > 
> >         at
> > 
> > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:
> > 818)
> > 
> > Running org.apache.cxf.tools.wsdlto.validator.ValidatorTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.485 sec
> > Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenTest
> > Tests run: 41, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 76.39
> > sec Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenBugTest
> > 2010-06-04 14:35:05.005::INFO:  Logging to STDERR via
> > org.mortbay.log.StdErrLog
> > 2010-06-04 14:35:05.052::INFO:  jetty-6.1.18
> > 2010-06-04 14:35:05.083::INFO:  Started SocketConnector@0.0.0.0:8585
> > Tests run: 54, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.719
> > sec
> > Running org.apache.cxf.tools.wsdlto.jaxws.JAXWSBindingTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.469 sec
> > Running org.apache.cxf.tools.wsdlto.core.PluginLoaderTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> > Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenOptionTest
> > Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.297 sec
> > Running org.apache.cxf.tools.wsdlto.jaxws.CatalogTest
> > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.406 sec
> > Running
> > org.apache.cxf.tools.wsdlto.jaxws.wsdl11.JAXWSDefinitionBuilderTest
> > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047
> > sec Running org.apache.cxf.tools.wsdlto.WSDLToJavaTest
> > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> > 
> > Results :
> > 
> > Failed tests:
> >   testSuppressCodeGen(org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTes
> >   t)
> > 
> > Tests run: 112, Failures: 1, Errors: 0, Skipped: 0
> > 
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] There are test failures.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 50 minutes 19 seconds
> > [INFO] Finished at: Fri Jun 04 14:36:10 IST 2010
> > [INFO] Final Memory: 60M/192M
> > [INFO]
> > ------------------------------------------------------------------------
> > 
> > Thanks for all the help!!
> > 
> > Regards
> > Ashish

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

Re: Regarding the CXF release 2.0.13

Posted by Ashish Jain <as...@gmail.com>.
Just an update I built CXF 2.1.10 and I see another build failure. Kindly
help me resolving this issue

INFO] Compiling 6 source files to
C:\builds\cxf2110\cxf-2.1.10\common\xjc\dv-test\target\classes
INFO]
------------------------------------------------------------------------
ERROR] BUILD FAILURE
INFO]
------------------------------------------------------------------------
INFO] Compilation failure
:/builds/cxf2110/cxf-2.1.10/common/xjc/dv-test/target/generated/src/test/java/org/apache/cxf/config
ration/foo/package-info.java:[8,148] package annotations should be in file
package-info.java



:/builds/cxf2110/cxf-2.1.10/common/xjc/dv-test/target/generated/src/test/java/org/apache/cxf/config
ration/foo/package-info.java:[8,148] package annotations should be in file
package-info.java


INFO]
------------------------------------------------------------------------
INFO] For more information, run Maven with the -e switch
INFO]
------------------------------------------------------------------------
INFO] Total time: 87 minutes 22 seconds
INFO] Finished at: Fri Jun 04 17:51:07 IST 2010
INFO] Final Memory: 47M/130M

--Ashish

On Fri, Jun 4, 2010 at 2:50 PM, Ashish Jain <as...@gmail.com> wrote:

> Hi All,
>
> Since I have joined the mailing list today I am sending it as a reference
> to ongoing release of CXF.
>
> I am trying to build CXF 2.0.13 which is up for release as per the " *[VOTE]
> Release CXF 2.0.13/2.1.10/2.2.9".
> *I see some test failures which are as follows: I am running a clean build
> with clean M2repo.My environment is
> apache maven 2.0.10, windows XP SP2 and  Java 5.
>
> Can someone help me identify what might be going wrong?
>
> Running org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.125 sec
> <<< FAILURE!
> testSuppressCodeGen(org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest)
> Time elapsed: 0.453 sec
> <<< FAILURE!
> org.junit.ComparisonFailure: expected:<http://localhost:9[000/SoapContext/SoapPort]>
> but was:<http:
> /localhost:9[100]>
>         at org.junit.Assert.assertEquals(Assert.java:99)
>         at org.junit.Assert.assertEquals(Assert.java:117)
>         at
> org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest.testSuppressCodeGen(JAXWSContainerT
> st.java:198)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:615)
>         at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
>         at
> org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
>         at
> org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
>         at
> org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:8
> )
>         at
> org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
>         at
> org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
>         at
> org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
>         at
> org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
>         at
> org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
>         at
> org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
>         at
> org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
>         at
> org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
>         at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirect
> ryTestSuite.java:138)
>         at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTest
> uite.java:125)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:615)
>         at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:2
> 0)
>         at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
>
> Running org.apache.cxf.tools.wsdlto.validator.ValidatorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.485 sec
> Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenTest
> Tests run: 41, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 76.39 sec
> Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenBugTest
> 2010-06-04 14:35:05.005::INFO:  Logging to STDERR via
> org.mortbay.log.StdErrLog
> 2010-06-04 14:35:05.052::INFO:  jetty-6.1.18
> 2010-06-04 14:35:05.083::INFO:  Started SocketConnector@0.0.0.0:8585
> Tests run: 54, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.719
> sec
> Running org.apache.cxf.tools.wsdlto.jaxws.JAXWSBindingTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.469 sec
> Running org.apache.cxf.tools.wsdlto.core.PluginLoaderTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.apache.cxf.tools.wsdlto.jaxws.CodeGenOptionTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.297 sec
> Running org.apache.cxf.tools.wsdlto.jaxws.CatalogTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.406 sec
> Running org.apache.cxf.tools.wsdlto.jaxws.wsdl11.JAXWSDefinitionBuilderTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
> Running org.apache.cxf.tools.wsdlto.WSDLToJavaTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
>
> Results :
>
> Failed tests:
>   testSuppressCodeGen(org.apache.cxf.tools.wsdlto.jaxws.JAXWSContainerTest)
>
> Tests run: 112, Failures: 1, Errors: 0, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 50 minutes 19 seconds
> [INFO] Finished at: Fri Jun 04 14:36:10 IST 2010
> [INFO] Final Memory: 60M/192M
> [INFO]
> ------------------------------------------------------------------------
>
> Thanks for all the help!!
>
> Regards
> Ashish
>