On Tue, Aug 27, 2024 at 11:00:12AM +0200, Florian Westphal wrote: > The sctp selftest is very slow on debug kernels. > > Reported-by: Jakub Kicinski <kuba@xxxxxxxxxx> > Closes: https://lore.kernel.org/netdev/20240826192500.32efa22c@xxxxxxxxxx/ > Fixes: 4e97d521c2be ("selftests: netfilter: nft_queue.sh: sctp coverage") > Signed-off-by: Florian Westphal <fw@xxxxxxxxx> Acked-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> > --- > Lets see if CI is happy after this tweak. > > tools/testing/selftests/net/netfilter/nft_queue.sh | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/net/netfilter/nft_queue.sh b/tools/testing/selftests/net/netfilter/nft_queue.sh > index f3bdeb1271eb..9e5f423bff09 100755 > --- a/tools/testing/selftests/net/netfilter/nft_queue.sh > +++ b/tools/testing/selftests/net/netfilter/nft_queue.sh > @@ -39,7 +39,9 @@ TMPFILE2=$(mktemp) > TMPFILE3=$(mktemp) > > TMPINPUT=$(mktemp) > -dd conv=sparse status=none if=/dev/zero bs=1M count=200 of="$TMPINPUT" > +COUNT=200 > +[ "$KSFT_MACHINE_SLOW" = "yes" ] && COUNT=25 > +dd conv=sparse status=none if=/dev/zero bs=1M count=$COUNT of="$TMPINPUT" > > if ! ip link add veth0 netns "$nsrouter" type veth peer name eth0 netns "$ns1" > /dev/null 2>&1; then > echo "SKIP: No virtual ethernet pair device support in kernel" > -- > 2.46.0 > >