From: Mat Martineau <mathew.j.martineau@linux.intel.com>
To: Geliang Tang <geliangtang@gmail.com>
Cc: Paolo Abeni <pabeni@redhat.com>, MPTCP Upstream <mptcp@lists.linux.dev>
Subject: Re: [PATCH mptcp-next v2] selftests: mptcp: fix MP_FAIL test-case
Date: Wed, 4 May 2022 16:02:34 -0700 (PDT) [thread overview]
Message-ID: <2e881c7a-7b79-4215-bcda-5b5dd8dc33e@linux.intel.com> (raw)
In-Reply-To: <CA+WQbwsFFBZ3Xik1VaSKzWu0K+QUG3-v6+jrq0vgasChZnyDjg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2019 bytes --]
On Wed, 4 May 2022, Geliang Tang wrote:
> Hi Paolo,
>
> Thanks for this fix.
>
> Paolo Abeni <pabeni@redhat.com> 于2022年5月4日周三 17:07写道:
>>
>> The mentioned tests sometimes fails because the data
>> transfer completes before any packet is sent on the 2nd
>> link (the failing one).
>>
>> Address the issue reducing the "virtual" b/w available
>> on the primary link.
>>
>> Fixes: bfd4cdbe7032 ("selftests: mptcp: add MP_FAIL reset testcase")
>
> As Mat suggested in v1, this patch is better to squash to "selftests:
> mptcp: add MP_FAIL reset testcase".
>
> I just tested this patch with a 500 times loop, it works very well.
> The test log is attached.
>
> The only difference is that in my test, the test files size is reduced
> to 128K, to make the test faster.
>
> Tested-by: Geliang Tang <geliang.tang@suse.com>
>
Likewise, it's running well for me even with the smaller file size.
Paolo, are you ok with having this squashed in "selftests: mptcp: add
MP_FAIL reset testcase"?
- Mat
>
>> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
>> ---
>> v1 -> v2:
>> - slow the transfer even more (Mat)
>> ---
>> tools/testing/selftests/net/mptcp/mptcp_join.sh | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/tools/testing/selftests/net/mptcp/mptcp_join.sh b/tools/testing/selftests/net/mptcp/mptcp_join.sh
>> index b703b61562bf..c4121a721b54 100755
>> --- a/tools/testing/selftests/net/mptcp/mptcp_join.sh
>> +++ b/tools/testing/selftests/net/mptcp/mptcp_join.sh
>> @@ -2707,7 +2707,7 @@ fail_tests()
>>
>> # multiple subflows
>> if reset_with_fail "MP_FAIL MP_RST" 2; then
>> - tc -n $ns2 qdisc add dev ns2eth1 root netem rate 20mbit delay 1
>> + tc -n $ns2 qdisc add dev ns2eth1 root netem rate 1mbit delay 5
>> pm_nl_set_limits $ns1 0 1
>> pm_nl_set_limits $ns2 0 1
>> pm_nl_add_endpoint $ns2 10.0.2.2 dev ns2eth2 flags subflow
>> --
>> 2.35.1
>>
>>
>
--
Mat Martineau
Intel
next prev parent reply other threads:[~2022-05-04 23:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-04 9:06 [PATCH mptcp-next v2] selftests: mptcp: fix MP_FAIL test-case Paolo Abeni
2022-05-04 10:18 ` selftests: mptcp: fix MP_FAIL test-case: Tests Results MPTCP CI
2022-05-04 12:04 ` [PATCH mptcp-next v2] selftests: mptcp: fix MP_FAIL test-case Geliang Tang
2022-05-04 23:02 ` Mat Martineau [this message]
2022-05-06 19:31 ` 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=2e881c7a-7b79-4215-bcda-5b5dd8dc33e@linux.intel.com \
--to=mathew.j.martineau@linux.intel.com \
--cc=geliangtang@gmail.com \
--cc=mptcp@lists.linux.dev \
--cc=pabeni@redhat.com \
/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