[Geoserver-devel] Build failed in Hudson: geoserver-2.1.x #334

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

Changes:

[aaime] [GEOS-4674] Attribute restriction are not applied when not accompained by a corresponding filter

------------------------------------------
[...truncated 35013 lines...]
    </gml:featureMember>
    <gml:featureMember>
        <ex:PolymorphicFeature gml:id="f5">
            <ex:firstValue>
                <gsml:CGI_TermValue>
                    <gsml:value codeSpace="some:uri">y</gsml:value>
                </gsml:CGI_TermValue>
            </ex:firstValue>
            <ex:firstValue>
                <gsml:CGI_TermValue gsml:qualifier="approximate">
                    <gsml:value codeSpace="codespace">0</gsml:value>
                </gsml:CGI_TermValue>
            </ex:firstValue>
        </ex:PolymorphicFeature>
    </gml:featureMember>
    <gml:featureMember>
        <ex:PolymorphicFeature gml:id="f6">
            <ex:firstValue>
                <gsml:CGI_TermValue gsml:qualifier="approximate">
                    <gsml:value codeSpace="codespace">1000</gsml:value>
                </gsml:CGI_TermValue>
            </ex:firstValue>
        </ex:PolymorphicFeature>
    </gml:featureMember>
</wfs:FeatureCollection>

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.314 sec
Running org.geoserver.test.MappingNameTest
06 Jul 18:55:04 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.1.x/ws/geoserver-2.1.x/extension/app-schema/app-schema-test/target/app-schema-mock1902567496542067825data&gt;
----------------------------------
Jul 6, 2011 6:55:05 PM org.geoserver.test.MappingNameTest testGetFeature
INFO: WFS GetFeature response:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="4" timeStamp="2011-07-06T18:55:05.466Z" xmlns:cv="http://www.opengis.net/cv/0.2.1&quot; 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:CGI:GeoSciML:2.0 http://www.geosciml.org/geosciml/2.0/xsd/geosciml.xsd http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd&quot;&gt;
    <gml:featureMember>
        <gsml:MappedFeature gml:id="gsml.mappedfeature.mf1">
            <gsml:observationMethod>
                <gsml:CGI_TermValue>
                    <gsml:value codeSpace="codespace01">value01</gsml:value>
                </gsml:CGI_TermValue>
            </gsml:observationMethod>
            <gsml:observationMethod>
                <gsml:CGI_TermValue>
                    <gsml:value codeSpace="codespace02">value02</gsml:value>
                </gsml:CGI_TermValue>
            </gsml:observationMethod>
            <gsml:shape>
                <gml:Point srsDimension="2" srsName="urn:x-ogc:def:crs:EPSG:4326">
                    <gml:pos>-23.6701 133.8855</gml:pos>
                </gml:Point>
            </gsml:shape>
        </gsml:MappedFeature>
    </gml:featureMember>
    <gml:featureMember>
        <gsml:MappedFeature gml:id="gsml.mappedfeature.mf2">
            <gsml:observationMethod>
                <gsml:CGI_TermValue>
                    <gsml:value codeSpace="codespace03">value03</gsml:value>
                </gsml:CGI_TermValue>
            </gsml:observationMethod>
            <gsml:shape>
                <gml:Point srsDimension="2" srsName="urn:x-ogc:def:crs:EPSG:4326">
                    <gml:pos>-29.0434 167.9388</gml:pos>
                </gml:Point>
            </gsml:shape>
        </gsml:MappedFeature>
    </gml:featureMember>
    <gml:featureMember>
        <gsml:MappedFeature gml:id="gsml.mappedfeature.mf3">
            <gsml:shape>
                <gml:Point srsDimension="2" srsName="urn:x-ogc:def:crs:EPSG:4326">
                    <gml:pos>-12.1883 96.8339</gml:pos>
                </gml:Point>
            </gsml:shape>
        </gsml:MappedFeature>
    </gml:featureMember>
    <gml:featureMember>
        <gsml:MappedFeature gml:id="gsml.mappedfeature.mf4">
            <gsml:shape>
                <gml:Point srsDimension="2" srsName="urn:x-ogc:def:crs:EPSG:4326">
                    <gml:pos>-34.9502 117.8102</gml:pos>
                </gml:Point>
            </gsml:shape>
        </gsml:MappedFeature>
    </gml:featureMember>
</wfs:FeatureCollection>

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.33 sec
Running org.geoserver.test.PropertyEncodingOrderTest
06 Jul 18:55:05 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-2.1.x/ws/geoserver-2.1.x/extension/app-schema/app-schema-test/target/app-schema-mock4582905428173655424data&gt;
----------------------------------
Jul 6, 2011 6:55:11 PM org.geoserver.test.PropertyEncodingOrderTest testPropertyEncodingOrder_Borehole
INFO: WFS GetFeature&gsml:Borehole:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="1" timeStamp="2011-07-06T18:55:11.288Z" 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:CGI:GeoSciML:2.0 http://www.geosciml.org/geosciml/2.0/xsd/geosciml.xsd http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd&quot;&gt;
    <gml:featureMember>
        <gsml:Borehole gml:id="BOREHOLE.WTB5">
            <gml:name>WTB5 TEST</gml:name>
            <sa:sampledFeature xlink:href="http://www.opengis.net/def/nil/OGC/0/unknown&quot; xlink:role="http://www.geosciml.org/geosciml/2.0/doc/GeoSciML/GeologicUnit/GeologicUnit.html&quot; xlink:title="unknown"/>
            <sa:shape>
                <gml:LineString>
                    <gml:posList>-28.4139 121.142 -28.4139 121.142</gml:posList>
                </gml:LineString>
            </sa:shape>
            <gsml:collarLocation>
                <gsml:BoreholeCollar gml:id="BOREHOLE.COLLAR.WTB5">
                    <gsml:location>
                        <gml:Point>
                            <gml:pos>-28.4139 121.142</gml:pos>
                        </gml:Point>
                    </gsml:location>
                    <gsml:elevation axisLabels="Gravity-related height" srsDimension="1" srsName="http://www.opengis.net/gml/srs/epsg.xml#5711&quot; uomLabels="m">1.0</gsml:elevation>
                </gsml:BoreholeCollar>
            </gsml:collarLocation>
            <gsml:indexData>
                <gsml:BoreholeDetails>
                    <gsml:operator xlink:href="http://www.opengis.net/def/nil/OGC/0/unknown&quot; xlink:role="http://www.geosciml.org/geosciml/2.0/doc/GeoSciML/Borehole/BoreholeDetails.html#operator&quot; xlink:title="GSWA"/>
                    <gsml:dateOfDrilling>2004-09-17</gsml:dateOfDrilling>
                    <gsml:drillingMethod>diamond core</gsml:drillingMethod>
                    <gsml:startPoint>natural ground surface</gsml:startPoint>
                    <gsml:inclinationType>vertical</gsml:inclinationType>
                    <gsml:coredInterval>
                        <gml:Envelope axisLabels="core envelope" srsDimension="1" srsName="#BOREHOLE.WTB5.LINESTRING" uomLabels="m">
                            <gml:lowerCorner>106.0</gml:lowerCorner>
                            <gml:upperCorner>249.0</gml:upperCorner>
                        </gml:Envelope>
                    </gsml:coredInterval>
                    <gsml:coreCustodian xlink:href="http://www.opengis.net/def/nil/OGC/0/unknown&quot;
                        xlink:role="http://www.geosciml.org/geosciml/2.0/doc/GeoSciML/Borehole/BoreholeDetails.html#coreCustodian&quot; xlink:title="CSIRONR"/>
                </gsml:BoreholeDetails>
            </gsml:indexData>
        </gsml:Borehole>
    </gml:featureMember>
</wfs:FeatureCollection>

Jul 6, 2011 6:55:11 PM org.geoserver.test.PropertyEncodingOrderTest testPropertyEncodingOrder_PlanarOrientation
INFO: WFS GetFeature&er:MineralOccurrence:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="1" timeStamp="2011-07-06T18:55:11.574Z" 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>

Jul 6, 2011 6:55:11 PM org.geoserver.test.PropertyEncodingOrderTest testPropertyEncodingOrder_GeologicUnit
INFO: WFS GetFeature&typename=gsml:GeologicUnit&featureid=gu.25699:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="1" timeStamp="2011-07-06T18:55:11.609Z" 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:CGI:GeoSciML:2.0 http://www.geosciml.org/geosciml/2.0/xsd/geosciml.xsd http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd&quot;&gt;
    <gml:featureMember>
        <gsml:GeologicUnit gml:id="gu.25699">
            <gml:description>Olivine basalt, tuff, microgabbro, minor sedimentary rocks</gml:description>
            <gml:name codeSpace="urn:ietf:rfc:2141">Yaugher Volcanic Group</gml:name>
            <gml:name>-Py</gml:name>
            <gsml:observationMethod>
                <gsml:CGI_TermValue>
                    <gsml:value codeSpace="http://urn.opengis.net">urn:ogc:def:nil:OGC::missing</gsml:value>
                </gsml:CGI_TermValue>
            </gsml:observationMethod>
            <gsml:purpose>instance</gsml:purpose>
            <gsml:occurrence xlink:href="urn:cgi:feature:MappedFeature:mf1"/>
            <gsml:geologicUnitType xlink:href="urn:ogc:def:nil:OGC::unknown"/>
            <gsml:exposureColor>
                <gsml:CGI_TermValue>
                    <gsml:value codeSpace="some:uri">Blue</gsml:value>
                </gsml:CGI_TermValue>
            </gsml:exposureColor>
            <gsml:outcropCharacter>
                <gsml:CGI_TermValue>
                    <gsml:value codeSpace="some:uri">x</gsml:value>
                </gsml:CGI_TermValue>
            </gsml:outcropCharacter>
            <gsml:composition>
                <gsml:CompositionPart>
                    <gsml:role codeSpace="urn:cgi:classifierScheme:Example:CompositionPartRole">fictitious component</gsml:role>
                    <gsml:lithology>
                        <gsml:ControlledConcept gml:id="cc.5">
                            <gml:name>name_cc_5</gml:name>
                            <gsml:name xml:lang="en">name_cc_5</gsml:name>
                            <gsml:vocabulary xlink:href="urn:ogc:def:nil:OGC::missing"/>
                        </gsml:ControlledConcept>
                    </gsml:lithology>
                    <gsml:proportion>
                        <gsml:CGI_TermValue>
                            <gsml:value codeSpace="some:uri">nonexistent</gsml:value>
                        </gsml:CGI_TermValue>
                    </gsml:proportion>
                </gsml:CompositionPart>
            </gsml:composition>
        </gsml:GeologicUnit>
    </gml:featureMember>
</wfs:FeatureCollection>

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

Results :

Failed tests:
  testDenormalisedFeaturesCount(org.geoserver.test.SecuredFeatureChainingTest)
  testSecureFeatureContent(org.geoserver.test.SecuredFeatureChainingTest)

Tests run: 66, Failures: 2, 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.1.x/ws/geoserver-2.1.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 42 seconds
[INFO] Finished at: Wed Jul 06 18:55:12 UTC 2011
[INFO] Final Memory: 75M/315M
[INFO] ------------------------------------------------------------------------

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