public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Donald Hunter <donald.hunter@gmail.com>
Cc: davem@davemloft.net, netdev@vger.kernel.org, edumazet@google.com,
	pabeni@redhat.com, andrew+netdev@lunn.ch, horms@kernel.org,
	liuhangbin@gmail.com, matttbe@kernel.org
Subject: Re: [PATCH net-next 07/10] tools: ynl: convert devlink sample to selftest
Date: Fri, 6 Mar 2026 16:11:09 -0800	[thread overview]
Message-ID: <20260306161109.1a4a9b11@kernel.org> (raw)
In-Reply-To: <m2ikb9i388.fsf@gmail.com>

On Fri, 06 Mar 2026 11:53:11 +0000 Donald Hunter wrote:
> > +# SPDX-License-Identifier: GPL-2.0
> > +source "$(dirname "$(realpath "$0")")/ynl_nsim_lib.sh"
> > +nsim_setup
> > +exec "$(dirname "$(realpath "$0")")/devlink"  
> 
> exec is defeating the netdevsim cleanup in the exit handler.
> 
> .../ynl_nsim_lib.sh: line 22: echo: write error: No space left on device
> Error: ipv4: Address already assigned.
> Error: ipv6: address already assigned.
> 
> Same for ethtool.sh, rt-addr.sh and rt-route.sh

Ah thanks! I've been testing these with:

  vng --user root -r -- ./tools/net/ynl/tests/devlink.sh

didn't actually check if the cleanup works..

  reply	other threads:[~2026-03-07  0:11 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-06  2:08 [PATCH net-next 00/10] tools: ynl: convert samples into selftests Jakub Kicinski
2026-03-06  2:08 ` [PATCH net-next 01/10] tools: ynl: move samples to tests Jakub Kicinski
2026-03-06 12:07   ` Donald Hunter
2026-03-06  2:08 ` [PATCH net-next 02/10] tools: ynl: convert netdev sample to selftest Jakub Kicinski
2026-03-06 13:45   ` Donald Hunter
2026-03-06  2:08 ` [PATCH net-next 03/10] tools: ynl: convert ovs " Jakub Kicinski
2026-03-06  2:08 ` [PATCH net-next 04/10] tools: ynl: convert rt-link " Jakub Kicinski
2026-03-06 14:29   ` Donald Hunter
2026-03-07  0:09     ` Jakub Kicinski
2026-03-06  2:08 ` [PATCH net-next 05/10] tools: ynl: convert tc and tc-filter-add samples " Jakub Kicinski
2026-03-06  2:08 ` [PATCH net-next 06/10] tools: ynl: add netdevsim wrapper library for YNL tests Jakub Kicinski
2026-03-06 12:23   ` Donald Hunter
2026-03-06  2:08 ` [PATCH net-next 07/10] tools: ynl: convert devlink sample to selftest Jakub Kicinski
2026-03-06 11:53   ` Donald Hunter
2026-03-07  0:11     ` Jakub Kicinski [this message]
2026-03-06  2:08 ` [PATCH net-next 08/10] tools: ynl: convert ethtool " Jakub Kicinski
2026-03-06  2:09 ` [PATCH net-next 09/10] tools: ynl: convert rt-addr " Jakub Kicinski
2026-03-06  2:09 ` [PATCH net-next 10/10] tools: ynl: convert rt-route " 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=20260306161109.1a4a9b11@kernel.org \
    --to=kuba@kernel.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=donald.hunter@gmail.com \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=liuhangbin@gmail.com \
    --cc=matttbe@kernel.org \
    --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