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

See http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/261/changes

Changes:

[jdeolive] Setting servlet path and query string properly in mock http request

[jdeolive] added some methods for manipulating paths and urls

------------------------------------------
[...truncated 407 lines...]
[INFO] ----------------------------------------------------------------------------
[INFO] Building Web Coverage Service Module
[INFO] task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs/target
[INFO] [cobertura:clean {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.geotools:gt2-arcgrid:2.5-SNAPSHOT: checking for updates from refractions
[INFO] snapshot it.geosolutions.imageio-ext:imageio-ext-arcgrid:1.0-SNAPSHOT: checking for updates from refractions
[INFO] snapshot it.geosolutions.imageio-ext:imageio-ext-plugin:1.0-SNAPSHOT: checking for updates from refractions
[INFO] snapshot it.geosolutions.imageio-ext:imageio-ext:1.0-SNAPSHOT: checking for updates from refractions
[INFO] snapshot it.geosolutions.imageio-ext:imageio-ext-customstreams:1.0-SNAPSHOT: checking for updates from refractions
[INFO] snapshot it.geosolutions.imageio-ext:imageio-ext-library:1.0-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools:gt2-geotiff:2.5-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools:gt2-gtopo30:2.5-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools:gt2-image:2.5-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools:gt2-imagemosaic:2.5-SNAPSHOT: checking for updates from refractions
[INFO] [compiler:compile]
[INFO] Compiling 35 source files to http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs/target/classes
[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://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs/target/wcs-1.7.0-SNAPSHOT.jar
[INFO] [jar:test-jar {execution: default}]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs/target/wcs-1.7.0-SNAPSHOT-tests.jar
[INFO] [install:install]
[INFO] Installing http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs/target/wcs-1.7.0-SNAPSHOT.jar to /home/tomcat/.m2/repository/org/geoserver/wcs/1.7.0-SNAPSHOT/wcs-1.7.0-SNAPSHOT.jar
[INFO] Installing http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs/target/wcs-1.7.0-SNAPSHOT-tests.jar to /home/tomcat/.m2/repository/org/geoserver/wcs/1.7.0-SNAPSHOT/wcs-1.7.0-SNAPSHOT-tests.jar
[INFO] ----------------------------------------------------------------------------
[INFO] Building Open Web Service Model v1.1.0
[INFO] task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/net.opengis.ows.1_1/target
[INFO] [cobertura:clean {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 149 source files to http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/net.opengis.ows.1_1/target/classes
[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://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/net.opengis.ows.1_1/target/net.opengis.ows.1_1-1.7.0-SNAPSHOT.jar
[INFO] [jar:test-jar {execution: default}]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/net.opengis.ows.1_1/target/net.opengis.ows.1_1-1.7.0-SNAPSHOT-tests.jar
[INFO] [install:install]
[INFO] Installing http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/net.opengis.ows.1_1/target/net.opengis.ows.1_1-1.7.0-SNAPSHOT.jar to /home/tomcat/.m2/repository/org/geoserver/net.opengis.ows.1_1/1.7.0-SNAPSHOT/net.opengis.ows.1_1-1.7.0-SNAPSHOT.jar
[INFO] Installing http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/net.opengis.ows.1_1/target/net.opengis.ows.1_1-1.7.0-SNAPSHOT-tests.jar to /home/tomcat/.m2/repository/org/geoserver/net.opengis.ows.1_1/1.7.0-SNAPSHOT/net.opengis.ows.1_1-1.7.0-SNAPSHOT-tests.jar
[INFO] ----------------------------------------------------------------------------
[INFO] Building Web Coverage Service Model v1.1.1
[INFO] task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/net.opengis.wcs.1_1/target
[INFO] [cobertura:clean {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 94 source files to http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/net.opengis.wcs.1_1/target/classes
[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://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/net.opengis.wcs.1_1/target/net.opengis.wcs.1_1-1.7.0-SNAPSHOT.jar
[INFO] [jar:test-jar {execution: default}]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/net.opengis.wcs.1_1/target/net.opengis.wcs.1_1-1.7.0-SNAPSHOT-tests.jar
[INFO] [install:install]
[INFO] Installing http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/net.opengis.wcs.1_1/target/net.opengis.wcs.1_1-1.7.0-SNAPSHOT.jar to /home/tomcat/.m2/repository/org/geoserver/net.opengis.wcs.1_1/1.7.0-SNAPSHOT/net.opengis.wcs.1_1-1.7.0-SNAPSHOT.jar
[INFO] Installing http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/net.opengis.wcs.1_1/target/net.opengis.wcs.1_1-1.7.0-SNAPSHOT-tests.jar to /home/tomcat/.m2/repository/org/geoserver/net.opengis.wcs.1_1/1.7.0-SNAPSHOT/net.opengis.wcs.1_1-1.7.0-SNAPSHOT-tests.jar
[INFO] ----------------------------------------------------------------------------
[INFO] Building Web Coverage Service 1.1.1 Module
[INFO] task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target
[INFO] [cobertura:clean {execution: default}]
[INFO] [javacc:jjtree {execution: jjtree}]
Java Compiler Compiler Version 4.0 (Tree Builder)
(type "jjtree" with no arguments for help)
Warning: Output directory "http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/generated-sources/jjtree/org/geoserver/wcs/kvp/rangesubset" does not exist. Creating the directory.
Reading from file http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/src/main/java/org/geoserver/wcs/kvp/rangesubset/rangeset.jjt . . .
Warning: Duplicate option setting for "VISITOR" will be ignored.
File "http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/generated-sources/jjtree/org/geoserver/wcs/kvp/rangesubset/Node.java" does not exist. Will create one.
File "http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/generated-sources/jjtree/org/geoserver/wcs/kvp/rangesubset/SimpleNode.java" does not exist. Will create one.
File "http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/generated-sources/jjtree/org/geoserver/wcs/kvp/rangesubset/ASTRangeSubset.java" does not exist. Will create one.
File "http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/generated-sources/jjtree/org/geoserver/wcs/kvp/rangesubset/ASTFieldSubset.java" does not exist. Will create one.
File "http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/generated-sources/jjtree/org/geoserver/wcs/kvp/rangesubset/ASTAxisSubset.java" does not exist. Will create one.
File "http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/generated-sources/jjtree/org/geoserver/wcs/kvp/rangesubset/ASTFieldId.java" does not exist. Will create one.
File "http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/generated-sources/jjtree/org/geoserver/wcs/kvp/rangesubset/ASTAxisId.java" does not exist. Will create one.
File "http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/generated-sources/jjtree/org/geoserver/wcs/kvp/rangesubset/ASTInterpolation.java" does not exist. Will create one.
File "http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/generated-sources/jjtree/org/geoserver/wcs/kvp/rangesubset/ASTKey.java" does not exist. Will create one.
Annotated grammar generated successfully in http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/generated-sources/jjtree/org/geoserver/wcs/kvp/rangesubset/rangeset.jj
[INFO] [javacc:javacc {execution: javacc}]
Java Compiler Compiler Version 4.0 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from file http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/generated-sources/jjtree/org/geoserver/wcs/kvp/rangesubset/rangeset.jj . . .
File "TokenMgrError.java" does not exist. Will create one.
File "ParseException.java" does not exist. Will create one.
File "Token.java" does not exist. Will create one.
File "SimpleCharStream.java" does not exist. Will create one.
Parser generated successfully.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 52 source files to http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.geoserver:main:1.7.0-SNAPSHOT: checking for updates from refractions
[INFO] [compiler:testCompile]
[INFO] Compiling 11 source files to http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.wcs.DescribeCoverageTest
Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 4.853 sec <<< FAILURE!
Running org.geoserver.wcs.kvp.GetCoverageReaderTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.628 sec
Running org.geoserver.wcs.kvp.BoundingBoxKvpParserTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.geoserver.wcs.GetCoverageTest
Error: Could not find mediaLib accelerator wrapper classes. Continuing in pure Java mode.
Occurs in: com.sun.media.jai.mlib.MediaLibAccessor
java.lang.NoClassDefFoundError: com/sun/medialib/mlib/Image
  at com.sun.media.jai.mlib.MediaLibAccessor$1.run(MediaLibAccessor.java:248)
  at java.security.AccessController.doPrivileged(Native Method)
  at com.sun.media.jai.mlib.MediaLibAccessor.setUseMlib(MediaLibAccessor.java:245)
  at com.sun.media.jai.mlib.MediaLibAccessor.useMlib(MediaLibAccessor.java:177)
  at com.sun.media.jai.mlib.MediaLibAccessor.isMediaLibCompatible(MediaLibAccessor.java:357)
  at com.sun.media.jai.mlib.MediaLibAccessor.isMediaLibCompatible(MediaLibAccessor.java:315)
  at com.sun.media.jai.mlib.MlibWarpRIF.create(MlibWarpRIF.java:65)
  at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:585)
  at javax.media.jai.FactoryCache.invoke(FactoryCache.java:122)
  at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674)
  at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:473)
  at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332)
  at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:819)
  at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867)
  at javax.media.jai.RenderedOp.getMinX(RenderedOp.java:2161)
  at org.geotools.coverage.processing.operation.Resampler2D.reproject(Resampler2D.java:610)
  at org.geotools.coverage.processing.operation.Resample.doOperation(Resample.java:209)
  at org.vfny.geoserver.util.WCSUtils.scale(WCSUtils.java:225)
  at org.geoserver.wcs.DefaultWebCoverageService111.getCoverage(DefaultWebCoverageService111.java:317)
  at org.geoserver.wcs.GetCoverageTest.executeGetCoverageKvp(GetCoverageTest.java:322)
  at org.geoserver.wcs.GetCoverageTest.testKvpBasic(GetCoverageTest.java:63)
  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:164)
  at junit.framework.TestCase.runBare(TestCase.java:130)
  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:120)
  at junit.framework.TestSuite.runTest(TestSuite.java:230)
  at junit.framework.TestSuite.run(TestSuite.java:225)
  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:213)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
  at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
  at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
  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:338)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.24 sec
Running org.geoserver.wcs.xml.GetCapabilitiesXmlParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.336 sec
Running org.geoserver.wcs.xml.GetCoverageXmlParserTest
class [Ljava.lang.Double;: [Ljava.lang.Double;@19eb89
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.6 sec
Running org.geoserver.wcs.kvp.RangeSubsetKvpParserTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.geoserver.wcs.xml.DescribeCoverageXmlParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 sec
Running org.geoserver.wcs.GetCapabilitiesTest
Tests run: 14, Failures: 0, Errors: 14, Skipped: 0, Time elapsed: 1.06 sec <<< FAILURE!
Running org.geoserver.wcs.GetCoverageEncodingTest
Tests run: 4, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.04 sec <<< FAILURE!

Results :

Tests in error:
  testDescribeNoIdentifiers(org.geoserver.wcs.DescribeCoverageTest)
  testDescribeUnknownCoverageKvp(org.geoserver.wcs.DescribeCoverageTest)
  testDescribeMissingVersion(org.geoserver.wcs.DescribeCoverageTest)
  testDescribeUnknownCoverageXml(org.geoserver.wcs.DescribeCoverageTest)
  testDescribeDemCoverageKvp(org.geoserver.wcs.DescribeCoverageTest)
  testDescribeDemCoverageXml(org.geoserver.wcs.DescribeCoverageTest)
  testDescribeRotatedCoverage(org.geoserver.wcs.DescribeCoverageTest)
  testDescribeImageCoverage(org.geoserver.wcs.DescribeCoverageTest)
  testGetBasic(org.geoserver.wcs.GetCapabilitiesTest)
  testNoServiceContactInfo(org.geoserver.wcs.GetCapabilitiesTest)
  testPostBasic(org.geoserver.wcs.GetCapabilitiesTest)
  testUnsupportedVersionPost(org.geoserver.wcs.GetCapabilitiesTest)
  testUnsupportedVersionGet(org.geoserver.wcs.GetCapabilitiesTest)
  testSupportedVersionGet(org.geoserver.wcs.GetCapabilitiesTest)
  testSupportedVersionPost(org.geoserver.wcs.GetCapabilitiesTest)
  testUpdateSequenceInferiorGet(org.geoserver.wcs.GetCapabilitiesTest)
  testUpdateSequenceInferiorPost(org.geoserver.wcs.GetCapabilitiesTest)
  testUpdateSequenceEqualsGet(org.geoserver.wcs.GetCapabilitiesTest)
  testUpdateSequenceEqualsPost(org.geoserver.wcs.GetCapabilitiesTest)
  testUpdateSequenceSuperiorGet(org.geoserver.wcs.GetCapabilitiesTest)
  testUpdateSequenceSuperiorPost(org.geoserver.wcs.GetCapabilitiesTest)
  testSectionsIgnoreGet(org.geoserver.wcs.GetCapabilitiesTest)
  testKvpBasic(org.geoserver.wcs.GetCoverageEncodingTest)
  testGeotiffNamesGalore(org.geoserver.wcs.GetCoverageEncodingTest)

Tests run: 69, Failures: 0, Errors: 24, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 11 seconds
[INFO] Finished at: Mon Feb 11 13:33:02 EST 2008
[INFO] Final Memory: 32M/63M
[INFO] ------------------------------------------------------------------------

See http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/262/changes