|
Issue Type:
|
Bug
|
Affects Versions:
|
2.4-beta
|
Assignee:
|
Andrea Aime
|
Components:
|
WPS
|
Created:
|
11/Feb/13 10:12 PM
|
Description:
|
I am seeing a repeatable build failure in wps-core SnapTest but only on one box (Jenkins):
https://cgsrv8.arrc.csiro.au/jenkins/view/geoserver-master/job/geoserver-master/1008/
Buried in the stdout is this:
org.geoserver.wps.WPSException: Unknown process gs:Snap
Two boxes are Debian running Maven 3 with JDK 6 64-bit. One fails one does not. Changing test runOrder does not reproduce the failure.
Failure occurs since this commit (but I cannot see why):
commit 2afcb15d6bed30c25df347cba1afc20372925de2
Merge: 5554034 1328dcd
Author: Justin Deoliveira <jdeolive@anonymised.com>
Date: Mon Feb 11 11:59:20 2013 -0800
Merge pull request #119 from jdeolive/wps_events
preventing WPSInitializer from producing unecessary event traffic
Maven report:
-------------------------------------------------------------------------------
Test set: org.geoserver.wps.SnapTest
-------------------------------------------------------------------------------
Tests run: 10, Failures: 10, Errors: 0, Skipped: 0, Time elapsed: 2.01 sec <<< FAILURE!
testFeatureCollectionInline4326Raw(org.geoserver.wps.SnapTest) Time elapsed: 1204 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[wfs:FeatureCollection]> but was:<[ows:ExceptionReport]>
at junit.framework.Assert.assertEquals(Assert.java:85)
at junit.framework.Assert.assertEquals(Assert.java:91)
at org.geoserver.wps.SnapTest.testFeatureCollectionInline4326Raw(SnapTest.java:74)
[...]
testFeatureCollectionInline4326Doc(org.geoserver.wps.SnapTest) Time elapsed: 119 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[wps:ExecuteResponse]> but was:<[ows:ExceptionReport]>
at junit.framework.Assert.assertEquals(Assert.java:85)
at junit.framework.Assert.assertEquals(Assert.java:91)
at org.geoserver.wps.SnapTest.testFeatureCollectionInline4326Doc(SnapTest.java:114)
[...]
testFeatureCollectionInline3338Raw(org.geoserver.wps.SnapTest) Time elapsed: 102 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[wfs:FeatureCollection]> but was:<[ows:ExceptionReport]>
at junit.framework.Assert.assertEquals(Assert.java:85)
at junit.framework.Assert.assertEquals(Assert.java:91)
at org.geoserver.wps.SnapTest.testFeatureCollectionInline3338Raw(SnapTest.java:156)
[...]
testFeatureCollectionInline3338Doc(org.geoserver.wps.SnapTest) Time elapsed: 72 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[wps:ExecuteResponse]> but was:<[ows:ExceptionReport]>
at junit.framework.Assert.assertEquals(Assert.java:85)
at junit.framework.Assert.assertEquals(Assert.java:91)
at org.geoserver.wps.SnapTest.testFeatureCollectionInline3338Doc(SnapTest.java:200)
[...]
testFeatureCollectionInternalWFSRaw(org.geoserver.wps.SnapTest) Time elapsed: 60 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[wfs:FeatureCollection]> but was:<[ows:ExceptionReport]>
at junit.framework.Assert.assertEquals(Assert.java:85)
at junit.framework.Assert.assertEquals(Assert.java:91)
at org.geoserver.wps.SnapTest.testFeatureCollectionInternalWFSRaw(SnapTest.java:243)
[...]
testFeatureCollectionWFSFilter1Raw(org.geoserver.wps.SnapTest) Time elapsed: 61 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[wfs:FeatureCollection]> but was:<[ows:ExceptionReport]>
at junit.framework.Assert.assertEquals(Assert.java:85)
at junit.framework.Assert.assertEquals(Assert.java:91)
at org.geoserver.wps.SnapTest.testFeatureCollectionWFSFilter1Raw(SnapTest.java:296)
[...]
testFeatureCollectionWFSFilter2Raw(org.geoserver.wps.SnapTest) Time elapsed: 72 sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[wfs:FeatureCollection]> but was:<[ows:ExceptionReport]>
at junit.framework.Assert.assertEquals(Assert.java:85)
at junit.framework.Assert.assertEquals(Assert.java:91)
at org.geoserver.wps.SnapTest.testFeatureCollectionWFSFilter2Raw(SnapTest.java:351)
[...]
testMissingFeatures(org.geoserver.wps.SnapTest) Time elapsed: 57 sec <<< FAILURE!
junit.framework.AssertionFailedError: Expecting to find matches for Xpath //wps:Status/wps:ProcessFailed
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.assertTrue(Assert.java:20)
at org.custommonkey.xmlunit.XMLAssert.assertXpathExists(XMLAssert.java:901)
at org.geoserver.wps.SnapTest.testMissingFeatures(SnapTest.java:384)
[...]
testMissingPoint(org.geoserver.wps.SnapTest) Time elapsed: 122 sec <<< FAILURE!
junit.framework.AssertionFailedError: Expecting to find matches for Xpath //wps:Status/wps:ProcessFailed
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.assertTrue(Assert.java:20)
at org.custommonkey.xmlunit.XMLAssert.assertXpathExists(XMLAssert.java:901)
at org.geoserver.wps.SnapTest.testMissingPoint(SnapTest.java:412)
[...]
testWrongCRS(org.geoserver.wps.SnapTest) Time elapsed: 119 sec <<< FAILURE!
junit.framework.AssertionFailedError: Expecting to find matches for Xpath //wps:Status/wps:ProcessFailed
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.assertTrue(Assert.java:20)
at org.custommonkey.xmlunit.XMLAssert.assertXpathExists(XMLAssert.java:901)
at org.geoserver.wps.SnapTest.testWrongCRS(SnapTest.java:452)
[...]
All failures have stdout like this:
12 Feb 11:04:01 ERROR [geoserver.ows] -
org.geoserver.wps.WPSException: Unknown process gs:Snap
at org.geoserver.wps.executor.ExecuteRequest.getProcessInputs(ExecuteRequest.java:89)
at org.geoserver.wps.executor.WPSExecutionManager.submit(WPSExecutionManager.java:103)
at org.geoserver.wps.Execute.run(Execute.java:71)
at org.geoserver.wps.DefaultWebProcessingService.execute(DefaultWebProcessingService.java:76)
at sun.reflect.GeneratedMethodAccessor180.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 $Proxy25.execute(Unknown Source)
at sun.reflect.GeneratedMethodAccessor179.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:774)
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.GeoServerSystemTestSupport$2.service(GeoServerSystemTestSupport.java:1355)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.mockrunner.mock.web.MockFilterChain.doFilter(MockFilterChain.java:50)
at org.geoserver.test.GeoServerSystemTestSupport.dispatch(GeoServerSystemTestSupport.java:1374)
at org.geoserver.test.GeoServerSystemTestSupport.dispatch(GeoServerSystemTestSupport.java:1309)
at org.geoserver.test.GeoServerSystemTestSupport.dispatch(GeoServerSystemTestSupport.java:1291)
at org.geoserver.test.GeoServerSystemTestSupport.postAsServletResponse(GeoServerSystemTestSupport.java:1118)
at org.geoserver.test.GeoServerSystemTestSupport.postAsServletResponse(GeoServerSystemTestSupport.java:1053)
at org.geoserver.test.GeoServerSystemTestSupport.post(GeoServerSystemTestSupport.java:1033)
at org.geoserver.test.GeoServerSystemTestSupport.postAsDOM(GeoServerSystemTestSupport.java:1252)
at org.geoserver.test.GeoServerSystemTestSupport.postAsDOM(GeoServerSystemTestSupport.java:1235)
at org.geoserver.wps.SnapTest.testMissingPoint(SnapTest.java:409)
|
Project:
|
GeoServer
|
Priority:
|
Critical
|
Reporter:
|
Ben Caradoc-Davies
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa).
For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)