Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Test Failures building in Debain VM #136

@markalanrichards

Description

@markalanrichards

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions