As it has been seen on Ubuntu, I'm going with unintended parallel tests. The fix is to call TC_TDB from surefire (like other modules).

Some modules may be set to find TS_* .. and again then each test suite is sequential.

It's intermittent on OSX as well from what ajs6f reports.

    Andy

On 25/10/17 21:09, aj...@apache.org wrote:
That sounds good to me.


ajs6f

Bruno P. Kinoshita wrote on 10/25/17 10:04 PM:
Hi Andy,
I'm suspecting on either a file not being really deleted by the JVM (i.e. IOX or Commons IO might be failing to do that), or a hidden bug somewhere else, not really in the compaction step. And +1 on not blocking the release. Perhaps we could simply mark that test with a @Ignore + a comment about a known issue, and proceed with the release.
CheersBruno

      From: Andy Seaborne <a...@apache.org>
 To: dev@jena.apache.org
 Sent: Thursday, 26 October 2017 5:50 AM
 Subject: Re: [] Release Apache Jena 3.5.0

Bruno,

Thank you for running these tests.

== What to do about the 5.3.0 release

TDB2 is marked as experimental and I don't know how else to break the
deadlock of not getting used for real except by a release.  I've
hammered as much as I can.

The absence of Data-0001 suggests it is a test setup/teardown problem,
not a compaction problem. Compaction is currently quite difficult to
access (it isn't available live from Fuseki).

Options:

* Pull 5.3.0 and fix it. Unbounded wait.
* Remove TDB2 etc from 5.3.0.
* (if possible), identity the problem , then release with a note attached.

We can't have one part of Jena blocking the rest - there are still all
the incremental improvements and all the contributions to get out.

It's a compaction test and compaction does not remove data.  The
previous version of the database is accessed read-only (with writers
locked out, but it is a read transaction).

However I'm biased.

    Andy

On 25/10/17 12:19, Bruno P. Kinoshita wrote:
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




Reply via email to