[Geoserver-devel] Build failed in Hudson: geoserver-trunk #596

See http://hudson.opengeo.org/hudson/job/geoserver-trunk/596/changes

Changes:

[aaime] Make the demo request prefix service independent (use ows instead of wfs/wms/wcs/wps).

------------------------------------------
[...truncated 164 lines...]
[INFO] [cobertura:clean {execution: default}]
[INFO] [site:attach-descriptor]
[INFO] [jar:test-jar {execution: default}]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/maven/archetype/target/archetype-2.0-SNAPSHOT-tests.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] [install:install]
[INFO] Installing http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/maven/archetype/pom.xml to /home/tomcat/.m2/repository/org/geoserver/maven/archetype/2.0-SNAPSHOT/archetype-2.0-SNAPSHOT.pom
[INFO] Installing http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/maven/archetype/target/archetype-2.0-SNAPSHOT-tests.jar to /home/tomcat/.m2/repository/org/geoserver/maven/archetype/2.0-SNAPSHOT/archetype-2.0-SNAPSHOT-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building GeoServer WFS Output Format Archetype
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/maven/archetype/wfsOutputFormat/target
[INFO] [cobertura:clean {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/maven/archetype/wfsOutputFormat/target/geoserver-archetype-wfsoutputformat-2.0-SNAPSHOT.jar
[INFO] [jar:test-jar {execution: default}]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/maven/archetype/wfsOutputFormat/target/geoserver-archetype-wfsoutputformat-2.0-SNAPSHOT-tests.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/maven/archetype/wfsOutputFormat/target/geoserver-archetype-wfsoutputformat-2.0-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/maven/archetype/wfsOutputFormat/target/geoserver-archetype-wfsoutputformat-2.0-SNAPSHOT.jar to /home/tomcat/.m2/repository/org/geoserver/maven/geoserver-archetype-wfsoutputformat/2.0-SNAPSHOT/geoserver-archetype-wfsoutputformat-2.0-SNAPSHOT.jar
[INFO] Installing http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/maven/archetype/wfsOutputFormat/target/geoserver-archetype-wfsoutputformat-2.0-SNAPSHOT-tests.jar to /home/tomcat/.m2/repository/org/geoserver/maven/geoserver-archetype-wfsoutputformat/2.0-SNAPSHOT/geoserver-archetype-wfsoutputformat-2.0-SNAPSHOT-tests.jar
[INFO] Installing http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/maven/archetype/wfsOutputFormat/target/geoserver-archetype-wfsoutputformat-2.0-SNAPSHOT-sources.jar to /home/tomcat/.m2/repository/org/geoserver/maven/geoserver-archetype-wfsoutputformat/2.0-SNAPSHOT/geoserver-archetype-wfsoutputformat-2.0-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Core Platform Module
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/platform/target
[INFO] [cobertura:clean {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 9 source files to http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/platform/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/platform/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/platform/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.platform.GeoServerExtensionsTest
Nov 21, 2008 5:37:07 PM org.geoserver.platform.GeoServerExtensions checkContext
SEVERE: Extension lookup occured, but ApplicationContext is unset.
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.12 sec

Results :

Tests run: 6, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/platform/target/platform-2.0-SNAPSHOT.jar
[INFO] [jar:test-jar {execution: default}]
[INFO] Building jar: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/platform/target/platform-2.0-SNAPSHOT-tests.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/platform/target/platform-2.0-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/platform/target/platform-2.0-SNAPSHOT.jar to /home/tomcat/.m2/repository/org/geoserver/platform/2.0-SNAPSHOT/platform-2.0-SNAPSHOT.jar
[INFO] Installing http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/platform/target/platform-2.0-SNAPSHOT-tests.jar to /home/tomcat/.m2/repository/org/geoserver/platform/2.0-SNAPSHOT/platform-2.0-SNAPSHOT-tests.jar
[INFO] Installing http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/platform/target/platform-2.0-SNAPSHOT-sources.jar to /home/tomcat/.m2/repository/org/geoserver/platform/2.0-SNAPSHOT/platform-2.0-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Data Module
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/data/target
[INFO] [cobertura:clean {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.geotools:gt-epsg-hsql:2.6-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools:plugin:2.6-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools:gt-coverage:2.6-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools:gt-property:2.6-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools.xsd:gt-xsd-gml2:2.6-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools.xsd:xsd:2.6-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools:extension:2.6-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools.xsd:gt-xsd-core:2.6-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools:gt-graph:2.6-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools:gt-jdbc:2.6-SNAPSHOT: checking for updates from refractions
[INFO] [compiler:compile]
[INFO] Compiling 19 source files to http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/data/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 7 source files to http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/data/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/data/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.feature.retype.RetypingDataStoreTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.47 sec
Running org.geoserver.feature.ReprojectingFilterVisitorTest
Nov 21, 2008 5:37:17 PM org.geotools.data.DefaultTransaction finalize
SEVERE: There's code leaving transaction unclosed. Call Transaction.close() after using them to ensure they do not hold state such as JDCB connections or file handles
Nov 21, 2008 5:37:17 PM org.geotools.data.DefaultTransaction finalize
SEVERE: Unclosed transaction handle is 'org.geoserver.feature.retype.RetypingDataStoreTest.testLockUnlockQuery Transaction'
Nov 21, 2008 5:37:17 PM org.geotools.data.DefaultTransaction finalize
SEVERE: There's code leaving transaction unclosed. Call Transaction.close() after using them to ensure they do not hold state such as JDCB connections or file handles
Nov 21, 2008 5:37:17 PM org.geotools.data.DefaultTransaction finalize
SEVERE: Unclosed transaction handle is 'org.geoserver.feature.retype.RetypingDataStoreTest.testLockUnlockQuery Transaction'
Nov 21, 2008 5:37:17 PM org.geotools.data.DefaultTransaction finalize
SEVERE: There's code leaving transaction unclosed. Call Transaction.close() after using them to ensure they do not hold state such as JDCB connections or file handles
Nov 21, 2008 5:37:17 PM org.geotools.data.DefaultTransaction finalize
SEVERE: Unclosed transaction handle is 'org.geoserver.feature.retype.RetypingDataStoreTest.testLockUnlockFilter Transaction'
Nov 21, 2008 5:37:17 PM org.geotools.data.DefaultTransaction finalize
SEVERE: There's code leaving transaction unclosed. Call Transaction.close() after using them to ensure they do not hold state such as JDCB connections or file handles
Nov 21, 2008 5:37:17 PM org.geotools.data.DefaultTransaction finalize
SEVERE: Unclosed transaction handle is 'org.geoserver.feature.retype.RetypingDataStoreTest.testLockUnlockFilter Transaction'
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.921 sec

Results :

Tests run: 21, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/data/target/data-2.0-SNAPSHOT.jar
[INFO] [jar:test-jar {execution: default}]
[INFO] Building jar: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/data/target/data-2.0-SNAPSHOT-tests.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/data/target/data-2.0-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/data/target/data-2.0-SNAPSHOT.jar to /home/tomcat/.m2/repository/org/geoserver/data/2.0-SNAPSHOT/data-2.0-SNAPSHOT.jar
[INFO] Installing http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/data/target/data-2.0-SNAPSHOT-tests.jar to /home/tomcat/.m2/repository/org/geoserver/data/2.0-SNAPSHOT/data-2.0-SNAPSHOT-tests.jar
[INFO] Installing http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/data/target/data-2.0-SNAPSHOT-sources.jar to /home/tomcat/.m2/repository/org/geoserver/data/2.0-SNAPSHOT/data-2.0-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Open Web Service Module
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/ows/target
[INFO] [cobertura:clean {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.geotools.ogc:net.opengis.ows:2.6-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools:ogc:2.6-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools:unsupported:2.6-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools.ogc:org.w3.xlink:2.6-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools.xsd:gt-xsd-ows:2.6-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools.xsd:gt-xsd-filter:2.6-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools.xsd:gt-xsd-gml3:2.6-SNAPSHOT: checking for updates from refractions
[INFO] [compiler:compile]
[INFO] Compiling 78 source files to http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/ows/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 16 source files to http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/ows/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/ows/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.ows.DispatcherTest
log4j:WARN No appenders could be found for logger (org.springframework.context.support.FileSystemXmlApplicationContext).
log4j:WARN Please initialize the log4j system properly.
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.614 sec
Running org.geoserver.ows.DefaultServiceExceptionHandlerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.178 sec
Running org.geoserver.ows.kvp.TimeKvpParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.geoserver.ows.XmlObjectEncodingResponseTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
Running org.geoserver.ows.kvp.CharsetKvpParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.geoserver.ows.kvp.KvpUtilsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec

Results :

Tests run: 23, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/ows/target/ows-2.0-SNAPSHOT.jar
[INFO] [jar:test-jar {execution: default}]
[INFO] Building jar: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/ows/target/ows-2.0-SNAPSHOT-tests.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/ows/target/ows-2.0-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/ows/target/ows-2.0-SNAPSHOT.jar to /home/tomcat/.m2/repository/org/geoserver/ows/2.0-SNAPSHOT/ows-2.0-SNAPSHOT.jar
[INFO] Installing http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/ows/target/ows-2.0-SNAPSHOT-tests.jar to /home/tomcat/.m2/repository/org/geoserver/ows/2.0-SNAPSHOT/ows-2.0-SNAPSHOT-tests.jar
[INFO] Installing http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/ows/target/ows-2.0-SNAPSHOT-sources.jar to /home/tomcat/.m2/repository/org/geoserver/ows/2.0-SNAPSHOT/ows-2.0-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Main Module
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/main/target
[INFO] [cobertura:clean {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.geotools:gt-cql:2.6-SNAPSHOT: checking for updates from maven-restlet
[INFO] snapshot org.geotools:gt-cql:2.6-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools:gt-validation:2.6-SNAPSHOT: checking for updates from maven-restlet
[INFO] snapshot org.geotools:gt-validation:2.6-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools:gt-data:2.6-SNAPSHOT: checking for updates from maven-restlet
[INFO] snapshot org.geotools:gt-data:2.6-SNAPSHOT: checking for updates from refractions
[INFO] [compiler:compile]
[INFO] Compiling 238 source files to http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/main/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/main/src/main/java/org/vfny/geoserver/util/requests/readers/KvpRequestReader.java :[428,10] exception org.geotools.filter.text.cql2.CQLException is never thrown in body of corresponding try statement

http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/main/src/main/java/org/vfny/geoserver/util/requests/readers/KvpRequestReader.java :[427,35] unreported exception org.geotools.filter.text.commons.CQLException; must be caught or declared to be thrown

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 45 seconds
[INFO] Finished at: Fri Nov 21 17:37:34 EST 2008
[INFO] Final Memory: 30M/63M
[INFO] ------------------------------------------------------------------------

Hudson ha scritto:

See http://hudson.opengeo.org/hudson/job/geoserver-trunk/596/changes

<snip>

http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/main/src/main/java/org/vfny/geoserver/util/requests/readers/KvpRequestReader.java :[428,10] exception org.geotools.filter.text.cql2.CQLException is never thrown in body of corresponding try statement

http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/main/src/main/java/org/vfny/geoserver/util/requests/readers/KvpRequestReader.java :[427,35] unreported exception org.geotools.filter.text.commons.CQLException; must be caught or declared to be thrown

Meh, this is due to API changes in GeoTools, whose build is not
working atm btw.
Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

On Friday 21 November 2008 16:33:20 Andrea Aime wrote:

Hudson ha scritto:
> See http://hudson.opengeo.org/hudson/job/geoserver-trunk/596/changes

<snip>

> http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/main/sr
>c/main/java/org/vfny/geoserver/util/requests/readers/KvpRequestReader.java
> :[428,10] exception org.geotools.filter.text.cql2.CQLException is never
> thrown in body of corresponding try statement
>
> http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/main/sr
>c/main/java/org/vfny/geoserver/util/requests/readers/KvpRequestReader.java
> :[427,35] unreported exception
> org.geotools.filter.text.commons.CQLException; must be caught or declared
> to be thrown

Meh, this is due to API changes in GeoTools, whose build is not
working atm btw.
Cheers
Andrea

I have commit the solution.
Revision: 31896

cheers
--
Mauricio

See http://hudson.opengeo.org/hudson/job/geoserver-trunk/597/changes