Skip to content

eduP2P clients repeatedly lose direct connection #149

@henkberendsen

Description

@henkberendsen

Description

Certain system test cases, mostly in the extended version of the test suite, sometimes fail due to a timeout. From inspecting the logs, it seems that the peers are able to establish a direct connection. However, the connection is repeatedly interrupted, as indicated by the error message "LOST direct peer connection". This causes the peers to try to re-establish the connection and not have enough time to finish the test.

How to reproduce

The following test case command can cause the bug:

run_system_test TS_PASS_DIRECT private1_peer1:router1/router2:private2_peer1 0-0/1-0 wg0/

To run this test, first store the above line in a file called e.g. "bug.txt" located inside the test_suite directory. Then, execute the command ./system_tests.sh -f bug.txt. Since the bug does not always cause the test to fail, you may want to repeat the above line multiple times in bug.txt, so that the test is run more than once per invocation of system_tests.sh.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions