MPTCP Linux Development
 help / color / mirror / Atom feed
From: Andrea Claudi <aclaudi@redhat.com>
To: Matthieu Baerts <matthieu.baerts@tessares.net>
Cc: mptcp@lists.linux.dev, Mat Martineau <martineau@kernel.org>
Subject: Re: [PATCH mptcp-next v2 2/2] selftests: mptcp: join: fix 'implicit EP' test
Date: Thu, 27 Jul 2023 19:19:12 +0200	[thread overview]
Message-ID: <ZMKnEBHS/h11+v2G@renaissance-vector> (raw)
In-Reply-To: <2f4e7845-1817-e34f-80cb-fef9c57a7b72@tessares.net>

On Thu, Jul 27, 2023 at 06:52:50PM +0200, Matthieu Baerts wrote:
> Hi Andrea,
> 
> On 27/07/2023 13:08, Andrea Claudi wrote:
> > mptcp_join 'implicit EP' test currently fails when using ip mptcp:
> > 
> > $ ./mptcp_join.sh -iI
> > <snip>
> > 001 implicit EP    creation[fail] expected '10.0.2.2 10.0.2.2 id 1 implicit' found '10.0.2.2 id 1 rawflags 10 '
> > Error: too many addresses or duplicate one: -22.
> >                    ID change is prevented[fail] expected '10.0.2.2 10.0.2.2 id 1 implicit' found '10.0.2.2 id 1 rawflags 10 '
> >                    modif is allowed[fail] expected '10.0.2.2 10.0.2.2 id 1 signal' found '10.0.2.2 id 1 signal '
> > 
> > This happens because of two reasons:
> > - iproute v6.3.0 does not support the implicit flag, fixed with
> >   iproute2-next commit 3a2535a41854 ("mptcp: add support for implicit
> >   flag")
> > - pm_nl_check_endpoint wrongly expects the ip address to be repeated two
> >   times in iproute output, and does not account for a final whitespace
> >   in it.
> > 
> > This fixes the issue trimming the whitespace in the output string and
> > removing the double address in the expected string.
> > 
> > Fixes: 34aa6e3bccd8 ("selftests: mptcp: add ip mptcp wrappers")
> 
> I guess it is not the right one to use, you might want to keep the one
> you had in v1:
> 
> Fixes: 69c6ce7b6eca ("selftests: mptcp: add implicit endpoint test case")
> 
> No?

Yes, the one in v1 is the correct one. I somehow mixed it up amending
the patch, sorry for that.

> 
> Cheers,
> Matt
> -- 
> Tessares | Belgium | Hybrid Access Solutions
> www.tessares.net
> 


  reply	other threads:[~2023-07-27 17:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-27 11:08 [PATCH mptcp-next v2 0/2] selftests: fix mptcp_join test Andrea Claudi
2023-07-27 11:08 ` [PATCH mptcp-next v2 1/2] selftests: mptcp: join: fix 'delete and re-add' test Andrea Claudi
2023-07-27 11:08 ` [PATCH mptcp-next v2 2/2] selftests: mptcp: join: fix 'implicit EP' test Andrea Claudi
2023-07-27 12:29   ` selftests: mptcp: join: fix 'implicit EP' test: Tests Results MPTCP CI
2023-07-27 16:52   ` [PATCH mptcp-next v2 2/2] selftests: mptcp: join: fix 'implicit EP' test Matthieu Baerts
2023-07-27 17:19     ` Andrea Claudi [this message]
2023-07-27 18:39   ` selftests: mptcp: join: fix 'implicit EP' test: Tests Results MPTCP CI
2023-07-27 16:52 ` [PATCH mptcp-next v2 0/2] selftests: fix mptcp_join test Matthieu Baerts
2023-07-27 17:20   ` Andrea Claudi
2023-07-28 10:29 ` Matthieu Baerts

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZMKnEBHS/h11+v2G@renaissance-vector \
    --to=aclaudi@redhat.com \
    --cc=martineau@kernel.org \
    --cc=matthieu.baerts@tessares.net \
    --cc=mptcp@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox