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

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

Changes:

[aaime] [GEOS-5013] WFS request containing viewparams parameter causes an IllegalArgumentException

------------------------------------------
[...truncated 23818 lines...]
  at sun.reflect.GeneratedMethodAccessor227.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)
Caused by: org.geotools.data.FeatureLockException: Transaction does not have authorization for Locks:Locks.0
  at org.geotools.data.InProcessLockingManager.assertAccess(InProcessLockingManager.java:287)
  at org.geotools.data.InProcessLockingManager$1.write(InProcessLockingManager.java:334)
  at org.geotools.data.FilteringFeatureWriter.write(FilteringFeatureWriter.java:108)
  at org.geotools.data.AbstractFeatureStore.modifyFeatures(AbstractFeatureStore.java:203)
  at org.geotools.data.AbstractFeatureStore.modifyFeatures(AbstractFeatureStore.java:129)
  at org.vfny.geoserver.global.GeoServerFeatureStore.modifyFeatures(GeoServerFeatureStore.java:182)
  at org.geoserver.wfs.UpdateElementHandler.execute(UpdateElementHandler.java:254)
  ... 64 more
10 Jun 18:43:19 ERROR [geoserver.ows] -
org.geoserver.wfs.WFSTransactionException: Update error: Transaction does not have authorization for Locks:Locks.0
  at org.geoserver.wfs.Transaction.execute(Transaction.java:330)
  at org.geoserver.wfs.Transaction.transaction(Transaction.java:104)
  at org.geoserver.wfs.DefaultWebFeatureService20.transaction(DefaultWebFeatureService20.java:120)
  at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  at org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:32)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  at $Proxy15.transaction(Unknown Source)
  at sun.reflect.GeneratedMethodAccessor242.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:772)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:272)
  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.doPost(FrameworkServlet.java:789)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
  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.postAsServletResponse(GeoServerAbstractTestSupport.java:791)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsServletResponse(GeoServerAbstractTestSupport.java:738)
  at org.geoserver.test.GeoServerAbstractTestSupport.post(GeoServerAbstractTestSupport.java:718)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:925)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:908)
  at org.geoserver.wfs.v2_0.GetFeatureWithLockTest.testUpdateLockedFeatureWithoutLockId(GetFeatureWithLockTest.java:146)
  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.GeneratedMethodAccessor227.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)
Caused by: org.geoserver.wfs.WFSTransactionException: Update error: Transaction does not have authorization for Locks:Locks.0
  at org.geoserver.wfs.UpdateElementHandler.execute(UpdateElementHandler.java:260)
  at org.geoserver.wfs.Transaction.execute(Transaction.java:319)
  ... 63 more
Caused by: org.geotools.data.FeatureLockException: Transaction does not have authorization for Locks:Locks.0
  at org.geotools.data.InProcessLockingManager.assertAccess(InProcessLockingManager.java:287)
  at org.geotools.data.InProcessLockingManager$1.write(InProcessLockingManager.java:334)
  at org.geotools.data.FilteringFeatureWriter.write(FilteringFeatureWriter.java:108)
  at org.geotools.data.AbstractFeatureStore.modifyFeatures(AbstractFeatureStore.java:203)
  at org.geotools.data.AbstractFeatureStore.modifyFeatures(AbstractFeatureStore.java:129)
  at org.vfny.geoserver.global.GeoServerFeatureStore.modifyFeatures(GeoServerFeatureStore.java:182)
  at org.geoserver.wfs.UpdateElementHandler.execute(UpdateElementHandler.java:254)
  ... 64 more
10 Jun 18:43:19 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/src/wfs/./target/mock619694318700818418data&gt;
----------------------------------
10 Jun 18:43:20 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/src/wfs/./target/mock9035334936115112406data&gt;
----------------------------------
10 Jun 18:43:20 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/src/wfs/./target/mock7857389497022795953data&gt;
----------------------------------
10 Jun 18:43:21 ERROR [geoserver.ows] -
org.geoserver.wfs.WFSException: Could not locate {http://www.opengis.net/cite/data\}Locks in catalog.
  at org.geoserver.wfs.GetFeature.featureTypeInfo(GetFeature.java:1036)
  at org.geoserver.wfs.GetFeature.run(GetFeature.java:338)
  at org.geoserver.wfs.DefaultWebFeatureService20.getFeature(DefaultWebFeatureService20.java:97)
  at org.geoserver.wfs.DefaultWebFeatureService20.getFeatureWithLock(DefaultWebFeatureService20.java:102)
  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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  at org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:32)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  at $Proxy15.getFeatureWithLock(Unknown Source)
  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.geoserver.ows.Dispatcher.execute(Dispatcher.java:772)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:272)
  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.doPost(FrameworkServlet.java:789)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
  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.postAsServletResponse(GeoServerAbstractTestSupport.java:791)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsServletResponse(GeoServerAbstractTestSupport.java:738)
  at org.geoserver.test.GeoServerAbstractTestSupport.post(GeoServerAbstractTestSupport.java:718)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:925)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:908)
  at org.geoserver.wfs.v2_0.GetFeatureWithLockTest.testLayerQualified(GetFeatureWithLockTest.java:328)
  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.GeneratedMethodAccessor227.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)
10 Jun 18:43:21 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/src/wfs/./target/mock3851828693101564781data&gt;
----------------------------------
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.103 sec
Running org.geoserver.wfs.ReprojectionWriteTest
10 Jun 18:43:21 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/src/wfs/./target/mock5477926544379396102data&gt;
----------------------------------
10 Jun 18:43:22 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/src/wfs/./target/mock5866683350712802527data&gt;
----------------------------------
10 Jun 18:43:22 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/src/wfs/./target/mock5494149804317626342data&gt;
----------------------------------
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.311 sec
Running org.geoserver.wfs.AliasTest
10 Jun 18:43:23 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/src/wfs/./target/mock3747371094437542762data&gt;
----------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xsd:schema xmlns:cdf="http://www.opengis.net/cite/data&quot; xmlns:gml="http://www.opengis.net/gml&quot; xmlns:gs="http://geoserver.org" xmlns:xsd="http://www.w3.org/2001/XMLSchema&quot; elementFormDefault="qualified" targetNamespace="http://www.opengis.net/cite/data&quot;&gt;
  <xsd:import namespace="http://www.opengis.net/gml&quot; schemaLocation="http://localhost:8080/geoserver/schemas/gml/2.1.2/feature.xsd&quot;/&gt;
  <xsd:complexType name="ft15Type">
    <xsd:complexContent>
      <xsd:extension base="gml:AbstractFeatureType">
        <xsd:sequence>
          <xsd:element maxOccurs="1" minOccurs="0" name="boundedBy" nillable="true" type="gml:PolygonPropertyType"/>
          <xsd:element maxOccurs="1" minOccurs="0" name="pointProperty" nillable="true" type="gml:PointPropertyType"/>
        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:element name="ft15" substitutionGroup="gml:_Feature" type="cdf:ft15Type"/>
</xsd:schema>
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.336 sec
Running org.geoserver.wfs.xml.GMLOutputFormatTest
10 Jun 18:43:23 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/src/wfs/./target/mock8548929295753871361data&gt;
----------------------------------
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.57 sec

Results :

Failed tests:
  testViewParams(org.geoserver.wfs.SQLViewTest)

Tests run: 421, 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-trunk/ws/src/wfs/target/surefire-reports&gt; for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 minutes 30 seconds
[INFO] Finished at: Sun Jun 10 18:43:24 UTC 2012
[INFO] Final Memory: 54M/402M
[INFO] ------------------------------------------------------------------------

--
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-trunk/5167/changes&gt;

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