linikujp / owltools

Automatically exported from code.google.com/p/owltools
0 stars 0 forks source link

Java 8 Maven build and test failure #95

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
To keep track of this, and in case someone else has a similar issue, on Java 8 
the Maven build will fail with the ouput shown below. The problem seams to be 
related to the sorting of collections in the test. 

Java on Ubuntu:
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

The failure looks like this:

Results :

Failed tests:   testGeneratePathway(owltools.util.MinimalModelGeneratorTest)
  testGeneratePathwayWithInclusionSets(owltools.util.MinimalModelGeneratorTest)
  shouldGetSubPropertyReflexiveClosureOf(owltools.graph.OWLGraphWrapperEdgesExtendedTest): Incorrect sub-properties returned:  expected:<[<http://purl.obolibrary.org/obo/foo#fake_rel1>, <http://purl.obolibrary.org/obo/foo#fake_rel2>, <http://purl.obolibrary.org/obo/foo#fake_rel3>, <http://purl.obolibrary.org/obo/foo#fake_rel4>]> but was:<[<http://purl.obolibrary.org/obo/foo#fake_rel1>, <http://purl.obolibrary.org/obo/foo#fake_rel2>, <http://purl.obolibrary.org/obo/foo#fake_rel4>, <http://purl.obolibrary.org/obo/foo#fake_rel3>]>
  shouldGetSubPropertyClosureOf(owltools.graph.OWLGraphWrapperEdgesExtendedTest): Incorrect sub-properties returned:  expected:<[<http://purl.obolibrary.org/obo/foo#fake_rel2>, <http://purl.obolibrary.org/obo/foo#fake_rel3>, <http://purl.obolibrary.org/obo/foo#fake_rel4>]> but was:<[<http://purl.obolibrary.org/obo/foo#fake_rel2>, <http://purl.obolibrary.org/obo/foo#fake_rel4>, <http://purl.obolibrary.org/obo/foo#fake_rel3>]>

Tests run: 133, Failures: 4, Errors: 0, Skipped: 3

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] OWLTools-Parent ................................... SUCCESS [22.267s]
[INFO] OWLTools-Core ..................................... FAILURE [11:25.165s]

Original issue reported on code.google.com by sha...@essaid.com on 5 May 2014 at 11:49

GoogleCodeExporter commented 9 years ago

Original comment by sha...@essaid.com on 5 May 2014 at 11:50

GoogleCodeExporter commented 9 years ago
Add code to make property traversal deterministic in r2318 for 
OWLGraphWrapperEdgesExtendedTest.

Original comment by HDie...@lbl.gov on 11 Aug 2014 at 6:07

GoogleCodeExporter commented 9 years ago
Fixed all tests failing on Java8, changes required see revisions: r2319, r2320, 
r2321, r2322

Original comment by HDie...@lbl.gov on 11 Aug 2014 at 10:30