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

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

Changes:

[bencaradocdavies] Ported app-schema tests to use published schemas GeoSciML 2.0 and EarthResourceML 1.1 (in maven artifacts)

------------------------------------------
[...truncated 26005 lines...]
                        <gml:LinearRing>
                            <gml:posList>-1.1999999999634965 52.5 -1.1999999999634965 52.6 -1.099999999966089 52.59999999999999 -1.099999999966089 52.5 -1.1999999999634965 52.5</gml:posList>
                        </gml:LinearRing>
                    </gml:exterior>
                </gml:Polygon>
            </ex:geom>
            <ex:nestedFeature>
                <ex:nestedGeom gml:id="nested.2">
                    <ex:geom>
                        <gml:Point srsDimension="2" srsName="urn:x-ogc:def:crs:EPSG:4326">
                            <gml:pos>42.58000004047607 31.29</gml:pos>
                        </gml:Point>
                    </ex:geom>
                </ex:nestedGeom>
            </ex:nestedFeature>
        </ex:geomContainer>
    </gml:featureMember>
    <gml:featureMember>
        <ex:geomContainer gml:id="2">
            <ex:geom>
                <gml:Point srsDimension="2" srsName="urn:x-ogc:def:crs:EPSG:4326">
                    <gml:pos>42.58000004047607 31.29</gml:pos>
                </gml:Point>
            </ex:geom>
            <ex:nestedFeature>
                <ex:nestedGeom gml:id="nested.1">
                    <ex:geom>
                        <gml:Polygon srsDimension="2" srsName="urn:x-ogc:def:crs:EPSG:4326">
                            <gml:exterior>
                                <gml:LinearRing>
                                    <gml:posList>-1.1999999999634965 52.5 -1.1999999999634965 52.6 -1.099999999966089 52.59999999999999 -1.099999999966089 52.5 -1.1999999999634965 52.5</gml:posList>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                    </ex:geom>
                </ex:nestedGeom>
            </ex:nestedFeature>
        </ex:geomContainer>
    </gml:featureMember>
</wfs:FeatureCollection>

Aug 3, 2010 3:55:22 AM org.geoserver.test.SRSWfsTest testFilters
INFO: WFS GetFeature&typename=ex:geomContainer&srsname=urn:x-ogc:def:crs:EPSG::4326&featureid=1response:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="1" timeStamp="2010-08-03T03:55:22.266Z" xmlns:cv="http://www.opengis.net/cv/0.2.1&quot; xmlns:ex="http://example.com" xmlns:gml="http://www.opengis.net/gml&quot;
    xmlns:gsml="urn:cgi:xmlns:CGI:GeoSciML:2.0" xmlns:ogc="http://www.opengis.net/ogc&quot; xmlns:om="http://www.opengis.net/om/1.0&quot; xmlns:ows="http://www.opengis.net/ows&quot;
    xmlns:sa="http://www.opengis.net/sampling/1.0&quot; xmlns:sml="http://www.opengis.net/sensorML/1.0.1&quot; xmlns:swe="http://www.opengis.net/swe/1.0.1&quot; xmlns:wfs="http://www.opengis.net/wfs&quot;
    xmlns:xlink="http://www.w3.org/1999/xlink&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation="http://example.com <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/app-schema/app-schema-test/target/app-schema-mock8960335569950833056data/featureTypes/ex_geomContainer/NestedGeometry.xsd&gt; http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd&quot;&gt;
    <gml:featureMember>
        <ex:geomContainer gml:id="1">
            <ex:geom>
                <gml:Polygon srsDimension="2" srsName="urn:x-ogc:def:crs:EPSG:4326">
                    <gml:exterior>
                        <gml:LinearRing>
                            <gml:posList>-1.1999999999634965 52.5 -1.1999999999634965 52.6 -1.099999999966089 52.59999999999999 -1.099999999966089 52.5 -1.1999999999634965 52.5</gml:posList>
                        </gml:LinearRing>
                    </gml:exterior>
                </gml:Polygon>
            </ex:geom>
            <ex:nestedFeature>
                <ex:nestedGeom gml:id="nested.2">
                    <ex:geom>
                        <gml:Point srsDimension="2" srsName="urn:x-ogc:def:crs:EPSG:4326">
                            <gml:pos>42.58000004047607 31.29</gml:pos>
                        </gml:Point>
                    </ex:geom>
                </ex:nestedGeom>
            </ex:nestedFeature>
        </ex:geomContainer>
    </gml:featureMember>
</wfs:FeatureCollection>

Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.603 sec
Running org.geoserver.test.PropertyEncodingOrderTest
Aug 3, 2010 3:55:24 AM org.geoserver.test.PropertyEncodingOrderTest testPropertyEncodingOrder_PlanarOrientation
INFO: WFS GetFeature&er:MineralOccurrence:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="1" timeStamp="2010-08-03T03:55:23.972Z" xmlns:cv="http://www.opengis.net/cv/0.2.1&quot; xmlns:er="urn:cgi:xmlns:GGIC:EarthResource:1.1"
    xmlns:gml="http://www.opengis.net/gml&quot; xmlns:gsml="urn:cgi:xmlns:CGI:GeoSciML:2.0" xmlns:ogc="http://www.opengis.net/ogc&quot; xmlns:om="http://www.opengis.net/om/1.0&quot;
    xmlns:ows="http://www.opengis.net/ows&quot; xmlns:sa="http://www.opengis.net/sampling/1.0&quot; xmlns:sml="http://www.opengis.net/sensorML/1.0.1&quot; xmlns:swe="http://www.opengis.net/swe/1.0.1&quot;
    xmlns:wfs="http://www.opengis.net/wfs&quot; xmlns:xlink="http://www.w3.org/1999/xlink&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation="urn:cgi:xmlns:GGIC:EarthResource:1.1 http://www.earthresourceml.org/earthresourceml/1.1/xsd/earthResource.xsd http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd&quot;&gt;
    <gml:featureMember>
        <er:MineralOccurrence gml:id="er.mineraloccurrence.S0032895">
            <gml:name>Robinson Range - Deposit D</gml:name>
            <er:planarOrientation>
                <gsml:CGI_PlanarOrientation>
                    <gsml:convention>strike dip right hand rule</gsml:convention>
                    <gsml:azimuth>
                        <gsml:CGI_NumericValue>
                            <gsml:principalValue uom="urn:ogc:def:uom:UCUM::deg">50.0</gsml:principalValue>
                        </gsml:CGI_NumericValue>
                    </gsml:azimuth>
                    <gsml:dip>
                        <gsml:CGI_TermValue>
                            <gsml:value codeSpace="http://www.dmp.wa.gov.au/371.aspx&quot;&gt;60\-80&lt;/gsml:value&gt;
                        </gsml:CGI_TermValue>
                    </gsml:dip>
                    <gsml:polarity>not applicable</gsml:polarity>
                </gsml:CGI_PlanarOrientation>
            </er:planarOrientation>
        </er:MineralOccurrence>
    </gml:featureMember>
</wfs:FeatureCollection>

03 Aug 03:55:25 ERROR [geoserver.ows] -
org.geoserver.wfs.WFSException: Error occurred getting features
  at org.geoserver.wfs.GetFeature.run(GetFeature.java:398)
  at org.geoserver.wfs.DefaultWebFeatureService.getFeature(DefaultWebFeatureService.java:115)
  at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:592)
  at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
  at org.geoserver.ows.util.EMFLogger.invoke(EMFLogger.java:52)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  at $Proxy10.getFeature(Unknown Source)
  at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:592)
  at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:648)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:229)
  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:875)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
  at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at org.geoserver.test.GeoServerAbstractTestSupport$3.service(GeoServerAbstractTestSupport.java:1080)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at com.mockrunner.mock.web.MockFilterChain.doFilter(MockFilterChain.java:50)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1099)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:1040)
  at org.geoserver.test.GeoServerAbstractTestSupport.getAsServletResponse(GeoServerAbstractTestSupport.java:468)
  at org.geoserver.test.GeoServerAbstractTestSupport.get(GeoServerAbstractTestSupport.java:449)
  at org.geoserver.test.GeoServerAbstractTestSupport.getAsDOM(GeoServerAbstractTestSupport.java:723)
  at org.geoserver.test.GeoServerAbstractTestSupport.getAsDOM(GeoServerAbstractTestSupport.java:685)
  at org.geoserver.test.AbstractAppSchemaWfsTestSupport.getAsDOM(AbstractAppSchemaWfsTestSupport.java:144)
  at org.geoserver.test.PropertyEncodingOrderTest.testPropertyEncodingOrder_GeologicUnit(PropertyEncodingOrderTest.java:93)
  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:592)
  at junit.framework.TestCase.runTest(TestCase.java:164)
  at org.geoserver.test.GeoServerAbstractTestSupport.runTest(GeoServerAbstractTestSupport.java:131)
  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:592)
  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:592)
  at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: java.io.IOException
  at org.geoserver.catalog.ResourcePool.getDataStore(ResourcePool.java:362)
  at org.geoserver.catalog.ResourcePool.getFeatureSource(ResourcePool.java:798)
  at org.geoserver.catalog.impl.FeatureTypeInfoImpl.getFeatureSource(FeatureTypeInfoImpl.java:91)
  at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:592)
  at org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:144)
  at $Proxy11.getFeatureSource(Unknown Source)
  at org.geoserver.wfs.GetFeature.run(GetFeature.java:171)
  ... 62 more
Caused by: java.lang.RuntimeException: Failed to resolve http://schemas.opengis.net/GeoSciML/geosciml.xsd
  at org.geotools.xml.AppSchemaResolver.resolve(AppSchemaResolver.java:133)
  at org.geotools.data.complex.config.EmfAppSchemaReader.findSchemaNamespace(EmfAppSchemaReader.java:155)
  at org.geotools.data.complex.config.EmfAppSchemaReader.parse(EmfAppSchemaReader.java:125)
  at org.geotools.data.complex.config.AppSchemaDataAccessConfigurator.parseGmlSchemas(AppSchemaDataAccessConfigurator.java:488)
  at org.geotools.data.complex.config.AppSchemaDataAccessConfigurator.buildMappings(AppSchemaDataAccessConfigurator.java:179)
  at org.geotools.data.complex.config.AppSchemaDataAccessConfigurator.buildMappings(AppSchemaDataAccessConfigurator.java:159)
  at org.geotools.data.complex.AppSchemaDataAccessFactory.createDataStore(AppSchemaDataAccessFactory.java:93)
  at org.geotools.data.complex.AppSchemaDataAccessFactory.createDataStore(AppSchemaDataAccessFactory.java:90)
  at org.geotools.data.complex.AppSchemaDataAccessFactory.createDataStore(AppSchemaDataAccessFactory.java:90)
  at org.vfny.geoserver.util.DataStoreUtils.getDataAccess(DataStoreUtils.java:96)
  at org.geoserver.catalog.ResourcePool.getDataStore(ResourcePool.java:329)
  ... 70 more
Aug 3, 2010 3:55:25 AM org.geoserver.test.PropertyEncodingOrderTest testPropertyEncodingOrder_GeologicUnit
INFO: WFS GetFeature&typename=gsml:GeologicUnit&featureid=gu.25699:
<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport version="1.0.0" xmlns:ows="http://www.opengis.net/ows&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation="http://www.opengis.net/ows http://localhost:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd&quot;&gt;
    <ows:Exception exceptionCode="NoApplicableCode">
        <ows:ExceptionText>Error occurred getting features
null
Failed to resolve http://schemas.opengis.net/GeoSciML/geosciml.xsd&lt;/ows:ExceptionText&gt;
    </ows:Exception>
</ows:ExceptionReport>

Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.29 sec <<< FAILURE!

Results :

Failed tests:
  testDescribeFeatureType(org.geoserver.test.DataAccessIntegrationWfsTest)
  testGetFeature(org.geoserver.test.DataAccessIntegrationWfsTest)
  testGetFeatureContent(org.geoserver.test.DataAccessIntegrationWfsTest)
  testPolymorphism(org.geoserver.test.PolymorphismWfsTest)
  testFirstValueFilters(org.geoserver.test.PolymorphismWfsTest)
  testSecondValueFilters(org.geoserver.test.PolymorphismWfsTest)
  testAnyTypeFilters(org.geoserver.test.PolymorphismWfsTest)
  testMappingNameFilters(org.geoserver.test.PolymorphismWfsTest)
  testGetCapabilities(org.geoserver.test.FeatureChainingWfsTest)
  testDescribeFeatureType(org.geoserver.test.FeatureChainingWfsTest)
  testGetFeature(org.geoserver.test.FeatureChainingWfsTest)
  testGetFeatureContent(org.geoserver.test.FeatureChainingWfsTest)
  testGetFeatureWithMappingName(org.geoserver.test.FeatureChainingWfsTest)
  testGetFeaturePropertyFilter(org.geoserver.test.FeatureChainingWfsTest)
  testGetFeatureWithFeatureIdFilter(org.geoserver.test.FeatureChainingWfsTest)
  testGetFeatureWithGmlObjectIdFilter(org.geoserver.test.FeatureChainingWfsTest)
  testAnyType(org.geoserver.test.FeatureChainingWfsTest)
  testFilteringXlinkHref(org.geoserver.test.FeatureChainingWfsTest)
  testFilteringNestedMultiValuedAttribute(org.geoserver.test.FeatureChainingWfsTest)
  testDenormalisedFeaturesCount(org.geoserver.test.FeatureChainingWfsTest)
  testEncodeFeatureMember(org.geoserver.test.FeatureChainingWfsTest)
  testEncodeFeatureMembers(org.geoserver.test.FeatureChainingWfsTest)
  testPropertyEncodingOrder_GeologicUnit(org.geoserver.test.PropertyEncodingOrderTest)

Tests run: 45, Failures: 23, 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/geoserver/extension/app-schema/app-schema-test/target/surefire-reports&gt; for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 56 seconds
[INFO] Finished at: Tue Aug 03 03:55:25 UTC 2010
[INFO] Final Memory: 65M/277M
[INFO] ------------------------------------------------------------------------
Failed to send e-mail to bencaradocdavies because no e-mail address is known, and no default e-mail domain is configured

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