See <https://build.geoserver.org/job/geoserver-java11/262/display/redirect?page=changes>
Changes:
[Andrea Aime] Guard against AWTError which can happen in some docker containers due to
------------------------------------------
[...truncated 1.12 MB...]
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
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:363)
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 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
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)
Jan 11, 2019 11:20:57 AM 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 jdk.internal.reflect.GeneratedMethodAccessor292.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:207)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:901)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875)
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:166)
at org.springframework.mock.web.MockFilterChain.doFilter(MockFilterChain.java:133)
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 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
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:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
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:363)
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 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
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: 14.938 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.563 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-java11/ws/src/extension/importer/rest/target/gs-importer-rest-2.15-SNAPSHOT.jar>
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ gs-importer-rest ---
[INFO] Building jar: <https://build.geoserver.org/job/geoserver-java11/ws/src/extension/importer/rest/target/gs-importer-rest-2.15-SNAPSHOT-tests.jar>
[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-java11/ws/src/extension/importer/rest/target/gs-importer-rest-2.15-SNAPSHOT-sources.jar>
[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-java11/ws/src/extension/importer/rest/target/gs-importer-rest-2.15-SNAPSHOT-test-sources.jar>
[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-pmd-plugin:3.11.0:check (default) > :pmd @ gs-importer-rest >>>
[INFO]
[INFO] --- maven-pmd-plugin:3.11.0:pmd (pmd) @ gs-importer-rest ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO]
[INFO] <<< maven-pmd-plugin:3.11.0:check (default) < :pmd @ gs-importer-rest <<<
[INFO]
[INFO] --- maven-pmd-plugin:3.11.0:check (default) @ gs-importer-rest ---
[INFO]
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ gs-importer-rest ---
[INFO] Installing <https://build.geoserver.org/job/geoserver-java11/ws/src/extension/importer/rest/target/gs-importer-rest-2.15-SNAPSHOT.jar> to <https://build.geoserver.org/job/geoserver-java11/ws/m2/org/geoserver/importer/gs-importer-rest/2.15-SNAPSHOT/gs-importer-rest-2.15-SNAPSHOT.jar>
[INFO] Installing <https://build.geoserver.org/job/geoserver-java11/ws/src/extension/importer/rest/pom.xml> to <https://build.geoserver.org/job/geoserver-java11/ws/m2/org/geoserver/importer/gs-importer-rest/2.15-SNAPSHOT/gs-importer-rest-2.15-SNAPSHOT.pom>
[INFO] Installing <https://build.geoserver.org/job/geoserver-java11/ws/src/extension/importer/rest/target/gs-importer-rest-2.15-SNAPSHOT-tests.jar> to <https://build.geoserver.org/job/geoserver-java11/ws/m2/org/geoserver/importer/gs-importer-rest/2.15-SNAPSHOT/gs-importer-rest-2.15-SNAPSHOT-tests.jar>
[INFO] Installing <https://build.geoserver.org/job/geoserver-java11/ws/src/extension/importer/rest/target/gs-importer-rest-2.15-SNAPSHOT-sources.jar> to <https://build.geoserver.org/job/geoserver-java11/ws/m2/org/geoserver/importer/gs-importer-rest/2.15-SNAPSHOT/gs-importer-rest-2.15-SNAPSHOT-sources.jar>
[INFO] Installing <https://build.geoserver.org/job/geoserver-java11/ws/src/extension/importer/rest/target/gs-importer-rest-2.15-SNAPSHOT-test-sources.jar> to <https://build.geoserver.org/job/geoserver-java11/ws/m2/org/geoserver/importer/gs-importer-rest/2.15-SNAPSHOT/gs-importer-rest-2.15-SNAPSHOT-test-sources.jar>
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoServer .......................................... SUCCESS [ 10.012 s]
[INFO] Core Platform Module ............................... SUCCESS [ 28.930 s]
[INFO] Open Web Service Module ............................ SUCCESS [ 27.543 s]
[INFO] Main Module ........................................ SUCCESS [02:29 min]
[INFO] GeoServer Security Modules ......................... SUCCESS [ 0.175 s]
[INFO] GeoServer Security Tests Module .................... SUCCESS [02:33 min]
[INFO] GeoServer JDBC Security Module ..................... SUCCESS [01:09 min]
[INFO] GeoServer LDAP Security Module ..................... SUCCESS [ 11.942 s]
[INFO] Web Coverage Service Module ........................ SUCCESS [ 6.888 s]
[INFO] Web Coverage Service 1.0 Module .................... SUCCESS [ 32.337 s]
[INFO] Web Coverage Service 1.1 Module .................... SUCCESS [ 35.241 s]
[INFO] Web Coverage Service 2.0 Module .................... SUCCESS [05:39 min]
[INFO] Web Feature Service Module ......................... SUCCESS [02:50 min]
[INFO] Web Map Service Module ............................. SUCCESS [03:49 min]
[INFO] KML support for GeoServer .......................... SUCCESS [ 45.920 s]
[INFO] gs-rest ............................................ SUCCESS [ 24.132 s]
[INFO] GeoWebCache (GWC) Module ........................... SUCCESS [02:02 min]
[INFO] gs-restconfig ...................................... SUCCESS [02:09 min]
[INFO] gs-restconfig-wcs .................................. SUCCESS [ 25.615 s]
[INFO] gs-restconfig-wfs .................................. SUCCESS [ 30.313 s]
[INFO] gs-restconfig-wms .................................. SUCCESS [ 18.920 s]
[INFO] GeoServer Web Modules .............................. SUCCESS [ 0.214 s]
[INFO] Core UI Module ..................................... FAILURE [01:49 min]
[INFO] WMS UI Module ...................................... SKIPPED
[INFO] GWC UI Module ...................................... SKIPPED
[INFO] WFS UI Module ...................................... SKIPPED
[INFO] Demos Module ....................................... SKIPPED
[INFO] WCS UI Module ...................................... SKIPPED
[INFO] Security UI Modules ................................ SKIPPED
[INFO] Security UI Core Module ............................ SKIPPED
[INFO] Security UI JDBC Module ............................ SKIPPED
[INFO] Security UI LDAP Module ............................ SKIPPED
[INFO] REST UI Module ..................................... SKIPPED
[INFO] GeoServer Extensions ............................... SUCCESS [ 0.157 s]
[INFO] Printing Module .................................... SKIPPED
[INFO] GeoServer Web Application .......................... SKIPPED
[INFO] Community Space .................................... SUCCESS [ 0.071 s]
[INFO] Application Schema Support ......................... SUCCESS [ 0.060 s]
[INFO] Application Schema Integration Test ................ SKIPPED
[INFO] Sample DataAccess Integration Test ................. SUCCESS [ 17.043 s]
[INFO] ArcSDE DataStore Extension ......................... SKIPPED
[INFO] H2 DataStore Extension ............................. SKIPPED
[INFO] SQL Server DataStore Extension ..................... SUCCESS [ 2.301 s]
[INFO] Oracle DataStore Extension ......................... SUCCESS [ 2.045 s]
[INFO] MySQL DataStore Extension .......................... SUCCESS [ 1.654 s]
[INFO] DB2 DataStore Extension ............................ SUCCESS [ 1.752 s]
[INFO] ImageMap Output Format ............................. SUCCESS [ 13.195 s]
[INFO] ImageI/O-Ext GDAL Coverage Extension ............... SUCCESS [ 8.650 s]
[INFO] JP2K Coverage Extension ............................ SUCCESS [ 1.625 s]
[INFO] OGR parent ......................................... SUCCESS [ 0.102 s]
[INFO] OGR CORE ........................................... SUCCESS [ 3.362 s]
[INFO] OGR WFS ............................................ SUCCESS [ 13.218 s]
[INFO] Web Processing Service parent ...................... SUCCESS [ 0.077 s]
[INFO] Web Processing Service Module ...................... SUCCESS [02:28 min]
[INFO] OGR WPS ............................................ SUCCESS [ 16.386 s]
[INFO] Excel Output Format ................................ SUCCESS [ 18.560 s]
[INFO] Chart external graphics support .................... SUCCESS [ 1.938 s]
[INFO] Feature Generalization Extension ................... SUCCESS [ 3.072 s]
[INFO] Image Mosaic JDBC Extension ........................ SUCCESS [ 1.669 s]
[INFO] OWS request flow controller ........................ SUCCESS [ 21.060 s]
[INFO] Web process status sharing with Hazelcast .......... SUCCESS [ 18.920 s]
[INFO] Web Processing Service GUI ......................... SKIPPED
[INFO] GeoServer Layer Querying filter functions .......... SUCCESS [ 22.490 s]
[INFO] Teradata DataStore Extension ....................... SKIPPED
[INFO] GeoServer Monitor Extensions ....................... SUCCESS [ 0.156 s]
[INFO] Core Monitor Extension ............................. SKIPPED
[INFO] GeoServer Security Extension Modules ............... SKIPPED
[INFO] GeoServer CAS Security Module ...................... SKIPPED
[INFO] GeoServer Security Extension Web Modules ........... SKIPPED
[INFO] GeoServer CAS Security Web Module .................. SKIPPED
[INFO] XLST based WFS output format ....................... SUCCESS [ 27.005 s]
[INFO] GeoServer INSPIRE Extensions ....................... SKIPPED
[INFO] GeoServer CSS Styling .............................. SKIPPED
[INFO] Catalog Services for the Web parent ................ SUCCESS [ 0.288 s]
[INFO] Catalog Services for the Web interfaces ............ SUCCESS [ 14.784 s]
[INFO] Catalog Services for the Web - Simple CatalogStore implementation SUCCESS [ 14.930 s]
[INFO] Catalog Services for the Web core module ........... SUCCESS [01:16 min]
[INFO] CSW UI Module ...................................... SKIPPED
[INFO] DXF WFS output format and WPS PPIO ................. SUCCESS [ 0.089 s]
[INFO] DXF WFS output format .............................. SUCCESS [ 19.903 s]
[INFO] DXF WPS PPIO ....................................... SUCCESS [ 12.249 s]
[INFO] GeoServer WCS 2.0 Earth Observation Extensions ..... SUCCESS [ 0.111 s]
[INFO] Web Coverage Service 2.0 Earth Observation extensions SUCCESS [ 28.285 s]
[INFO] Web Coverage Service 2.0 Earth Observation GUI extension SKIPPED
[INFO] GeoServer libjpeg-turbo Module ..................... SUCCESS [ 13.893 s]
[INFO] GeoServer Data Importer ............................ SUCCESS [ 0.222 s]
[INFO] Importer Core Module ............................... SUCCESS [01:15 min]
[INFO] Importer REST Api Module-ng ........................ SUCCESS [ 53.510 s]
[INFO] Importer Berkley DB Persistence Module ............. SUCCESS [ 25.208 s]
[INFO] Importer Web UI Module ............................. SKIPPED
[INFO] GRIB Coverage Format ............................... SKIPPED
[INFO] NetCDF Coverage format ............................. SKIPPED
[INFO] WCS NetCDF output Module ........................... SKIPPED
[INFO] Vector Tiles ....................................... SUCCESS [ 29.477 s]
[INFO] Ysld GeoServer Plugin .............................. SUCCESS [ 26.076 s]
[INFO] MongoDB Data Store ................................. SUCCESS [ 2.798 s]
[INFO] REST SLD service ................................... SKIPPED
[INFO] GeoFence security integration ...................... SKIPPED
[INFO] GeoFence Server .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22:48 min (Wall Clock)
[INFO] Finished at: 2019-01-11T11:21:00+00:00
[INFO] Final Memory: 363M/1227M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.coveo:fmt-maven-plugin:2.4.0:check (default) on project gs-web-core: Found 1 non-complying files, failing build -> [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-web-core
Build step 'Invoke top-level Maven targets' marked build as failure