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

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

Changes:

[tbarsballe] [GEOS-8369] Style preview - Update window.onload when ol source

[tbarsballe] [GEOS-7343] Add jetty-servlets to system-independent binary to support

[nuno.oliveira] [GEOS-8385] Update MongoDB integration with App-Schema tests to use

[Andrea Aime] [GEOS-8398] WFS 1.1 and 2.0 do not support the mandatory "sections"

[Andrea Aime] [GEOS-8393] WFS 2.0 capabilities document fails to report output format

[Andrea Aime] [GEOS-8394] WFS 2.0 capabilities document fails to report supported

[Andrea Aime] [GEOS-8399] NSG WFS capabilities customizations, allow profile level

[Andrea Aime] [GEOS-8399] NSG WFS capabilities customizations, NSG extension point to

[Andrea Aime] Do not rely on password encryption, it's available in the setup

------------------------------------------
[...truncated 99.73 KB...]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.971 sec
Running org.geoserver.test.SecondaryNamespaceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.622 sec
Running org.geoserver.test.SecuredFeatureChainingTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.689 sec
Running org.geoserver.test.SimpleAttributeFeatureChainWfsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.864 sec
Running org.geoserver.test.SortByTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.734 sec
Running org.geoserver.test.SpecimenWfsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.589 sec
Running org.geoserver.test.StringConstantIdWfsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.171 sec
Running org.geoserver.test.SubstitutionGroupCoverageWfsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.908 sec
Running org.geoserver.test.SubstitutionGroupTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.607 sec
Running org.geoserver.test.TimeSeriesInlineWfsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.655 sec
Running org.geoserver.test.TimeSeriesWfsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.004 sec
Running org.geoserver.test.ValidationTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.77 sec
Running org.geoserver.test.WaterMLTimeSeriesWfsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.999 sec
Running org.geoserver.test.WmsGetFeatureInfoTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.124 sec
Running org.geoserver.test.WmsGetLegendGraphicTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.099 sec
Running org.geoserver.test.WmsGetMapTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.956 sec
Running org.geoserver.test.XPathPredicateTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.778 sec
Running org.geoserver.test.XYGeomTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.472 sec
Running org.geoserver.test.XlinkGeometryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.356 sec
Running org.geoserver.test.XlinkWfsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.822 sec
Running org.geoserver.test.web.Gml311LinksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.035 sec
Running org.geoserver.test.web.Gml32LinksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.109 sec

Results :

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

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Application Schema MongoDB Integration Test 2.13-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: https://repo.boundlessgeo.com/main/org/geotools/gt-mongodb/19-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: http://download.osgeo.org/webdav/geotools/org/geotools/gt-mongodb/19-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: http://maven.geo-solutions.it/org/geotools/gt-mongodb/19-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: https://repo.boundlessgeo.com/main/org/geotools/gt-mongodb/19-SNAPSHOT/maven-metadata.xml (961 B at 4.0 KB/sec)
[INFO] Downloading: https://repo.boundlessgeo.com/main/org/geotools/gt-mongodb/19-SNAPSHOT/gt-mongodb-19-20171120.195533-107.pom
[INFO] Downloaded: https://repo.boundlessgeo.com/main/org/geotools/gt-mongodb/19-SNAPSHOT/gt-mongodb-19-20171120.195533-107.pom (6 KB at 53.1 KB/sec)
[INFO] Downloading: https://repo.boundlessgeo.com/main/org/geotools/gt-mongodb/19-SNAPSHOT/gt-mongodb-19-20171120.195533-107.jar
[INFO] Downloaded: https://repo.boundlessgeo.com/main/org/geotools/gt-mongodb/19-SNAPSHOT/gt-mongodb-19-20171120.195533-107.jar (84 KB at 777.3 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gs-app-schema-mongo-test ---
[INFO] Deleting <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-mongo-test/target&gt;
[INFO]
[INFO] --- cobertura-maven-plugin:2.6:clean (default) @ gs-app-schema-mongo-test ---
[INFO]
[INFO] --- git-commit-id-plugin:2.1.15:revision (default) @ gs-app-schema-mongo-test ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gs-app-schema-mongo-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-mongo-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-mongo-test/src/main/resources&gt;
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ gs-app-schema-mongo-test ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ gs-app-schema-mongo-test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 8 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ gs-app-schema-mongo-test ---
[INFO] Compiling 3 source files to <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-mongo-test/target/test-classes&gt;
[INFO]
[INFO] --- maven-surefire-plugin:2.12.3:test (default-test) @ gs-app-schema-mongo-test ---
[INFO] Surefire report directory: <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-mongo-test/target/surefire-reports&gt;

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.test.onlineTest.ComplexMongoDBLegacyTest
Tests run: 2, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 4.687 sec <<< FAILURE!
testGetStationFeaturesWithFilter(org.geoserver.test.onlineTest.ComplexMongoDBLegacyTest) Time elapsed: 1358 sec <<< FAILURE!
java.lang.AssertionError:
Expected: is <true>
     but: was <false>
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
  at org.junit.Assert.assertThat(Assert.java:865)
  at org.junit.Assert.assertThat(Assert.java:832)
  at org.geoserver.test.onlineTest.ComplexMongoDBSupport.checkResult(ComplexMongoDBSupport.java:269)
  at org.geoserver.test.onlineTest.ComplexMongoDBSupport.testGetStationFeaturesWithFilter(ComplexMongoDBSupport.java:133)
  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)

Running org.geoserver.test.onlineTest.ComplexMongoDBTest
Tests run: 3, Failures: 1, Errors: 1, Skipped: 1, Time elapsed: 0.447 sec <<< FAILURE!
testGetStationFeaturesWithFilter(org.geoserver.test.onlineTest.ComplexMongoDBTest) Time elapsed: 53 sec <<< FAILURE!
java.lang.AssertionError:
Expected: is <true>
     but: was <false>
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
  at org.junit.Assert.assertThat(Assert.java:865)
  at org.junit.Assert.assertThat(Assert.java:832)
  at org.geoserver.test.onlineTest.ComplexMongoDBSupport.checkResult(ComplexMongoDBSupport.java:269)
  at org.geoserver.test.onlineTest.ComplexMongoDBSupport.testGetStationFeaturesWithFilter(ComplexMongoDBSupport.java:133)
  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)

org.geoserver.test.onlineTest.ComplexMongoDBTest Time elapsed: 67 sec <<< ERROR!
java.lang.IllegalArgumentException: /mnt/memtmp/app-schema-mongo783767322554067221 does not appear to be a directory at all...
  at org.geoserver.util.IOUtils.emptyDirectory(IOUtils.java:262)
  at org.geoserver.util.IOUtils.delete(IOUtils.java:247)
  at org.geoserver.test.onlineTest.ComplexMongoDBSupport.tearDown(ComplexMongoDBSupport.java:76)
  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.RunAfters.evaluate(RunAfters.java:33)
  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)

Results :

Failed tests: testGetStationFeaturesWithFilter(org.geoserver.test.onlineTest.ComplexMongoDBLegacyTest): (..)
  testGetStationFeaturesWithFilter(org.geoserver.test.onlineTest.ComplexMongoDBTest): (..)

Tests in error:
  org.geoserver.test.onlineTest.ComplexMongoDBTest: /mnt/memtmp/app-schema-mongo783767322554067221 does not appear to be a directory at all...

Tests run: 5, Failures: 2, Errors: 1, Skipped: 2

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Application Schema Support ......................... SUCCESS [ 2.939 s]
[INFO] Application Schema Integration Test ................ SUCCESS [40:39 min]
[INFO] Sample DataAccess Integration Test ................. SUCCESS [ 8.314 s]
[INFO] Application Schema Integration Online Test with Postgis Database SUCCESS [05:40 min]
[INFO] Application Schema MongoDB Integration Test ........ FAILURE [ 7.569 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46:39 min
[INFO] Finished at: 2017-11-20T21:51:27+00:00
[INFO] Final Memory: 55M/302M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test (default-test) on project gs-app-schema-mongo-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-mongo-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-mongo-test
Build step 'Invoke top-level Maven targets' marked build as failure

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

Changes:

[daniele.romagnoli] [GEOS-8386]: Make UUID a visible field in DescribeFeatureType

[tbarsballe] [GEOS-8401] GWC REST seeding - improved docs and integration tests

[Andrea Aime] [GEOS-8405] WFS 2.0 capabilities document reports constraints using

[Andrea Aime] [GEOS-8406] WFS 2.0 does not support GetFeature with alternate

[Andrea Aime] [GEOS-8408] GML 3.1 and 3.2 outputs fail to wrap properly in a SOAP

[Andrea Aime] Schema compliance fix

[Andrea Aime] Removing schema customizations, they are not really working with WFS

------------------------------------------
[...truncated 99.73 KB...]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.951 sec
Running org.geoserver.test.SecondaryNamespaceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.695 sec
Running org.geoserver.test.SecuredFeatureChainingTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.834 sec
Running org.geoserver.test.SimpleAttributeFeatureChainWfsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.673 sec
Running org.geoserver.test.SortByTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.163 sec
Running org.geoserver.test.SpecimenWfsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.864 sec
Running org.geoserver.test.StringConstantIdWfsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.935 sec
Running org.geoserver.test.SubstitutionGroupCoverageWfsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.029 sec
Running org.geoserver.test.SubstitutionGroupTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.682 sec
Running org.geoserver.test.TimeSeriesInlineWfsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.173 sec
Running org.geoserver.test.TimeSeriesWfsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.896 sec
Running org.geoserver.test.ValidationTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.865 sec
Running org.geoserver.test.WaterMLTimeSeriesWfsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.849 sec
Running org.geoserver.test.WmsGetFeatureInfoTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.13 sec
Running org.geoserver.test.WmsGetLegendGraphicTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.984 sec
Running org.geoserver.test.WmsGetMapTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.784 sec
Running org.geoserver.test.XPathPredicateTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.065 sec
Running org.geoserver.test.XYGeomTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.601 sec
Running org.geoserver.test.XlinkGeometryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.423 sec
Running org.geoserver.test.XlinkWfsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.651 sec
Running org.geoserver.test.web.Gml311LinksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.685 sec
Running org.geoserver.test.web.Gml32LinksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.163 sec

Results :

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

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Application Schema MongoDB Integration Test 2.13-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: https://repo.boundlessgeo.com/main/org/geotools/gt-mongodb/19-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: http://download.osgeo.org/webdav/geotools/org/geotools/gt-mongodb/19-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: http://maven.geo-solutions.it/org/geotools/gt-mongodb/19-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: https://repo.boundlessgeo.com/main/org/geotools/gt-mongodb/19-SNAPSHOT/maven-metadata.xml (961 B at 3.2 KB/sec)
[INFO] Downloading: https://repo.boundlessgeo.com/main/org/geotools/gt-mongodb/19-SNAPSHOT/gt-mongodb-19-20171121.153302-109.pom
[INFO] Downloaded: https://repo.boundlessgeo.com/main/org/geotools/gt-mongodb/19-SNAPSHOT/gt-mongodb-19-20171121.153302-109.pom (6 KB at 31.7 KB/sec)
[INFO] Downloading: https://repo.boundlessgeo.com/main/org/geotools/gt-mongodb/19-SNAPSHOT/gt-mongodb-19-20171121.153302-109.jar
[INFO] Downloaded: https://repo.boundlessgeo.com/main/org/geotools/gt-mongodb/19-SNAPSHOT/gt-mongodb-19-20171121.153302-109.jar (84 KB at 883.6 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gs-app-schema-mongo-test ---
[INFO] Deleting <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-mongo-test/target&gt;
[INFO]
[INFO] --- cobertura-maven-plugin:2.6:clean (default) @ gs-app-schema-mongo-test ---
[INFO]
[INFO] --- git-commit-id-plugin:2.1.15:revision (default) @ gs-app-schema-mongo-test ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gs-app-schema-mongo-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-mongo-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-mongo-test/src/main/resources&gt;
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ gs-app-schema-mongo-test ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ gs-app-schema-mongo-test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 8 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ gs-app-schema-mongo-test ---
[INFO] Compiling 3 source files to <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-mongo-test/target/test-classes&gt;
[INFO]
[INFO] --- maven-surefire-plugin:2.12.3:test (default-test) @ gs-app-schema-mongo-test ---
[INFO] Surefire report directory: <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-mongo-test/target/surefire-reports&gt;

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.test.onlineTest.ComplexMongoDBLegacyTest
Tests run: 2, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 4.679 sec <<< FAILURE!
testGetStationFeaturesWithFilter(org.geoserver.test.onlineTest.ComplexMongoDBLegacyTest) Time elapsed: 1352 sec <<< FAILURE!
java.lang.AssertionError:
Expected: is <true>
     but: was <false>
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
  at org.junit.Assert.assertThat(Assert.java:865)
  at org.junit.Assert.assertThat(Assert.java:832)
  at org.geoserver.test.onlineTest.ComplexMongoDBSupport.checkResult(ComplexMongoDBSupport.java:269)
  at org.geoserver.test.onlineTest.ComplexMongoDBSupport.testGetStationFeaturesWithFilter(ComplexMongoDBSupport.java:133)
  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)

Running org.geoserver.test.onlineTest.ComplexMongoDBTest
Tests run: 3, Failures: 1, Errors: 1, Skipped: 1, Time elapsed: 0.543 sec <<< FAILURE!
testGetStationFeaturesWithFilter(org.geoserver.test.onlineTest.ComplexMongoDBTest) Time elapsed: 53 sec <<< FAILURE!
java.lang.AssertionError:
Expected: is <true>
     but: was <false>
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
  at org.junit.Assert.assertThat(Assert.java:865)
  at org.junit.Assert.assertThat(Assert.java:832)
  at org.geoserver.test.onlineTest.ComplexMongoDBSupport.checkResult(ComplexMongoDBSupport.java:269)
  at org.geoserver.test.onlineTest.ComplexMongoDBSupport.testGetStationFeaturesWithFilter(ComplexMongoDBSupport.java:133)
  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)

org.geoserver.test.onlineTest.ComplexMongoDBTest Time elapsed: 67 sec <<< ERROR!
java.lang.IllegalArgumentException: /mnt/memtmp/app-schema-mongo8443584054556494208 does not appear to be a directory at all...
  at org.geoserver.util.IOUtils.emptyDirectory(IOUtils.java:262)
  at org.geoserver.util.IOUtils.delete(IOUtils.java:247)
  at org.geoserver.test.onlineTest.ComplexMongoDBSupport.tearDown(ComplexMongoDBSupport.java:76)
  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.RunAfters.evaluate(RunAfters.java:33)
  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)

Results :

Failed tests: testGetStationFeaturesWithFilter(org.geoserver.test.onlineTest.ComplexMongoDBLegacyTest): (..)
  testGetStationFeaturesWithFilter(org.geoserver.test.onlineTest.ComplexMongoDBTest): (..)

Tests in error:
  org.geoserver.test.onlineTest.ComplexMongoDBTest: /mnt/memtmp/app-schema-mongo8443584054556494208 does not appear to be a directory at all...

Tests run: 5, Failures: 2, Errors: 1, Skipped: 2

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Application Schema Support ......................... SUCCESS [ 3.039 s]
[INFO] Application Schema Integration Test ................ SUCCESS [54:33 min]
[INFO] Sample DataAccess Integration Test ................. SUCCESS [ 14.157 s]
[INFO] Application Schema Integration Online Test with Postgis Database SUCCESS [05:43 min]
[INFO] Application Schema MongoDB Integration Test ........ FAILURE [ 12.588 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:00 h
[INFO] Finished at: 2017-11-21T21:39:52+00:00
[INFO] Final Memory: 55M/365M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test (default-test) on project gs-app-schema-mongo-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-mongo-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-mongo-test
Build step 'Invoke top-level Maven targets' marked build as failure

See <https://build.geoserver.org/job/geoserver-master-app-schema-online/988/display/redirect&gt;

------------------------------------------
Started by user Ben Caradoc-Davies
Building remotely on apollo-slave-02 in workspace <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/&gt;
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git://github.com/geoserver/geoserver.git # timeout=10
Fetching upstream changes from git://github.com/geoserver/geoserver.git
> git --version # timeout=10
> git fetch --tags --progress git://github.com/geoserver/geoserver.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 0d3dbf0964b755998c886f45f38c57e6a0382621 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 0d3dbf0964b755998c886f45f38c57e6a0382621
> git rev-list 0d3dbf0964b755998c886f45f38c57e6a0382621 # timeout=10
[geoserver-master-app-schema-online] $ /bin/sh -xe /tmp/jenkins5412114776891161063.sh
+ mkdir /var/jenkins/.geoserver
mkdir: cannot create directory `/var/jenkins/.geoserver': File exists
+ true
+ rm /var/jenkins/.geotools/postgis.properties
rm: cannot remove `/var/jenkins/.geotools/postgis.properties': No such file or directory
+ true
+ rm /var/jenkins/.geotools/oracle.properties
rm: cannot remove `/var/jenkins/.geotools/oracle.properties': No such file or directory
+ true
+ rm /var/jenkins/.geoserver/postgis.properties
+ rm /var/jenkins/.geoserver/oracle.properties
rm: cannot remove `/var/jenkins/.geoserver/oracle.properties': No such file or directory
+ true
+ set +x
CREATE FUNCTION
CREATE FUNCTION
DELETE 1
INSERT 0 1
srid
------
4979
(1 row)

[geoserver-master-app-schema-online] $ mvn -f src/extension/app-schema/pom.xml -B -Dtest.maxHeapSize=1024m -Dtest.maxPermSize=128m -fae -Papp-schema-online-test -pl "!app-schema-oracle-test,!app-schema-mongo-test -Djava.io.tmpdir=/mnt/memtmp clean test"
[INFO] Scanning for projects...
[ERROR] [ERROR] Could not find the selected project in the reactor: app-schema-mongo-test -Djava.io.tmpdir=/mnt/memtmp clean test @
[ERROR] Could not find the selected project in the reactor: app-schema-mongo-test -Djava.io.tmpdir=/mnt/memtmp clean test -> [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/MavenExecutionException
Build step 'Invoke top-level Maven targets' marked build as failure

See <https://build.geoserver.org/job/geoserver-master-app-schema-online/989/display/redirect&gt;