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

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

Changes:

[aaime] GEOS-2232 Layer-level security makes versioned layers think they are unversioned

[aaime] GEOS-2272 Make secure object wrapping pluggable

------------------------------------------
[...truncated 274 lines...]
[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.461 sec
Running org.geoserver.feature.ReprojectingFilterVisitorTest
Oct 9, 2008 4:36:52 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
Oct 9, 2008 4:36:52 PM org.geotools.data.DefaultTransaction finalize
SEVERE: Unclosed transaction handle is 'org.geoserver.feature.retype.RetypingDataStoreTest.testLockUnlockQuery Transaction'
Oct 9, 2008 4:36:52 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
Oct 9, 2008 4:36:52 PM org.geotools.data.DefaultTransaction finalize
SEVERE: Unclosed transaction handle is 'org.geoserver.feature.retype.RetypingDataStoreTest.testLockUnlockQuery Transaction'
Oct 9, 2008 4:36:52 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
Oct 9, 2008 4:36:52 PM org.geotools.data.DefaultTransaction finalize
SEVERE: Unclosed transaction handle is 'org.geoserver.feature.retype.RetypingDataStoreTest.testLockUnlockFilter Transaction'
Oct 9, 2008 4:36:52 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
Oct 9, 2008 4:36:52 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.869 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] [compiler:compile]
[INFO] Compiling 72 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 14 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.618 sec
Running org.geoserver.ows.DefaultServiceExceptionHandlerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.186 sec
Running org.geoserver.ows.kvp.TimeKvpParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 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://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 235 source files to http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/main/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.geoserver:ows:2.0-SNAPSHOT: checking for updates from maven-restlet
[INFO] snapshot org.geoserver:ows:2.0-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geoserver:data:2.0-SNAPSHOT: checking for updates from maven-restlet
[INFO] snapshot org.geoserver:data:2.0-SNAPSHOT: checking for updates from refractions
[INFO] [compiler:testCompile]
[INFO] Compiling 24 source files to http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/main/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/main/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.security.decorators.ReadOnlyDataAccessTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.19 sec <<< FAILURE!
Running org.geoserver.security.decorators.ReadOnlyDataStoreTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.029 sec <<< FAILURE!
Running org.geoserver.security.decorators.ReadOnlyFeatureSourceTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.016 sec <<< FAILURE!
Running org.geoserver.catalog.impl.InfoObjectProxyTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.geoserver.security.SecureCatalogImplTest
Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.033 sec <<< FAILURE!
Running org.geoserver.template.GeoServerTemplateLoaderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.263 sec
Running org.geoserver.catalog.impl.util.LegacyCatalogImporterTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running org.geoserver.config.util.XStreamPersisterTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.284 sec
Running org.geoserver.config.LegacyConfigurationImporterTest
09 Oct 16:37:11 ERROR [org.geoserver] - Extension lookup occured, but ApplicationContext is unset.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.geoserver.security.decorators.ReadOnlyDecoratorsTest
Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 0.107 sec <<< FAILURE!
Running org.geoserver.template.FeatureWrapperTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
Running org.geoserver.security.SecureTreeNodeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.geoserver.security.DefaultDataAccessManagerTreeTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 sec
Running org.geoserver.catalog.impl.CatalogImplTest
Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec
Running org.geoserver.security.DefaultDataAccessManagerAuthTest
Tests run: 9, Failures: 0, Errors: 9, Skipped: 0, Time elapsed: 0.022 sec <<< FAILURE!
Running org.geoserver.security.decorators.ReadOnlyFeatureCollectionTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.009 sec <<< FAILURE!
Running org.geoserver.config.GeoServerImplTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec

Results :

Tests in error:
  testDontChallenge(org.geoserver.security.decorators.ReadOnlyDataAccessTest)
  testChallenge(org.geoserver.security.decorators.ReadOnlyDataAccessTest)
  testDontChallenge(org.geoserver.security.decorators.ReadOnlyDataStoreTest)
  testChallenge(org.geoserver.security.decorators.ReadOnlyDataStoreTest)
  testReadOnlyFeatureSourceDataStore(org.geoserver.security.decorators.ReadOnlyFeatureSourceTest)
  testReadOnlyFeatureStore(org.geoserver.security.decorators.ReadOnlyFeatureSourceTest)
  testReadOnlyFeatureSourceDataAccess(org.geoserver.security.decorators.ReadOnlyFeatureSourceTest)
  testWideOpen(org.geoserver.security.SecureCatalogImplTest)
  testLockedDown(org.geoserver.security.SecureCatalogImplTest)
  testPublicRead(org.geoserver.security.SecureCatalogImplTest)
  testComplex(org.geoserver.security.SecureCatalogImplTest)
  testLockedChallenge(org.geoserver.security.SecureCatalogImplTest)
  testLockedMixed(org.geoserver.security.SecureCatalogImplTest)
  testSecuredLayerInfoFeatures(org.geoserver.security.decorators.ReadOnlyDecoratorsTest)
  testSecuredLayerInfoCoverages(org.geoserver.security.decorators.ReadOnlyDecoratorsTest)
  testSecuredFeatureTypeInfoHide(org.geoserver.security.decorators.ReadOnlyDecoratorsTest)
  testSecuredFeatureTypeInfoMetadata(org.geoserver.security.decorators.ReadOnlyDecoratorsTest)
  testSecuredTypeInfoReadOnly(org.geoserver.security.decorators.ReadOnlyDecoratorsTest)
  testSecuredDataStoreInfoHide(org.geoserver.security.decorators.ReadOnlyDecoratorsTest)
  testSecuredDataStoreInfoMetadata(org.geoserver.security.decorators.ReadOnlyDecoratorsTest)
  testWideOpen(org.geoserver.security.DefaultDataAccessManagerAuthTest)
  testLockedDown(org.geoserver.security.DefaultDataAccessManagerAuthTest)
  testPublicRead(org.geoserver.security.DefaultDataAccessManagerAuthTest)
  testComplex(org.geoserver.security.DefaultDataAccessManagerAuthTest)
  testDefaultMode(org.geoserver.security.DefaultDataAccessManagerAuthTest)
  testHideMode(org.geoserver.security.DefaultDataAccessManagerAuthTest)
  testChallengeMode(org.geoserver.security.DefaultDataAccessManagerAuthTest)
  testMixedMode(org.geoserver.security.DefaultDataAccessManagerAuthTest)
  testUnknownMode(org.geoserver.security.DefaultDataAccessManagerAuthTest)
  testChallenge(org.geoserver.security.decorators.ReadOnlyFeatureCollectionTest)
  testHide(org.geoserver.security.decorators.ReadOnlyFeatureCollectionTest)

Tests run: 100, Failures: 0, Errors: 31, Skipped: 0

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

Please refer to http://hudson.opengeo.org/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: 47 seconds
[INFO] Finished at: Thu Oct 09 16:37:11 EDT 2008
[INFO] Final Memory: 27M/63M
[INFO] ------------------------------------------------------------------------

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