[PATCH mptcp-next 0/2] selftests: mptcp: join: code dup + new 'bind' tests

Matthieu Baerts (NGI0) posted 2 patches 4 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/multipath-tcp/mptcp_net-next tags/patchew/20251009-bind-extra-listen-v1-0-5ad2077d77a9@kernel.org
tools/testing/selftests/net/mptcp/mptcp_connect.c |  10 +-
tools/testing/selftests/net/mptcp/mptcp_join.sh   | 166 ++++++++++++++++++++--
2 files changed, 166 insertions(+), 10 deletions(-)
[PATCH mptcp-next 0/2] selftests: mptcp: join: code dup + new 'bind' tests
Posted by Matthieu Baerts (NGI0) 4 months ago
A clean-up patch, followed by a few new quick tests validating cases
where the listener 'bind()' to a specific IP address.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Matthieu Baerts (NGI0) (2):
      selftests: mptcp: join: do_transfer: reduce code dup
      selftests: mptcp: join: validate extra bind cases

 tools/testing/selftests/net/mptcp/mptcp_connect.c |  10 +-
 tools/testing/selftests/net/mptcp/mptcp_join.sh   | 166 ++++++++++++++++++++--
 2 files changed, 166 insertions(+), 10 deletions(-)
---
base-commit: 3afc295b5e6e698696cf1fd75db194db2c7f64cd
change-id: 20251008-bind-extra-listen-7335e35454d2

Best regards,
-- 
Matthieu Baerts (NGI0) <matttbe@kernel.org>
Re: [PATCH mptcp-next 0/2] selftests: mptcp: join: code dup + new 'bind' tests
Posted by Matthieu Baerts 3 months, 3 weeks ago
Hi Geliang,

On 09/10/2025 19:33, Matthieu Baerts (NGI0) wrote:
> A clean-up patch, followed by a few new quick tests validating cases
> where the listener 'bind()' to a specific IP address.

Thank you for the review!

Now in our tree (feat. for net-next):

New patches for t/upstream:
- f421ad2aa981: selftests: mptcp: join: do_transfer: reduce code dup
- 4fd0cfa3ab1a: selftests: mptcp: join: validate extra bind cases
- Results: fe9c3cb19630..f6f85b548772 (export)

Tests are now in progress:

- export:
https://github.com/multipath-tcp/mptcp_net-next/commit/56d043498eb548955160044d50b127c4a2572c13/checks

Cheers,
Matt
-- 
Sponsored by the NGI0 Core fund.
Re: [PATCH mptcp-next 0/2] selftests: mptcp: join: code dup + new 'bind' tests
Posted by MPTCP CI 4 months ago
Hi Matthieu,

Thank you for your modifications, that's great!

Our CI did some validations and here is its report:

- KVM Validation: normal (except selftest_mptcp_join): Unstable: 1 failed test(s): selftest_simult_flows 🔴
- KVM Validation: normal (only selftest_mptcp_join): Success! ✅
- KVM Validation: debug (except selftest_mptcp_join): Success! ✅
- KVM Validation: debug (only selftest_mptcp_join): Success! ✅
- KVM Validation: btf-normal (only bpftest_all): Success! ✅
- KVM Validation: btf-debug (only bpftest_all): Success! ✅
- Task: https://github.com/multipath-tcp/mptcp_net-next/actions/runs/18384474239

Initiator: Patchew Applier
Commits: https://github.com/multipath-tcp/mptcp_net-next/commits/cb24879849d8
Patchwork: https://patchwork.kernel.org/project/mptcp/list/?series=1009827


If there are some issues, you can reproduce them using the same environment as
the one used by the CI thanks to a docker image, e.g.:

    $ cd [kernel source code]
    $ docker run -v "${PWD}:${PWD}:rw" -w "${PWD}" --privileged --rm -it \
        --pull always mptcp/mptcp-upstream-virtme-docker:latest \
        auto-normal

For more details:

    https://github.com/multipath-tcp/mptcp-upstream-virtme-docker


Please note that despite all the efforts that have been already done to have a
stable tests suite when executed on a public CI like here, it is possible some
reported issues are not due to your modifications. Still, do not hesitate to
help us improve that ;-)

Cheers,
MPTCP GH Action bot
Bot operated by Matthieu Baerts (NGI0 Core)