[Geoserver-devel] [Hudson] Build failed in Hudson: geoserver-2.2.x #149

See <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/149/changes&gt;

Changes:

[Davide Savazzi] added Title and Abstract to LayerGroups

------------------------------------------
[...truncated 55368 lines...]
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1190)
  at org.geoserver.test.GeoServerAbstractTestSupport.getAsServletResponse(GeoServerAbstractTestSupport.java:606)
  at org.geoserver.test.GeoServerAbstractTestSupport.getAsServletResponse(GeoServerAbstractTestSupport.java:589)
  at org.geoserver.catalog.rest.StyleTest.testGetFromWorkspace(StyleTest.java:106)
  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 junit.framework.TestCase.runTest(TestCase.java:164)
  at org.geoserver.test.GeoServerAbstractTestSupport.runTest(GeoServerAbstractTestSupport.java:147)
  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.GeneratedMethodAccessor218.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  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:597)
  at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
06 Dec 11:06:28 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock1638725148644499194data&gt;
----------------------------------
06 Dec 11:06:29 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock8699268251450315690data&gt;
----------------------------------
06 Dec 11:06:29 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock4462085707898650763data&gt;
----------------------------------
06 Dec 11:06:30 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock5650282513602403767data&gt;
----------------------------------
06 Dec 11:06:30 ERROR [geoserver.rest] - Can't change the workspace of a style, instead DELETE from existing workspace and POST to new workspace
06 Dec 11:06:30 ERROR [geoserver.rest] -
org.geoserver.rest.RestletException
  at org.geoserver.catalog.rest.StyleResource.handleObjectPut(StyleResource.java:214)
  at org.geoserver.rest.ReflectiveResource.handlePut(ReflectiveResource.java:193)
  at org.restlet.Finder.handle(Finder.java:298)
  at org.geoserver.rest.BeanDelegatingRestlet.handle(BeanDelegatingRestlet.java:37)
  at org.restlet.Filter.doHandle(Filter.java:105)
  at org.restlet.Filter.handle(Filter.java:134)
  at org.restlet.Router.handle(Router.java:444)
  at org.geoserver.rest.RESTDispatcher$1.handle(RESTDispatcher.java:204)
  at com.noelios.restlet.ext.servlet.ServletConverter.service(ServletConverter.java:129)
  at org.geoserver.rest.RESTDispatcher.handleRequestInternal(RESTDispatcher.java:86)
  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:923)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
  at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:800)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:730)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
  at org.geoserver.test.GeoServerAbstractTestSupport$3.service(GeoServerAbstractTestSupport.java:1236)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
  at com.mockrunner.mock.web.MockFilterChain.doFilter(MockFilterChain.java:50)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1255)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1190)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1172)
  at org.geoserver.test.GeoServerAbstractTestSupport.putAsServletResponse(GeoServerAbstractTestSupport.java:702)
  at org.geoserver.test.GeoServerAbstractTestSupport.putAsServletResponse(GeoServerAbstractTestSupport.java:690)
  at org.geoserver.catalog.rest.StyleTest.testPutToWorkspaceChangeWorkspace(StyleTest.java:247)
  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 junit.framework.TestCase.runTest(TestCase.java:164)
  at org.geoserver.test.GeoServerAbstractTestSupport.runTest(GeoServerAbstractTestSupport.java:147)
  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.GeneratedMethodAccessor218.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  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:597)
  at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
06 Dec 11:06:30 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock6253275732037512072data&gt;
----------------------------------
06 Dec 11:06:31 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock753283283551697512data&gt;
----------------------------------
06 Dec 11:06:31 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock1050635480586431589data&gt;
----------------------------------
06 Dec 11:06:32 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock7143415003736981022data&gt;
----------------------------------
06 Dec 11:06:32 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock5494774188217366180data&gt;
----------------------------------
06 Dec 11:06:33 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock1683727984857553348data&gt;
----------------------------------
06 Dec 11:06:33 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock8104262654606172699data&gt;
----------------------------------
06 Dec 11:06:34 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock610172513211481957data&gt;
----------------------------------
06 Dec 11:06:34 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock7969678729029892773data&gt;
----------------------------------
06 Dec 11:06:35 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock5272289777193759507data&gt;
----------------------------------
06 Dec 11:06:36 ERROR [geoserver.rest] - Can't delete style referenced by existing layers.
06 Dec 11:06:36 ERROR [geoserver.rest] -
org.geoserver.rest.RestletException
  at org.geoserver.catalog.rest.StyleResource.handleObjectDelete(StyleResource.java:253)
  at org.geoserver.rest.ReflectiveResource.handleDelete(ReflectiveResource.java:224)
  at org.restlet.Finder.handle(Finder.java:300)
  at org.geoserver.rest.BeanDelegatingRestlet.handle(BeanDelegatingRestlet.java:37)
  at org.restlet.Filter.doHandle(Filter.java:105)
  at org.restlet.Filter.handle(Filter.java:134)
  at org.restlet.Router.handle(Router.java:444)
  at org.geoserver.rest.RESTDispatcher$1.handle(RESTDispatcher.java:204)
  at com.noelios.restlet.ext.servlet.ServletConverter.service(ServletConverter.java:129)
  at org.geoserver.rest.RESTDispatcher.handleRequestInternal(RESTDispatcher.java:86)
  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:923)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
  at org.springframework.web.servlet.FrameworkServlet.doDelete(FrameworkServlet.java:811)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
  at org.geoserver.test.GeoServerAbstractTestSupport$3.service(GeoServerAbstractTestSupport.java:1236)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
  at com.mockrunner.mock.web.MockFilterChain.doFilter(MockFilterChain.java:50)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1255)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1190)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1172)
  at org.geoserver.test.GeoServerAbstractTestSupport.deleteAsServletResponse(GeoServerAbstractTestSupport.java:805)
  at org.geoserver.catalog.rest.StyleTest.testDeleteWithLayerReference(StyleTest.java:271)
  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 junit.framework.TestCase.runTest(TestCase.java:164)
  at org.geoserver.test.GeoServerAbstractTestSupport.runTest(GeoServerAbstractTestSupport.java:147)
  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.GeneratedMethodAccessor218.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  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:597)
  at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
06 Dec 11:06:39 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock7009308626469713216data&gt;
----------------------------------
06 Dec 11:06:55 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock3212106305518377979data&gt;
----------------------------------
06 Dec 11:06:56 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock105000950677241813data&gt;
----------------------------------
06 Dec 11:06:56 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock8599257124493741144data&gt;
----------------------------------
06 Dec 11:06:58 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock626627047556594965data&gt;
----------------------------------
06 Dec 11:06:58 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock4317861049656082897data&gt;
----------------------------------
06 Dec 11:06:59 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/./target/mock4539123771355356630data&gt;
----------------------------------
Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.972 sec

Results :

Failed tests:
  testPut(org.geoserver.catalog.rest.LayerGroupTest)
  testPutToWorkspace(org.geoserver.catalog.rest.LayerGroupTest)
  testLayersStylesInWorkspace(org.geoserver.catalog.rest.LayerGroupTest)

Tests run: 277, Failures: 3, Errors: 0, Skipped: 0

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

Please refer to <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/restconfig/target/surefire-reports&gt; for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30 minutes 3 seconds
[INFO] Finished at: Thu Dec 06 11:07:01 UTC 2012
[INFO] Final Memory: 61M/244M
[INFO] ------------------------------------------------------------------------

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