tomp2p / TomP2P

A P2P-based high performance key-value pair storage library
http://tomp2p.net
Apache License 2.0
440 stars 122 forks source link

Test Failures building in Debain VM #136

Open markalanrichards opened 8 years ago

markalanrichards commented 8 years ago

I'm afraid the test failures in this project put me off TomP2P, worrying me about support for multi-platforms and/or the project supervision.

I hope the test failures experienced below help to improve the quality.

In a Debian 8/Jessie Vm. Using openjdk-8 (from Jessie Backports) First virtual network device is nat (eth0) Second is host-only network (eth1)

I tried mvn clean test and I experienced failures below

Failing tests in nat submodule

I had more, but noticed that if I set the following then they passed... could this be automated (ie: capture an ethernet device on the system and automatically use it) TestNATTypeDetection.INF="eth0" TestNATHolePunching.INF="eth0"

Failed tests: 
  TestNATHolePunching.testHolePunching:139 expected:<[PORT_PRESERVING]> but was:<[TODO]>
Tests in error: 
net.tomp2p.relay.TestRcon.testReverseConnection(net.tomp2p.relay.TestRcon)
  Run 1: TestRcon.setupRelay:38 » IO Not listening to anything. Maybe the binding infor...
  Run 2: TestRcon.shutdown:165 NullPointer

net.tomp2p.relay.TestSlow.testSlow(net.tomp2p.relay.TestSlow)
  Run 1: TestSlow.setupRelay:34 » IO Not listening to anything. Maybe the binding infor...
  Run 2: TestSlow.shutdown:106 NullPointer

Test failures in replication submodule

Failed tests: 
  TestReplication.testDataloss:100 expected:<1> but was:<0>

Test failures in tracker submodule

Failed tests: 
  TestTrackerRPC.testTrackerBloomFilter:229 null
  TestTrackerRPC.testTrackerPut:66 null
  TestTrackerRPC.testTrackerPutAttachment:158 expected:<true> but was:<false>
  TestTrackerRPC.testTrackerPutNoBloomFilter:107 expected:<true> but was:<false>