Skip to content

e2e: a real round trip in the tunnel test (catch camex#180-like TCP stalls) #281

Closed

Description

@compot-dev

tests/e2e.sh now runs the tunnel over TCP (TRANSPORT=TCP) and checks the video rate through tun0 (100 KB/s or more). On the Docker network the round trip is a few ms, and at that RTT the bug fixed in camex 4.0.1 (OpenIPC/camex#180: TCP server→client at ~10 KB/s) does not show: with camex 4.0.0 the TCP run still got 874 KB/s and passed all 16 checks.

Tried: the emulator's -netdelay 60 — no effect (RTT through the tunnel stayed ~4 ms).

To do: a netem delay (30 ms each way, as camex's docker/test-e2e-throughput.sh) on the hub's and the edge's links. compot/cross has no tc: add iproute2 to it, or run tc from a small helper container in the hub's network namespace. Then check that camex 4.0.0 fails the rate check and 4.0.1 passes.

Activity

  1. added a commit that references this issue on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions