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

See http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/172/changes

Changes:

[dwinslow] Don't throw an exception when the token is shorter than expected.

[dwinslow] Use the GeoServer version number for the OpenPlans authentication module.

[dwinslow] Make tests run after one-time setup changes.

------------------------------------------
[...truncated 2294 lines...]
  at org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:1344)
  at org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:266)
  at org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap(DefaultRasterMapProducer.java:302)
  at org.vfny.geoserver.wms.responses.map.DefaultRasterMapProducerTest.testSimpleGetMapQuery(DefaultRasterMapProducerTest.java:119)
  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 junit.framework.TestCase.runTest(TestCase.java:164)
  at org.geoserver.test.GeoServerAbstractTestSupport.runTest(GeoServerAbstractTestSupport.java:115)
  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:345)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
May 27, 2008 3:39:01 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testSimpleGetMapQuery: pixel count=90000 non bg pixels: 90000
May 27, 2008 3:39:01 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle Streams: pixel count=192000 non bg pixels: 3777
May 27, 2008 3:39:01 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle Bridges: pixel count=192000 non bg pixels: 49
May 27, 2008 3:39:01 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle BasicPolygons: pixel count=280000 non bg pixels: 101880
May 27, 2008 3:39:01 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle Forests: pixel count=280000 non bg pixels: 49
May 27, 2008 3:39:01 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle NamedPlaces: pixel count=280000 non bg pixels: 56
May 27, 2008 3:39:01 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle Buildings: pixel count=280000 non bg pixels: 49
May 27, 2008 3:39:01 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle RoadSegments: pixel count=280000 non bg pixels: 63
May 27, 2008 3:39:01 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle DividedRoutes: pixel count=280000 non bg pixels: 49
May 27, 2008 3:39:01 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle Lakes: pixel count=280000 non bg pixels: 49
May 27, 2008 3:39:02 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle MapNeatline: pixel count=280000 non bg pixels: 49
May 27, 2008 3:39:02 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle Ponds: pixel count=280000 non bg pixels: 49
May 27, 2008 3:39:02 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testBlueLake: pixel count=250000 non bg pixels: 250000
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.093 sec
Running org.vfny.geoserver.wms.responses.map.kml.KMLTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.676 sec
Running org.vfny.geoserver.wms.DescribeLayerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.284 sec
Running org.vfny.geoserver.wms.responses.GetMapResponseTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.248 sec
Running org.vfny.geoserver.wms.responses.map.png.GetMapTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.768 sec
Running org.vfny.geoserver.wms.responses.map.kml.KMZMapProducerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.396 sec
Running org.vfny.geoserver.wms.responses.map.svg.SVGTest
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.52 sec <<< FAILURE!
Running org.vfny.geoserver.wms.responses.map.DefaultRasterMapProducerTest
May 27, 2008 3:39:05 PM org.vfny.geoserver.wms.responses.map.DefaultRasterMapProducerTest testSimpleGetMapQuery
INFO: about to create map ctx for BasicPolygons with bounds ReferencedEnvelope[-2.0 : 2.0, -1.0 : 6.0]
27 May 15:39:05 ERROR [geotools.rendering] -
java.lang.NullPointerException
  at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1535)
  at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:642)
  at org.geotools.renderer.shape.ShapefileRenderer.renderWithStreamingRenderer(ShapefileRenderer.java:1475)
  at org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:1344)
  at org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:266)
  at org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap(DefaultRasterMapProducer.java:302)
  at org.vfny.geoserver.wms.responses.map.DefaultRasterMapProducerTest.testSimpleGetMapQuery(DefaultRasterMapProducerTest.java:119)
  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 junit.framework.TestCase.runTest(TestCase.java:164)
  at org.geoserver.test.GeoServerAbstractTestSupport.runTest(GeoServerAbstractTestSupport.java:115)
  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:345)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
May 27, 2008 3:39:05 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testSimpleGetMapQuery: pixel count=90000 non bg pixels: 90000
May 27, 2008 3:39:05 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle Streams: pixel count=192000 non bg pixels: 3777
May 27, 2008 3:39:05 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle Bridges: pixel count=192000 non bg pixels: 49
May 27, 2008 3:39:05 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle BasicPolygons: pixel count=280000 non bg pixels: 101880
May 27, 2008 3:39:05 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle Forests: pixel count=280000 non bg pixels: 49
May 27, 2008 3:39:05 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle NamedPlaces: pixel count=280000 non bg pixels: 56
May 27, 2008 3:39:05 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle Buildings: pixel count=280000 non bg pixels: 49
May 27, 2008 3:39:06 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle RoadSegments: pixel count=280000 non bg pixels: 63
May 27, 2008 3:39:06 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle DividedRoutes: pixel count=280000 non bg pixels: 49
May 27, 2008 3:39:06 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle Lakes: pixel count=280000 non bg pixels: 49
May 27, 2008 3:39:06 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle MapNeatline: pixel count=280000 non bg pixels: 49
May 27, 2008 3:39:06 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testDefaultStyle Ponds: pixel count=280000 non bg pixels: 49
May 27, 2008 3:39:06 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testBlueLake: pixel count=250000 non bg pixels: 250000
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.344 sec
Running org.vfny.geoserver.wms.responses.featureinfo.FeatureDescriptionTemplateTest
<h4>testType</h4>

<ul class="textattributes">
  <li><strong><span class="atr-name">string</span>:</strong> <span class="atr-value">three</span></li>
  <li><strong><span class="atr-name">int</span>:</strong> <span class="atr-value">3</span></li>
  <li><strong><span class="atr-name">double</span>:</strong> <span class="atr-value">3.3</span></li>
  
</ul>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.vfny.geoserver.wms.requests.GetLegendGraphicKvpReaderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.188 sec
Running org.vfny.geoserver.wms.responses.featureinfo.FeatureTimeTemplateTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.184 sec
Running org.vfny.geoserver.wms.responses.palette.CustomPaletteBuilderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec
Running org.vfny.geoserver.wms.responses.map.georss.RSSGeoRSSTransformerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.224 sec
Running org.vfny.geoserver.wms.responses.map.kml.KMLTransformerTest
<?xml version="1.0" encoding="UTF-8"?>
<kml>
  <Document>
    <name>Points</name>
    <Style id="GeoServerStylePoints.0">
      <IconStyle>
        <Icon/>
      </IconStyle>
      <IconStyle>
        <colorMode>normal</colorMode>
        <Icon>
          <href>http://localhost:80/geoserver/styles/bridge.png&lt;/href&gt;
        </Icon>
      </IconStyle>
    </Style>
    <Placemark id="Points.0">
      <description><![CDATA[<h4>Points</h4>

<ul class="textattributes">
  <li><strong><span class="atr-name">id</span>:</strong> <span class="atr-value">t0000</span></li>
  
</ul>
]]></description>
      <LookAt>
        <longitude>500050.0</longitude>
        <latitude>500050.0</latitude>
        <range>700</range>
        <tilt>10.0</tilt>
        <heading>10.0</heading>
      </LookAt>
      <styleUrl>#GeoServerStylePoints.0</styleUrl>
      <Point>
        <coordinates decimal="." cs="," ts=" ">500050,500050</coordinates>
      </Point>
    </Placemark>
  </Document>
</kml>

Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.772 sec
Running org.vfny.geoserver.wms.responses.map.svg.SVGMapProducerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.168 sec
Running org.geoserver.wms.CapabilitiesTest
May 27, 2008 3:39:08 PM java.util.prefs.FileSystemPreferences$7 run
WARNING: Prefs file removed in background /home/tomcat/.java/.userPrefs/org/geotools/referencing/wkt/prefs.xml
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.536 sec
Running org.vfny.geoserver.wms.responses.map.metatile.QuickTileCacheTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.vfny.geoserver.wms.responses.map.legend.DefaultRasterLegendProducerTest
May 27, 2008 3:39:09 PM org.geoserver.wms.WMSTestSupport assertNotBlank
INFO: testUserSpecifiedRule: pixel count=600 non bg pixels: 153
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.16 sec
Running org.vfny.geoserver.wms.responses.map.openlayers.OpenLayersMapTemplateTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.392 sec
Running org.geoserver.wms.kvp.GetMapKvpRequestReaderTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.052 sec
Running org.vfny.geoserver.wms.responses.map.georss.AtomGeoRSSTransformerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.184 sec
Running org.vfny.geoserver.wms.responses.featureinfo.GetFeatureInfoTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.16 sec
Running org.geoserver.wms.DefaultWebMapServiceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.14 sec
Running org.vfny.geoserver.wms.responses.map.legend.GetLegendGraphicKvpReaderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.148 sec
Running org.vfny.geoserver.wms.responses.featureinfo.FeatureTemplateTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.164 sec

Results :

Tests in error:
  testBatikSvgGenerator(org.vfny.geoserver.wms.responses.map.svg.SVGTest)

Tests run: 75, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/ws/geoserver/wms/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 7 seconds
[INFO] Finished at: Tue May 27 15:39:11 EDT 2008
[INFO] Final Memory: 34M/63M
[INFO] ------------------------------------------------------------------------

See http://gridlock.openplans.org:8080/hudson/job/geoserver-trunk/173/changes