All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH mptcp-next 0/7] selftests: mptcp: improve results in slow CI envs
@ 2024-01-18 18:27 Matthieu Baerts (NGI0)
  2024-01-18 18:27 ` [PATCH mptcp-next 1/7] selftests: mptcp: add missing kconfig for NF Filter Matthieu Baerts (NGI0)
                   ` (7 more replies)
  0 siblings, 8 replies; 19+ messages in thread
From: Matthieu Baerts (NGI0) @ 2024-01-18 18:27 UTC (permalink / raw)
  To: mptcp; +Cc: Matthieu Baerts (NGI0), Paolo Abeni

The initial goal of this series is to improve the results when slow test
environments, e.g. when using QEmu without KVM.

I looked at the results from LKFT [1] and noticed that some mptcp_join
subtests were skipped because it was not possible to add IPTables rules.
It looks like some KConfig were missing. The 3 first patches should fix
that.

I also noticed that mptcp_join selftest stopped after a timeout of 20
minutes. We keep adding tests there, it is normal to increase this
timeout at some points, especially because we forced many subtests to
have a longer connections, to have enough time for some actions to
happen. Patch 4 fixes that.

Patch 5 decreases the BW in simult flows, hopefully reducing the load on
the CPU, and improving the stability.

Patch 6 is needed because our CI run MPTCP Connect twice: the second
time with '-m mmap'. When parsing the results, the tests from the two
runs have the same title, hence the same "fingerprint". Instead of
having a post-processing step modifying the results for this specific
case, it is now possible to set a prefix.

When looking at the results of mptcp_join, I also realised that the
'userspace' tests were blocking after having displayed the results.
That's because they wait for the end of the transfer, while they don't
need to: tests are the end are ignored because this is done in the
background (but that's fine, other tests check that). Patch 7 improves
the situation there.

Link: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240108/testrun/21966973/suite/kselftest-net-mptcp/tests/ [1]
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Matthieu Baerts (NGI0) (7):
      selftests: mptcp: add missing kconfig for NF Filter
      selftests: mptcp: add missing kconfig for NF Filter in v6
      selftests: mptcp: add missing kconfig for NF Mangle
      selftests: mptcp: increase timeout to 30 min
      selftests: mptcp: decrease BW in simult flows
      selftests: mptcp: allow changing subtests prefix
      selftests: mptcp: join: stop transfer when check is done

 tools/testing/selftests/net/mptcp/config          |  3 +++
 tools/testing/selftests/net/mptcp/mptcp_join.sh   | 27 +++++++++--------------
 tools/testing/selftests/net/mptcp/mptcp_lib.sh    |  2 +-
 tools/testing/selftests/net/mptcp/settings        |  2 +-
 tools/testing/selftests/net/mptcp/simult_flows.sh |  8 +++----
 5 files changed, 20 insertions(+), 22 deletions(-)
---
base-commit: 387cadd951df0629cc1098546acb3da13e8f6ebf
change-id: 20240110-selftests-mptcp-simult-slack-qemu-no-kvm-da67d9055c04

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


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

end of thread, other threads:[~2024-01-30 12:14 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-18 18:27 [PATCH mptcp-next 0/7] selftests: mptcp: improve results in slow CI envs Matthieu Baerts (NGI0)
2024-01-18 18:27 ` [PATCH mptcp-next 1/7] selftests: mptcp: add missing kconfig for NF Filter Matthieu Baerts (NGI0)
2024-01-18 18:27 ` [PATCH mptcp-next 2/7] selftests: mptcp: add missing kconfig for NF Filter in v6 Matthieu Baerts (NGI0)
2024-01-22  1:47   ` Geliang Tang
2024-01-30  9:59     ` Matthieu Baerts
2024-01-18 18:27 ` [PATCH mptcp-next 3/7] selftests: mptcp: add missing kconfig for NF Mangle Matthieu Baerts (NGI0)
2024-01-18 18:27 ` [PATCH mptcp-next 4/7] selftests: mptcp: increase timeout to 30 min Matthieu Baerts (NGI0)
2024-01-23 20:53   ` Paolo Abeni
2024-01-18 18:27 ` [PATCH mptcp-next 5/7] selftests: mptcp: decrease BW in simult flows Matthieu Baerts (NGI0)
2024-01-18 18:27 ` [PATCH mptcp-next 6/7] selftests: mptcp: allow changing subtests prefix Matthieu Baerts (NGI0)
2024-01-18 18:27 ` [PATCH mptcp-next 7/7] selftests: mptcp: join: stop transfer when check is done Matthieu Baerts (NGI0)
2024-01-18 19:36   ` selftests: mptcp: join: stop transfer when check is done: Tests Results MPTCP CI
2024-01-18 19:53   ` MPTCP CI
2024-01-22  1:02   ` [PATCH mptcp-next 7/7] selftests: mptcp: join: stop transfer when check is done Geliang Tang
2024-01-22  3:00   ` selftests: mptcp: join: stop transfer when check is done: Tests Results MPTCP CI
2024-01-22  3:54   ` MPTCP CI
2024-01-23 22:05   ` MPTCP CI
2024-01-23 23:23   ` MPTCP CI
2024-01-30 12:14 ` [PATCH mptcp-next 0/7] selftests: mptcp: improve results in slow CI envs Matthieu Baerts

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.