Re: [PATCH net-next] selftests: bonding: disable DAD for IPv6 addresses

Jakub Kicinski <[email protected]>
Newsgroups org.kernel.vger.netdev,org.kernel.vger.linux-kselftest
Message-ID <[email protected]>
On Mon, 10 Aug 2026 10:02:10 +0800 Hangbin Liu wrote:
> On Sat, Aug 08, 2026 at 09:23:45AM -0700, Jakub Kicinski wrote:
> > bond_reset() waits up to 2 seconds for IPv6 connectivity.
> > With default settings DAD itself may take almost 2 seconds,
> > causing flakes on debug builds. It used to flake once or
> > twice a week, recently it started failing once a day.
> > Probably some downstream changes to scheduler, or our machines
> > go busier.
> > 
> > A lot of selftests already use nodad, let's use nodad in bonding, too.
> > I don't see an obvious reason why DAD would be important to the test.  
> 
> In this case, how about add nodad to all IPv6 address setting on bonding
> tests, e.g. bond_options.sh, bond_macvlan_ipvlan.sh.
> 
> After that, we may event remove the sleep time in bond_macvlan_ipvlan.sh.
> In my local testing all the macvlan/ipvlan test passed with nodad set.

Can you do that as a follow up, please?

bond_options.sh is the worst offender for flakiness right now.
I would like to squash these flakes ASAP.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.