geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@planet57.com>
Subject Re: Surefire build issue
Date Mon, 02 Apr 2007 06:39:45 GMT
Ya, I see that too :-(

--jason


On Apr 1, 2007, at 11:32 PM, Jacek Laskowski wrote:

> On 4/2/07, Jacek Laskowski <jacek@laskowski.net.pl> wrote:
>
>> It's the first build with M2 2.0.6 so keep fingers crossed ;-)
>
> Alas, I'm unlucky today!
>
> $ svn up
> At revision 524731.
>
> $ mvn clean install
> ...
> [INFO]  
> ---------------------------------------------------------------------- 
> ------
> [INFO] Building Geronimo :: AXIS2
> [INFO]    task-segment: [clean, install]
> [INFO]  
> ---------------------------------------------------------------------- 
> ------
> [INFO] [clean:clean]
> [INFO] Deleting directory c:\oss\geronimo\modules\geronimo-axis2 
> \target
> [INFO] Deleting directory c:\oss\geronimo\modules\geronimo-axis2 
> \target\classes
> [INFO] Deleting directory
> c:\oss\geronimo\modules\geronimo-axis2\target\test-classes
> [INFO] [enforcer:enforce {execution: default}]
> [INFO] Detected JDK Version: 1.5.0-11 is allowed in the range  
> [1.5,1.6).
> [INFO] Detected Maven Version: 2.0.6 is allowed in the range [2.0.5,).
> [INFO] [build-helper:add-test-source {execution: add-test-source}]
> [INFO] Test Source directory:
> c:\oss\geronimo\modules\geronimo-axis2\target\schema\src added.
> [INFO] [tools:copy-legal-files {execution: install-legal-files}]
> [INFO] Created dir:
> c:\oss\geronimo\modules\geronimo-axis2\target\classes\META-INF
> [INFO] Copying 2 files to
> c:\oss\geronimo\modules\geronimo-axis2\target\classes\META-INF
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] snapshot org.apache.axis2:axis2-jaxws:SNAPSHOT: checking for
> updates from apache-snapshots
> [INFO] snapshot org.apache.axis2:axis2-jaxws:SNAPSHOT: checking for
> updates from codehaus-snapshots
> [INFO] snapshot org.apache.axis2:axis2-jaxws:SNAPSHOT: checking for
> updates from apache.snapshots
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/axis2/axis2-jaxws/SNAPSHOT/axis2- 
> jaxws-20070330.190024-85.pom
> 34K downloaded
> [INFO] snapshot org.apache.axis2:axis2-kernel:SNAPSHOT: checking for
> updates from apache-snapshots
> [INFO] snapshot org.apache.axis2:axis2-kernel:SNAPSHOT: checking for
> updates from codehaus-snapshots
> [INFO] snapshot org.apache.axis2:axis2-kernel:SNAPSHOT: checking for
> updates from apache.snapshots
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/axis2/axis2-kernel/SNAPSHOT/axis2- 
> kernel-20070401.014134-137.pom
> 7K downloaded
> [INFO] snapshot org.apache.axis2:axis2-java2wsdl:SNAPSHOT: checking
> for updates from apache-snapshots
> [INFO] snapshot org.apache.axis2:axis2-java2wsdl:SNAPSHOT: checking
> for updates from codehaus-snapshots
> [INFO] snapshot org.apache.axis2:axis2-java2wsdl:SNAPSHOT: checking
> for updates from apache.snapshots
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/axis2/axis2-java2wsdl/SNAPSHOT/axis2- 
> java2wsdl-20070401.014134-148.pom
> 3K downloaded
> [INFO] snapshot org.apache.ws.commons.axiom:axiom-api:SNAPSHOT:
> checking for updates from apache-snapshots
> [INFO] snapshot org.apache.ws.commons.axiom:axiom-api:SNAPSHOT:
> checking for updates from codehaus-snapshots
> [INFO] snapshot org.apache.ws.commons.axiom:axiom-api:SNAPSHOT:
> checking for updates from apache.snapshots
> [INFO] snapshot org.apache.ws.commons.axiom:axiom-parent:SNAPSHOT:
> checking for updates from apache-snapshots
> [INFO] snapshot org.apache.ws.commons.axiom:axiom-parent:SNAPSHOT:
> checking for updates from codehaus-snapshots
> [INFO] snapshot org.apache.ws.commons.axiom:axiom-parent:SNAPSHOT:
> checking for updates from apache.snapshots
> Downloading: http://tomcat.apache.org/dev/dist/m2-repository//jaxen/ 
> jaxen/1.1-beta-10/jaxen-1.1-beta-10.pom
> Downloading: http://people.apache.org/repo/m2-incubating- 
> repository//jaxen/jaxen/1.1-beta-10/jaxen-1.1-beta-10.pom
> Downloading: http://repository.codehaus.org/jaxen/jaxen/1.1-beta-10/ 
> jaxen-1.1-beta-10.pom
> Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.1-beta-10/ 
> jaxen-1.1-beta-10.pom
> [INFO] snapshot org.apache.ws.commons.axiom:axiom-impl:SNAPSHOT:
> checking for updates from apache-snapshots
> [INFO] snapshot org.apache.ws.commons.axiom:axiom-impl:SNAPSHOT:
> checking for updates from codehaus-snapshots
> [INFO] snapshot org.apache.ws.commons.axiom:axiom-impl:SNAPSHOT:
> checking for updates from apache.snapshots
> [INFO] snapshot org.apache.ws.commons.schema:XmlSchema:SNAPSHOT:
> checking for updates from apache-snapshots
> [INFO] snapshot org.apache.ws.commons.schema:XmlSchema:SNAPSHOT:
> checking for updates from codehaus-snapshots
> [INFO] snapshot org.apache.ws.commons.schema:XmlSchema:SNAPSHOT:
> checking for updates from apache.snapshots
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/ws/commons/schema/XmlSchema/SNAPSHOT/ 
> XmlSchema-20070330.195406-36.pom
> 15K downloaded
> Downloading: http://tomcat.apache.org/dev/dist/m2-repository//org/ 
> apache/neethi/neethi/2.0/neethi-2.0.pom
> Downloading: http://people.apache.org/repo/m2-incubating- 
> repository//org/apache/neethi/neethi/2.0/neethi-2.0.pom
> Downloading: http://repository.codehaus.org/org/apache/neethi/ 
> neethi/2.0/neethi-2.0.pom
> Downloading: http://repo1.maven.org/maven2/org/apache/neethi/neethi/ 
> 2.0/neethi-2.0.pom
> [INFO] snapshot org.apache.woden:woden:1.0-incubating-SNAPSHOT:
> checking for updates from apache-snapshots
> [INFO] snapshot org.apache.woden:woden:1.0-incubating-SNAPSHOT:
> checking for updates from codehaus-snapshots
> [INFO] snapshot org.apache.woden:woden:1.0-incubating-SNAPSHOT:
> checking for updates from apache.snapshots
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/woden/woden/1.0-incubating-SNAPSHOT/woden-1.0- 
> incubating-20070331.130038-63.pom
> 7K downloaded
> [INFO] snapshot org.apache.ws.commons.axiom:axiom-dom:SNAPSHOT:
> checking for updates from apache-snapshots
> [INFO] snapshot org.apache.ws.commons.axiom:axiom-dom:SNAPSHOT:
> checking for updates from codehaus-snapshots
> [INFO] snapshot org.apache.ws.commons.axiom:axiom-dom:SNAPSHOT:
> checking for updates from apache.snapshots
> [INFO] snapshot org.apache.axis2:axis2-adb:SNAPSHOT: checking for
> updates from apache-snapshots
> [INFO] snapshot org.apache.axis2:axis2-adb:SNAPSHOT: checking for
> updates from codehaus-snapshots
> [INFO] snapshot org.apache.axis2:axis2-adb:SNAPSHOT: checking for
> updates from apache.snapshots
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/axis2/axis2-adb/SNAPSHOT/axis2-adb-20070401.014134-113.pom
> 3K downloaded
> [INFO] snapshot org.apache.axis2:axis2-saaj:SNAPSHOT: checking for
> updates from apache-snapshots
> [INFO] snapshot org.apache.axis2:axis2-saaj:SNAPSHOT: checking for
> updates from codehaus-snapshots
> [INFO] snapshot org.apache.axis2:axis2-saaj:SNAPSHOT: checking for
> updates from apache.snapshots
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/axis2/axis2-saaj/SNAPSHOT/axis2-saaj-20070330.190024-4.pom
> 4K downloaded
> [INFO] snapshot org.apache.axis2:axis2-metadata:SNAPSHOT: checking for
> updates from apache-snapshots
> [INFO] snapshot org.apache.axis2:axis2-metadata:SNAPSHOT: checking for
> updates from codehaus-snapshots
> [INFO] snapshot org.apache.axis2:axis2-metadata:SNAPSHOT: checking for
> updates from apache.snapshots
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/axis2/axis2-metadata/SNAPSHOT/axis2- 
> metadata-20070330.190024-100.pom
> 6K downloaded
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/axis2/axis2-jaxws/SNAPSHOT/axis2- 
> jaxws-20070330.190024-85.jar
> 367K downloaded
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/axis2/axis2-java2wsdl/SNAPSHOT/axis2- 
> java2wsdl-20070401.014134-148.jar
> 55K downloaded
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/axis2/axis2-kernel/SNAPSHOT/axis2- 
> kernel-20070401.014134-137.jar
> 887K downloaded
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/ws/commons/schema/XmlSchema/SNAPSHOT/ 
> XmlSchema-20070330.195406-36.jar
> 130K downloaded
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/axis2/axis2-saaj/SNAPSHOT/axis2-saaj-20070330.190024-4.jar
> 76K downloaded
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/axis2/axis2-adb/SNAPSHOT/axis2-adb-20070401.014134-113.jar
> 144K downloaded
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/woden/woden/1.0-incubating-SNAPSHOT/woden-1.0- 
> incubating-20070331.130038-63.jar
> 343K downloaded
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/ 
> org/apache/axis2/axis2-metadata/SNAPSHOT/axis2- 
> metadata-20070330.190024-100.jar
> 484K downloaded
> [INFO] [compiler:compile]
> [INFO] Compiling 11 source files to
> c:\oss\geronimo\modules\geronimo-axis2\target\classes
> Downloading: http://tomcat.apache.org/dev/dist/m2-repository//org/ 
> apache/axis2/axis2-jaxws/20070330.190024-85/axis2- 
> jaxws-20070330.190024-85.pom
> Downloading: http://people.apache.org/repo/m2-incubating- 
> repository//org/apache/axis2/axis2-jaxws/20070330.190024-85/axis2- 
> jaxws-20070330.190024-85.pom
> Downloading: http://repository.codehaus.org/org/apache/axis2/axis2- 
> jaxws/20070330.190024-85/axis2-jaxws-20070330.190024-85.pom
> Downloading: http://repo1.maven.org/maven2/org/apache/axis2/axis2- 
> jaxws/20070330.190024-85/axis2-jaxws-20070330.190024-85.pom
> [INFO] [antrun:run {execution: generate-test-sources}]
> [INFO] Executing tasks
>     [echo] Generating java from test_service_simple.wsdl
>    [mkdir] Created dir:
> C:\oss\geronimo\modules\geronimo-axis2\target\schema\src
>     [echo] Generating java from test_service_doclitbare.wsdl
>     [echo] Generating java from test_service_rpclit.wsdl
> [INFO] Executed tasks
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Compiling 22 source files to
> c:\oss\geronimo\modules\geronimo-axis2\target\test-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> c:\oss\geronimo\modules\geronimo-axis2\target\surefire-reports
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.geronimo.axis2.Axis2HandlerResolverTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:  
> 0.578 sec
> Running org.apache.geronimo.axis2.Axis2WebServiceContainerTest
> java.lang.NoClassDefFoundError: org/apache/axis2/AxisFault
>        at  
> org.apache.geronimo.axis2.Axis2WebServiceContainerTest.invokeWithWSDL( 
> Axis2WebServiceContainerTest.java:144)
>        at  
> org.apache.geronimo.axis2.Axis2WebServiceContainerTest.testInvokeWithW 
> SDL(Axis2WebServiceContainerTest.java:49)
>        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:585)
>        at junit.framework.TestCase.runTest(TestCase.java:154)
>        at junit.framework.TestCase.runBare(TestCase.java:127)
>        at junit.framework.TestResult$1.protect(TestResult.java:106)
>        at junit.framework.TestResult.runProtected(TestResult.java:124)
>        at junit.framework.TestResult.run(TestResult.java:109)
>        at junit.framework.TestCase.run(TestCase.java:118)
>        at junit.framework.TestSuite.runTest(TestSuite.java:208)
>        at junit.framework.TestSuite.run(TestSuite.java:203)
>        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:585)
>        at org.apache.maven.surefire.junit.JUnitTestSet.execute 
> (JUnitTestSet.java:210)
>        at  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTest 
> Set(AbstractDirectoryTestSuite.java:135)
>        at  
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute 
> (AbstractDirectoryTestSuite.java:122)
>        at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
>        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:585)
>        at  
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess 
> (SurefireBooter.java:225)
>        at org.apache.maven.surefire.booter.SurefireBooter.main 
> (SurefireBooter.java:747)
> Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.297
> sec <<< FAILURE!
>
> Results :
> Tests run: 8, Failures: 0, Errors: 2, 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: 13 minutes 15 seconds
> [INFO] Finished at: Mon Apr 02 08:27:39 CEST 2007
> [INFO] Final Memory: 101M/254M
> [INFO]  
> ---------------------------------------------------------------------- 
> --
>
> $ cat modules/geronimo-axis2/target/surefire-reports/ 
> org.apache.geronimo.axis2.Axis2WebServiceContainerTest.txt
> ---------------------------------------------------------------------- 
> ---------
> Test set: org.apache.geronimo.axis2.Axis2WebServiceContainerTest
> ---------------------------------------------------------------------- 
> ---------
> Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.297
> sec <<< FAILURE!
> testInvokeWithWSDL 
> (org.apache.geronimo.axis2.Axis2WebServiceContainerTest)
> Time elapsed: 0.281 sec  <<< ERROR!
> java.lang.Exception: java.lang.NoClassDefFoundError: org/apache/ 
> axis2/AxisFault
>        at  
> org.apache.geronimo.axis2.Axis2WebServiceContainerTest.invokeWithWSDL( 
> Axis2WebServiceContainerTest.java:151)
>        at  
> org.apache.geronimo.axis2.Axis2WebServiceContainerTest.testInvokeWithW 
> SDL(Axis2WebServiceContainerTest.java:49)
>
> testGetWSDL(org.apache.geronimo.axis2.Axis2WebServiceContainerTest)
> Time elapsed: 0 sec  <<< ERROR!
> java.lang.NoClassDefFoundError: org/apache/axis2/AxisFault
>        at  
> org.apache.geronimo.axis2.Axis2WebServiceContainerTest.testGetWSDL 
> (Axis2WebServiceContainerTest.java:73)
>
>
> Jacek
>
> -- 
> Jacek Laskowski
> http://www.JacekLaskowski.pl


Mime
View raw message