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

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

Changes:

[aaime] Added read only wrappers tests, reorganized tests a little

------------------------------------------
[...truncated 313 lines...]
[INFO] Compiling 13 source files to http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/ows/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: http://gridlock.openplans.org:8080/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.
Jun 5, 2008 5:37:23 AM org.geoserver.ows.Dispatcher exception
SEVERE:
org.geoserver.ows.HttpErrorCodeException
  at org.geoserver.ows.HelloWorld.httpErrorCodeException(HelloWorld.java:17)
  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.geoserver.ows.Dispatcher.execute(Dispatcher.java:499)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:190)
  at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
  at org.geoserver.ows.DispatcherTest.testHttpErrorCodeException(DispatcherTest.java:325)
  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:345)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.596 sec
Running org.geoserver.ows.DefaultServiceExceptionHandlerTest
<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport version="1.0.0"
  xsi:schemaLocation="http://www.opengis.net/ows http://localhost:8080geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:ows="http://www.opengis.net/ows&quot;&gt;
  <ows:Exception exceptionCode="helloCode" locator="helloLocator">
    <ows:ExceptionText>hello service exception
helloText
I/O exception here
Illegal argument here</ows:ExceptionText>
    <ows:ExceptionText>helloText</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.14 sec
Running org.geoserver.ows.kvp.TimeKvpParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.geoserver.ows.kvp.KvpUtilsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec

Results :

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

[INFO] [jar:jar]
[INFO] Building jar: http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/ows/target/ows-1.7.0-SNAPSHOT.jar
[INFO] [jar:test-jar {execution: default}]
[INFO] Building jar: http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/ows/target/ows-1.7.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/ows/target/ows-1.7.0-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/ows/target/ows-1.7.0-SNAPSHOT.jar to /home/tomcat/.m2/repository/org/geoserver/ows/1.7.0-SNAPSHOT/ows-1.7.0-SNAPSHOT.jar
[INFO] Installing http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/ows/target/ows-1.7.0-SNAPSHOT-tests.jar to /home/tomcat/.m2/repository/org/geoserver/ows/1.7.0-SNAPSHOT/ows-1.7.0-SNAPSHOT-tests.jar
[INFO] Installing http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/ows/target/ows-1.7.0-SNAPSHOT-sources.jar to /home/tomcat/.m2/repository/org/geoserver/ows/1.7.0-SNAPSHOT/ows-1.7.0-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Main Module
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory http://gridlock.openplans.org:8080/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.5-SNAPSHOT: checking for updates from maven-restlet
[INFO] snapshot org.geotools:gt-cql:2.5-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools:gt-validation:2.5-SNAPSHOT: checking for updates from maven-restlet
[INFO] snapshot org.geotools:gt-validation:2.5-SNAPSHOT: checking for updates from refractions
[INFO] [compiler:compile]
[INFO] Compiling 219 source files to http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/main/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.geoserver:data:1.7.0-SNAPSHOT: checking for updates from maven-restlet
[INFO] snapshot org.geoserver:data:1.7.0-SNAPSHOT: checking for updates from refractions
[INFO] [compiler:testCompile]
[INFO] Compiling 19 source files to http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/main/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/main/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.catalog.impl.InfoObjectProxyTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
Running org.geoserver.security.SecureCatalogImplTest
Jun 5, 2008 5:37:33 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.r=* is overriding another rule targetting the same resource
Jun 5, 2008 5:37:33 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.w=* is overriding another rule targetting the same resource
Jun 5, 2008 5:37:33 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.r=WRITER is overriding another rule targetting the same resource
Jun 5, 2008 5:37:33 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.w=WRITER is overriding another rule targetting the same resource
Jun 5, 2008 5:37:33 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.w=WRITER is overriding another rule targetting the same resource
Jun 5, 2008 5:37:33 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.r=READER is overriding another rule targetting the same resource
Jun 5, 2008 5:37:33 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Layer topp is unknown in rule + topp.bases.w=MILITARY
Jun 5, 2008 5:37:33 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Layer topp is unknown in rule + topp.states.w=WRITER
Jun 5, 2008 5:37:33 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Layer topp is unknown in rule + topp.bases.r=MILITARY
Jun 5, 2008 5:37:33 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.w=NO_ONE is overriding another rule targetting the same resource
Jun 5, 2008 5:37:33 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Layer topp is unknown in rule + topp.landmarks.w=WRITER
Jun 5, 2008 5:37:33 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Layer topp is unknown in rule + topp.states.r=READER
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.18 sec
Running org.geoserver.template.GeoServerTemplateLoaderTest
Jun 5, 2008 5:37:36 AM org.geoserver.catalog.ResourcePool$DataStoreCache dispose
INFO: Disposing datastore 'cdf'
Jun 5, 2008 5:37:36 AM org.geoserver.catalog.ResourcePool$DataStoreCache dispose
INFO: Disposing datastore 'cite'
Jun 5, 2008 5:37:36 AM org.geoserver.catalog.ResourcePool$DataStoreCache dispose
INFO: Disposing datastore 'cgf'
Jun 5, 2008 5:37:36 AM org.geoserver.catalog.ResourcePool$DataStoreCache dispose
INFO: Disposing datastore 'sf'
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.8 sec
Running org.geoserver.feature.PagingFeatureSourceTest
Jun 5, 2008 5:37:36 AM org.geoserver.catalog.ResourcePool$DataStoreCache dispose
INFO: Disposing datastore 'cdf'
Jun 5, 2008 5:37:36 AM org.geoserver.catalog.ResourcePool$DataStoreCache dispose
INFO: Disposing datastore 'cgf'
Jun 5, 2008 5:37:36 AM org.geoserver.catalog.ResourcePool$DataStoreCache dispose
INFO: Disposing datastore 'sf'
Jun 5, 2008 5:37:36 AM org.geoserver.catalog.ResourcePool$DataStoreCache dispose
INFO: Disposing datastore 'cite'
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.34 sec
Running org.geoserver.config.LegacyConfigurationImporterTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.geoserver.security.decorators.ReadOnlyDecoratorsTest
Tests run: 7, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.052 sec <<< FAILURE!
Running org.geoserver.template.FeatureWrapperTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.168 sec
Running org.geoserver.security.SecureTreeNodeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.geoserver.catalog.util.WrapperUtilsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.geoserver.security.DefaultDataAccessManagerTreeTest
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.r=* is overriding another rule targetting the same resource
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.w=* is overriding another rule targetting the same resource
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.r=WRITER is overriding another rule targetting the same resource
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.w=WRITER is overriding another rule targetting the same resource
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.w=WRITER is overriding another rule targetting the same resource
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.r=READER is overriding another rule targetting the same resource
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Layer topp is unknown in rule + topp.bases.w=MILITARY
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Layer topp is unknown in rule + topp.states.w=WRITER
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Layer topp is unknown in rule + topp.bases.r=MILITARY
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.w=NO_ONE is overriding another rule targetting the same resource
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Layer topp is unknown in rule + topp.landmarks.w=WRITER
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Layer topp is unknown in rule + topp.states.r=READER
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.geoserver.catalog.impl.CatalogImplTest
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
Running org.geoserver.security.DefaultDataAccessManagerAuthTest
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.r=* is overriding another rule targetting the same resource
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.w=* is overriding another rule targetting the same resource
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.r=WRITER is overriding another rule targetting the same resource
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.w=WRITER is overriding another rule targetting the same resource
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.w=WRITER is overriding another rule targetting the same resource
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.r=READER is overriding another rule targetting the same resource
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Layer topp is unknown in rule + topp.bases.w=MILITARY
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Layer topp is unknown in rule + topp.states.w=WRITER
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Layer topp is unknown in rule + topp.bases.r=MILITARY
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Rule *.*.w=NO_ONE is overriding another rule targetting the same resource
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Layer topp is unknown in rule + topp.landmarks.w=WRITER
Jun 5, 2008 5:37:36 AM org.geoserver.security.DefaultDataAccessManager buildAuthorizationTree
WARNING: Layer topp is unknown in rule + topp.states.r=READER
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.geoserver.config.GeoServerImplTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec

Results :

Failed tests:
  testReadOnlyFeatureTypeInfo(org.geoserver.security.decorators.ReadOnlyDecoratorsTest)
  testReadOnlyFeatureSourceDataStore(org.geoserver.security.decorators.ReadOnlyDecoratorsTest)

Tests run: 77, Failures: 2, Errors: 0, 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/main/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 53 seconds
[INFO] Finished at: Thu Jun 05 05:37:36 EDT 2008
[INFO] Final Memory: 27M/54M
[INFO] ------------------------------------------------------------------------

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