See <http://ares.opengeo.org/jenkins/job/geotools-12.x/123/>
------------------------------------------
[...truncated 8617 lines...]
at javax.naming.InitialContext.<init>(InitialContext.java:192)
at
org.geotools.jdbc.JDBCJNDITestSetup.createDataSource(JDBCJNDITestSetup.java:92)
at org.geotools.jdbc.JDBCTestSetup.getDataSource(JDBCTestSetup.java:85)
at org.geotools.jdbc.JDBCTestSupport.isOnline(JDBCTestSupport.java:99)
at
org.geotools.test.OnlineTestCase.checkAvailable(OnlineTestCase.java:144)
at org.geotools.test.OnlineTestCase.run(OnlineTestCase.java:122)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Skipping mysql tests, resources not available: java.lang.NullPointerException
java.lang.RuntimeException: java.lang.NullPointerException
at org.geotools.jdbc.JDBCTestSupport.isOnline(JDBCTestSupport.java:105)
at
org.geotools.test.OnlineTestCase.checkAvailable(OnlineTestCase.java:144)
at org.geotools.test.OnlineTestCase.run(OnlineTestCase.java:122)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: java.lang.NullPointerException
at org.geotools.jdbc.JDBCTestSupport.isOnline(JDBCTestSupport.java:100)
... 11 more
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec - in
org.geotools.data.mysql.MySQLJNDIDataSourceTest
Running org.geotools.data.mysql.MySQLJoinTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in
org.geotools.data.mysql.MySQLJoinTest
Running org.geotools.data.mysql.MySQLNoPrimaryKeyTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in
org.geotools.data.mysql.MySQLNoPrimaryKeyTest
Running org.geotools.data.mysql.MySQLPrimaryKeyFinderTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in
org.geotools.data.mysql.MySQLPrimaryKeyFinderTest
Running org.geotools.data.mysql.MySQLPrimaryKeyTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in
org.geotools.data.mysql.MySQLPrimaryKeyTest
Running org.geotools.data.mysql.MySQLSpatialFiltersTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in
org.geotools.data.mysql.MySQLSpatialFiltersTest
Running org.geotools.data.mysql.MySQLTemporalFilterTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec - in
org.geotools.data.mysql.MySQLTemporalFilterTest
Running org.geotools.data.mysql.MySQLTransactionTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in
org.geotools.data.mysql.MySQLTransactionTest
Running org.geotools.data.mysql.jndi.MySQLDataStoreTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in
org.geotools.data.mysql.jndi.MySQLDataStoreTest
Results :
Failed tests:
MySQLFeatureCollectionTest>OnlineTestCase.run:123->JDBCFeatureCollectionTest.testIterator:60->JDBCTestSupport.assertFeatureIterator:300
expected:<0> but was:<1>
Tests in error:
MySQLDataStoreTest>OnlineTestCase.run:123->JDBCDataStoreTest.testSimpleIndex:214
» IO
MySQLDataStoreTest>OnlineTestCase.run:123->JDBCDataStoreTest.testMultiColumnIndex:255
» IO
Tests run: 145, Failures: 1, Errors: 2, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping SQL Server DataStore
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping SpatiaLite DataStore
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Teradata DataStore
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Next Generation JDBC DataStores
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Grid Coverage module
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Feature-Pregeneralized
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping OGR DataStore Module
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Aggregating DataStore
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Geotools .......................................... SUCCESS [5.319s]
[INFO] Build tools for Geotools 2 ........................ SUCCESS [0.291s]
[INFO] Maven plugins for Geotools 2 ...................... SUCCESS [1.517s]
[INFO] JAR files collector ............................... SUCCESS [8.000s]
[INFO] Cross-modules javadoc ............................. SUCCESS [5.524s]
[INFO] JJTree and JavaCC compilers plugin ................ SUCCESS [4.760s]
[INFO] Geotools modules .................................. SUCCESS [0.301s]
[INFO] Geotools libraries ................................ SUCCESS [1.474s]
[INFO] Sample data module ................................ SUCCESS [12.323s]
[INFO] Open GIS Interfaces ............................... SUCCESS [19.640s]
[INFO] Metadata .......................................... SUCCESS [35.068s]
[INFO] Referencing services .............................. SUCCESS [37.792s]
[INFO] API interfaces .................................... SUCCESS [20.570s]
[INFO] Geotools plugins .................................. SUCCESS [0.269s]
[INFO] EPSG Authority Service using HSQL database ........ SUCCESS [1:00.747s]
[INFO] Main module ....................................... SUCCESS [1:12.806s]
[INFO] Geotools extensions ............................... SUCCESS [0.270s]
[INFO] Feature Based Graphs and Networks ................. SUCCESS [22.400s]
[INFO] XML Parsing ....................................... SUCCESS [0.179s]
[INFO] XML Parsing ....................................... SUCCESS [33.147s]
[INFO] XML Code Generation Support ....................... SUCCESS [5.800s]
[INFO] EPSG Authority Service using WKT file ............. SUCCESS [8.448s]
[INFO] OGC CQL to Filter parser .......................... SUCCESS [34.270s]
[INFO] DataStore Support ................................. SUCCESS [15.461s]
[INFO] Shapefile module .................................. SUCCESS [1:46.749s]
[INFO] Grid Coverage module .............................. SKIPPED
[INFO] Property File DataStore ........................... SUCCESS [18.467s]
[INFO] GeoTIFF grid coverage exchange module ............. SKIPPED
[INFO] ArcGrid datasource module ......................... SKIPPED
[INFO] GML2 XML Support .................................. SKIPPED
[INFO] GML3 XML Support .................................. SKIPPED
[INFO] Filter XML Support ................................ SKIPPED
[INFO] SLD XML Support ................................... SKIPPED
[INFO] Render ............................................ SKIPPED
[INFO] OGC Web Service Models ............................ SUCCESS [0.399s]
[INFO] Xlink Model ....................................... SUCCESS [7.069s]
[INFO] Open Web Services Model ........................... SUCCESS [21.880s]
[INFO] Filter Encoding Specification Model ............... SUCCESS [9.137s]
[INFO] Web Feature Service Model ......................... SUCCESS [21.012s]
[INFO] OWS XML Support ................................... SKIPPED
[INFO] Filter Encoding Specification XML Support ......... SKIPPED
[INFO] WFS XML Support ................................... SKIPPED
[INFO] XML Parsing Support ............................... SKIPPED
[INFO] JDBC DataStore Support ............................ SUCCESS [21.356s]
[INFO] Web Processing Service Model ...................... SUCCESS [18.194s]
[INFO] Web Coverage Service Model ........................ SUCCESS [26.969s]
[INFO] Catalog Services for the Web Model ................ SUCCESS [9.981s]
[INFO] ArcSDE plugin ..................................... SUCCESS [0.279s]
[INFO] ArcSDE dummy api .................................. SUCCESS [5.204s]
[INFO] ArcSDE support classes ............................ SUCCESS [9.593s]
[INFO] ArcSDE DataStore plugin ........................... SKIPPED
[INFO] Dynamic symbolizer module based on JFreeChart and Eastwood SKIPPED
[INFO] Extensions to EPSG authority factory .............. SUCCESS [22.224s]
[INFO] EPSG Authority Service using PostgreSQL database .. SUCCESS [3.587s]
[INFO] Feature-Pregeneralized ............................ SKIPPED
[INFO] grass raster datasource module .................... SKIPPED
[INFO] GTopo30 datasource module ......................... SKIPPED
[INFO] WorldImage datasource module ...................... SKIPPED
[INFO] JDBC DataStore Plugins ............................ SUCCESS [0.067s]
[INFO] H2 DataStore ...................................... SUCCESS [1:18.377s]
[INFO] Oracle DataStore .................................. SUCCESS [4.771s]
[INFO] PostGIS DataStore ................................. SKIPPED
[INFO] Feature transforming feature source wrapper ....... SUCCESS [12.126s]
[INFO] imagemosaic datasource module ..................... SKIPPED
[INFO] ImageI/O-Ext based grid coverage readers .......... SKIPPED
[INFO] imagepyramid datasource module .................... SKIPPED
[INFO] imagemosaic-jdbc module ........................... SKIPPED
[INFO] DB2 DataStore ..................................... SUCCESS [6.235s]
[INFO] MySQL DataStore ................................... FAILURE [1:34.652s]
[INFO] SQL Server DataStore .............................. SKIPPED
[INFO] SpatiaLite DataStore .............................. SKIPPED
[INFO] Teradata DataStore ................................ SKIPPED
[INFO] JP2K based grid coverage readers .................. SKIPPED
[INFO] OGR DataStore Module .............................. SKIPPED
[INFO] Core OGR DataStore Module ......................... SKIPPED
[INFO] Bridj OGR DataStore Module ........................ SKIPPED
[INFO] JNI OGR DataStore Module .......................... SKIPPED
[INFO] Vertical coordinate transformations ............... SUCCESS [6.530s]
[INFO] Dynamic symbolizers for SVG symbols ............... SKIPPED
[INFO] Coverage Multidimensional Module .................. SUCCESS [0.186s]
[INFO] API interfaces .................................... SKIPPED
[INFO] NetCDF gridcoverage module ........................ SKIPPED
[INFO] GRIB gridcoverage module .......................... SKIPPED
[INFO] Application Schema Support ........................ SUCCESS [0.134s]
[INFO] Application Schema Resolver ....................... SKIPPED
[INFO] Complex Features Support .......................... SKIPPED
[INFO] Application Schema DataAccess ..................... SKIPPED
[INFO] Sample DataAccess ................................. SKIPPED
[INFO] Brewer module ..................................... SUCCESS [16.624s]
[INFO] Vector grids ...................................... SUCCESS [17.459s]
[INFO] Validation Processor and Framework ................ SKIPPED
[INFO] Web Map Server client ............................. SKIPPED
[INFO] KML XML Support ................................... SUCCESS [17.236s]
[INFO] WCS XML Support ................................... SKIPPED
[INFO] WPS XML Support ................................... SKIPPED
[INFO] WFS XML Support ................................... SUCCESS [1.931s]
[INFO] CSW XML Support ................................... SKIPPED
[INFO] Geotools unsupported .............................. SUCCESS [0.562s]
[INFO] Process ........................................... SKIPPED
[INFO] Swing widgets ..................................... SKIPPED
[INFO] SWT widgets ....................................... SKIPPED
[INFO] WFS client module ................................. SKIPPED
[INFO] GeoJSON Support ................................... SUCCESS [21.695s]
[INFO] GeoPackage Module ................................. SKIPPED
[INFO] MBTiles Module .................................... SKIPPED
[INFO] WFS client module (NG) ............................ SKIPPED
[INFO] Coverage tools .................................... SKIPPED
[INFO] ISO 19107 implementation using JTS ................ SUCCESS [7.271s]
[INFO] Geometries ........................................ SUCCESS [39.488s]
[INFO] Web Processing Service ............................ SKIPPED
[INFO] Process Geometry .................................. SKIPPED
[INFO] Process Raster .................................... SKIPPED
[INFO] Process Feature ................................... SKIPPED
[INFO] Application Schema Support (Unsupported Modules) .. SUCCESS [0.169s]
[INFO] Example ........................................... SUCCESS [6.923s]
[INFO] EPSG Authority Factory for Oracle ................. SUCCESS [1.664s]
[INFO] Next Generation JDBC DataStores ................... SKIPPED
[INFO] VPF Plugin ........................................ SUCCESS [11.253s]
[INFO] SAS Matlab grid coverage readers .................. SKIPPED
[INFO] Simple Feature Service store ...................... SUCCESS [11.423s]
[INFO] Aggregating DataStore ............................. SKIPPED
[INFO] MongoDB DataStore ................................. SUCCESS [4.389s]
[INFO] Property File DataStore Next Generation ........... SUCCESS [12.786s]
[INFO] GeoTools Documentation ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11:29.938s (Wall Clock)
[INFO] Finished at: Fri Sep 25 21:25:06 UTC 2015
[INFO] Final Memory: 395M/622M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on
project gt-jdbc-mysql: There are test failures.
[ERROR]
[ERROR] Please refer to
<http://ares.opengeo.org/jenkins/job/geotools-12.x/ws/modules/plugin/jdbc/jdbc-mysql/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 :gt-jdbc-mysql
Build step 'Invoke top-level Maven targets' marked build as failure
------------------------------------------------------------------------------
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel