I think one of the tests is failing when I run
`mvn clean test install`, and also when I run the same `mvn clean test -e -X
-DforkMode=never` in debug mode in Eclipse.
The compact_prefixes_3 test method expects a directory like DB/Data-0001, but
there is only a DB folder. The methods to create the Data-0001 switchable
location was called, but for some reason nothing happened.
Didn't have much time to thoroughly investigate it, so will have to leave the
error here for others to take a look. Will have more time to look into it
tomorrow evening NZ time.
Running org.apache.jena.tdb2.sys.TestDatabaseOps
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.028 sec <<<
FAILURE! - in org.apache.jena.tdb2.sys.TestDatabaseOps
compact_prefixes_3(org.apache.jena.tdb2.sys.TestDatabaseOps) Time elapsed: 0.053 sec
<<< ERROR!
java.lang.NullPointerException
at
org.apache.jena.tdb2.sys.TestDatabaseOps.compact_prefixes_3(TestDatabaseOps.java:142)
Running org.apache.jena.tdb2.sys.TestSys
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in
org.apache.jena.tdb2.sys.TestSys
Running org.apache.jena.tdb2.sys.TestDatabaseConnection
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 sec - in
org.apache.jena.tdb2.sys.TestDatabaseConnection
Running org.apache.jena.tdb2.assembler.TestTDBAssembler
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.449 sec - in
org.apache.jena.tdb2.assembler.TestTDBAssembler
Running org.apache.jena.tdb2.TestDatabaseMgr
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088 sec - in
org.apache.jena.tdb2.TestDatabaseMgr
Running org.apache.jena.tdb2.solver.TestSolverTDB
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 sec - in
org.apache.jena.tdb2.solver.TestSolverTDB
Running org.apache.jena.tdb2.solver.TestStats
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec - in
org.apache.jena.tdb2.solver.TestStats
Results :
Tests in error:
TestDatabaseOps.compact_prefixes_3:142 ยป NullPointer
Tests run: 537, Failures: 0, Errors: 1, Skipped: 7
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Jena - Project .............................. SUCCESS [ 1.902 s]
[INFO] Apache Jena - Shadowed external libraries .......... SUCCESS [ 16.081 s]
[INFO] Apache Jena - IRI .................................. SUCCESS [ 5.970 s]
[INFO] Apache Jena - Base Common Environment .............. SUCCESS [ 16.289 s]
[INFO] Apache Jena - Core ................................. SUCCESS [01:28 min]
[INFO] Apache Jena - ARQ (SPARQL 1.1 Query Engine) ........ SUCCESS [01:30 min]
[INFO] Apache Jena - RDF Connection ....................... SUCCESS [ 8.349 s]
[INFO] Apache Jena - TDB (Native Triple Store) ............ SUCCESS [ 24.995 s]
[INFO] Apache Jena - Database Operation Environment ....... SUCCESS [ 0.201 s]
[INFO] Apache Jena - DBOE Base ............................ SUCCESS [ 9.072 s]
[INFO] Apache Jena - DBOE Transactions .................... SUCCESS [ 7.257 s]
[INFO] Apache Jena - DBOE Indexes ......................... SUCCESS [ 4.289 s]
[INFO] Apache Jena - DBOE Index test suite ................ SUCCESS [ 4.663 s]
[INFO] Apache Jena - DBOE Transactional Datastructures .... SUCCESS [ 11.756 s]
[INFO] Apache Jena - TDB2 ................................. FAILURE [ 13.688 s]
[INFO] Apache Jena - Libraries POM ........................ SKIPPED
[INFO] Apache Jena - Command line tools ................... SKIPPED
[INFO] Apache Jena - SPARQL Text Search ................... SKIPPED
[INFO] Apache Jena - SPARQL Text Search - Elasticsearch ... SKIPPED
[INFO] Apache Jena - SPARQL Spatial Search ................ SKIPPED
[INFO] Apache Jena - Fuseki - A SPARQL 1.1 Server ......... SKIPPED
[INFO] Apache Jena - Fuseki Server Engine ................. SKIPPED
[INFO] Apache Jena - Fuseki Embedded Server ............... SKIPPED
[INFO] Apache Jena - Fuseki WAR File ...................... SKIPPED
[INFO] Apache Jena - Fuseki Server Standalone Jar ......... SKIPPED
[INFO] Apache Jena - Fuseki Basic Server .................. SKIPPED
[INFO] Apache Jena - Fuseki Binary Distribution ........... SKIPPED
[INFO] Apache Jena - Integration Testing .................. SKIPPED
[INFO] Apache Jena - Distribution ......................... SKIPPED
[INFO] Apache Jena - Fuseki1 .............................. SKIPPED
[INFO] Apache Jena - Data Tables for RDF and SPARQL ....... SKIPPED
[INFO] Apache Jena - SDB (SQL based triple store) ......... SKIPPED
[INFO] Apache Jena - Maven Plugins, including schemagen ... SKIPPED
[INFO] Apache Jena - Security Permissions ................. SKIPPED
[INFO] Apache Jena - Extras ............................... SKIPPED
[INFO] Apache Jena - Extras - Query Builder ............... SKIPPED
[INFO] Apache Jena - JDBC Parent .......................... SKIPPED
[INFO] Apache Jena - JDBC Core API ........................ SKIPPED
[INFO] Apache Jena - JDBC Remote Endpoint Driver .......... SKIPPED
[INFO] Apache Jena - JDBC In-Memory Driver ................ SKIPPED
[INFO] Apache Jena - JDBC TDB Driver ...................... SKIPPED
[INFO] Apache Jena - JDBC Driver Bundle ................... SKIPPED
[INFO] Apache Jena - Elephas .............................. SKIPPED
[INFO] Apache Jena - Elephas - Common API ................. SKIPPED
[INFO] Apache Jena - Elephas - I/O ........................ SKIPPED
[INFO] Apache Jena - Elephas - Map/Reduce ................. SKIPPED
[INFO] Apache Jena - Elephas - Statistics Demo App ........ SKIPPED
[INFO] Apache Jena - OSGi ................................. SKIPPED
[INFO] Apache Jena - OSGi bundle .......................... SKIPPED
[INFO] Apache Jena - OSGi Karaf features .................. SKIPPED
[INFO] Apache Jena ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:20 min
[INFO] Finished at: 2017-10-25T22:46:37+13:00
[INFO] Final Memory: 91M/1478M
[INFO] ------------------------------------------------------------------------
Bruno