Thread (4 messages) flat view 4 messages, 2 authors, 2026-01-02

Re: [PATCH v4 net 2/2] selftests: net: simple selftest for ipvtap

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-01-02 20:26:38
Also in: linux-kselftest, lkml

On Tue, 30 Dec 2025 17:03:24 +0300 Dmitry Skorodumov wrote:
quoted hunk ↗ jump to hunk
@@ -122,6 +123,7 @@ CONFIG_TEST_BPF=m
 CONFIG_TLS=m
 CONFIG_TRACEPOINTS=y
 CONFIG_TUN=y
+CONFIG_TAP=m
alphabetical order please
quoted hunk ↗ jump to hunk
 CONFIG_USER_NS=y
 CONFIG_VETH=y
 CONFIG_VLAN_8021Q=y
diff --git a/tools/testing/selftests/net/ipvtap_test.sh b/tools/testing/selftests/net/ipvtap_test.sh
new file mode 100755
+NS_COUNT=32
+IP_ITERATIONS=1024
+[ "$KSFT_MACHINE_SLOW" = "yes" ] && NS_COUNT=8
This still fails on our slow VMs with debug kernel enabled (even tho
they set KSFT_MACHINE_SLOW). The test runs for 15+ minutes without
printing anything. That's pretty bad, humans running this tests will
also have no idea what's going on. Maybe limit the runtime of the test
as well as the iterations? To 1min? It takes <50sec on non-debug kernels
in our CI.
-- 
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help