From: Geliang Tang <geliang@kernel.org>
To: nicolas.dichtel@6wind.com,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Shuah Khan <shuah@kernel.org>, Petr Machata <petrm@nvidia.com>,
Hangbin Liu <liuhangbin@gmail.com>,
Benjamin Poirier <bpoirier@nvidia.com>,
Ido Schimmel <idosch@nvidia.com>, Jiri Pirko <jiri@resnulli.us>,
Vladimir Oltean <vladimir.oltean@nxp.com>
Cc: Geliang Tang <tanggeliang@kylinos.cn>,
netdev@vger.kernel.org, linux-kselftest@vger.kernel.org
Subject: Re: [PATCH net-next] selftests: forwarding: lib.sh: ignore "Address not found"
Date: Wed, 07 Aug 2024 12:12:47 +0800 [thread overview]
Message-ID: <b101e751984e3064e67f870515f6ab550c7f0d09.camel@kernel.org> (raw)
In-Reply-To: <3bcdec5a-a93c-45c4-83a1-e941a39cf1fd@6wind.com>
On Tue, 2024-08-06 at 09:34 +0200, Nicolas Dichtel wrote:
> Le 06/08/2024 à 06:20, Geliang Tang a écrit :
> > From: Geliang Tang <tanggeliang@kylinos.cn>
> >
> > So many "Address not found" messages occur at the end of forwarding
> > tests
> > when using "ip address del" command for an invalid address:
> >
> > TEST: FDB limits interacting with FDB type local
> > [ OK ]
> > Error: ipv4: Address not found.
> >
> > ... ...
> > TEST: IGMPv3 S,G port entry automatic add to a *,G port
> > [ OK ]
> > Error: ipv4: Address not found.
> > Error: ipv6: address not found.
> >
> > ... ...
> > TEST: Isolated port flooding
> > [ OK ]
> > Error: ipv4: Address not found.
> > Error: ipv6: address not found.
> >
> > ... ...
> > TEST: Externally learned FDB entry - ageing & roaming
> > [ OK ]
> > Error: ipv4: Address not found.
> > Error: ipv6: address not found.
> >
> > This patch gnores these messages and redirects them to /dev/null in
> typo: s/gnores/ignores or 'hides'
It is indeed a typo. Thanks for pointing it out. Will update this in
v2.
-Geliang
>
> Nicolas
>
> > __addr_add_del().
> >
> > Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
> > ---
> > tools/testing/selftests/net/forwarding/lib.sh | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/tools/testing/selftests/net/forwarding/lib.sh
> > b/tools/testing/selftests/net/forwarding/lib.sh
> > index ff96bb7535ff..8670b6053cde 100644
> > --- a/tools/testing/selftests/net/forwarding/lib.sh
> > +++ b/tools/testing/selftests/net/forwarding/lib.sh
> > @@ -839,7 +839,7 @@ __addr_add_del()
> > array=("${@}")
> >
> > for addrstr in "${array[@]}"; do
> > - ip address $add_del $addrstr dev $if_name
> > + ip address $add_del $addrstr dev $if_name &>
> > /dev/null
> > done
> > }
> >
next prev parent reply other threads:[~2024-08-07 4:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-06 4:20 [PATCH net-next] selftests: forwarding: lib.sh: ignore "Address not found" Geliang Tang
2024-08-06 7:34 ` Nicolas Dichtel
2024-08-07 4:12 ` Geliang Tang [this message]
2024-08-06 7:40 ` Ido Schimmel
2024-08-07 4:08 ` Geliang Tang
2024-08-07 6:59 ` Ido Schimmel
2024-08-08 8:53 ` Geliang Tang
2024-08-08 14:25 ` Ido Schimmel
2024-08-07 14:32 ` Jakub Kicinski
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=b101e751984e3064e67f870515f6ab550c7f0d09.camel@kernel.org \
--to=geliang@kernel.org \
--cc=bpoirier@nvidia.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=idosch@nvidia.com \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=liuhangbin@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=nicolas.dichtel@6wind.com \
--cc=pabeni@redhat.com \
--cc=petrm@nvidia.com \
--cc=shuah@kernel.org \
--cc=tanggeliang@kylinos.cn \
--cc=vladimir.oltean@nxp.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