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

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

Changes:

[bencaradocdavies] Removed unnecessary comment

[bencaradocdavies] Fixed problem handling app-schema nested feature ids that caused filters to fail [GEOT-2969]

------------------------------------------
[...truncated 24784 lines...]
                                        <gsml:CGI_TermValue>
                                            <gsml:value codeSpace="some:uri">significant</gsml:value>
                                        </gsml:CGI_TermValue>
                                    </gsml:proportion>
                                    <gsml:role>interbedded component</gsml:role>
                                </gsml:CompositionPart>
                            </gsml:composition>
                        </gsml:GeologicUnit>
                    </gsml:specification>
                </gsml:MappedFeature>
            </om:result>
        </om:Observation>
    </gml:featureMembers>
</wfs:FeatureCollection>

Apr 8, 2010 2:52:50 AM org.geoserver.test.FeatureChainingWfsTest testFilteringXlinkHref
INFO: WFS filter GetFeature response:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="1" timeStamp="2010-04-08T02:52:50.908-04:00" xmlns:ex="http://example.com" xmlns:gml="http://www.opengis.net/gml&quot;
    xmlns:gsml="http://www.cgi-iugs.org/xml/GeoSciML/2&quot; 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: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://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd http://www.cgi-iugs.org/xml/GeoSciML/2 http://schemas.opengis.net/GeoSciML/geosciml.xsd&quot;&gt;
    <gml:featureMembers>
        <gsml:MappedFeature gml:id="mf1">
            <gml:name>GUNTHORPE FORMATION</gml:name>
            <gsml:positionalAccuracy>
                <gsml:CGI_NumericValue>
                    <gsml:principalValue uom="urn:ogc:def:uom:UCUM:m">200.0</gsml:principalValue>
                </gsml:CGI_NumericValue>
            </gsml:positionalAccuracy>
            <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:shape>
                <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>
            </gsml:shape>
            <gsml:specification>
                <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: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:proportion>
                                <gsml:CGI_TermValue>
                                    <gsml:value codeSpace="some:uri">significant</gsml:value>
                                </gsml:CGI_TermValue>
                            </gsml:proportion>
                            <gsml:role>interbedded component</gsml:role>
                        </gsml:CompositionPart>
                    </gsml:composition>
                </gsml:GeologicUnit>
            </gsml:specification>
        </gsml:MappedFeature>
    </gml:featureMembers>
</wfs:FeatureCollection>

Apr 8, 2010 2:52:51 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-mock25599data/featureTypes/test_PointFeature/GeometrylessTest.xsd&quot;/&gt;&gt;
</xsd:schema>

Apr 8, 2010 2:52:51 AM org.geoserver.test.XYGeomTest testGetFeature
INFO: WFS GetFeature response:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection numberOfFeatures="2" timeStamp="2010-04-08T02:52:51.636-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-mock25599data/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.629 sec
Running org.geoserver.test.SRSWfsTest
Apr 8, 2010 2:52:52 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-08T02:52:52.403-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-mock25601data/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 8, 2010 2:52:53 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-08T02:52:53.242-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-mock25601data/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 8, 2010 2:52:53 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-08T02:52:53.291-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-mock25601data/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.678 sec

Results :

Failed tests:
  testGetFeatureContent(org.geoserver.test.FeatureChainingWfsTest)

Tests run: 29, 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-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 15 seconds
[INFO] Finished at: Thu Apr 08 02:52:53 EDT 2010
[INFO] Final Memory: 51M/141M
[INFO] ------------------------------------------------------------------------
Failed to send e-mail to bencaradocdavies because no e-mail address is known, and no default e-mail domain is configured

I think what is going on is that Hudson GeoServer builds are triggered by GeoTools changes but do not wait for the GeoTools build they depend on to finish before they start. Result? Bogus build breakage. The build recovers by being retriggered by the completion of the GeoTools build.

Could I be right? Can it be fixed?

This hits app-schema because we fix code in GT and fix encoding tests in GS.

Kind regards,
Ben.

On 08/04/10 14:52, Hudson wrote:

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

Changes:

[bencaradocdavies] Removed unnecessary comment

[bencaradocdavies] Fixed problem handling app-schema nested feature ids that caused filters to fail [GEOT-2969]

--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

Ben Caradoc-Davies ha scritto:

I think what is going on is that Hudson GeoServer builds are triggered by GeoTools changes but do not wait for the GeoTools build they depend on to finish before they start. Result? Bogus build breakage. The build recovers by being retriggered by the completion of the GeoTools build.

Afaik the build server does just one built at a time, so what you suggest should not be possible.

The builds poll the svn servers at fixed times, once per hour, my guess
is just that you are not lucky and the check on the GeoServer svn happens before the one on the Geotools svn, since there is a change
in GS the builds starts and fails because the corresponding GT2 build
did not happen.
I know we have a trigger in the gt2 build that forces a GS build
afterwards, but I don't think it's possible to do the opposite (check
if a GT2 build is needed before running a GS one).

If you know how please advise

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

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