You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by Andy Seaborne <an...@apache.org> on 2018/02/07 22:30:23 UTC

jena-elephas and surefire.

jena-elephas-io does not pass its test suite with maven-surefire-plugin 
v2.20 or v2.20.1. The latest version of the plugin is 2.20.1. we have 
been using 2.19.1 until now.

jena-elephas-io uses <parallel>classes</parallel>

This is not specific to Java9 - this is using using java8 to build with 
updated plugins [1] - however, v2.20.1+ is required for Java9 [2]

The first error is:

[INFO] Running 
org.apache.jena.hadoop.rdf.io.output.trig.TriGBlankNodeOutputTests
[ERROR] Tests run: 16, Failures: 12, Errors: 0, Skipped: 0, Time 
elapsed: 1.896 s <<< FAILURE! - in 
org.apache.jena.hadoop.rdf.io.output.trig.TriGBlankNodeOutputTests
[ERROR] 
output_02[2](org.apache.jena.hadoop.rdf.io.output.trig.TriGBlankNodeOutputTests) 
  Time elapsed: 0.054 s  <<< FAILURE!
java.lang.AssertionError: expected:<1> but was:<0>
	at 
org.apache.jena.hadoop.rdf.io.output.trig.TriGBlankNodeOutputTests.checkTuples(TriGBlankNodeOutputTests.java:115)

and then several the same for a total of 12 for TriGBlankNodeOutputTests.

Temporarily, we can specifically set the plugin in 2.19.1 but this is 
masking the problem, not removing it.

     Andy

[1] PR#350

[2] https://cwiki.apache.org/confluence/display/MAVEN/Java+9+-+Jigsaw