See <https://build.geoserver.org/job/geoserver-master-app-schema-online/1477/display/redirect>
------------------------------------------
[...truncated 130.96 KB...]
at org.geotools.appschema.jdbc.JoiningJDBCFeatureSource.getReaderInternal(JoiningJDBCFeatureSource.java:1269)
at org.geotools.data.store.ContentFeatureSource.getReader(ContentFeatureSource.java:609)
at org.geotools.data.store.ContentFeatureCollection.features(ContentFeatureCollection.java:163)
... 44 more
Caused by: java.sql.SQLException: org.postgresql.util.PSQLException: ERROR: syntax error at or near ":"
Position: 341
at org.geotools.jdbc.JDBCFeatureReader.runQuery(JDBCFeatureReader.java:263)
at org.geotools.jdbc.JDBCFeatureReader.<init>(JDBCFeatureReader.java:143)
at org.geotools.appschema.jdbc.JoiningJDBCFeatureSource.getJoiningReaderInternal(JoiningJDBCFeatureSource.java:1144)
... 47 more
Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near ":"
Position: 341
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
at org.geotools.jdbc.JDBCFeatureReader.lambda$new$0(JDBCFeatureReader.java:143)
at org.geotools.jdbc.JDBCFeatureReader.runQuery(JDBCFeatureReader.java:252)
... 49 more
Running org.geoserver.test.SortByTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.211 sec
Running org.geoserver.test.SpecimenWfsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.913 sec
Running org.geoserver.test.StringConstantIdWfsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.948 sec
Running org.geoserver.test.SubstitutionGroupCoverageWfsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.968 sec
Running org.geoserver.test.SubstitutionGroupTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.962 sec
Running org.geoserver.test.TimeSeriesInlineWfsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.153 sec
Running org.geoserver.test.TimeSeriesWfsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.147 sec
Running org.geoserver.test.ValidationTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.131 sec
Running org.geoserver.test.WaterMLTimeSeriesWfsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.164 sec
Running org.geoserver.test.WmsGetFeatureInfoTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.388 sec
Running org.geoserver.test.WmsGetLegendGraphicTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.405 sec
Running org.geoserver.test.WmsGetMapTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.418 sec
Running org.geoserver.test.XPathPredicateTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.393 sec
Running org.geoserver.test.XYGeomTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.081 sec
Running org.geoserver.test.XlinkGeometryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.571 sec
Running org.geoserver.test.XlinkWfsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.938 sec
Running org.geoserver.test.web.Gml311LinksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.954 sec
Running org.geoserver.test.web.Gml32LinksTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.515 sec
Results :
Failed tests: testNestedFilterEncoding(org.geoserver.test.PolymorphismWfsTest)
Tests in error:
testUnionImprovement(org.geoserver.test.SimpleAttributeFeatureChainWfsTest): java.io.IOException
Tests run: 234, Failures: 1, Errors: 1, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Application Schema Solr Integration Test 2.16-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: https://repo.boundlessgeo.com/main/org/geotools/gt-solr/22-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: http://maven.geo-solutions.it/org/geotools/gt-solr/22-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: http://download.osgeo.org/webdav/geotools/org/geotools/gt-solr/22-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: https://repo.boundlessgeo.com/main/org/geotools/gt-solr/22-SNAPSHOT/maven-metadata.xml (2 KB at 7.5 KB/sec)
[INFO] Downloading: https://repo.boundlessgeo.com/main/org/geotools/gt-solr/22-SNAPSHOT/gt-solr-22-20190321.100316-60.pom
[INFO] Downloaded: https://repo.boundlessgeo.com/main/org/geotools/gt-solr/22-SNAPSHOT/gt-solr-22-20190321.100316-60.pom (6 KB at 39.6 KB/sec)
[INFO] Downloading: https://repo.boundlessgeo.com/main/org/geotools/gt-solr/22-SNAPSHOT/gt-solr-22-20190321.100316-60.jar
[INFO] Downloading: https://repo.boundlessgeo.com/main/org/geotools/gt-solr/22-SNAPSHOT/gt-solr-22-20190321.100316-60-tests.jar
[INFO] Downloaded: https://repo.boundlessgeo.com/main/org/geotools/gt-solr/22-SNAPSHOT/gt-solr-22-20190321.100316-60.jar (70 KB at 465.2 KB/sec)
[INFO] Downloaded: https://repo.boundlessgeo.com/main/org/geotools/gt-solr/22-SNAPSHOT/gt-solr-22-20190321.100316-60-tests.jar (199 KB at 1338.0 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] --- directory-maven-plugin:0.3.1:highest-basedir (directories) @ gs-app-schema-solr-test ---
[INFO] Highest basedir set to: <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src>
[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:3.8.0: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:3.8.0:testCompile (default-testCompile) @ gs-app-schema-solr-test ---
[INFO] Changes detected - recompiling the module!
[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.405 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.16-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.16-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.16-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.16-SNAPSHOT.jar> to /var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-solr-test/2.16-SNAPSHOT/gs-app-schema-solr-test-2.16-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.16-SNAPSHOT/gs-app-schema-solr-test-2.16-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.16-SNAPSHOT-tests.jar> to /var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-solr-test/2.16-SNAPSHOT/gs-app-schema-solr-test-2.16-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.16-SNAPSHOT-test-sources.jar> to /var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-solr-test/2.16-SNAPSHOT/gs-app-schema-solr-test-2.16-SNAPSHOT-test-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Application Schema Indexes Integration Test 2.16-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>
[INFO]
[INFO] --- git-commit-id-plugin:2.1.15:revision (default) @ gs-app-schema-indexes-test ---
[INFO]
[INFO] --- directory-maven-plugin:0.3.1:highest-basedir (directories) @ gs-app-schema-indexes-test ---
[INFO] Highest basedir set to: <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src>
[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>
[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>
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0: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:3.8.0:testCompile (default-testCompile) @ gs-app-schema-indexes-test ---
[INFO] Changes detected - recompiling the module!
[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>
[INFO] <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-indexes-test/src/test/java/org/geoserver/test/onlineTest/ComplexIndexesTest.java>: <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-indexes-test/src/test/java/org/geoserver/test/onlineTest/ComplexIndexesTest.java> uses unchecked or unsafe operations.
[INFO] <https://build.geoserver.org/job/geoserver-master-app-schema-online/ws/src/extension/app-schema/app-schema-indexes-test/src/test/java/org/geoserver/test/onlineTest/ComplexIndexesTest.java>: Recompile with -Xlint:unchecked for details.
[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>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.geoserver.test.onlineTest.ComplexIndexesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.459 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.16-SNAPSHOT.jar>
[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.16-SNAPSHOT-tests.jar>
[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.16-SNAPSHOT-test-sources.jar>
[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.16-SNAPSHOT.jar> to /var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-indexes-test/2.16-SNAPSHOT/gs-app-schema-indexes-test-2.16-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> to /var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-indexes-test/2.16-SNAPSHOT/gs-app-schema-indexes-test-2.16-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.16-SNAPSHOT-tests.jar> to /var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-indexes-test/2.16-SNAPSHOT/gs-app-schema-indexes-test-2.16-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.16-SNAPSHOT-test-sources.jar> to /var/jenkins/.m2/repository/org/geoserver/extension/gs-app-schema-indexes-test/2.16-SNAPSHOT/gs-app-schema-indexes-test-2.16-SNAPSHOT-test-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Application Schema Support ......................... SUCCESS [ 7.053 s]
[INFO] Application Schema Integration Test ................ SUCCESS [08:10 min]
[INFO] Sample DataAccess Integration Test ................. SUCCESS [ 8.462 s]
[INFO] Application Schema Integration Online Test with Postgis Database FAILURE [01:58 min]
[INFO] Application Schema Solr Integration Test ........... SUCCESS [ 1.748 s]
[INFO] Application Schema Indexes Integration Test ........ SUCCESS [ 1.346 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:28 min
[INFO] Finished at: 2019-03-21T20:49:17+00:00
[INFO] Final Memory: 103M/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-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