Skip to content

Weird JDK8 and/or Travis-CI issue #141

@anjackson

Description

@anjackson

Following #139, I tried to enable a JDK8 build on our Travis CI build service. This failed strangely during the test phase:

Running org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndexTest
Jul 07, 2014 12:57:13 PM org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndex reloadMapFile
INFO: Reloaded assignments from /tmp/range-map8508402699614792229tmp
Jul 07, 2014 12:57:13 PM org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndex getRangeGroupForRequest
INFO: Using group(b) for url (bam.com/)
Jul 07, 2014 12:57:13 PM org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndex getRangeGroupForRequest
INFO: Using group(c) for url (banana.com/)
Jul 07, 2014 12:57:13 PM org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndex getRangeGroupForRequest
INFO: Using group(c) for url (banana.net/)
Jul 07, 2014 12:57:13 PM org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndex getRangeGroupForRequest
INFO: Using group(b) for url (banana.au/)
Jul 07, 2014 12:57:13 PM org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndex getRangeGroupForRequest
INFO: Using group(a) for url (ape.com/)
Jul 07, 2014 12:57:13 PM org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndex getRangeGroupForRequest
INFO: Using group(b) for url (apple.com/)
Jul 07, 2014 12:57:13 PM org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndex getRangeGroupForRequest
INFO: Using group(a) for url (aardvark.com/)
Jul 07, 2014 12:57:13 PM org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndex getRangeGroupForRequest
INFO: Using group(d) for url (dantheman.com/)
Jul 07, 2014 12:57:13 PM org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndex getRangeGroupForRequest
INFO: Using group(c) for url (cool.com/)
Jul 07, 2014 12:57:13 PM org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndex getRangeGroupForRequest
INFO: Using group(d) for url (cups.com/)
Jul 07, 2014 12:57:13 PM org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndex getRangeGroupForRequest
INFO: Using group(d) for url (zoo.com/)
Jul 07, 2014 12:57:13 PM org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndex getRangeGroupForRequest
INFO: Using group(a) for url (207.241.2.2/)
Jul 07, 2014 12:57:13 PM org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndex getRangeGroupForRequest
INFO: Using group(d) for url (zztop.com/)
Jul 07, 2014 12:57:14 PM org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndex reloadMapFile
INFO: Reloaded assignments from /tmp/range-map8539621656330329541tmp
Jul 07, 2014 12:57:14 PM org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndex getRangeGroupForRequest
INFO: Using group(b) for url (apple.com/)
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec <<< FAILURE!
testGroupBalance(org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndexTest)  Time elapsed: 0.01 sec  <<< FAILURE!
junit.framework.ComparisonFailure: expected:<...2> but was:<...1>
    at junit.framework.Assert.assertEquals(Assert.java:81)
    at junit.framework.Assert.assertEquals(Assert.java:87)
    at org.archive.wayback.resourceindex.distributed.AlphaPartitionedIndexTest.testGroupBalance(AlphaPartitionedIndexTest.java:91)

Can anyone confirm this issue while running tests under Oracle JDK 8? Or is it something to do with Travis?

/cc @isido

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions