netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [TEST] nf_nat_edemux.sh flakes
@ 2025-09-26 23:33 Jakub Kicinski
  2025-09-27 10:47 ` Florian Westphal
  0 siblings, 1 reply; 4+ messages in thread
From: Jakub Kicinski @ 2025-09-26 23:33 UTC (permalink / raw)
  To: Florian Westphal; +Cc: netfilter-devel

Hi!

nf_nat_edemux.sh started flaking in NIPA quite a bit more around a week ago.

https://netdev.bots.linux.dev/contest.html?pass=0&test=nf-nat-edemux-sh&ld_cnt=400

All the failures look like this:
TAP version 13
1..1
# overriding timeout to 3600
# selftests: net/netfilter: nf_nat_edemux.sh
# PASS: socat can connect via NAT'd address
# FAIL: socat cannot connect to service via redirect (3 seconds elapsed, returned 0)
not ok 1 selftests: net/netfilter: nf_nat_edemux.sh # exit=1

(with the number of seconds being 2 or 4 occasionally)

This is on the debug kernel specifically.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [TEST] nf_nat_edemux.sh flakes
  2025-09-26 23:33 [TEST] nf_nat_edemux.sh flakes Jakub Kicinski
@ 2025-09-27 10:47 ` Florian Westphal
  2025-09-27 16:07   ` Jakub Kicinski
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Westphal @ 2025-09-27 10:47 UTC (permalink / raw)
  To: Jakub Kicinski; +Cc: netfilter-devel

Jakub Kicinski <kuba@kernel.org> wrote:
> nf_nat_edemux.sh started flaking in NIPA quite a bit more around a week ago.
> 
> https://netdev.bots.linux.dev/contest.html?pass=0&test=nf-nat-edemux-sh&ld_cnt=400

Weird, I don't recall changes in nat engine.
I'll have a look sometime next week.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [TEST] nf_nat_edemux.sh flakes
  2025-09-27 10:47 ` Florian Westphal
@ 2025-09-27 16:07   ` Jakub Kicinski
  2025-10-02  6:41     ` Florian Westphal
  0 siblings, 1 reply; 4+ messages in thread
From: Jakub Kicinski @ 2025-09-27 16:07 UTC (permalink / raw)
  To: Florian Westphal; +Cc: netfilter-devel

On Sat, 27 Sep 2025 12:47:27 +0200 Florian Westphal wrote:
> Jakub Kicinski <kuba@kernel.org> wrote:
> > nf_nat_edemux.sh started flaking in NIPA quite a bit more around a week ago.
> > 
> > https://netdev.bots.linux.dev/contest.html?pass=0&test=nf-nat-edemux-sh&ld_cnt=400  
> 
> Weird, I don't recall changes in nat engine.
> I'll have a look sometime next week.

Thanks! Sometimes tests flip from flaking to not flaking after we pull
from Linus after Thursday's PR. There's probably an intelligent
explanation to this but it eludes me :$

While you're looking, nft-fib-sh also flakes occasionally:
https://netdev.bots.linux.dev/contest.html?pass=0&executor=vmksft-nf-dbg&test=nft-fib-sh

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [TEST] nf_nat_edemux.sh flakes
  2025-09-27 16:07   ` Jakub Kicinski
@ 2025-10-02  6:41     ` Florian Westphal
  0 siblings, 0 replies; 4+ messages in thread
From: Florian Westphal @ 2025-10-02  6:41 UTC (permalink / raw)
  To: Jakub Kicinski; +Cc: netfilter-devel

Jakub Kicinski <kuba@kernel.org> wrote:
> > Jakub Kicinski <kuba@kernel.org> wrote:
> > > nf_nat_edemux.sh started flaking in NIPA quite a bit more around a week ago.
> > > 
> > Weird, I don't recall changes in nat engine.
> > I'll have a look sometime next week.

Looks like its not a regression but just tripping due to
"1 second is long enough" not being safe anymore on debug builds.

I'll rewrite this to have it query conntrack for relevant entries
instead of failing in case socat needed more than 1s to complete.

> While you're looking, nft-fib-sh also flakes occasionally:
> https://netdev.bots.linux.dev/contest.html?pass=0&executor=vmksft-nf-dbg&test=nft-fib-sh

D'oh.  I think this is just because I did not RTFM.

"ping -c 1" can send more than 1 packet when combined with -w
(deadline), so its failing occasionally because the packet counter
is *higher* than expected.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-10-02  6:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-26 23:33 [TEST] nf_nat_edemux.sh flakes Jakub Kicinski
2025-09-27 10:47 ` Florian Westphal
2025-09-27 16:07   ` Jakub Kicinski
2025-10-02  6:41     ` Florian Westphal

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).