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

See http://hudson.opengeo.org/hudson/job/geoserver-trunk/502/changes

Changes:

[groldan] updated readme for cite module

------------------------------------------
[...truncated 2334 lines...]
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsServletResponse(GeoServerAbstractTestSupport.java:566)
  at org.geoserver.test.GeoServerAbstractTestSupport.post(GeoServerAbstractTestSupport.java:541)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:700)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:683)
  at org.geoserver.wfs.DescribeFeatureTest.testPostDummyFeature(DescribeFeatureTest.java:38)
  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:124)
  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.GeneratedMethodAccessor154.invoke(Unknown Source)
  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)
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.291 sec
Running org.geoserver.wfs.v1_1.DescribeFeatureTypeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.291 sec
Running org.geoserver.wfs.xml.FeatureTypeInfoSchemaBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.154 sec
Running org.geoserver.wfs.kvp.GetFeatureKvpRequestReaderTest
Feature type cite:InvalidTypeName unknown
Feature type gs:InvalidTypeName unknown
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 sec
Running org.geoserver.wfs.v1_1.CapabilitiesTransformerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.488 sec
Running org.geoserver.wfs.response.ShapeZipTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.241 sec
Running org.geoserver.wfs.GetCapabilitiesTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.35 sec

Results :

Tests run: 138, Failures: 0, Errors: 0, Skipped: 0

Aug 30, 2008 5:41:14 AM java.util.prefs.FileSystemPreferences$7 run
WARNING: Prefs file removed in background /home/tomcat/.java/.userPrefs/org/geotools/referencing/wkt/prefs.xml
[INFO] [jar:jar]
[INFO] Building jar: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfs/target/wfs-2.0-SNAPSHOT.jar
[INFO] [jar:test-jar {execution: default}]
[INFO] Building jar: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfs/target/wfs-2.0-SNAPSHOT-tests.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfs/target/wfs-2.0-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfs/target/wfs-2.0-SNAPSHOT.jar to /home/tomcat/.m2/repository/org/geoserver/wfs/2.0-SNAPSHOT/wfs-2.0-SNAPSHOT.jar
[INFO] Installing http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfs/target/wfs-2.0-SNAPSHOT-tests.jar to /home/tomcat/.m2/repository/org/geoserver/wfs/2.0-SNAPSHOT/wfs-2.0-SNAPSHOT-tests.jar
[INFO] Installing http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfs/target/wfs-2.0-SNAPSHOT-sources.jar to /home/tomcat/.m2/repository/org/geoserver/wfs/2.0-SNAPSHOT/wfs-2.0-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Versioned Web Feature Service Module
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfsv/target
[INFO] [cobertura:clean {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.geotools.ogc:net.opengis.wfsv:2.6-SNAPSHOT: checking for updates from refractions
[INFO] snapshot org.geotools:gt-postgis-versioned:2.6-SNAPSHOT: checking for updates from refractions
1/1K
3/1K
4/1K
1K downloaded
[INFO] snapshot org.geotools:gt-postgis:2.6-SNAPSHOT: checking for updates from refractions
5/65K
7/65K
8/65K
9/65K
12/65K
14/65K
15/65K
17/65K
18/65K
19/65K
21/65K
22/65K
24/65K
25/65K
28/65K
32/65K
32/65K
34/65K
35/65K
36/65K
38/65K
39/65K
41/65K
42/65K
43/65K
45/65K
46/65K
48/65K
49/65K
50/65K
52/65K
53/65K
55/65K
56/65K
58/65K
59/65K
62/65K
63/65K
65/65K
67/65K
69/65K
70/65K
65K downloaded
[INFO] [compiler:compile]
[INFO] Compiling 47 source files to http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfsv/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 5 source files to http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfsv/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfsv/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.wfsv.HistoryRelatedTest
30 Aug 05:42:01 ERROR [geoserver.ows] -
java.lang.RuntimeException: Parsing failed for archsites: java.io.IOException
  at org.geotools.xml.impl.ParseExecutor.visit(ParseExecutor.java:152)
  at org.geotools.xml.impl.BindingWalker$BindingExecutionChain.execute(BindingWalker.java:208)
  at org.geotools.xml.impl.BindingWalker.walk(BindingWalker.java:174)
  at org.geotools.xml.impl.ElementHandlerImpl.endElement(ElementHandlerImpl.java:222)
  at org.geotools.xml.impl.ParserHandler.endElement(ParserHandler.java:582)
  at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
  at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
  at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
  at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  at org.geotools.xml.Parser.parse(Parser.java:180)
  at org.geoserver.wfsv.xml.v1_0_0.WfsXmlReader.read(WfsXmlReader.java:59)
  at org.geoserver.ows.Dispatcher.parseRequestXML(Dispatcher.java:1042)
  at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:392)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:191)
  at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
  at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:935)
  at org.geoserver.test.GeoServerAbstractTestSupport.dispatch(GeoServerAbstractTestSupport.java:902)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsServletResponse(GeoServerAbstractTestSupport.java:566)
  at org.geoserver.test.GeoServerAbstractTestSupport.post(GeoServerAbstractTestSupport.java:541)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:700)
  at org.geoserver.test.GeoServerAbstractTestSupport.postAsDOM(GeoServerAbstractTestSupport.java:683)
  at org.geoserver.wfsv.HistoryRelatedTest.oneTimeSetUp(HistoryRelatedTest.java:54)
  at org.geoserver.test.OneTimeSetupTest$OneTimeTestSetup.setUp(OneTimeSetupTest.java:51)
  at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
  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: java.io.IOException
  at org.vfny.geoserver.global.FeatureTypeInfo.getFeatureType(FeatureTypeInfo.java:1251)
  at org.geoserver.wfs.xml.v1_0_0.GMLAbstractFeatureTypeBinding.parse(GMLAbstractFeatureTypeBinding.java:40)
  at org.geotools.xml.impl.ParseExecutor.visit(ParseExecutor.java:143)
  ... 50 more
Caused by: java.io.IOException: Versioned type (archsites) with a primary key with less than 2 columns, this cannot be, there's a error
  at org.geotools.data.postgis.fidmapper.VersionedFIDMapperFactory.getMapper(VersionedFIDMapperFactory.java:101)
  at org.geotools.data.postgis.PostgisDataStore.buildFIDMapper(PostgisDataStore.java:1017)
  at org.geotools.data.jdbc.FeatureTypeHandler.getFIDMapper(FeatureTypeHandler.java:229)
  at org.geotools.data.jdbc.FeatureTypeHandler.getFeatureTypeInfo(FeatureTypeHandler.java:197)
  at org.geotools.data.jdbc.FeatureTypeHandler.getSchema(FeatureTypeHandler.java:166)
  at org.geotools.data.jdbc.JDBC1DataStore.getSchema(JDBC1DataStore.java:336)
  at org.geotools.data.postgis.PostgisDataStore.getSchema(PostgisDataStore.java:1934)
  at org.geotools.data.postgis.VersionedPostgisDataStore.getSchema(VersionedPostgisDataStore.java:195)
  at org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:234)
  at org.geoserver.catalog.impl.FeatureTypeInfoImpl.getFeatureType(FeatureTypeInfoImpl.java:71)
  at org.vfny.geoserver.global.FeatureTypeInfo.getFeatureType(FeatureTypeInfo.java:1248)
  ... 52 more
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 9.878 sec <<< FAILURE!
Running org.geoserver.wfsv.LogOrderTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.469 sec <<< FAILURE!
Running org.geoserver.wfsv.DescribeVersionedFeatureTypeTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.561 sec <<< FAILURE!
Running org.geoserver.wfsv.RollbackTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.052 sec <<< FAILURE!

Results :

Failed tests:
  org.geoserver.wfsv.HistoryRelatedTest

Tests in error:
  org.geoserver.wfsv.LogOrderTest
  org.geoserver.wfsv.DescribeVersionedFeatureTypeTest
  testRollbackWfs11(org.geoserver.wfsv.RollbackTest)
  testRollbackWfs10(org.geoserver.wfsv.RollbackTest)

Tests run: 5, Failures: 1, Errors: 4, Skipped: 0

[Fatal Error] :-1:-1: Premature end of file.
[Fatal Error] :-1:-1: Premature end of file.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/wfsv/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 28 seconds
[INFO] Finished at: Sat Aug 30 05:42:02 EDT 2008
[INFO] Final Memory: 35M/63M
[INFO] ------------------------------------------------------------------------