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

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

Changes:

[groldan] added easymock as test dependency for wms

[groldan] a single comment

[groldan] added some GetMapResponse unit tests

------------------------------------------
[...truncated 695 lines...]
  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:463)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:869)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsServletResponse(GeoServerAbstractTestSupport.java:545)
  at org.geoserver.test.GeoServerAbstractTestSupport.post(GeoServerAbstractTestSupport.java:520)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:679)
  at org.geoserver.wcs.DescribeCoverageTest.testDescribeUnknownCoverageXml(DescribeCoverageTest.java:76)
  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 org.geoserver.test.GeoServerAbstractTestSupport.runTest(GeoServerAbstractTestSupport.java:115)
  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 junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
  at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
  at junit.framework.TestResult.runProtected(TestResult.java:124)
  at junit.extensions.TestSetup.run(TestSetup.java:25)
  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)
Caused by: javax.xml.transform.TransformerException: Translator error
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:132)
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:107)
  at org.geoserver.wcs.response.DescribeCoverageResponse.write(DescribeCoverageResponse.java:35)
  ... 46 more
Caused by: org.vfny.geoserver.wcs.WcsException: Could not find the specified coverage: plop
  at org.geoserver.wcs.response.DescribeCoverageTransformer$WCS111DescribeCoverageTranslator.encode(DescribeCoverageTransformer.java:147)
  at org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:702)
  at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
  at org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:295)
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:128)
  ... 48 more
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.237 sec
Running org.geoserver.wcs.kvp.GetCoverageReaderTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.288 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
log4j:WARN File option not set for appender [geoserverlogfile].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
log4j:ERROR No output stream or file set for the appender named [geoserverlogfile].
06 May 09:38:02 INFO [test.GeoServerTestApplicationContext] - Refreshing org.geoserver.test.GeoServerTestApplicationContext@anonymised.com: display name [org.geoserver.test.GeoServerTestApplicationContext@anonymised.com]; startup date [Tue May 06 09:38:02 EDT 2008]; root of context hierarchy
06 May 09:38:02 INFO [test.GeoServerTestApplicationContext] - Bean factory for application context [org.geoserver.test.GeoServerTestApplicationContext@anonymised.com]: org.springframework.beans.factory.support.DefaultListableBeanFactory@anonymised.com
06 May 09:38:02 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/./target/mock15147data
----------------------------------
06 May 09:38:02 INFO [geoserver.global] - No baseMap groups defined yet
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.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 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:629)
  at org.geotools.coverage.processing.operation.Resample.doOperation(Resample.java:210)
  at org.vfny.geoserver.util.WCSUtils.scale(WCSUtils.java:225)
  at org.geoserver.wcs.DefaultWebCoverageService111.getCoverage(DefaultWebCoverageService111.java:331)
  at org.geoserver.wcs.GetCoverageTest.executeGetCoverageKvp(GetCoverageTest.java:412)
  at org.geoserver.wcs.GetCoverageTest.testKvpBasic(GetCoverageTest.java:79)
  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 org.geoserver.test.GeoServerAbstractTestSupport.runTest(GeoServerAbstractTestSupport.java:115)
  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 junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
  at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
  at junit.framework.TestResult.runProtected(TestResult.java:124)
  at junit.extensions.TestSetup.run(TestSetup.java:25)
  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)
06 May 09:38:04 INFO [geoserver.wcs] -
Request: getCoverage
  service = WCS
  version = 1.1.1
  baseUrl = http://localhost:80/geoserver/
  identifier:
    value = wcs:BlueMarble
    codeSpace = null
  domainSubset:
    boundingBoxGroup = [wcs:boundingBox=net.opengis.ows11.impl.BoundingBoxTypeImpl@anonymised.com (lowerCorner: [-90.0, -180.0], upperCorner: [90.0, 180.0], crs: urn:ogc:def:crs:EPSG:4326, dimensions: null)]
    boundingBox = net.opengis.ows11.impl.BoundingBoxTypeImpl@anonymised.com (lowerCorner: [-90.0, -180.0], upperCorner: [90.0, 180.0], crs: urn:ogc:def:crs:EPSG:4326, dimensions: null)
    temporalSubset = null
  rangeSubset = null
  output:
    gridCRS = net.opengis.wcs11.impl.GridCrsTypeImpl@anonymised.com (srsName: null, gridBaseCRS: urn:ogc:def:crs:EPSG:4326, gridType: null, gridOrigin: null, gridOffsets: null, gridCS: null, id: null)
    format = geotiff
    store = true
./target/mock15147data/temp/wcs/wcs_BlueMarble_1210081084265370000.tiff
http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wcs1_1/./target/mock15147data/temp/wcs/wcs_BlueMarble_1210081084265370000.tiff
06 May 09:38:04 INFO [test.GeoServerTestApplicationContext] - Closing org.geoserver.test.GeoServerTestApplicationContext@anonymised.com: display name [org.geoserver.test.GeoServerTestApplicationContext@anonymised.com]; startup date [Tue May 06 09:38:02 EDT 2008]; root of context hierarchy
06 May 09:38:04 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
06 May 09:38:04 INFO [geoserver.global] - Done disposing datastores.
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.248 sec
Running org.geoserver.wcs.xml.GetCapabilitiesXmlParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.64 sec
Running org.geoserver.wcs.GetCoverageMultipartEncodingTest
06 May 09:38:06 ERROR [geoserver.ows] -
org.vfny.geoserver.wcs.WcsException: Problems Rendering ImageImpossible to encode this coverage as an ascii grid since itstransformation is not a simple scale and translate
  at org.vfny.geoserver.wcs.responses.coverage.AscCoverageResponseDelegate.encode(AscCoverageResponseDelegate.java:130)
  at org.geoserver.wcs.response.CoverageDelegateHandler.writeTo(CoverageDelegateHandler.java:40)
  at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:883)
  at javax.activation.DataHandler.writeTo(DataHandler.java:316)
  at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1350)
  at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:845)
  at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:361)
  at com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:85)
  at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:883)
  at javax.activation.DataHandler.writeTo(DataHandler.java:316)
  at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1350)
  at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1683)
  at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1659)
  at org.geoserver.wcs.response.WCSMultipartResponse.write(WCSMultipartResponse.java:111)
  at org.geoserver.ows.Dispatcher.response(Dispatcher.java:617)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:194)
  at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
  at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:874)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:808)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:523)
  at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:453)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:869)
  at org.geoserver.test.GeoServerAbstractTestSupport.getAsServletResponse(GeoServerAbstractTestSupport.java:419)
  at org.geoserver.test.GeoServerAbstractTestSupport.get(GeoServerAbstractTestSupport.java:400)
  at org.geoserver.test.GeoServerAbstractTestSupport.getAsDOM(GeoServerAbstractTestSupport.java:612)
  at org.geoserver.wcs.GetCoverageMultipartEncodingTest.testArcgridException(GetCoverageMultipartEncodingTest.java:81)
  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 org.geoserver.test.GeoServerAbstractTestSupport.runTest(GeoServerAbstractTestSupport.java:115)
  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 junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
  at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
  at junit.framework.TestResult.runProtected(TestResult.java:124)
  at junit.extensions.TestSetup.run(TestSetup.java:25)
  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)
Caused by: org.geotools.data.DataSourceException: Impossible to encode this coverage as an ascii grid since itstransformation is not a simple scale and translate
  at org.geotools.gce.arcgrid.ArcGridWriter.ensureWeCanWrite(ArcGridWriter.java:560)
  at org.geotools.gce.arcgrid.ArcGridWriter.write(ArcGridWriter.java:521)
  at org.vfny.geoserver.wcs.responses.coverage.AscCoverageResponseDelegate.encode(AscCoverageResponseDelegate.java:118)
  ... 59 more
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.112 sec
Running org.geoserver.wcs.xml.GetCoverageXmlParserTest
class [Ljava.lang.Double;: [Ljava.lang.Double;@1feb2ea
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.764 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.188 sec
Running org.geoserver.wcs.GetCapabilitiesTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.02 sec <<< FAILURE!

Results :

Tests in error:
  org.geoserver.wcs.GetCapabilitiesTest

Tests run: 60, Failures: 0, Errors: 1, 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 28 seconds
[INFO] Finished at: Tue May 06 09:38:08 EDT 2008
[INFO] Final Memory: 32M/63M
[INFO] ------------------------------------------------------------------------

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