Skip to content

selftests: mptcp: get stats just before timing out

Matthieu Baerts (NGI0) mptcp 1 version In review

Get series with b4
b4 am [email protected] change-id 20251106-slft-timeout-stats-d061de7fcebe

Versions newest first

  1. v1 Latest4 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4selftests: mptcp: join: properly kill background taskstools/testing/selftests/net/mptcp/mptcp_join.sh tools/testing/selftests/net/mptcp/mptcp_lib.sh+30 -95 replies
2/4selftests: mptcp: connect: avoid double packet tracestools/testing/selftests/net/mptcp/mptcp_connect.sh+7 -30 replies
3/4selftests: mptcp: wait for port instead of sleeptools/testing/selftests/net/mptcp/mptcp_sockopt.sh tools/testing/selftests/net/mptcp/userspace_pm.sh+3 -20 replies
4/4selftests: mptcp: get stats just before timing outtools/testing/selftests/net/mptcp/mptcp_connect.sh tools/testing/selftests/net/mptcp/mptcp_join.sh tools/testing/selftests/net/mptcp/mptcp_lib.sh +2 more+66 -424 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGeliang Tang
SeriesR-b
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH mptcp-next 0/4] selftests: mptcp: get stats just before timing out

A few patches to improve the selftests in case of issues:

- Patch 1: a fix to properly kill background tasks.

- Patch 2: avoid taking the same packet trace twice.

- Patch 3: wait for an event instead of a fix time.

- Patch 4: instead of using 'timeout' and print the stats after, another internal timeout is used: if it fires, it will print stats, then stop everything. This avoids confusions around stats in case of timeout.

---
Matthieu Baerts (NGI0) (4):
selftests: mptcp: join: properly kill background tasks
selftests: mptcp: connect: avoid double packet traces
selftests: mptcp: wait for port instead of sleep
selftests: mptcp: get stats just before timing out

 tools/testing/selftests/net/mptcp/mptcp_connect.sh | 31 ++++++++------
 tools/testing/selftests/net/mptcp/mptcp_join.sh    | 47 +++++++++++-----------
 tools/testing/selftests/net/mptcp/mptcp_lib.sh     | 34 ++++++++++++++++
 tools/testing/selftests/net/mptcp/mptcp_sockopt.sh | 23 ++++++-----
 tools/testing/selftests/net/mptcp/simult_flows.sh  | 24 ++++++-----
 tools/testing/selftests/net/mptcp/userspace_pm.sh  |  3 +-
 6 files changed, 106 insertions(+), 56 deletions(-)

---
base-commit: e3f3a4ba83a02423a3cb045f7485340b713fb549
change-id: 20251106-slft-timeout-stats-d061de7fcebe

Best regards,

Signature · 1 line
Matthieu Baerts (NGI0) <[email protected]>