From: Stefano Brivio <sbrivio@redhat.com>
To: Paolo Abeni <pabeni@redhat.com>
Cc: netdev@vger.kernel.org, "David S. Miller" <davem@davemloft.net>,
David Ahern <dsahern@gmail.com>
Subject: Re: [PATCH net 1/2] selftests: pmtu: disable dad in all namespaces
Date: Fri, 22 Feb 2019 18:49:40 +0100 [thread overview]
Message-ID: <20190222184940.56d36a76@redhat.com> (raw)
In-Reply-To: <1d298b6839828c96cd8a0f50bdfac893cc645895.1550851038.git.pabeni@redhat.com>
On Fri, 22 Feb 2019 17:06:32 +0100
Paolo Abeni <pabeni@redhat.com> wrote:
> Otherwise, the configured IPv6 address could be still "tentative"
> at test time, possibly causing tests failures.
> We can also drop some sleep along the code and decrease the
> timeout for most commands so that the test runtime decreases.
Thanks for fixing this!
I tried this back then and it didn't work, perhaps some DAD changes
intervened meanwhile (or I simply tried it wrong).
Just one comment:
> Fixes: d1f1b9cbf34c ("selftests: net: Introduce first PMTU test")
> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
> ---
> tools/testing/selftests/net/pmtu.sh | 28 +++++++++++++---------------
> 1 file changed, 13 insertions(+), 15 deletions(-)
>
> diff --git a/tools/testing/selftests/net/pmtu.sh b/tools/testing/selftests/net/pmtu.sh
> index e2c94e47707c..634e91e8fe25 100755
> --- a/tools/testing/selftests/net/pmtu.sh
> +++ b/tools/testing/selftests/net/pmtu.sh
> @@ -263,8 +263,6 @@ setup_fou_or_gue() {
>
> ${ns_a} ip link set ${encap}_a up
> ${ns_b} ip link set ${encap}_b up
> -
> - sleep 1
> }
>
> setup_fou44() {
> @@ -302,6 +300,10 @@ setup_gue66() {
> setup_namespaces() {
> for n in ${NS_A} ${NS_B} ${NS_R1} ${NS_R2}; do
> ip netns add ${n} || return 1
> +
> + # disable dad, so that we don't have to wait to use the
> + # configured IPv6 addresses
For consistency: "Disable DAD ..."
--
Stefano
next prev parent reply other threads:[~2019-02-22 17:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-22 16:06 [PATCH net 0/2] selftests: pmtu: fix and increase coverage Paolo Abeni
2019-02-22 16:06 ` [PATCH net 1/2] selftests: pmtu: disable dad in all namespaces Paolo Abeni
2019-02-22 17:49 ` Stefano Brivio [this message]
2019-02-22 22:05 ` David Ahern
2019-02-22 16:06 ` [PATCH net 2/2] selftests: pmtu: add explicit tests for pmtu exceptions cleanup Paolo Abeni
2019-02-22 17:50 ` Stefano Brivio
2019-02-22 22:22 ` Stefano Brivio
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=20190222184940.56d36a76@redhat.com \
--to=sbrivio@redhat.com \
--cc=davem@davemloft.net \
--cc=dsahern@gmail.com \
--cc=netdev@vger.kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).