[Geoserver-devel] Build failed in Hudson: geoserver-2.0.x #402

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

Changes:

[ang05a] - Caters for polymorphism filters.
- Caters for feature chaining mapping with mappingName.
- Refactors feature chaining filters.

[riniangreani] Updated test comments with test mapping file changes.

[riniangreani] - Update tests for feature chaining filter handling where multiple mapping for the same type exists.
- Update tests for polymorphism feature handling.

------------------------------------------
[...truncated 24277 lines...]
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:585)
  at junit.framework.TestCase.runTest(TestCase.java:164)
  at org.geoserver.test.GeoServerAbstractTestSupport.runTest(GeoServerAbstractTestSupport.java:128)
  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 junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
  at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
  at junit.framework.TestResult.runProtected(TestResult.java:124)
  at junit.extensions.TestSetup.run(TestSetup.java:25)
  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:585)
  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:585)
  at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Caused by: org.geotools.data.DataSourceException: Feature type exposureColor not found. Has the data access been registered in DataAccessRegistry? Available: [http://www.cgi-iugs.org/xml/GeoSciML/2:MappedFeature, http://www.cgi-iugs.org/xml/GeoSciML/2:ControlledConcept, http://www.cgi-iugs.org/xml/GeoSciML/2:CompositionPart, http://www.cgi-iugs.org/xml/GeoSciML/2:CGI_TermValue, http://www.cgi-iugs.org/xml/GeoSciML/2:GeologicUnit, http://example.com:SimpleContent, http://example.com:FirstParentFeature, http://example.com:SimpleContent, http://example.com:SecondParentFeature, http://www.opengis.net/om/1.0:Observation\]
  at org.geotools.data.complex.DataAccessRegistry.throwDataSourceException(DataAccessRegistry.java:169)
  at org.geotools.data.complex.DataAccessRegistry.getFeatureSource(DataAccessRegistry.java:136)
  at org.geotools.data.complex.NestedAttributeMapping.getFeatures(NestedAttributeMapping.java:215)
  at org.geotools.data.complex.DataAccessMappingFeatureIterator.setAttributeValue(DataAccessMappingFeatureIterator.java:361)
  at org.geotools.data.complex.DataAccessMappingFeatureIterator.computeNext(DataAccessMappingFeatureIterator.java:655)
  at org.geotools.data.complex.AbstractMappingFeatureIterator.next(AbstractMappingFeatureIterator.java:192)
  ... 71 more
Tests run: 10, Failures: 8, Errors: 0, Skipped: 0, Time elapsed: 4.328 sec <<< FAILURE!
Running org.geoserver.test.XYGeomTest
Apr 7, 2010 3:55:31 AM org.geoserver.test.FeatureChainingWfsTest testAnyType
INFO: WFS GetFeature&typename=om:Observation response:
<?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>java.lang.RuntimeException: org.geotools.data.DataSourceException: Feature type exposureColor not found. Has the data access been registered in DataAccessRegistry? Available: [http://www.cgi-iugs.org/xml/GeoSciML/2:MappedFeature, http://www.cgi-iugs.org/xml/GeoSciML/2:ControlledConcept, http://www.cgi-iugs.org/xml/GeoSciML/2:CompositionPart, http://www.cgi-iugs.org/xml/GeoSciML/2:CGI_TermValue, http://www.cgi-iugs.org/xml/GeoSciML/2:GeologicUnit, http://example.com:SimpleContent, http://example.com:FirstParentFeature, http://example.com:SimpleContent, http://example.com:SecondParentFeature, http://www.opengis.net/om/1.0:Observation\]
org.geotools.data.DataSourceException: Feature type exposureColor not found. Has the data access been registered in DataAccessRegistry? Available: [http://www.cgi-iugs.org/xml/GeoSciML/2:MappedFeature, http://www.cgi-iugs.org/xml/GeoSciML/2:ControlledConcept, http://www.cgi-iugs.org/xml/GeoSciML/2:CompositionPart, http://www.cgi-iugs.org/xml/GeoSciML/2:CGI_TermValue, http://www.cgi-iugs.org/xml/GeoSciML/2:GeologicUnit, http://example.com:SimpleContent, http://example.com:FirstParentFeature, http://example.com:SimpleContent, http://example.com:SecondParentFeature, http://www.opengis.net/om/1.0:Observation\]
Feature type exposureColor not found. Has the data access been registered in DataAccessRegistry? Available: [http://www.cgi-iugs.org/xml/GeoSciML/2:MappedFeature, http://www.cgi-iugs.org/xml/GeoSciML/2:ControlledConcept, http://www.cgi-iugs.org/xml/GeoSciML/2:CompositionPart, http://www.cgi-iugs.org/xml/GeoSciML/2:CGI_TermValue, http://www.cgi-iugs.org/xml/GeoSciML/2:GeologicUnit, http://example.com:SimpleContent, http://example.com:FirstParentFeature, http://example.com:SimpleContent, http://example.com:SecondParentFeature, http://www.opengis.net/om/1.0:Observation\]</ows:ExceptionText>
    </ows:Exception>
</ows:ExceptionReport>

Apr 7, 2010 3:55:31 AM org.geoserver.test.FeatureChainingWfsTest testFilteringXlinkHref
INFO: WFS filter GetFeature response:
<?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>java.lang.RuntimeException: org.geotools.data.DataSourceException: Feature type exposureColor not found. Has the data access been registered in DataAccessRegistry? Available: [http://www.cgi-iugs.org/xml/GeoSciML/2:MappedFeature, http://www.cgi-iugs.org/xml/GeoSciML/2:ControlledConcept, http://www.cgi-iugs.org/xml/GeoSciML/2:CompositionPart, http://www.cgi-iugs.org/xml/GeoSciML/2:CGI_TermValue, http://www.cgi-iugs.org/xml/GeoSciML/2:GeologicUnit, http://example.com:SimpleContent, http://example.com:FirstParentFeature, http://example.com:SimpleContent, http://example.com:SecondParentFeature, http://www.opengis.net/om/1.0:Observation\]
org.geotools.data.DataSourceException: Feature type exposureColor not found. Has the data access been registered in DataAccessRegistry? Available: [http://www.cgi-iugs.org/xml/GeoSciML/2:MappedFeature, http://www.cgi-iugs.org/xml/GeoSciML/2:ControlledConcept, http://www.cgi-iugs.org/xml/GeoSciML/2:CompositionPart, http://www.cgi-iugs.org/xml/GeoSciML/2:CGI_TermValue, http://www.cgi-iugs.org/xml/GeoSciML/2:GeologicUnit, http://example.com:SimpleContent, http://example.com:FirstParentFeature, http://example.com:SimpleContent, http://example.com:SecondParentFeature, http://www.opengis.net/om/1.0:Observation\]
Feature type exposureColor not found. Has the data access been registered in DataAccessRegistry? Available: [http://www.cgi-iugs.org/xml/GeoSciML/2:MappedFeature, http://www.cgi-iugs.org/xml/GeoSciML/2:ControlledConcept, http://www.cgi-iugs.org/xml/GeoSciML/2:CompositionPart, http://www.cgi-iugs.org/xml/GeoSciML/2:CGI_TermValue, http://www.cgi-iugs.org/xml/GeoSciML/2:GeologicUnit, http://example.com:SimpleContent, http://example.com:FirstParentFeature, http://example.com:SimpleContent, http://example.com:SecondParentFeature, http://www.opengis.net/om/1.0:Observation\]</ows:ExceptionText>
    </ows:Exception>
</ows:ExceptionReport>

Apr 7, 2010 3:55:32 AM org.geoserver.test.XYGeomTest testDescribeFeatureType
INFO: WFS DescribeFeatureType response:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema elementFormDefault="qualified" targetNamespace="http://test" xmlns:test="http://test" xmlns:xsd="http://www.w3.org/2001/XMLSchema&quot;&gt;
    <xsd:include schemaLocation="<http://hudson.opengeo.org/hudson/job/geoserver-2.0.x/ws/geoserver-2.0.x/extension/app-schema/app-schema-test/target/app-schema-mock48392data/featureTypes/test_PointFeature/GeometrylessTest.xsd&quot;/&gt;&gt;
</xsd:schema>

Apr 7, 2010 3:55:32 AM org.geoserver.test.XYGeomTest testGetFeature
INFO: WFS GetFeature response:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="2" timeStamp="2010-04-07T03:55:32.125-04:00" xmlns:gml="http://www.opengis.net/gml&quot; xmlns:ogc="http://www.opengis.net/ogc&quot;
    xmlns:ows="http://www.opengis.net/ows&quot; xmlns:test="http://test" 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://test <http://hudson.opengeo.org/hudson/job/geoserver-2.0.x/ws/geoserver-2.0.x/extension/app-schema/app-schema-test/target/app-schema-mock48392data/featureTypes/test_PointFeature/GeometrylessTest.xsd&gt; http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd&quot;&gt;
    <gml:featureMembers>
        <test:PointFeature gml:id="mf1">
            <test:loc/>
        </test:PointFeature>
        <test:PointFeature gml:id="mf2">
            <test:loc/>
        </test:PointFeature>
    </gml:featureMembers>
</wfs:FeatureCollection>

Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.518 sec
Running org.geoserver.test.SRSWfsTest
Apr 7, 2010 3:55:33 AM org.geoserver.test.SRSWfsTest testGetFeatureContent
INFO: WFS GetFeature&typename=ex:geomContainer response:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="2" timeStamp="2010-04-07T03:55:33.179-04:00" xmlns:ex="http://example.com" xmlns:gml="http://www.opengis.net/gml&quot; xmlns:ogc="http://www.opengis.net/ogc&quot;
    xmlns:ows="http://www.opengis.net/ows&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-2.0.x/ws/geoserver-2.0.x/extension/app-schema/app-schema-test/target/app-schema-mock48394data/featureTypes/ex_geomContainer/NestedGeometry.xsd&gt; http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd&quot;&gt;
    <gml:featureMembers>
        <ex:geomContainer gml:id="1">
            <ex:geom>
                <gml:Polygon>
                    <gml:exterior>
                        <gml:LinearRing>
                            <gml:posList>-1.2 52.5 -1.2 52.6 -1.1 52.6 -1.1 52.5 -1.2 52.5</gml:posList>
                        </gml:LinearRing>
                    </gml:exterior>
                </gml:Polygon>
            </ex:geom>
            <ex:nestedFeature>
                <ex:nestedGeom gml:id="nested.2">
                    <ex:geom>
                        <gml:Point>
                            <gml:pos>42.58 31.29</gml:pos>
                        </gml:Point>
                    </ex:geom>
                </ex:nestedGeom>
            </ex:nestedFeature>
        </ex:geomContainer>
        <ex:geomContainer gml:id="2">
            <ex:geom>
                <gml:Point>
                    <gml:pos>42.58 31.29</gml:pos>
                </gml:Point>
            </ex:geom>
            <ex:nestedFeature>
                <ex:nestedGeom gml:id="nested.1">
                    <ex:geom>
                        <gml:Polygon>
                            <gml:exterior>
                                <gml:LinearRing>
                                    <gml:posList>-1.2 52.5 -1.2 52.6 -1.1 52.6 -1.1 52.5 -1.2 52.5</gml:posList>
                                </gml:LinearRing>
                            </gml:exterior>
                        </gml:Polygon>
                    </ex:geom>
                </ex:nestedGeom>
            </ex:nestedFeature>
        </ex:geomContainer>
    </gml:featureMembers>
</wfs:FeatureCollection>

Apr 7, 2010 3:55:33 AM org.geoserver.test.SRSWfsTest testReproject
INFO: WFS GetFeature&typename=ex:geomContainer&srsname=urn:x-ogc:def:crs:EPSG::4326 response:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="2" timeStamp="2010-04-07T03:55:33.591-04:00" xmlns:ex="http://example.com" xmlns:gml="http://www.opengis.net/gml&quot; xmlns:ogc="http://www.opengis.net/ogc&quot;
    xmlns:ows="http://www.opengis.net/ows&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-2.0.x/ws/geoserver-2.0.x/extension/app-schema/app-schema-test/target/app-schema-mock48394data/featureTypes/ex_geomContainer/NestedGeometry.xsd&gt; http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd&quot;&gt;
    <gml:featureMembers>
        <ex:geomContainer gml:id="1">
            <ex:geom>
                <gml:Polygon>
                    <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>
                            <gml:pos>42.58000004047607 31.29</gml:pos>
                        </gml:Point>
                    </ex:geom>
                </ex:nestedGeom>
            </ex:nestedFeature>
        </ex:geomContainer>
        <ex:geomContainer gml:id="2">
            <ex:geom>
                <gml:Point>
                    <gml:pos>42.58000004047607 31.29</gml:pos>
                </gml:Point>
            </ex:geom>
            <ex:nestedFeature>
                <ex:nestedGeom gml:id="nested.1">
                    <ex:geom>
                        <gml:Polygon>
                            <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:featureMembers>
</wfs:FeatureCollection>

Apr 7, 2010 3:55:33 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-04-07T03:55:33.638-04:00" xmlns:ex="http://example.com" xmlns:gml="http://www.opengis.net/gml&quot; xmlns:ogc="http://www.opengis.net/ogc&quot;
    xmlns:ows="http://www.opengis.net/ows&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-2.0.x/ws/geoserver-2.0.x/extension/app-schema/app-schema-test/target/app-schema-mock48394data/featureTypes/ex_geomContainer/NestedGeometry.xsd&gt; http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd&quot;&gt;
    <gml:featureMembers>
        <ex:geomContainer gml:id="1">
            <ex:geom>
                <gml:Polygon>
                    <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>
                            <gml:pos>42.58000004047607 31.29</gml:pos>
                        </gml:Point>
                    </ex:geom>
                </ex:nestedGeom>
            </ex:nestedFeature>
        </ex:geomContainer>
    </gml:featureMembers>
</wfs:FeatureCollection>

Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.501 sec

Results :

Failed tests:
  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)
  testGetFeatureContent(org.geoserver.test.FeatureChainingWfsTest)
  testGetFeature(org.geoserver.test.FeatureChainingWfsTest)
  testComplexTypeWithSimpleContent(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)

Tests run: 29, Failures: 13, 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.0.x/ws/geoserver-2.0.x/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: 8 minutes 40 seconds
[INFO] Finished at: Wed Apr 07 03:55:34 EDT 2010
[INFO] Final Memory: 50M/125M
[INFO] ------------------------------------------------------------------------
Failed to send e-mail to ang05a because no e-mail address is known, and no default e-mail domain is configured
Failed to send e-mail to riniangreani because no e-mail address is known, and no default e-mail domain is configured

See <http://hudson.opengeo.org/hudson/job/geoserver-2.0.x/403/&gt;