See http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/359/changes
Changes:
[aaime] GEOS-2050, Proxy filter engages even if the proxying is not enabled
------------------------------------------
[...truncated 7218 lines...]
here
log4j:WARN File option not set for appender [geoserverlogfile].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
18 Jul 15:43:26 ERROR [geoserver.ows] -
java.io.IOException
at org.vfny.geoserver.wms.responses.map.kml.KMLMapProducer.writeTo(KMLMapProducer.java:106)
at org.vfny.geoserver.wms.responses.GetMapResponse.writeTo(GetMapResponse.java:585)
at org.geoserver.ows.adapters.ResponseAdapter.write(ResponseAdapter.java:60)
at org.geoserver.ows.Dispatcher.response(Dispatcher.java:637)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:198)
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:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
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:921)
at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:888)
at org.geoserver.test.GeoServerAbstractTestSupport.getAsServletResponse(GeoServerAbstractTestSupport.java:437)
at org.geoserver.test.GeoServerAbstractTestSupport.get(GeoServerAbstractTestSupport.java:418)
at org.geoserver.test.GeoServerAbstractTestSupport.getAsDOM(GeoServerAbstractTestSupport.java:630)
at org.vfny.geoserver.wms.responses.map.kml.GeoSearchKMLTest.testBogusRegionator(GeoSearchKMLTest.java:92)
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:122)
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.GeneratedMethodAccessor108.invoke(Unknown Source)
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:133)
at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:108)
at org.vfny.geoserver.wms.responses.map.kml.KMLMapProducer.writeTo(KMLMapProducer.java:104)
... 44 more
Caused by: java.lang.RuntimeException: org.vfny.geoserver.wms.WmsException: Unknown regionating strategy bogus
at org.vfny.geoserver.wms.responses.map.kml.KMLTransformer$KMLTranslator.encodeVectorLayer(KMLTransformer.java:196)
at org.vfny.geoserver.wms.responses.map.kml.KMLTransformer$KMLTranslator.encode(KMLTransformer.java:156)
at org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:703)
at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
at org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:296)
at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:129)
... 46 more
Caused by: org.vfny.geoserver.wms.WmsException: Unknown regionating strategy bogus
at org.vfny.geoserver.wms.responses.map.kml.KMLTransformer$KMLTranslator.loadFeatureCollection(KMLTransformer.java:404)
at org.vfny.geoserver.wms.responses.map.kml.KMLTransformer$KMLTranslator.encodeVectorLayer(KMLTransformer.java:192)
... 51 more
18 Jul 15:43:26 INFO [test.GeoServerTestApplicationContext] - Closing org.geoserver.test.GeoServerTestApplicationContext@anonymised.com: display name [org.geoserver.test.GeoServerTestApplicationContext@anonymised.com]; startup date [Fri Jul 18 15:43:25 EDT 2008]; root of context hierarchy
18 Jul 15:43:26 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
18 Jul 15:43:26 INFO [geoserver.global] - Done disposing datastores.
18 Jul 15:43:26 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
18 Jul 15:43:26 INFO [geoserver.global] - Done disposing datastores.
18 Jul 15:43:26 INFO [geoserver.catalog] - Disposing datastore 'sf'
18 Jul 15:43:26 INFO [geoserver.catalog] - Disposing datastore 'cgf'
18 Jul 15:43:26 INFO [geoserver.catalog] - Disposing datastore 'cdf'
18 Jul 15:43:26 INFO [geoserver.catalog] - Disposing datastore 'cite'
here
log4j:WARN File option not set for appender [geoserverlogfile].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
18 Jul 15:43:26 INFO [test.GeoServerTestApplicationContext] - Closing org.geoserver.test.GeoServerTestApplicationContext@anonymised.com: display name [org.geoserver.test.GeoServerTestApplicationContext@anonymised.com]; startup date [Fri Jul 18 15:43:26 EDT 2008]; root of context hierarchy
18 Jul 15:43:26 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
18 Jul 15:43:26 INFO [geoserver.global] - Done disposing datastores.
18 Jul 15:43:26 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
18 Jul 15:43:26 INFO [geoserver.global] - Done disposing datastores.
18 Jul 15:43:26 INFO [geoserver.catalog] - Disposing datastore 'cgf'
18 Jul 15:43:26 INFO [geoserver.catalog] - Disposing datastore 'cite'
18 Jul 15:43:26 INFO [geoserver.catalog] - Disposing datastore 'cdf'
18 Jul 15:43:26 INFO [geoserver.catalog] - Disposing datastore 'sf'
here
log4j:WARN File option not set for appender [geoserverlogfile].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
18 Jul 15:43:27 INFO [test.GeoServerTestApplicationContext] - Closing org.geoserver.test.GeoServerTestApplicationContext@anonymised.com: display name [org.geoserver.test.GeoServerTestApplicationContext@anonymised.com]; startup date [Fri Jul 18 15:43:26 EDT 2008]; root of context hierarchy
18 Jul 15:43:27 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
18 Jul 15:43:27 INFO [geoserver.global] - Done disposing datastores.
18 Jul 15:43:27 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
18 Jul 15:43:27 INFO [geoserver.global] - Done disposing datastores.
18 Jul 15:43:27 INFO [geoserver.catalog] - Disposing datastore 'cgf'
18 Jul 15:43:27 INFO [geoserver.catalog] - Disposing datastore 'cdf'
18 Jul 15:43:27 INFO [geoserver.catalog] - Disposing datastore 'sf'
18 Jul 15:43:27 INFO [geoserver.catalog] - Disposing datastore 'cite'
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.648 sec
Running org.vfny.geoserver.wms.responses.map.legend.GetLegendGraphicKvpReaderTest
here
log4j:WARN File option not set for appender [geoserverlogfile].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
18 Jul 15:43:27 INFO [test.GeoServerTestApplicationContext] - Closing org.geoserver.test.GeoServerTestApplicationContext@anonymised.com: display name [org.geoserver.test.GeoServerTestApplicationContext@anonymised.com]; startup date [Fri Jul 18 15:43:27 EDT 2008]; root of context hierarchy
18 Jul 15:43:27 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
18 Jul 15:43:27 INFO [geoserver.global] - Done disposing datastores.
18 Jul 15:43:27 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
18 Jul 15:43:27 INFO [geoserver.global] - Done disposing datastores.
18 Jul 15:43:27 INFO [geoserver.catalog] - Disposing datastore 'cgf'
18 Jul 15:43:27 INFO [geoserver.catalog] - Disposing datastore 'cdf'
18 Jul 15:43:27 INFO [geoserver.catalog] - Disposing datastore 'cite'
18 Jul 15:43:27 INFO [geoserver.catalog] - Disposing datastore 'sf'
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.221 sec
Running org.vfny.geoserver.wms.responses.featureinfo.FeatureTemplateTest
here
log4j:WARN File option not set for appender [geoserverlogfile].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
18 Jul 15:43:27 INFO [test.GeoServerTestApplicationContext] - Closing org.geoserver.test.GeoServerTestApplicationContext@anonymised.com: display name [org.geoserver.test.GeoServerTestApplicationContext@anonymised.com]; startup date [Fri Jul 18 15:43:27 EDT 2008]; root of context hierarchy
18 Jul 15:43:27 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
18 Jul 15:43:27 INFO [geoserver.global] - Done disposing datastores.
18 Jul 15:43:27 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
18 Jul 15:43:27 INFO [geoserver.global] - Done disposing datastores.
18 Jul 15:43:27 INFO [geoserver.catalog] - Disposing datastore 'cdf'
18 Jul 15:43:27 INFO [geoserver.catalog] - Disposing datastore 'sf'
18 Jul 15:43:27 INFO [geoserver.catalog] - Disposing datastore 'cgf'
18 Jul 15:43:27 INFO [geoserver.catalog] - Disposing datastore 'cite'
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.23 sec
Results :
Tests run: 89, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar]
[INFO] Building jar: http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wms/target/wms-1.8.0-SNAPSHOT.jar
[INFO] [jar:test-jar {execution: default}]
[INFO] Building jar: http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wms/target/wms-1.8.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://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wms/target/wms-1.8.0-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wms/target/wms-1.8.0-SNAPSHOT.jar to /home/tomcat/.m2/repository/org/geoserver/wms/1.8.0-SNAPSHOT/wms-1.8.0-SNAPSHOT.jar
[INFO] Installing http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wms/target/wms-1.8.0-SNAPSHOT-tests.jar to /home/tomcat/.m2/repository/org/geoserver/wms/1.8.0-SNAPSHOT/wms-1.8.0-SNAPSHOT-tests.jar
[INFO] Installing http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wms/target/wms-1.8.0-SNAPSHOT-sources.jar to /home/tomcat/.m2/repository/org/geoserver/wms/1.8.0-SNAPSHOT/wms-1.8.0-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Web Application Module
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/web/target
[INFO] [cobertura:clean {execution: default}]
[INFO] [config:clean {execution: configClean}]
clean:
[delete] Deleting directory http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/web/src/main/webapp/data
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 108 source files to http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/web/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 5 source files to http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/web/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/web/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.filters.BufferedRequestWrapperTest
here
log4j:WARN File option not set for appender [geoserverlogfile].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
18 Jul 15:44:28 INFO [geoserver.filters] - Created BufferedRequestWrapper with String: "Hello, this is a test" as buffer
18 Jul 15:44:28 INFO [geoserver.filters] - Created BufferedRequestWrapper with String: "LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong" as buffer
18 Jul 15:44:28 INFO [geoserver.filters] - Created BufferedRequestWrapper with String: "" as buffer
18 Jul 15:44:28 INFO [geoserver.filters] - Created BufferedRequestWrapper with String: "Hello, this is a test" as buffer
18 Jul 15:44:28 INFO [geoserver.filters] - Created BufferedRequestWrapper with String: "LongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLong" as buffer
18 Jul 15:44:28 INFO [geoserver.filters] - Created BufferedRequestWrapper with String: "" as buffer
18 Jul 15:44:28 INFO [test.GeoServerTestApplicationContext] - Closing org.geoserver.test.GeoServerTestApplicationContext@anonymised.com: display name [org.geoserver.test.GeoServerTestApplicationContext@anonymised.com]; startup date [Fri Jul 18 15:44:24 EDT 2008]; root of context hierarchy
18 Jul 15:44:28 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
18 Jul 15:44:28 INFO [geoserver.global] - Done disposing datastores.
18 Jul 15:44:28 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
18 Jul 15:44:28 INFO [geoserver.global] - Done disposing datastores.
18 Jul 15:44:28 INFO [geoserver.catalog] - Disposing datastore 'cgf'
18 Jul 15:44:28 INFO [geoserver.catalog] - Disposing datastore 'sf'
18 Jul 15:44:28 INFO [geoserver.catalog] - Disposing datastore 'cite'
18 Jul 15:44:28 INFO [geoserver.catalog] - Disposing datastore 'cdf'
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.217 sec
Running org.geoserver.filters.ReverseProxyFilterTest
Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 0.025 sec <<< FAILURE!
Running org.vfny.geoserver.jetty.SpringContextTest
here
log4j:WARN File option not set for appender [geoserverlogfile].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
18 Jul 15:44:28 INFO [test.GeoServerTestApplicationContext] - Closing org.geoserver.test.GeoServerTestApplicationContext@anonymised.com: display name [org.geoserver.test.GeoServerTestApplicationContext@anonymised.com]; startup date [Fri Jul 18 15:44:28 EDT 2008]; root of context hierarchy
18 Jul 15:44:28 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
18 Jul 15:44:28 INFO [geoserver.global] - Done disposing datastores.
18 Jul 15:44:28 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
18 Jul 15:44:28 INFO [geoserver.global] - Done disposing datastores.
18 Jul 15:44:28 INFO [geoserver.catalog] - Disposing datastore 'cdf'
18 Jul 15:44:28 INFO [geoserver.catalog] - Disposing datastore 'cgf'
18 Jul 15:44:28 INFO [geoserver.catalog] - Disposing datastore 'cite'
18 Jul 15:44:28 INFO [geoserver.catalog] - Disposing datastore 'sf'
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.406 sec
Running org.geoserver.filters.BufferedRequestStreamTest
here
log4j:WARN File option not set for appender [geoserverlogfile].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
18 Jul 15:44:29 INFO [test.GeoServerTestApplicationContext] - Closing org.geoserver.test.GeoServerTestApplicationContext@anonymised.com: display name [org.geoserver.test.GeoServerTestApplicationContext@anonymised.com]; startup date [Fri Jul 18 15:44:28 EDT 2008]; root of context hierarchy
18 Jul 15:44:29 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
18 Jul 15:44:29 INFO [geoserver.global] - Done disposing datastores.
18 Jul 15:44:29 INFO [geoserver.global] - Disposing DataStores at GeoServer shutdown...
18 Jul 15:44:29 INFO [geoserver.global] - Done disposing datastores.
18 Jul 15:44:29 INFO [geoserver.catalog] - Disposing datastore 'cgf'
18 Jul 15:44:29 INFO [geoserver.catalog] - Disposing datastore 'sf'
18 Jul 15:44:29 INFO [geoserver.catalog] - Disposing datastore 'cdf'
18 Jul 15:44:29 INFO [geoserver.catalog] - Disposing datastore 'cite'
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.398 sec
Results :
Tests in error:
testInit(org.geoserver.filters.ReverseProxyFilterTest)
testDoFilterDisabled(org.geoserver.filters.ReverseProxyFilterTest)
testDoFilterExtraProxyContext(org.geoserver.filters.ReverseProxyFilterTest)
testDoFilterNonMatchingMime(org.geoserver.filters.ReverseProxyFilterTest)
testDoFilterRelativeUrl(org.geoserver.filters.ReverseProxyFilterTest)
testDoFilterProxyRoot(org.geoserver.filters.ReverseProxyFilterTest)
testDoFilterContentContainsProxifiedUrl(org.geoserver.filters.ReverseProxyFilterTest)
Tests run: 11, Failures: 0, Errors: 7, 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/web/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 minutes 56 seconds
[INFO] Finished at: Fri Jul 18 15:44:29 EDT 2008
[INFO] Final Memory: 34M/63M
[INFO] ------------------------------------------------------------------------