[Geoserver-devel] [Hudson] Build failed in Hudson: geoserver-2.3.x #92

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

Changes:

[Andrea Aime] Updating INSPIRE docs to include WFS

[Andrea Aime] Promoting INSPIRE module to extension status

------------------------------------------
[...truncated 36594 lines...]
  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
  at org.junit.rules.RunRules.evaluate(RunRules.java:18)
  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
  at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.785 sec

Results :

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

[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: <http://hudson.opengeo.org/hudson/job/geoserver-2.3.x/ws/src/extension/xslt/target/xslt-2.3-SNAPSHOT.jar&gt;
[INFO] [jar:test-jar {execution: default}]
[INFO] Building jar: <http://hudson.opengeo.org/hudson/job/geoserver-2.3.x/ws/src/extension/xslt/target/xslt-2.3-SNAPSHOT-tests.jar&gt;
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [git-commit-id:revision {execution: default}]
[INFO] [GitCommitIdMojo] .git directory could not be found, skipping execution
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: <http://hudson.opengeo.org/hudson/job/geoserver-2.3.x/ws/src/extension/xslt/target/xslt-2.3-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] [git-commit-id:revision {execution: default}]
[INFO] [GitCommitIdMojo] .git directory could not be found, skipping execution
[INFO] [source:test-jar {execution: attach-sources}]
[INFO] Building jar: <http://hudson.opengeo.org/hudson/job/geoserver-2.3.x/ws/src/extension/xslt/target/xslt-2.3-SNAPSHOT-test-sources.jar&gt;
[INFO] [install:install {execution: default-install}]
[INFO] Installing <http://hudson.opengeo.org/hudson/job/geoserver-2.3.x/ws/src/extension/xslt/target/xslt-2.3-SNAPSHOT.jar&gt; to /usr/share/jetty/.m2/repository/org/geoserver/xslt/2.3-SNAPSHOT/xslt-2.3-SNAPSHOT.jar
[INFO] Installing <http://hudson.opengeo.org/hudson/job/geoserver-2.3.x/ws/src/extension/xslt/target/xslt-2.3-SNAPSHOT-tests.jar&gt; to /usr/share/jetty/.m2/repository/org/geoserver/xslt/2.3-SNAPSHOT/xslt-2.3-SNAPSHOT-tests.jar
[INFO] Installing <http://hudson.opengeo.org/hudson/job/geoserver-2.3.x/ws/src/extension/xslt/target/xslt-2.3-SNAPSHOT-sources.jar&gt; to /usr/share/jetty/.m2/repository/org/geoserver/xslt/2.3-SNAPSHOT/xslt-2.3-SNAPSHOT-sources.jar
[INFO] Installing <http://hudson.opengeo.org/hudson/job/geoserver-2.3.x/ws/src/extension/xslt/target/xslt-2.3-SNAPSHOT-test-sources.jar&gt; to /usr/share/jetty/.m2/repository/org/geoserver/xslt/2.3-SNAPSHOT/xslt-2.3-SNAPSHOT-test-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building GeoServer INSPIRE Extensions
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [cobertura:clean {execution: default}]
[INFO] [git-commit-id:revision {execution: default}]
[INFO] [GitCommitIdMojo] Running on '<http://hudson.opengeo.org/hudson/job/geoserver-2.3.x/ws/.git’> repository...
[INFO] [GitCommitIdMojo] Initializing properties...
[INFO] [GitCommitIdMojo] Using maven project properties...
[INFO] [GitCommitIdMojo] Loading data from git repository...
[INFO] [GitCommitIdMojo] ------------------git properties loaded------------------
[INFO] [GitCommitIdMojo] build.commit.message.short = Promoting INSPIRE module to extension status
[INFO] [GitCommitIdMojo] build.build.user.email = Unknown
[INFO] [GitCommitIdMojo] build.hudsonId = -1
[INFO] [GitCommitIdMojo] build.commit.time = 05.05.2013 @ 14:17:03 UTC
[INFO] [GitCommitIdMojo] build.timestamp = 05-May-2013 14:49
[INFO] [GitCommitIdMojo] build.build.time = 05.05.2013 @ 15:17:48 UTC
[INFO] [GitCommitIdMojo] build.branch = f9c437d115f4c07413476b44da3b180254db93e9
[INFO] [GitCommitIdMojo] build.commit.user.email = andrea.aime@anonymised.com
[INFO] [GitCommitIdMojo] build.build.user.name = Unknown
[INFO] [GitCommitIdMojo] build.commit.user.name = Andrea Aime
[INFO] [GitCommitIdMojo] build.commit.id.abbrev = f9c437d
[INFO] [GitCommitIdMojo] build.commit.id = f9c437d115f4c07413476b44da3b180254db93e9
[INFO] [GitCommitIdMojo] build.commit.message.full = Promoting INSPIRE module to extension status

[INFO] [GitCommitIdMojo] ---------------------------------------------------------
[INFO] [GitCommitIdMojo] Finished running.
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 7 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 13 source files to <http://hudson.opengeo.org/hudson/job/geoserver-2.3.x/ws/src/extension/inspire/target/classes&gt;
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] skip non existing resourceDirectory <http://hudson.opengeo.org/hudson/job/geoserver-2.3.x/ws/src/extension/inspire/src/test/resources&gt;
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 5 source files to <http://hudson.opengeo.org/hudson/job/geoserver-2.3.x/ws/src/extension/inspire/target/test-classes&gt;
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: <http://hudson.opengeo.org/hudson/job/geoserver-2.3.x/ws/src/extension/inspire/target/surefire-reports&gt;

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.inspire.wms.WMSExtendedCapabilitiesTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.879 sec
Running org.geoserver.inspire.web.InspirePanelTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.673 sec
Running org.geoserver.inspire.web.UniqueResourceIdentifiersEditorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.802 sec
Running org.geoserver.inspire.wfs.WFSExtendedCapabilitiesTest
ERROR: 'Extended capabilities provider threw error'
05 May 15:18:13 ERROR [geoserver.ows] -
java.io.IOException
  at org.geoserver.wfs.response.GetCapabilitiesResponse.write(GetCapabilitiesResponse.java:66)
  at org.geoserver.ows.Dispatcher.response(Dispatcher.java:919)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:276)
  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:923)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
  at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
  at org.geoserver.test.GeoServerSystemTestSupport$2.service(GeoServerSystemTestSupport.java:1354)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
  at com.mockrunner.mock.web.MockFilterChain.doFilter(MockFilterChain.java:50)
  at org.geoserver.test.GeoServerSystemTestSupport.dispatch(GeoServerSystemTestSupport.java:1373)
  at org.geoserver.test.GeoServerSystemTestSupport.dispatch(GeoServerSystemTestSupport.java:1308)
  at org.geoserver.test.GeoServerSystemTestSupport.getAsServletResponse(GeoServerSystemTestSupport.java:920)
  at org.geoserver.test.GeoServerSystemTestSupport.getAsServletResponse(GeoServerSystemTestSupport.java:903)
  at org.geoserver.test.GeoServerSystemTestSupport.get(GeoServerSystemTestSupport.java:888)
  at org.geoserver.test.GeoServerSystemTestSupport.getAsDOM(GeoServerSystemTestSupport.java:1185)
  at org.geoserver.test.GeoServerSystemTestSupport.getAsDOM(GeoServerSystemTestSupport.java:1149)
  at org.geoserver.inspire.wfs.WFSExtendedCapabilitiesTest.testChangeMediaType(WFSExtendedCapabilitiesTest.java:124)
  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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
  at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
  at org.junit.rules.RunRules.evaluate(RunRules.java:18)
  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
  at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: javax.xml.transform.TransformerException: org.geoserver.platform.ServiceException: Extended capabilities provider threw error
  at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:716)
  at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313)
  at org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:300)
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:133)
  at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:112)
  at org.geoserver.wfs.response.GetCapabilitiesResponse.write(GetCapabilitiesResponse.java:64)
  ... 55 more
Caused by: org.geoserver.platform.ServiceException: Extended capabilities provider threw error
  at org.geoserver.wfs.CapabilitiesTransformer$WFS1_1$CapabilitiesTranslator1_1.extendedCapabilities(CapabilitiesTransformer.java:1316)
  at org.geoserver.wfs.CapabilitiesTransformer$WFS1_1$CapabilitiesTranslator1_1.operationsMetadata(CapabilitiesTransformer.java:1190)
  at org.geoserver.wfs.CapabilitiesTransformer$WFS1_1$CapabilitiesTranslator1_1.encode(CapabilitiesTransformer.java:943)
  at org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:977)
  at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:636)
  at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:707)
  ... 60 more
Caused by: java.lang.NullPointerException
  at org.geoserver.inspire.wfs.WFSExtendedCapabilitiesProvider.encode(WFSExtendedCapabilitiesProvider.java:108)
  at org.geoserver.inspire.wfs.WFSExtendedCapabilitiesProvider.encode(WFSExtendedCapabilitiesProvider.java:24)
  at org.geoserver.wfs.CapabilitiesTransformer$WFS1_1$CapabilitiesTranslator1_1.extendedCapabilities(CapabilitiesTransformer.java:1298)
  ... 65 more
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.342 sec <<< FAILURE!
testChangeMediaType(org.geoserver.inspire.wfs.WFSExtendedCapabilitiesTest) Time elapsed: 1648 sec <<< FAILURE!
org.junit.ComparisonFailure: expected:<[http://inspire.ec.europa.eu/schemas/inspire_dls/1.0\]> but was:<>
  at org.junit.Assert.assertEquals(Assert.java:125)
  at org.junit.Assert.assertEquals(Assert.java:147)
  at org.geoserver.inspire.wfs.WFSExtendedCapabilitiesTest.testChangeMediaType(WFSExtendedCapabilitiesTest.java:126)
  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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
  at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
  at org.junit.rules.RunRules.evaluate(RunRules.java:18)
  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
  at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
  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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
  at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
  at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

Running org.geoserver.inspire.InspireConverterFactoryTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec

Results :

Failed tests: testChangeMediaType(org.geoserver.inspire.wfs.WFSExtendedCapabilitiesTest): expected:<[http://inspire.ec.europa.eu/schemas/inspire_dls/1.0\]> but was:<>

Tests run: 14, 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.3.x/ws/src/extension/inspire/target/surefire-reports&gt; for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28 minutes 30 seconds
[INFO] Finished at: Sun May 05 15:18:14 UTC 2013
[INFO] Final Memory: 90M/425M
[INFO] ------------------------------------------------------------------------

--
This message is automatically generated by Hudson.
For more information on Hudson, see: http://hudson-ci.org/

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

--
This message is automatically generated by Hudson.
For more information on Hudson, see: http://hudson-ci.org/