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

See <http://hudson.opengeo.org/hudson/job/geoserver-trunk/4328/changes&gt;

Changes:

[jmacchi] Delete unnecessary folder.

[ianschneider] GEOS-4683 - OWS services provide content-disposition support

[ianschneider] GEOS-4685 - xercesImpl indecision

------------------------------------------
[...truncated 47267 lines...]
[INFO] Building ogr2ogr Output Format
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/ogr/target&gt;
[INFO] [cobertura:clean {execution: default}]
[INFO] [svn-revision-number:revision {execution: default}]
[INFO] inspecting <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/ogr&gt;
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] skip non existing resourceDirectory <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/ogr/src/main/resources&gt;
Downloading: http://repo.opengeo.org//org/geotools/ogc/org.w3.xlink/8-SNAPSHOT/org.w3.xlink-8-SNAPSHOT.jar
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 5 source files to <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/ogr/target/classes&gt;
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
Downloading: http://repo.opengeo.org//org/geotools/ogc/org.w3.xlink/8-SNAPSHOT/org.w3.xlink-8-SNAPSHOT.jar
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 4 source files to <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/ogr/target/test-classes&gt;
Downloading: http://repo.opengeo.org//org/geotools/ogc/org.w3.xlink/8-SNAPSHOT/org.w3.xlink-8-SNAPSHOT.jar
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/ogr/target/surefire-reports&gt;

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.wfs.response.OGRWrapperTest
Jul 26, 2011 9:48:00 PM org.geoserver.wfs.response.OGRWrapper isAvailable
SEVERE: Ogr2Ogr is not available
java.io.IOException: Cannot run program "ogr2ogr": java.io.IOException: error=2, No such file or directory
  at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
  at org.geoserver.wfs.response.OGRWrapper.run(OGRWrapper.java:174)
  at org.geoserver.wfs.response.OGRWrapper.isAvailable(OGRWrapper.java:151)
  at org.geoserver.wfs.response.Ogr2OgrTestUtil.isOgrAvailable(Ogr2OgrTestUtil.java:34)
  at org.geoserver.wfs.response.OGRWrapperTest.run(OGRWrapperTest.java:14)
  at junit.framework.TestSuite.runTest(TestSuite.java:230)
  at junit.framework.TestSuite.run(TestSuite.java:225)
  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:597)
  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:597)
  at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
  at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
  at java.lang.ProcessImpl.start(ProcessImpl.java:65)
  at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
  ... 20 more
Skipping ogr2ogr wrapper tests, ogr2ogr could not be found, testAvaialable
Skipping ogr2ogr wrapper tests, ogr2ogr could not be found, testFormats
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
Running org.geoserver.wfs.response.Ogr2OgrFormatTest
Skipping ogr2ogr format tests, ogr2ogr could not be found, testCanHandle
Skipping ogr2ogr format tests, ogr2ogr could not be found, testContentTypeZip
Skipping ogr2ogr format tests, ogr2ogr could not be found, testContentTypeKml
Skipping ogr2ogr format tests, ogr2ogr could not be found, testSimpleKML
Skipping ogr2ogr format tests, ogr2ogr could not be found, testZippedKML
Skipping ogr2ogr format tests, ogr2ogr could not be found, testEmptyKML
Skipping ogr2ogr format tests, ogr2ogr could not be found, testSimpleCSV
Skipping ogr2ogr format tests, ogr2ogr could not be found, testSimpleMIF
Skipping ogr2ogr format tests, ogr2ogr could not be found, testGeometrylessCSV
Skipping ogr2ogr format tests, ogr2ogr could not be found, testAllTypesKML
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.geoserver.wfs.response.Ogr2OgrWfsTest
26 Jul 21:48:01 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/ogr/./target/mock6219791853736530436data&gt;
----------------------------------
Jul 26, 2011 9:48:03 PM org.geoserver.wfs.response.OGRWrapper getSupportedFormats
SEVERE: Could not get the list of output formats supported by ogr2ogr
java.lang.NullPointerException
  at java.lang.ProcessBuilder.start(ProcessBuilder.java:442)
  at org.geoserver.wfs.response.OGRWrapper.run(OGRWrapper.java:174)
  at org.geoserver.wfs.response.OGRWrapper.addFormats(OGRWrapper.java:128)
  at org.geoserver.wfs.response.OGRWrapper.getSupportedFormats(OGRWrapper.java:108)
  at org.geoserver.wfs.response.Ogr2OgrConfigurator.loadConfiguration(Ogr2OgrConfigurator.java:71)
  at org.geoserver.wfs.response.Ogr2OgrConfigurator.access$000(Ogr2OgrConfigurator.java:29)
  at org.geoserver.wfs.response.Ogr2OgrConfigurator$ConfigurationPoller.run(Ogr2OgrConfigurator.java:109)
  at org.geoserver.wfs.response.Ogr2OgrConfigurator$ConfigurationPoller.<init>(Ogr2OgrConfigurator.java:102)
  at org.geoserver.wfs.response.Ogr2OgrConfigurator.<init>(Ogr2OgrConfigurator.java:44)
  at org.geoserver.wfs.response.Ogr2OgrConfigurator.<init>(Ogr2OgrConfigurator.java:48)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
  at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:108)
  at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
  at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
  at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
  at org.geoserver.test.GeoServerAbstractTestSupport.oneTimeSetUp(GeoServerAbstractTestSupport.java:208)
  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:597)
  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)
26 Jul 21:48:03 ERROR [wfs.response] - Skipping 'OGR-TAB' as its OGR format 'MapInfo File' is not among the ones supported by null
26 Jul 21:48:03 ERROR [wfs.response] - Skipping 'OGR-MIF' as its OGR format 'MapInfo File' is not among the ones supported by null
26 Jul 21:48:03 ERROR [wfs.response] - Skipping 'OGR-CSV' as its OGR format 'CSV' is not among the ones supported by null
  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)
26 Jul 21:48:03 ERROR [wfs.response] - Skipping 'OGR-KML' as its OGR format 'KML' is not among the ones supported by null
  at java.lang.reflect.Method.invoke(Method.java:597)
  at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
  at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Skipping ogr2ogr wfs tests, ogr2ogr could not be found, testSimpleRequest
Skipping ogr2ogr wfs tests, ogr2ogr could not be found, testDoubleRequest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.512 sec

Results :

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

Downloading: http://repo.opengeo.org//org/geotools/ogc/org.w3.xlink/8-SNAPSHOT/org.w3.xlink-8-SNAPSHOT.jar
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/ogr/target/ogr-2.2-SNAPSHOT.jar&gt;
Downloading: http://repo.opengeo.org//org/geotools/ogc/org.w3.xlink/8-SNAPSHOT/org.w3.xlink-8-SNAPSHOT.jar
[INFO] [jar:test-jar {execution: default}]
[INFO] Building jar: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/ogr/target/ogr-2.2-SNAPSHOT-tests.jar&gt;
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [svn-revision-number:revision {execution: default}]
[INFO] inspecting <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/ogr&gt;
[WARNING] the "build.repository" property is already defined, its value will be overwritten. Consider another value for the entry properties prefix.
[WARNING] the "build.path" property is already defined, its value will be overwritten. Consider another value for the entry properties prefix.
[WARNING] the "build.revision" property is already defined, its value will be overwritten. Consider another value for the entry properties prefix.
[WARNING] the "build.mixedRevisions" property is already defined, its value will be overwritten. Consider another value for the entry properties prefix.
[WARNING] the "build.committedRevision" property is already defined, its value will be overwritten. Consider another value for the entry properties prefix.
[WARNING] the "build.status" property is already defined, its value will be overwritten. Consider another value for the entry properties prefix.
[WARNING] the "build.specialStatus" property is already defined, its value will be overwritten. Consider another value for the entry properties prefix.
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/ogr/target/ogr-2.2-SNAPSHOT-sources.jar&gt;
[INFO] Preparing source:test-jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[WARNING] Removing: test-jar from forked lifecycle, to prevent recursive invocation.
[INFO] [svn-revision-number:revision {execution: default}]
[INFO] inspecting <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/ogr&gt;
[WARNING] the "build.repository" property is already defined, its value will be overwritten. Consider another value for the entry properties prefix.
[WARNING] the "build.path" property is already defined, its value will be overwritten. Consider another value for the entry properties prefix.
[WARNING] the "build.revision" property is already defined, its value will be overwritten. Consider another value for the entry properties prefix.
[WARNING] the "build.mixedRevisions" property is already defined, its value will be overwritten. Consider another value for the entry properties prefix.
[WARNING] the "build.committedRevision" property is already defined, its value will be overwritten. Consider another value for the entry properties prefix.
[WARNING] the "build.status" property is already defined, its value will be overwritten. Consider another value for the entry properties prefix.
[WARNING] the "build.specialStatus" property is already defined, its value will be overwritten. Consider another value for the entry properties prefix.
[INFO] [source:test-jar {execution: attach-sources}]
[INFO] Building jar: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/ogr/target/ogr-2.2-SNAPSHOT-test-sources.jar&gt;
[INFO] [install:install {execution: default-install}]
[INFO] Installing <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/ogr/target/ogr-2.2-SNAPSHOT.jar&gt; to /home/tomcat/.m2/repository/org/geoserver/extension/ogr/2.2-SNAPSHOT/ogr-2.2-SNAPSHOT.jar
[INFO] Installing <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/ogr/target/ogr-2.2-SNAPSHOT-tests.jar&gt; to /home/tomcat/.m2/repository/org/geoserver/extension/ogr/2.2-SNAPSHOT/ogr-2.2-SNAPSHOT-tests.jar
[INFO] Installing <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/ogr/target/ogr-2.2-SNAPSHOT-sources.jar&gt; to /home/tomcat/.m2/repository/org/geoserver/extension/ogr/2.2-SNAPSHOT/ogr-2.2-SNAPSHOT-sources.jar
[INFO] Installing <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/ogr/target/ogr-2.2-SNAPSHOT-test-sources.jar&gt; to /home/tomcat/.m2/repository/org/geoserver/extension/ogr/2.2-SNAPSHOT/ogr-2.2-SNAPSHOT-test-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Excel Output Format
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/excel/target&gt;
[INFO] [cobertura:clean {execution: default}]
[INFO] [svn-revision-number:revision {execution: default}]
[INFO] inspecting <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/excel&gt;
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 1 resource
Downloading: http://repo.opengeo.org//org/geotools/ogc/org.w3.xlink/8-SNAPSHOT/org.w3.xlink-8-SNAPSHOT.jar
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 6 source files to <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/excel/target/classes&gt;
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
Downloading: http://repo.opengeo.org//org/geotools/ogc/org.w3.xlink/8-SNAPSHOT/org.w3.xlink-8-SNAPSHOT.jar
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 1 source file to <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/excel/target/test-classes&gt;
Downloading: http://repo.opengeo.org//org/geotools/ogc/org.w3.xlink/8-SNAPSHOT/org.w3.xlink-8-SNAPSHOT.jar
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/excel/target/surefire-reports&gt;

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.wfs.response.ExcelOutputFormatTest
26 Jul 21:48:12 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/excel/./target/mock7953094047407324563data&gt;
----------------------------------
26 Jul 21:48:19 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/excel/./target/mock7905244702374266746data&gt;
----------------------------------
26 Jul 21:48:20 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/excel/./target/mock4551985271009320879data&gt;
----------------------------------
26 Jul 21:48:20 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: <http://hudson.opengeo.org/hudson/job/geoserver-trunk/ws/geoserver/extension/excel/./target/mock2766955451787330303data&gt;
----------------------------------
Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 10.136 sec <<< FAILURE!

Results :

Failed tests:
  testExcel97OutputFormat(org.geoserver.wfs.response.ExcelOutputFormatTest)
  testExcel2007OutputFormat(org.geoserver.wfs.response.ExcelOutputFormatTest)

Tests run: 4, 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-trunk/ws/geoserver/extension/excel/target/surefire-reports&gt; for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11 minutes 53 seconds
[INFO] Finished at: Tue Jul 26 21:48:21 UTC 2011
[INFO] Final Memory: 76M/361M
[INFO] ------------------------------------------------------------------------
Failed to send e-mail to jmacchi because no e-mail address is known, and no default e-mail domain is configured
Failed to send e-mail to ianschneider because no e-mail address is known, and no default e-mail domain is configured

See <http://hudson.opengeo.org/hudson/job/geoserver-trunk/4329/changes&gt;