All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH mptcp-net 0/3] selftests: mptcp: avoid spurious errors on TCP disconnect
@ 2025-08-19 18:05 Matthieu Baerts (NGI0)
  2025-08-19 18:05 ` [PATCH mptcp-net 1/3] selftests: mptcp: connect: catch IO errors on listen side Matthieu Baerts (NGI0)
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Matthieu Baerts (NGI0) @ 2025-08-19 18:05 UTC (permalink / raw)
  To: mptcp

This should fix the recent instabilities seen by MPTCP and NIPA CIs
where the 'mptcp_connect.sh' tests fail regularly when running the
'disconnect' subtests with "plain" TCP sockets, e.g.

  # INFO: disconnect
  # 63 ns1 MPTCP -> ns1 (10.0.1.1:20001      ) MPTCP     (duration   996ms) [ OK ]
  # 64 ns1 MPTCP -> ns1 (10.0.1.1:20002      ) TCP       (duration   851ms) [ OK ]
  # 65 ns1 TCP   -> ns1 (10.0.1.1:20003      ) MPTCP     Unexpected revents: POLLERR/POLLNVAL(19)
  # (duration   896ms) [FAIL] file received by server does not match (in, out):
  # -rw-r--r-- 1 root root 11112852 Aug 19 09:16 /tmp/tmp.hlJe5DoMoq.disconnect
  # Trailing bytes are:
  # /{ga 6@=#.8:-rw------- 1 root root 10085368 Aug 19 09:16 /tmp/tmp.blClunilxx
  # Trailing bytes are:
  # /{ga 6@=#.8:66 ns1 MPTCP -> ns1 (dead:beef:1::1:20004) MPTCP     (duration   987ms) [ OK ]
  # 67 ns1 MPTCP -> ns1 (dead:beef:1::1:20005) TCP       (duration   911ms) [ OK ]
  # 68 ns1 TCP   -> ns1 (dead:beef:1::1:20006) MPTCP     (duration   980ms) [ OK ]
  # [FAIL] Tests of the full disconnection have failed

Patch 2 fixes this issue, while Patch 1 and 3 improves the errors
reported by the selftest.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Matthieu Baerts (NGI0) (3):
      selftests: mptcp: connect: catch IO errors on listen side
      selftests: mptcp: avoid spurious errors on TCP disconnect
      selftests: mptcp: print trailing bytes with hexdump

 tools/testing/selftests/net/mptcp/mptcp_connect.c | 10 +++++++---
 tools/testing/selftests/net/mptcp/mptcp_lib.sh    | 12 +++++++++++-
 2 files changed, 18 insertions(+), 4 deletions(-)
---
base-commit: 27427f653031e9aca497b147b2d8eb86bf12fb9e
change-id: 20250806-sft-mptcp-disc-err-3357b769bcdb

Best regards,
-- 
Matthieu Baerts (NGI0) <matttbe@kernel.org>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-08-22  1:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-19 18:05 [PATCH mptcp-net 0/3] selftests: mptcp: avoid spurious errors on TCP disconnect Matthieu Baerts (NGI0)
2025-08-19 18:05 ` [PATCH mptcp-net 1/3] selftests: mptcp: connect: catch IO errors on listen side Matthieu Baerts (NGI0)
2025-08-19 18:05 ` [PATCH mptcp-net 2/3] selftests: mptcp: avoid spurious errors on TCP disconnect Matthieu Baerts (NGI0)
2025-08-20  7:51   ` Paolo Abeni
2025-08-19 18:05 ` [PATCH mptcp-net 3/3] selftests: mptcp: print trailing bytes with hexdump Matthieu Baerts (NGI0)
2025-08-22  1:04   ` Mat Martineau
2025-08-19 20:00 ` [PATCH mptcp-net 0/3] selftests: mptcp: avoid spurious errors on TCP disconnect MPTCP CI
2025-08-22  1:06 ` Mat Martineau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.