See
<https://build.geoserver.org/job/geoserver-master-app-schema-online/1243/display/redirect?page=changes>
Changes:
[tbarsballe] [GEOS-8852] FeatureTypes and Features fetched from ResourcePool
should
[tbarsballe] [GEOS-8852] Use SimpleFeatureTypeBuilder.init when building FT
(Depends
------------------------------------------
[...truncated 145.40 KB...]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at
org.geoserver.test.GeoServerSystemTestSupport.setUp(GeoServerSystemTestSupport.java:308)
at
org.geoserver.test.GeoServerSystemTestSupport.setUp(GeoServerSystemTestSupport.java:178)
at
org.geoserver.test.GeoServerBaseTestSupport.doSetup(GeoServerBaseTestSupport.java:137)
at sun.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
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.RunBefores.evaluate(RunBefores.java:24)
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)
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at org.postgresql.core.PGStream.<init>(PGStream.java:68)
at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:144)
... 141 more
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 19.673 sec <<<
FAILURE!
testPropertyEncodingOrder_PlanarOrientation(org.geoserver.test.PropertyEncodingOrderTest)
Time elapsed: 18447 sec <<< FAILURE!
java.lang.AssertionError: expected:<1> but was:<0>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.junit.Assert.assertEquals(Assert.java:542)
at
org.geoserver.test.AbstractAppSchemaTestSupport.assertXpathCount(AbstractAppSchemaTestSupport.java:333)
at
org.geoserver.test.PropertyEncodingOrderTest.testPropertyEncodingOrder_PlanarOrientation(PropertyEncodingOrderTest.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.PropertySelectionTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.999 sec
Running org.geoserver.test.Reprojection3DTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.366 sec
Running org.geoserver.test.RestconfigWfsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.557 sec
Running org.geoserver.test.SRSReprojectionTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.077 sec
Running org.geoserver.test.SRSWfsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.614 sec
Running org.geoserver.test.SameNameDiffNamespaceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.029 sec
Running org.geoserver.test.SecondaryNamespaceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.526 sec
Running org.geoserver.test.SecuredFeatureChainingTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.449 sec
Running org.geoserver.test.SimpleAttributeFeatureChainWfsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.295 sec
Running org.geoserver.test.SortByTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.808 sec
Running org.geoserver.test.SpecimenWfsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.827 sec
Running org.geoserver.test.StringConstantIdWfsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.242 sec
Running org.geoserver.test.SubstitutionGroupCoverageWfsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.964 sec
Running org.geoserver.test.SubstitutionGroupTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.752 sec
Running org.geoserver.test.TimeSeriesInlineWfsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.013 sec
Running org.geoserver.test.TimeSeriesWfsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.97 sec
Running org.geoserver.test.ValidationTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.108 sec
Running org.geoserver.test.WaterMLTimeSeriesWfsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.903 sec
Running org.geoserver.test.WmsGetFeatureInfoTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.815 sec
Running org.geoserver.test.WmsGetLegendGraphicTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.792 sec
Running org.geoserver.test.WmsGetMapTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.862 sec
Running org.geoserver.test.XPathPredicateTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.685 sec
Running org.geoserver.test.XYGeomTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.38 sec
Running org.geoserver.test.XlinkGeometryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.427 sec
Running org.geoserver.test.XlinkWfsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.07 sec
Running org.geoserver.test.web.Gml311LinksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.799 sec
Running org.geoserver.test.web.Gml32LinksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.276 sec
Results :
Failed tests:
testPropertyEncodingOrder_PlanarOrientation(org.geoserver.test.PropertyEncodingOrderTest):
expected:<1> but was:<0>
Tests run: 221, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Application Schema Solr Integration Test 2.14-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading:
https://repo.boundlessgeo.com/main/org/geotools/gt-solr/20-SNAPSHOT/maven-metadata.xml
[INFO] Downloading:
http://download.osgeo.org/webdav/geotools/org/geotools/gt-solr/20-SNAPSHOT/maven-metadata.xml
[INFO] Downloading:
http://maven.geo-solutions.it/org/geotools/gt-solr/20-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded:
https://repo.boundlessgeo.com/main/org/geotools/gt-solr/20-SNAPSHOT/maven-metadata.xml
(2 KB at 5.1 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>
[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>
[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>
[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>
[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>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.test.onlineTest.ComplexSolrTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.415 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.14-SNAPSHOT.jar>
[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.14-SNAPSHOT-tests.jar>
[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.14-SNAPSHOT-test-sources.jar>
[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.14-SNAPSHOT.jar>
to
/var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-solr-test/2.14-SNAPSHOT/gs-app-schema-solr-test-2.14-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>
to
/var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-solr-test/2.14-SNAPSHOT/gs-app-schema-solr-test-2.14-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.14-SNAPSHOT-tests.jar>
to
/var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-solr-test/2.14-SNAPSHOT/gs-app-schema-solr-test-2.14-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.14-SNAPSHOT-test-sources.jar>
to
/var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-solr-test/2.14-SNAPSHOT/gs-app-schema-solr-test-2.14-SNAPSHOT-test-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Application Schema Support ......................... SUCCESS [ 6.384 s]
[INFO] Application Schema Integration Test ................ SUCCESS [43:30 min]
[INFO] Sample DataAccess Integration Test ................. SUCCESS [ 9.402 s]
[INFO] Application Schema Integration Online Test with Postgis Database FAILURE
[06:10 min]
[INFO] Application Schema Solr Integration Test ........... SUCCESS [ 2.897 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 50:00 min
[INFO] Finished at: 2018-07-28T21:29:01+00:00
[INFO] Final Memory: 62M/385M
[INFO] ------------------------------------------------------------------------
[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>
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-postgis-test
Build step 'Invoke top-level Maven targets' marked build as failure
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel