[Geoserver-devel] Build failed in Jenkins: geoserver-2.14.x #241

See <https://build.geoserver.org/job/geoserver-2.14.x/241/display/redirect&gt;

------------------------------------------
[...truncated 1.14 MB...]
  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  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:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  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)

May 06, 2019 1:05:33 PM org.geoserver.importer.Importer init
SEVERE: Failed to init the context
java.lang.NullPointerException
  at org.geoserver.importer.SpatialFile.prepare(SpatialFile.java:103)
  at org.geoserver.importer.Importer.addTasks(Importer.java:472)
  at org.geoserver.importer.Importer.init(Importer.java:440)
  at org.geoserver.importer.rest.ImportController.createImport(ImportController.java:227)
  at org.geoserver.importer.rest.ImportController.postImports(ImportController.java:75)
  at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
  at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
  at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
  at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
  at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
  at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
  at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
  at org.geoserver.test.GeoServerSystemTestSupport$2.service(GeoServerSystemTestSupport.java:1636)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
  at org.springframework.mock.web.MockFilterChain$ServletFilterProxy.doFilter(MockFilterChain.java:160)
  at org.springframework.mock.web.MockFilterChain.doFilter(MockFilterChain.java:127)
  at org.geoserver.test.GeoServerSystemTestSupport.dispatch(GeoServerSystemTestSupport.java:1665)
  at org.geoserver.test.GeoServerSystemTestSupport.dispatch(GeoServerSystemTestSupport.java:1576)
  at org.geoserver.test.GeoServerSystemTestSupport.dispatch(GeoServerSystemTestSupport.java:1564)
  at org.geoserver.test.GeoServerSystemTestSupport.postAsServletResponse(GeoServerSystemTestSupport.java:1212)
  at org.geoserver.importer.rest.ImporterIntegrationTest.testDirectWrongDir(ImporterIntegrationTest.java:206)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
  at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  at org.junit.rules.RunRules.evaluate(RunRules.java:20)
  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  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:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  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: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.872 sec
Running org.geoserver.importer.rest.PostScriptTransformTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.geoserver.importer.rest.converters.ImportJSONIOTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.771 sec

Results :

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

[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ gs-importer-rest ---
[INFO] Building jar: <https://build.geoserver.org/job/geoserver-2.14.x/ws/src/extension/importer/rest/target/gs-importer-rest-2.14-SNAPSHOT.jar&gt;
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ gs-importer-rest ---
[INFO] Building jar: <https://build.geoserver.org/job/geoserver-2.14.x/ws/src/extension/importer/rest/target/gs-importer-rest-2.14-SNAPSHOT-tests.jar&gt;
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ gs-importer-rest ---
[INFO] Building jar: <https://build.geoserver.org/job/geoserver-2.14.x/ws/src/extension/importer/rest/target/gs-importer-rest-2.14-SNAPSHOT-sources.jar&gt;
[INFO]
[INFO] --- maven-source-plugin:2.2.1:test-jar-no-fork (attach-sources) @ gs-importer-rest ---
[INFO] Building jar: <https://build.geoserver.org/job/geoserver-2.14.x/ws/src/extension/importer/rest/target/gs-importer-rest-2.14-SNAPSHOT-test-sources.jar&gt;
[INFO]
[INFO] --- fmt-maven-plugin:2.4.0:check (default) @ gs-importer-rest ---
[debug] Using AOSP style
[INFO] Processed 31 files (0 non-complying).
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ gs-importer-rest ---
[INFO] Installing <https://build.geoserver.org/job/geoserver-2.14.x/ws/src/extension/importer/rest/target/gs-importer-rest-2.14-SNAPSHOT.jar&gt; to /var/jenkins/.m2/repository/org/geoserver/importer/gs-importer-rest/2.14-SNAPSHOT/gs-importer-rest-2.14-SNAPSHOT.jar
[INFO] Installing <https://build.geoserver.org/job/geoserver-2.14.x/ws/src/extension/importer/rest/pom.xml&gt; to /var/jenkins/.m2/repository/org/geoserver/importer/gs-importer-rest/2.14-SNAPSHOT/gs-importer-rest-2.14-SNAPSHOT.pom
[INFO] Installing <https://build.geoserver.org/job/geoserver-2.14.x/ws/src/extension/importer/rest/target/gs-importer-rest-2.14-SNAPSHOT-tests.jar&gt; to /var/jenkins/.m2/repository/org/geoserver/importer/gs-importer-rest/2.14-SNAPSHOT/gs-importer-rest-2.14-SNAPSHOT-tests.jar
[INFO] Installing <https://build.geoserver.org/job/geoserver-2.14.x/ws/src/extension/importer/rest/target/gs-importer-rest-2.14-SNAPSHOT-sources.jar&gt; to /var/jenkins/.m2/repository/org/geoserver/importer/gs-importer-rest/2.14-SNAPSHOT/gs-importer-rest-2.14-SNAPSHOT-sources.jar
[INFO] Installing <https://build.geoserver.org/job/geoserver-2.14.x/ws/src/extension/importer/rest/target/gs-importer-rest-2.14-SNAPSHOT-test-sources.jar&gt; to /var/jenkins/.m2/repository/org/geoserver/importer/gs-importer-rest/2.14-SNAPSHOT/gs-importer-rest-2.14-SNAPSHOT-test-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoServer .......................................... SUCCESS [ 5.694 s]
[INFO] Core Platform Module ............................... SUCCESS [ 13.502 s]
[INFO] Open Web Service Module ............................ SUCCESS [ 12.075 s]
[INFO] Main Module ........................................ SUCCESS [01:04 min]
[INFO] GeoServer Security Modules ......................... SUCCESS [ 0.062 s]
[INFO] GeoServer Security Tests Module .................... SUCCESS [01:21 min]
[INFO] GeoServer JDBC Security Module ..................... SUCCESS [ 35.888 s]
[INFO] GeoServer LDAP Security Module ..................... SUCCESS [ 19.961 s]
[INFO] Web Coverage Service Module ........................ SUCCESS [ 4.033 s]
[INFO] Web Coverage Service 1.0 Module .................... SUCCESS [ 16.309 s]
[INFO] Web Coverage Service 1.1 Module .................... SUCCESS [ 20.068 s]
[INFO] Web Coverage Service 2.0 Module .................... SUCCESS [01:23 min]
[INFO] Web Feature Service Module ......................... SUCCESS [01:37 min]
[INFO] Web Map Service Module ............................. SUCCESS [02:00 min]
[INFO] KML support for GeoServer .......................... SUCCESS [ 29.552 s]
[INFO] gs-rest ............................................ SUCCESS [ 16.839 s]
[INFO] GeoWebCache (GWC) Module ........................... FAILURE [01:45 min]
[INFO] gs-restconfig ...................................... SUCCESS [01:26 min]
[INFO] gs-restconfig-wcs .................................. SUCCESS [ 16.310 s]
[INFO] gs-restconfig-wfs .................................. SUCCESS [ 17.986 s]
[INFO] gs-restconfig-wms .................................. SUCCESS [ 12.506 s]
[INFO] GeoServer Web Modules .............................. SUCCESS [ 0.069 s]
[INFO] Core UI Module ..................................... SUCCESS [01:09 min]
[INFO] WMS UI Module ...................................... SUCCESS [ 31.667 s]
[INFO] GWC UI Module ...................................... SKIPPED
[INFO] WFS UI Module ...................................... SUCCESS [ 11.219 s]
[INFO] Demos Module ....................................... SUCCESS [ 18.089 s]
[INFO] WCS UI Module ...................................... SUCCESS [ 13.340 s]
[INFO] Security UI Modules ................................ SUCCESS [ 0.073 s]
[INFO] Security UI Core Module ............................ SUCCESS [01:30 min]
[INFO] Security UI JDBC Module ............................ SUCCESS [01:00 min]
[INFO] Security UI LDAP Module ............................ SUCCESS [ 20.027 s]
[INFO] REST UI Module ..................................... SUCCESS [ 10.507 s]
[INFO] GeoServer Extensions ............................... SUCCESS [ 0.042 s]
[INFO] Printing Module .................................... SUCCESS [ 11.774 s]
[INFO] GeoServer Web Application .......................... SKIPPED
[INFO] Community Space .................................... SUCCESS [ 0.031 s]
[INFO] Application Schema Support ......................... SUCCESS [ 0.032 s]
[INFO] Application Schema Integration Test ................ SUCCESS [02:42 min]
[INFO] Sample DataAccess Integration Test ................. SUCCESS [ 9.871 s]
[INFO] ArcSDE DataStore Extension ......................... SUCCESS [ 11.226 s]
[INFO] H2 DataStore Extension ............................. SUCCESS [ 13.504 s]
[INFO] SQL Server DataStore Extension ..................... SUCCESS [ 0.913 s]
[INFO] Oracle DataStore Extension ......................... SUCCESS [ 0.382 s]
[INFO] MySQL DataStore Extension .......................... SUCCESS [ 0.197 s]
[INFO] DB2 DataStore Extension ............................ SUCCESS [ 0.220 s]
[INFO] ImageMap Output Format ............................. SUCCESS [ 7.850 s]
[INFO] ImageI/O-Ext GDAL Coverage Extension ............... SUCCESS [ 4.298 s]
[INFO] JP2K Coverage Extension ............................ SUCCESS [ 0.285 s]
[INFO] OGR parent ......................................... SUCCESS [ 0.061 s]
[INFO] OGR CORE ........................................... SUCCESS [ 2.305 s]
[INFO] OGR WFS ............................................ SUCCESS [ 12.543 s]
[INFO] Web Processing Service parent ...................... SUCCESS [ 0.051 s]
[INFO] Web Processing Service Module ...................... SUCCESS [01:09 min]
[INFO] OGR WPS ............................................ SUCCESS [ 16.199 s]
[INFO] Excel Output Format ................................ SUCCESS [ 12.431 s]
[INFO] Chart external graphics support .................... SUCCESS [ 0.488 s]
[INFO] Feature Generalization Extension ................... SUCCESS [ 2.213 s]
[INFO] Image Mosaic JDBC Extension ........................ SUCCESS [ 0.458 s]
[INFO] OWS request flow controller ........................ SUCCESS [ 18.471 s]
[INFO] Web process status sharing with Hazelcast .......... SUCCESS [ 23.917 s]
[INFO] Web Processing Service GUI ......................... SUCCESS [ 28.733 s]
[INFO] GeoServer Layer Querying filter functions .......... SUCCESS [ 13.875 s]
[INFO] Teradata DataStore Extension ....................... SUCCESS [ 1.954 s]
[INFO] GeoServer Monitor Extensions ....................... SUCCESS [ 0.072 s]
[INFO] Core Monitor Extension ............................. SKIPPED
[INFO] GeoServer Security Extension Modules ............... SUCCESS [ 0.026 s]
[INFO] GeoServer CAS Security Module ...................... SUCCESS [ 7.335 s]
[INFO] GeoServer Security Extension Web Modules ........... SUCCESS [ 0.058 s]
[INFO] GeoServer CAS Security Web Module .................. SUCCESS [ 2.078 s]
[INFO] XLST based WFS output format ....................... SUCCESS [ 20.925 s]
[INFO] GeoServer INSPIRE Extensions ....................... SKIPPED
[INFO] GeoServer CSS Styling .............................. SUCCESS [ 16.612 s]
[INFO] Catalog Services for the Web parent ................ SUCCESS [ 0.093 s]
[INFO] Catalog Services for the Web interfaces ............ SUCCESS [ 8.978 s]
[INFO] Catalog Services for the Web - Simple CatalogStore implementation SUCCESS [ 8.937 s]
[INFO] Catalog Services for the Web core module ........... SUCCESS [ 34.757 s]
[INFO] CSW UI Module ...................................... SUCCESS [ 12.837 s]
[INFO] DXF WFS output format and WPS PPIO ................. SUCCESS [ 0.101 s]
[INFO] DXF WFS output format .............................. SUCCESS [ 11.639 s]
[INFO] DXF WPS PPIO ....................................... SUCCESS [ 8.843 s]
[INFO] GeoServer WCS 2.0 Earth Observation Extensions ..... SUCCESS [ 0.062 s]
[INFO] Web Coverage Service 2.0 Earth Observation extensions SUCCESS [ 19.957 s]
[INFO] Web Coverage Service 2.0 Earth Observation GUI extension SUCCESS [ 13.088 s]
[INFO] GeoServer libjpeg-turbo Module ..................... FAILURE [ 6.761 s]
[INFO] GeoServer Data Importer ............................ SUCCESS [ 0.059 s]
[INFO] Importer Core Module ............................... SUCCESS [ 50.305 s]
[INFO] Importer REST Api Module-ng ........................ SUCCESS [ 42.360 s]
[INFO] Importer Berkley DB Persistence Module ............. SUCCESS [ 13.758 s]
[INFO] Importer Web UI Module ............................. SUCCESS [ 13.722 s]
[INFO] GRIB Coverage Format ............................... SUCCESS [ 15.195 s]
[INFO] NetCDF Coverage format ............................. SUCCESS [ 18.923 s]
[INFO] WCS NetCDF output Module ........................... SUCCESS [ 39.186 s]
[INFO] Vector Tiles ....................................... SUCCESS [ 16.509 s]
[INFO] Ysld GeoServer Plugin .............................. SKIPPED
[INFO] MongoDB Data Store ................................. SUCCESS [ 1.969 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17:26 min (Wall Clock)
[INFO] Finished at: 2019-05-06T13:05:34+00:00
[INFO] Final Memory: 147M/1343M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test (default-test) on project gs-libjpeg-turbo: There are test failures.
[ERROR]
[ERROR] Please refer to <https://build.geoserver.org/job/geoserver-2.14.x/ws/src/extension/libjpeg-turbo/target/surefire-reports&gt; for the individual test results.
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test (default-test) on project gs-gwc: There are test failures.
[ERROR]
[ERROR] Please refer to <https://build.geoserver.org/job/geoserver-2.14.x/ws/src/gwc/target/surefire-reports&gt; for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :gs-libjpeg-turbo
Build step 'Invoke top-level Maven targets' marked build as failure

See <https://build.geoserver.org/job/geoserver-2.14.x/242/display/redirect?page=changes&gt;