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>
[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>
[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>
[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>
[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>
-------------------------------------------------------
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> 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