[Geoserver-devel] Build failed in Jenkins: geoserver-master-app-schema-online #1333

See <https://build.geoserver.org/job/geoserver-master-app-schema-online/1333/display/redirect?page=changes&gt;

Changes:

[github] Missing verb in log messages

[github] Revert "Improve log messages"

[tbarsballe] Refactor geoserver for the gt-main and gt-data merge. Also removes a

------------------------------------------
[...truncated 229.16 KB...]
  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)

testGetMapPositionalAccuracy(org.geoserver.test.WmsGetMapTest) Time elapsed: 2 sec <<< ERROR!
java.lang.NullPointerException
  at org.geoserver.test.AbstractAppSchemaTestSupport.countNonBlankPixels(AbstractAppSchemaTestSupport.java:505)
  at org.geoserver.test.AbstractAppSchemaTestSupport.assertNotBlank(AbstractAppSchemaTestSupport.java:489)
  at org.geoserver.test.WmsGetMapTest.testGetMapPositionalAccuracy(WmsGetMapTest.java:66)
  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: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 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)

Running org.geoserver.test.XPathPredicateTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.513 sec
Running org.geoserver.test.XYGeomTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.251 sec
Running org.geoserver.test.XlinkGeometryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.39 sec
Running org.geoserver.test.XlinkWfsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.76 sec
Running org.geoserver.test.web.Gml311LinksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.364 sec
Running org.geoserver.test.web.Gml32LinksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.992 sec

Results :

Failed tests: testGetFeatureInfoGMLReprojection(org.geoserver.test.WmsGetFeatureInfoTest): expected:<1> but was:<0>
  testGetFeatureInfoHTML(org.geoserver.test.WmsGetFeatureInfoTest): expected:<1> but was:<0>
  testGetFeatureInfoText(org.geoserver.test.WmsGetFeatureInfoTest)
  testGetFeatureInfoGML21(org.geoserver.test.WmsGetFeatureInfoTest): expected:<1> but was:<0>
  testGetFeatureInfoGML(org.geoserver.test.WmsGetFeatureInfoTest): expected:<1> but was:<0>

Tests in error:
  testGetMap(org.geoserver.test.PagingTest)
  testGetMapWithCount(org.geoserver.test.WmsGetMapTest)
  testGetMapAfterWFS(org.geoserver.test.WmsGetMapTest)
  testGetMapOutcropCharacter(org.geoserver.test.WmsGetMapTest)
  testGetMapOutcropCharacterReprojection(org.geoserver.test.WmsGetMapTest)
  testGetMapPositionalAccuracy(org.geoserver.test.WmsGetMapTest)

Tests run: 231, Failures: 5, Errors: 6, Skipped: 0

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Application Schema Solr Integration Test 2.15-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: https://repo.boundlessgeo.com/main/org/geotools/gt-solr/21-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: http://download.osgeo.org/webdav/geotools/org/geotools/gt-solr/21-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: http://maven.geo-solutions.it/org/geotools/gt-solr/21-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: https://repo.boundlessgeo.com/main/org/geotools/gt-solr/21-SNAPSHOT/maven-metadata.xml (2 KB at 5.6 KB/sec)
[INFO] Downloading: https://repo.boundlessgeo.com/main/org/geotools/gt-solr/21-SNAPSHOT/gt-solr-21-20181030.191403-62.pom
[INFO] Downloaded: https://repo.boundlessgeo.com/main/org/geotools/gt-solr/21-SNAPSHOT/gt-solr-21-20181030.191403-62.pom (6 KB at 55.9 KB/sec)
[INFO] Downloading: https://repo.boundlessgeo.com/main/org/geotools/gt-solr/21-SNAPSHOT/gt-solr-21-20181030.191403-62.jar
[INFO] Downloading: https://repo.boundlessgeo.com/main/org/geotools/gt-solr/21-SNAPSHOT/gt-solr-21-20181030.191403-62-tests.jar
[INFO] Downloaded: https://repo.boundlessgeo.com/main/org/geotools/gt-solr/21-SNAPSHOT/gt-solr-21-20181030.191403-62.jar (71 KB at 744.8 KB/sec)
[INFO] Downloaded: https://repo.boundlessgeo.com/main/org/geotools/gt-solr/21-SNAPSHOT/gt-solr-21-20181030.191403-62-tests.jar (199 KB at 1112.4 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gs-app-schema-solr-test ---
[INFO] Deleting <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-solr-test/target&gt;
[INFO]
[INFO] --- git-commit-id-plugin:2.1.15:revision (default) @ gs-app-schema-solr-test ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gs-app-schema-solr-test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-solr-test/src/main/java&gt;
[INFO] skip non existing resourceDirectory <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-solr-test/src/main/resources&gt;
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ gs-app-schema-solr-test ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ gs-app-schema-solr-test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ gs-app-schema-solr-test ---
[INFO] Compiling 1 source file to <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-solr-test/target/test-classes&gt;
[INFO]
[INFO] --- maven-surefire-plugin:2.12.3:test (default-test) @ gs-app-schema-solr-test ---
[INFO] Surefire report directory: <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-solr-test/target/surefire-reports&gt;

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.test.onlineTest.ComplexSolrTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.404 sec

Results :

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

[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ gs-app-schema-solr-test ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-solr-test/target/gs-app-schema-solr-test-2.15-SNAPSHOT.jar&gt;
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ gs-app-schema-solr-test ---
[INFO] Building jar: <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-solr-test/target/gs-app-schema-solr-test-2.15-SNAPSHOT-tests.jar&gt;
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ gs-app-schema-solr-test ---
[INFO] No sources in project. Archive not created.
[INFO]
[INFO] --- maven-source-plugin:2.2.1:test-jar-no-fork (attach-sources) @ gs-app-schema-solr-test ---
[INFO] Building jar: <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-solr-test/target/gs-app-schema-solr-test-2.15-SNAPSHOT-test-sources.jar&gt;
[INFO]
[INFO] --- fmt-maven-plugin:2.4.0:check (default) @ gs-app-schema-solr-test ---
[warn] Source directory '<https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-solr-test/src/main/java’> does not exist, ignoring.
[debug] Using AOSP style
[INFO] Processed 1 files (0 non-complying).
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ gs-app-schema-solr-test ---
[INFO] Installing <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-solr-test/target/gs-app-schema-solr-test-2.15-SNAPSHOT.jar&gt; to /var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-solr-test/2.15-SNAPSHOT/gs-app-schema-solr-test-2.15-SNAPSHOT.jar
[INFO] Installing <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-solr-test/pom.xml&gt; to /var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-solr-test/2.15-SNAPSHOT/gs-app-schema-solr-test-2.15-SNAPSHOT.pom
[INFO] Installing <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-solr-test/target/gs-app-schema-solr-test-2.15-SNAPSHOT-tests.jar&gt; to /var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-solr-test/2.15-SNAPSHOT/gs-app-schema-solr-test-2.15-SNAPSHOT-tests.jar
[INFO] Installing <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-solr-test/target/gs-app-schema-solr-test-2.15-SNAPSHOT-test-sources.jar&gt; to /var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-solr-test/2.15-SNAPSHOT/gs-app-schema-solr-test-2.15-SNAPSHOT-test-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Application Schema Indexes Integration Test 2.15-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gs-app-schema-indexes-test ---
[INFO] Deleting <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-indexes-test/target&gt;
[INFO]
[INFO] --- git-commit-id-plugin:2.1.15:revision (default) @ gs-app-schema-indexes-test ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gs-app-schema-indexes-test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-indexes-test/src/main/java&gt;
[INFO] skip non existing resourceDirectory <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-indexes-test/src/main/resources&gt;
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ gs-app-schema-indexes-test ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ gs-app-schema-indexes-test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 9 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ gs-app-schema-indexes-test ---
[INFO] Compiling 6 source files to <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-indexes-test/target/test-classes&gt;
[INFO]
[INFO] --- maven-surefire-plugin:2.12.3:test (default-test) @ gs-app-schema-indexes-test ---
[INFO] Surefire report directory: <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-indexes-test/target/surefire-reports&gt;

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.test.onlineTest.ComplexIndexesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.403 sec

Results :

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

[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ gs-app-schema-indexes-test ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-indexes-test/target/gs-app-schema-indexes-test-2.15-SNAPSHOT.jar&gt;
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ gs-app-schema-indexes-test ---
[INFO] Building jar: <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-indexes-test/target/gs-app-schema-indexes-test-2.15-SNAPSHOT-tests.jar&gt;
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ gs-app-schema-indexes-test ---
[INFO] No sources in project. Archive not created.
[INFO]
[INFO] --- maven-source-plugin:2.2.1:test-jar-no-fork (attach-sources) @ gs-app-schema-indexes-test ---
[INFO] Building jar: <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-indexes-test/target/gs-app-schema-indexes-test-2.15-SNAPSHOT-test-sources.jar&gt;
[INFO]
[INFO] --- fmt-maven-plugin:2.4.0:check (default) @ gs-app-schema-indexes-test ---
[warn] Source directory '<https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-indexes-test/src/main/java’> does not exist, ignoring.
[debug] Using AOSP style
[INFO] Processed 6 files (0 non-complying).
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ gs-app-schema-indexes-test ---
[INFO] Installing <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-indexes-test/target/gs-app-schema-indexes-test-2.15-SNAPSHOT.jar&gt; to /var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-indexes-test/2.15-SNAPSHOT/gs-app-schema-indexes-test-2.15-SNAPSHOT.jar
[INFO] Installing <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-indexes-test/pom.xml&gt; to /var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-indexes-test/2.15-SNAPSHOT/gs-app-schema-indexes-test-2.15-SNAPSHOT.pom
[INFO] Installing <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-indexes-test/target/gs-app-schema-indexes-test-2.15-SNAPSHOT-tests.jar&gt; to /var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-indexes-test/2.15-SNAPSHOT/gs-app-schema-indexes-test-2.15-SNAPSHOT-tests.jar
[INFO] Installing <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-indexes-test/target/gs-app-schema-indexes-test-2.15-SNAPSHOT-test-sources.jar&gt; to /var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-indexes-test/2.15-SNAPSHOT/gs-app-schema-indexes-test-2.15-SNAPSHOT-test-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Application Schema Support ......................... SUCCESS [ 6.226 s]
[INFO] Application Schema Integration Test ................ FAILURE [33:37 min]
[INFO] Sample DataAccess Integration Test ................. SUCCESS [ 9.431 s]
[INFO] Application Schema Integration Online Test with Postgis Database FAILURE [06:11 min]
[INFO] Application Schema Solr Integration Test ........... SUCCESS [ 3.201 s]
[INFO] Application Schema Indexes Integration Test ........ SUCCESS [ 2.677 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 40:10 min
[INFO] Finished at: 2018-10-30T21:19:02+00:00
[INFO] Final Memory: 63M/289M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test (default-test) on project gs-app-schema-test: There are test failures.
[ERROR]
[ERROR] Please refer to <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-test/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-app-schema-postgis-test: There are test failures.
[ERROR]
[ERROR] Please refer to <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-postgis-test/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-app-schema-test
Build step 'Invoke top-level Maven targets' marked build as failure

See <https://build.geoserver.org/job/geoserver-master-app-schema-online/1334/display/redirect?page=changes&gt;