See <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/141/changes>
Changes:
[Davide Savazzi] GEOS-3885: REST config for Freemarker templates
------------------------------------------
[...truncated 44962 lines...]
[INFO] Installing <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/gwc/target/gwc-2.2-SNAPSHOT-test-sources.jar> to /usr/share/jetty/.m2/repository/org/geoserver/gwc/2.2-SNAPSHOT/gwc-2.2-SNAPSHOT-test-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building REST Support Module
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/rest/target>
[INFO] [cobertura:clean {execution: default}]
[INFO] [git-commit-id:revision {execution: default}]
[INFO] [GitCommitIdMojo] Running on '<http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/.git’> repository...
[INFO] [GitCommitIdMojo] Initializing properties...
[INFO] [GitCommitIdMojo] Using maven project properties...
[INFO] [GitCommitIdMojo] Loading data from git repository...
[INFO] [GitCommitIdMojo] ------------------git properties loaded------------------
[INFO] [GitCommitIdMojo] build.branch = bfdcda117298523aebb134b5521fe52a588494b8
[INFO] [GitCommitIdMojo] build.commit.id = bfdcda117298523aebb134b5521fe52a588494b8
[INFO] [GitCommitIdMojo] build.build.user.name = Unknown
[INFO] [GitCommitIdMojo] build.commit.message.short = Merge pull request #70 from svzdvd/2.2.x-GEOS3885
[INFO] [GitCommitIdMojo] build.commit.time = 29.11.2012 @ 14:21:52 UTC
[INFO] [GitCommitIdMojo] build.commit.id.abbrev = bfdcda1
[INFO] [GitCommitIdMojo] build.commit.message.full = Merge pull request #70 from svzdvd/2.2.x-GEOS3885
GEOS-3885: REST config for Freemarker templates on branch 2.2.x
[INFO] [GitCommitIdMojo] build.commit.user.email = andrea.aime@anonymised.com
[INFO] [GitCommitIdMojo] build.commit.user.name = Andrea Aime
[INFO] [GitCommitIdMojo] build.build.user.email = Unknown
[INFO] [GitCommitIdMojo] build.timestamp = 29-Nov-2012 14:37
[INFO] [GitCommitIdMojo] build.hudsonId = -1
[INFO] [GitCommitIdMojo] build.build.time = 29.11.2012 @ 15:02:09 UTC
[INFO] [GitCommitIdMojo] ---------------------------------------------------------
[INFO] [GitCommitIdMojo] Finished running.
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] skip non existing resourceDirectory <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/rest/src/main/resources>
Downloading: http://repo.opengeo.org//org/geotools/gt-metadata/8-SNAPSHOT/gt-metadata-8-SNAPSHOT.jar
Downloading: http://repo.opengeo.org//org/geotools/xsd/gt-xsd-gml2/8-SNAPSHOT/gt-xsd-gml2-8-SNAPSHOT.jar
Downloading: http://repo.opengeo.org//org/geotools/xsd/gt-xsd-gml3/8-SNAPSHOT/gt-xsd-gml3-8-SNAPSHOT.jar
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 24 source files to <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/rest/target/classes>
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] skip non existing resourceDirectory <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/rest/src/test/resources>
Downloading: http://repo.opengeo.org//org/geotools/gt-metadata/8-SNAPSHOT/gt-metadata-8-SNAPSHOT.jar
Downloading: http://repo.opengeo.org//org/geotools/xsd/gt-xsd-gml2/8-SNAPSHOT/gt-xsd-gml2-8-SNAPSHOT.jar
Downloading: http://repo.opengeo.org//org/geotools/xsd/gt-xsd-gml3/8-SNAPSHOT/gt-xsd-gml3-8-SNAPSHOT.jar
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 13 source files to <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/rest/target/test-classes>
Downloading: http://repo.opengeo.org//org/geotools/gt-metadata/8-SNAPSHOT/gt-metadata-8-SNAPSHOT.jar
Downloading: http://repo.opengeo.org//org/geotools/xsd/gt-xsd-gml2/8-SNAPSHOT/gt-xsd-gml2-8-SNAPSHOT.jar
Downloading: http://repo.opengeo.org//org/geotools/xsd/gt-xsd-gml3/8-SNAPSHOT/gt-xsd-gml3-8-SNAPSHOT.jar
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/rest/target/surefire-reports>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.rest.RESTDispatcherTest
29 Nov 15:02:13 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/rest/./target/mock2021723312418416779data>
----------------------------------
29 Nov 15:02:18 ERROR [geoserver.rest] - error
29 Nov 15:02:18 ERROR [geoserver.rest] -
org.geoserver.rest.RestletException
at org.geoserver.rest.ExceptionThrowingResource.handleGet(ExceptionThrowingResource.java:19)
at org.restlet.Finder.handle(Finder.java:292)
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.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
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.getAsServletResponse(GeoServerAbstractTestSupport.java:606)
at org.geoserver.test.GeoServerAbstractTestSupport.getAsServletResponse(GeoServerAbstractTestSupport.java:589)
at org.geoserver.rest.RESTDispatcherTest.testException(RESTDispatcherTest.java:14)
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.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.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)
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.178 sec
Running org.geoserver.rest.format.ReflectiveHTMLFormatTest
<html>
<body>
This is a generic template for Foo.
<br>
Properties:
<ul>
<li>prop2: 2
<li>prop1: one
<li>prop3: 3.0
</ul>
</body>
</html>@SLTests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.15 sec
Running org.geoserver.rest.IndexRestletTest
29 Nov 15:02:18 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/rest/./target/mock90127113677114344data>
----------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.792 sec
Running org.geoserver.rest.format.FormatTest
29 Nov 15:02:19 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/rest/./target/mock7683578147001358792data>
----------------------------------
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.822 sec
Running org.geoserver.rest.RESTDispatcherCallbackTest
29 Nov 15:02:20 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/rest/./target/mock98318058353510615data>
----------------------------------
29 Nov 15:02:20 ERROR [org.geoserver] - Extension lookup occured, but ApplicationContext is unset.
29 Nov 15:02:21 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/rest/./target/mock1084407539350609558data>
----------------------------------
29 Nov 15:02:21 ERROR [org.geoserver] - Extension lookup occured, but ApplicationContext is unset.
29 Nov 15:02:21 ERROR [geoserver.rest] - error
29 Nov 15:02:21 ERROR [geoserver.rest] -
org.geoserver.rest.RestletException
at org.geoserver.rest.ExceptionThrowingResource.handleGet(ExceptionThrowingResource.java:19)
at org.restlet.Finder.handle(Finder.java:292)
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.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
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.getAsServletResponse(GeoServerAbstractTestSupport.java:606)
at org.geoserver.test.GeoServerAbstractTestSupport.getAsServletResponse(GeoServerAbstractTestSupport.java:589)
at org.geoserver.rest.RESTDispatcherCallbackTest.testCallbackException(RESTDispatcherCallbackTest.java:72)
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.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.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)
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.437 sec
Running org.geoserver.rest.RESTSecurityRulesTest
29 Nov 15:02:21 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/rest/./target/mock8058355912018162128data>
----------------------------------
29 Nov 15:02:23 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/rest/./target/mock8992565730630704438data>
----------------------------------
29 Nov 15:02:23 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.2.x/ws/src/rest/./target/mock8758707532919514761data>
----------------------------------
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.434 sec <<< FAILURE!
Running org.geoserver.rest.ReflectiveResourceTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.07 sec
Running org.geoserver.rest.MapResourceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Results :
Failed tests:
testDefault(org.geoserver.rest.RESTSecurityRulesTest)
Tests run: 19, Failures: 1, 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/rest/target/surefire-reports> for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25 minutes 8 seconds
[INFO] Finished at: Thu Nov 29 15:02:24 UTC 2012
[INFO] Final Memory: 56M/220M
[INFO] ------------------------------------------------------------------------
--
This message is automatically generated by Hudson.
For more information on Hudson, see: http://hudson-ci.org/