[Geoserver-devel] [Hudson] Build failed in Hudson: geoserver-master #6108

See <http://hudson.opengeo.org/hudson/job/geoserver-master/6108/changes&gt;

Changes:

[jdeolive] GEOS-5844 fix nulls in SecureCatalog.list

------------------------------------------
[...truncated 4168 lines...]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.749 sec
Running org.geoserver.security.auth.AuthenticationCacheFilterTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.486 sec
Running org.geoserver.security.auth.AuthenticationFilterTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.439 sec
Running org.geoserver.security.auth.GeoServerRootAuthenticationProviderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.665 sec
Running org.geoserver.security.auth.LRUAuthenticationCacheTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.538 sec
Running org.geoserver.security.decorators.DecoratingWMSLayerInfoTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.geoserver.security.decorators.ReadOnlyDataAccessTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.geoserver.security.decorators.ReadOnlyDataStoreTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.geoserver.security.decorators.ReadSecuredCatalogDecoratorsTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.geoserver.security.decorators.SecuredFeatureCollectionTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.geoserver.security.decorators.SecuredFeatureSourceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.geoserver.security.file.FileTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 sec
Running org.geoserver.security.impl.AdvertisedCatalogTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.geoserver.security.impl.DataAccessRuleDAOTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.geoserver.security.impl.DataAccessRuleTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.geoserver.security.impl.DefaultDataAccessManagerAuthTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
Running org.geoserver.security.impl.DefaultDataAccessManagerTreeTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.geoserver.security.impl.GeoServerJ2eeRoleServiceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.555 sec
Running org.geoserver.security.impl.GeoServerRoleConverterImplTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.geoserver.security.impl.GeoServerUserDaoTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.geoserver.security.impl.MemoryRoleServiceTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.618 sec
Running org.geoserver.security.impl.MemoryUserDetailsServiceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.007 sec
Running org.geoserver.security.impl.MemoryUserGroupServiceTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.216 sec
Running org.geoserver.security.impl.RoleHierarchyHelperTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.geoserver.security.impl.SecureCatalogImplTest
Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.041 sec <<< FAILURE!
testCatalogFilteredGetLayers(org.geoserver.security.impl.SecureCatalogImplTest) Time elapsed: 5 sec <<< ERROR!
java.lang.NullPointerException
  at org.geoserver.security.SecureCatalogImpl.isAdmin(SecureCatalogImpl.java:1478)
  at org.geoserver.security.SecureCatalogImpl.securityFilter(SecureCatalogImpl.java:1443)
  at org.geoserver.security.SecureCatalogImpl.list(SecureCatalogImpl.java:1382)
  at org.geoserver.security.SecureCatalogImpl.list(SecureCatalogImpl.java:1375)
  at org.geoserver.security.SecureCatalogImpl.filterLayers(SecureCatalogImpl.java:342)
  at org.geoserver.security.SecureCatalogImpl.getLayers(SecureCatalogImpl.java:323)
  at org.geoserver.security.impl.SecureCatalogImplTest.testCatalogFilteredGetLayers(SecureCatalogImplTest.java:352)
  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:597)
  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  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:597)
  at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

Running org.geoserver.security.impl.SecureCatalogIntegrationTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.42 sec
Running org.geoserver.security.impl.SecureTreeNodeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.geoserver.security.password.GeoserverPasswordEncoderTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.07 sec
Running org.geoserver.security.password.MasterPasswordChangeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.037 sec
Running org.geoserver.security.password.URLMasterPasswordProviderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.444 sec
Running org.geoserver.security.rememberme.RememberMeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.83 sec
Running org.geoserver.security.validation.FilterConfigValidatorTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec
Running org.geoserver.security.validation.MasterPasswordChangeValidatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.geoserver.security.validation.PasswordValidatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.geoserver.security.validation.RoleStoreValidationWrapperTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running org.geoserver.security.validation.SecurityConfigValidatorTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.501 sec
Running org.geoserver.security.validation.UserGroupStoreValidationWrapperTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.047 sec
Running org.geoserver.security.xml.XMLRoleServiceTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.078 sec
Running org.geoserver.security.xml.XMLSecurityConfigValidatorTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.496 sec
Running org.geoserver.security.xml.XMLUserDetailsServiceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.208 sec
Running org.geoserver.security.xml.XMLUserGroupServiceTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.168 sec
Running org.geoserver.template.FeatureWrapperTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.163 sec
Running org.geoserver.template.GeoServerTemplateLoader2Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec
Running org.geoserver.threadlocals.AdminRequestThreadLocalTransferTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.geoserver.threadlocals.AuthenticationThreadLocalTransferTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.geoserver.threadlocals.LocalLayerThreadLocalTransferTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.geoserver.threadlocals.LocalWorkspaceThreadLocalTransferTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.geoserver.threadlocals.PublicThreadLocalTransferTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.geoserver.threadlocals.ThreadLocalsTransferTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.533 sec
Running org.geoserver.util.PartialBufferOutputStream2Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.geoserver.util.XCQLTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.geoserver.vfny.global.TolerantStartupTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.604 sec
Running org.vfny.geoserver.ProjectionPolicyTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.713 sec
Running org.vfny.geoserver.crs.OverrideCRSTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.249 sec
Running org.vfny.geoserver.crs.OvverideTransformationsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.67 sec
Running org.vfny.geoserver.global.xml.WriterHelperTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.vfny.geoserver.util.ResponseUtilsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.vfny.geoserver.util.SLDValidatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec

Results :

Tests in error:
  testCatalogFilteredGetLayers(org.geoserver.security.impl.SecureCatalogImplTest)

Tests run: 537, Failures: 0, Errors: 1, Skipped: 1

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoServer ......................................... SUCCESS [8.207s]
[INFO] Core Platform Module .............................. SUCCESS [6.402s]
[INFO] Open Web Service Module ........................... SUCCESS [14.444s]
[INFO] Main Module ....................................... FAILURE [2:06.183s]
[INFO] Web Feature Service Module ........................ SKIPPED
[INFO] Web Coverage Service Module ....................... SKIPPED
[INFO] Web Map Service Module ............................ SKIPPED
[INFO] GeoServer Web Modules ............................. SUCCESS [0.742s]
[INFO] Core UI Module .................................... SKIPPED
[INFO] Security UI Module ................................ SKIPPED
[INFO] GeoServer Security Modules ........................ SKIPPED
[INFO] GeoServer JDBC Security Module .................... SKIPPED
[INFO] GeoServer LDAP Security Module .................... SKIPPED
[INFO] Web Coverage Service 1.0 Module ................... SKIPPED
[INFO] Web Coverage Service 1.1 Module ................... SKIPPED
[INFO] Web Map Service KML output formats ................ SKIPPED
[INFO] GeoWebCache (GWC) Module .......................... SKIPPED
[INFO] REST Support Module ............................... SKIPPED
[INFO] REST Configuration Service Module ................. SKIPPED
[INFO] WMS UI Module ..................................... SKIPPED
[INFO] GWC UI Module ..................................... SKIPPED
[INFO] WFS UI Module ..................................... SKIPPED
[INFO] Demoes Module ..................................... SKIPPED
[INFO] WCS UI Module ..................................... SKIPPED
[INFO] Community Space ................................... SUCCESS [0.240s]
[INFO] Printing Module ................................... SKIPPED
[INFO] HTTP Proxy Extension .............................. SKIPPED
[INFO] GeoServer Web Application ......................... SKIPPED
[INFO] GeoServer Extensions .............................. SUCCESS [0.165s]
[INFO] Application Schema Support ........................ SUCCESS [0.173s]
[INFO] Application Schema Integration Test ............... SKIPPED
[INFO] Sample DataAccess Integration Test ................ SKIPPED
[INFO] ArcSDE DataStore Extension ........................ SKIPPED
[INFO] GeoSearch Index Module ............................ SKIPPED
[INFO] H2 DataStore Extension ............................ SKIPPED
[INFO] SQL Server DataStore Extension .................... SUCCESS [2.326s]
[INFO] Oracle DataStore Extension ........................ SUCCESS [0.755s]
[INFO] MySQL DataStore Extension ......................... SUCCESS [0.438s]
[INFO] DB2 DataStore Extension ........................... SUCCESS [0.437s]
[INFO] ImageMap Output Format ............................ SKIPPED
[INFO] ImageI/O-Ext GDAL Coverage Extension .............. SUCCESS [1.396s]
[INFO] JP2K Coverage Extension ........................... SUCCESS [0.477s]
[INFO] ogr2ogr Output Format ............................. SKIPPED
[INFO] Excel Output Format ............................... SKIPPED
[INFO] Validation Module ................................. SKIPPED
[INFO] Chart external graphics support ................... SUCCESS [1.536s]
[INFO] Feature Generalization Extension .................. SKIPPED
[INFO] Image Mosaic JDBC Extension ....................... SUCCESS [0.823s]
[INFO] OWS request flow controller ....................... SKIPPED
[INFO] Web Processing Service parent ..................... SUCCESS [0.182s]
[INFO] Web Processing Service Module ..................... SKIPPED
[INFO] Web Processing Service GUI ........................ SKIPPED
[INFO] GeoServer Layer Querying filter functions ......... SKIPPED
[INFO] Teradata DataStore Extension ...................... SKIPPED
[INFO] GeoServer Monitor Extensions ...................... SKIPPED
[INFO] Core Monitor Extension ............................ SKIPPED
[INFO] Monitor Hibernate Extension ....................... SKIPPED
[INFO] GeoServer CAS Security Module ..................... SKIPPED
[INFO] GeoServer Security Extension Modules .............. SKIPPED
[INFO] XLST based WFS output format ...................... SKIPPED
[INFO] GeoServer INSPIRE Extensions ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:38.736s (Wall Clock)
[INFO] Finished at: Mon Jun 17 14:38:54 UTC 2013
[INFO] Final Memory: 30M/356M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test (default-test) on project main: There are test failures.
[ERROR]
[ERROR] Please refer to <http://hudson.opengeo.org/hudson/job/geoserver-master/ws/src/main/target/surefire-reports&gt; for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :main

--
This message is automatically generated by Hudson.
For more information on Hudson, see: http://hudson-ci.org/

See <http://hudson.opengeo.org/hudson/job/geoserver-master/6109/changes&gt;

--
This message is automatically generated by Hudson.
For more information on Hudson, see: http://hudson-ci.org/