[Geoserver-devel] Build failed in Jenkins: geoserver-2.4.x #216

See <http://ares.opengeo.org/jenkins/job/geoserver-2.4.x/216/&gt;

------------------------------------------
[...truncated 3836 lines...]

location: <http://ares.opengeo.org/jenkins/job/geoserver-2.4.x/ws/src/main/target/default1733702942698898112data/security/usergroup/test/users.xml.lock&gt;
hostname: ares
principal: UNKNOWN
ip: UNKNOWN

  at org.geoserver.security.file.LockFile.writeLock(LockFile.java:106)
  at org.geoserver.security.xml.XMLUserGroupStore.ensureLock(XMLUserGroupStore.java:201)
  at org.geoserver.security.xml.XMLUserGroupStore.clear(XMLUserGroupStore.java:279)
  at org.geoserver.security.concurrent.LockingUserGroupStore.clear(LockingUserGroupStore.java:181)
  at org.geoserver.security.xml.XMLUserGroupServiceTest.clearUserGroupService(XMLUserGroupServiceTest.java:45)
  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.RunBefores.evaluate(RunBefores.java:24)
  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  at org.junit.rules.RunRules.evaluate(RunRules.java:20)
  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)

testRemove(org.geoserver.security.xml.XMLUserGroupServiceTest) Time elapsed: 0 sec <<< ERROR!
java.io.IOException: Already locked

location: <http://ares.opengeo.org/jenkins/job/geoserver-2.4.x/ws/src/main/target/default1733702942698898112data/security/usergroup/test/users.xml.lock&gt;
hostname: ares
principal: UNKNOWN
ip: UNKNOWN

  at org.geoserver.security.file.LockFile.writeLock(LockFile.java:106)
  at org.geoserver.security.xml.XMLUserGroupStore.ensureLock(XMLUserGroupStore.java:201)
  at org.geoserver.security.xml.XMLUserGroupStore.clear(XMLUserGroupStore.java:279)
  at org.geoserver.security.concurrent.LockingUserGroupStore.clear(LockingUserGroupStore.java:181)
  at org.geoserver.security.xml.XMLUserGroupServiceTest.clearUserGroupService(XMLUserGroupServiceTest.java:45)
  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.RunBefores.evaluate(RunBefores.java:24)
  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  at org.junit.rules.RunRules.evaluate(RunRules.java:20)
  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.template.DirectFeatureWrapperTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.234 sec
Running org.geoserver.template.FeatureWrapperTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.geoserver.template.GeoServerTemplateLoader2Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 sec
Running org.geoserver.threadlocals.AdminRequestThreadLocalTransferTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.geoserver.threadlocals.AuthenticationThreadLocalTransferTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.geoserver.threadlocals.LocalLayerThreadLocalTransferTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.geoserver.threadlocals.LocalWorkspaceThreadLocalTransferTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.geoserver.threadlocals.PublicThreadLocalTransferTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running org.geoserver.threadlocals.ThreadLocalsTransferTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.813 sec
Running org.geoserver.util.PartialBufferOutputStream2Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.geoserver.util.XCQLTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
Running org.geoserver.vfny.global.TolerantStartupTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.834 sec
Running org.vfny.geoserver.ProjectionPolicyTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.781 sec
Running org.vfny.geoserver.crs.OverrideCRSTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.616 sec
Running org.vfny.geoserver.crs.OvverideTransformationsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.669 sec
Running org.vfny.geoserver.global.GeoserverDataDirectoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.641 sec
Running org.vfny.geoserver.global.xml.WriterHelperTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.vfny.geoserver.util.ResponseUtilsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.vfny.geoserver.util.SLDValidatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 sec

Results :

Failed tests: testIsModified(org.geoserver.security.xml.XMLUserGroupServiceTest): The group gggg does not exist

Tests in error:
  testPasswordRecoding(org.geoserver.security.xml.XMLUserGroupServiceTest): Already locked(..)
  testEraseCredentials(org.geoserver.security.xml.XMLUserGroupServiceTest): Already locked(..)
  testEmptyPassword(org.geoserver.security.xml.XMLUserGroupServiceTest): Already locked(..)
  testInsert(org.geoserver.security.xml.XMLUserGroupServiceTest): Already locked(..)
  testModify(org.geoserver.security.xml.XMLUserGroupServiceTest): Already locked(..)
  testRemove(org.geoserver.security.xml.XMLUserGroupServiceTest): Already locked(..)

Tests run: 559, Failures: 1, Errors: 6, Skipped: 1

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoServer ......................................... SUCCESS [4.328s]
[INFO] Core Platform Module .............................. SUCCESS [4.199s]
[INFO] Open Web Service Module ........................... SUCCESS [13.922s]
[INFO] Main Module ....................................... FAILURE [2:07.340s]
[INFO] Web Feature Service Module ........................ SKIPPED
[INFO] Web Coverage Service Module ....................... SKIPPED
[INFO] Web Map Service Module ............................ SKIPPED
[INFO] GeoServer Web Modules ............................. SUCCESS [0.457s]
[INFO] Core 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] KML support for GeoServer ......................... 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] Security UI Modules ............................... SKIPPED
[INFO] Security UI Core Module ........................... SKIPPED
[INFO] Security UI JDBC Module ........................... SKIPPED
[INFO] Security UI LDAP Module ........................... SKIPPED
[INFO] Community Space ................................... SUCCESS [0.503s]
[INFO] Printing Module ................................... SKIPPED
[INFO] HTTP Proxy Extension .............................. SKIPPED
[INFO] GeoServer Web Application ......................... SKIPPED
[INFO] GeoServer Extensions .............................. SUCCESS [0.282s]
[INFO] Application Schema Support ........................ SUCCESS [0.270s]
[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 [1.402s]
[INFO] Oracle DataStore Extension ........................ SUCCESS [0.741s]
[INFO] MySQL DataStore Extension ......................... SUCCESS [0.553s]
[INFO] DB2 DataStore Extension ........................... SUCCESS [0.816s]
[INFO] ImageMap Output Format ............................ SKIPPED
[INFO] ImageI/O-Ext GDAL Coverage Extension .............. SUCCESS [2.259s]
[INFO] JP2K Coverage Extension ........................... SUCCESS [0.757s]
[INFO] ogr2ogr Output Format ............................. SKIPPED
[INFO] Excel Output Format ............................... SKIPPED
[INFO] Validation Module ................................. SKIPPED
[INFO] Chart external graphics support ................... SUCCESS [1.872s]
[INFO] Feature Generalization Extension .................. SKIPPED
[INFO] Image Mosaic JDBC Extension ....................... SUCCESS [1.500s]
[INFO] OWS request flow controller ....................... SKIPPED
[INFO] Web Processing Service parent ..................... SUCCESS [0.347s]
[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 Security Extension Modules .............. SKIPPED
[INFO] GeoServer CAS Security Module ..................... SKIPPED
[INFO] GeoServer Security Extension Web Modules .......... SKIPPED
[INFO] GeoServer CAS Security Web Module ................. SKIPPED
[INFO] XLST based WFS output format ...................... SKIPPED
[INFO] GeoServer INSPIRE Extensions ...................... SKIPPED
[INFO] GeoServer CSS Styling ............................. SKIPPED
[INFO] Catalog Services for the Web parent ............... SKIPPED
[INFO] Catalog Services for the Web interfaces ........... SKIPPED
[INFO] Catalog Services for the Web - Simple CatalogStore implementation SKIPPED
[INFO] Catalog Services for the Web core module .......... SKIPPED
[INFO] CSW UI Module ..................................... SKIPPED
[INFO] DXF parent module ................................. SUCCESS [0.641s]
[INFO] DXF output format ................................. SKIPPED
[INFO] DXF WPS PPIO ...................................... SKIPPED
[INFO] GeoServer Data Importer ........................... SKIPPED
[INFO] Importer Core Module .............................. SKIPPED
[INFO] Importer REST Api Module .......................... SKIPPED
[INFO] Importer Berkley DB Persistence Module ............ SKIPPED
[INFO] Importer Web UI Module ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:37.138s (Wall Clock)
[INFO] Finished at: Thu Apr 24 12:43:15 UTC 2014
[INFO] Final Memory: 35M/381M
[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://ares.opengeo.org/jenkins/job/geoserver-2.4.x/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
Build step 'Invoke top-level Maven targets' marked build as failure

See <http://ares.opengeo.org/jenkins/job/geoserver-2.4.x/217/&gt;