netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] selftests: mptcp: add time per subtests in TAP output
@ 2024-09-02 11:13 Matthieu Baerts (NGI0)
  2024-09-02 11:13 ` [PATCH net-next 1/3] selftests: mptcp: lib: " Matthieu Baerts (NGI0)
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Matthieu Baerts (NGI0) @ 2024-09-02 11:13 UTC (permalink / raw)
  To: mptcp, Mat Martineau, Geliang Tang, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Shuah Khan
  Cc: netdev, linux-kselftest, linux-kernel, Matthieu Baerts (NGI0)

Patches here add 'time=<N>ms' in the diagnostic data of the TAP output,
e.g.

  ok 1 - pm_netlink: defaults addr list # time=9ms

This addition is useful to quickly identify which subtests are taking a
longer time than the others, or more than expected.

Note that there are no specific formats to follow to show this time
according to the TAP 13, TAP 14 and KTAP specifications, but we follow
the format being parsed by NIPA [1].

Patch 1 modifies mptcp_lib.sh to add this support to all MPTCP
selftests.

Patch 2 removes the now duplicated info in mptcp_connect.sh

Patch 3 slightly improves the precision of the first subtests in all
MPTCP subtests.

Link: https://github.com/linux-netdev/nipa/pull/36
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Matthieu Baerts (NGI0) (3):
      selftests: mptcp: lib: add time per subtests in TAP output
      sefltests: mptcp: connect: remote time in TAP output
      selftests: mptcp: reset the last TS before the first test

 tools/testing/selftests/net/mptcp/mptcp_connect.sh |  3 ++-
 tools/testing/selftests/net/mptcp/mptcp_join.sh    |  3 ++-
 tools/testing/selftests/net/mptcp/mptcp_lib.sh     | 17 ++++++++++++++++-
 tools/testing/selftests/net/mptcp/mptcp_sockopt.sh |  1 +
 tools/testing/selftests/net/mptcp/pm_netlink.sh    |  2 ++
 tools/testing/selftests/net/mptcp/simult_flows.sh  |  1 +
 tools/testing/selftests/net/mptcp/userspace_pm.sh  |  1 +
 7 files changed, 25 insertions(+), 3 deletions(-)
---
base-commit: 221f9cce949ac8042f65b71ed1fde13b99073256
change-id: 20240902-net-next-mptcp-ksft-subtest-time-a83cec43d894

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


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

end of thread, other threads:[~2024-09-04 20:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-02 11:13 [PATCH net-next 0/3] selftests: mptcp: add time per subtests in TAP output Matthieu Baerts (NGI0)
2024-09-02 11:13 ` [PATCH net-next 1/3] selftests: mptcp: lib: " Matthieu Baerts (NGI0)
2024-09-02 11:13 ` [PATCH net-next 2/3] sefltests: mptcp: connect: remote time " Matthieu Baerts (NGI0)
2024-09-04  0:13   ` Jakub Kicinski
2024-09-02 11:13 ` [PATCH net-next 3/3] selftests: mptcp: reset the last TS before the first test Matthieu Baerts (NGI0)
2024-09-03 23:22 ` [PATCH net-next 0/3] selftests: mptcp: add time per subtests in TAP output Jakub Kicinski
2024-09-03 23:30   ` Jakub Kicinski
2024-09-04 16:15   ` Matthieu Baerts
2024-09-04 19:40     ` Jakub Kicinski
2024-09-04 20:41       ` Matthieu Baerts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).