[Geoserver-devel] [jira] Created: (GEOS-1852) Build failure in wms (trunk and 1.6.x)

Build failure in wms (trunk and 1.6.x)
--------------------------------------

                 Key: GEOS-1852
                 URL: http://jira.codehaus.org/browse/GEOS-1852
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
            Reporter: Ben Caradoc-Davies
            Assignee: Andrea Aime
            Priority: Critical

There is something nasty in the WMS tests. In my workspace (head of the 1.6.x branch), "mvn clean install" fails the first time, then succeeds for all subsequent runs. On Hudson, the build fails at the same spot each time. Perhaps Hudson deletes the working directory and so cleans more effectively? Looks like the same issue for trunk as for 1.6.x.

There are two issues:

(1) Cleaning / resource management is not complete: build failures should be repeatable.

(2) Errors occur in testing.

Here is a snippet from, Hudson geoserver-1.6.x #159:

Running org.vfny.geoserver.wms.responses.DefaultRasterLegendProducerTest
Apr 7, 2008 2:04:58 AM org.vfny.geoserver.wms.responses.DefaultRasterLegendProducerTest testUserSpecifiedRule
INFO: testing single rule dirt_road from style Default Styler
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.452 sec <<< FAILURE!
Running org.vfny.geoserver.wms.responses.map.kml.KMLWriterTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.vfny.geoserver.wms.responses.DefaultRasterMapProducerTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.028 sec <<< FAILURE!
Running org.vfny.geoserver.wms.responses.map.SVGMapProducerTest
Apr 7, 2008 2:04:58 AM org.geotools.map.DefaultMapContext setAreaOfInterest
INFO: USing a deprecated method!
Apr 7, 2008 2:04:58 AM org.vfny.geoserver.wms.responses.map.svg.EncodeSVG encode
INFO: SVG generated in 48 ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.184 sec
Running org.vfny.geoserver.wms.responses.GetMapResponseTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.vfny.geoserver.wms.requests.GetLegendGraphicKvpReaderTest
file:/home/tomcat/.hudson/jobs/geoserver-1.6.x/workspace/geoserver/test/target/test-classes/org/vfny/geoserver/testdata/test-data
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.352 sec <<< FAILURE!
Running org.vfny.geoserver.wms.responses.map.GIFMapProducerTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.02 sec <<< FAILURE!

Results :

Tests in error:
  testUserSpecifiedRule(org.vfny.geoserver.wms.responses.DefaultRasterLegendProducerTest)
  testSimpleGetMapQuery(org.vfny.geoserver.wms.responses.DefaultRasterMapProducerTest)
  testDefaultStyle(org.vfny.geoserver.wms.responses.DefaultRasterMapProducerTest)
  testBlueLake(org.vfny.geoserver.wms.responses.DefaultRasterMapProducerTest)
  testRemoteSLDMultipleStyles(org.vfny.geoserver.wms.requests.GetLegendGraphicKvpReaderTest)
  testSimpleGetMapQuery(org.vfny.geoserver.wms.responses.map.GIFMapProducerTest)
  testDefaultStyle(org.vfny.geoserver.wms.responses.map.GIFMapProducerTest)
  testBlueLake(org.vfny.geoserver.wms.responses.map.GIFMapProducerTest)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira