linux/tools/testing/selftests
Jakub Kicinski 7d316c3c9e selftests: netdevsim: set test timeout to 10 minutes
commit afbf75e8da upstream.

The longest running netdevsim test, nexthop.sh, currently takes
5 min to finish. Around 260s to be exact, and 310s on a debug kernel.
The default timeout in selftest is 45sec, so we need an explicit
config. Give ourselves some headroom and use 10min.

Commit under Fixes isn't really to "blame" but prior to that
netdevsim tests weren't integrated with kselftest infra
so blaming the tests themselves doesn't seem right, either.

Fixes: 8ff25dac88 ("netdevsim: add Makefile for selftests")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-12-07 06:09:26 +09:00
..
arm64 selftests: arm64: Check fread return value in exec_target 2025-10-19 16:21:29 +02:00
bpf selftests/bpf: Fix bpf_prog_detach2 usage in test_lirc_mode2 2025-12-07 06:09:16 +09:00
breakpoints selftests: breakpoints: use remaining time to check if suspend succeed 2024-10-17 15:11:34 +02:00
capabilities .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
cgroup kseltest/cgroup: Make test_stress.sh work if run interactively 2022-06-09 10:23:30 +02:00
clone3 selftests: fixup build warnings in pidfd / clone3 tests 2022-02-23 12:03:18 +01:00
core fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHARE 2024-09-04 13:23:17 +02:00
cpu-hotplug selftests: cpu-hotplug: fix case where CPUs offline > CPUs present 2019-01-25 14:57:45 -07:00
cpufreq selftests/cpufreq: Rename DEBUG_PI_LIST to DEBUG_PLIST 2021-08-31 11:00:02 -06:00
damon selftests/damon: test debugfs file reads/writes with huge count 2021-12-22 09:32:51 +01:00
dma dma-mapping: benchmark: Add support for multi-pages map/unmap 2021-04-02 16:41:08 +02:00
dmabuf-heaps kselftests: dmabuf-heaps: Ensure the driver name is null-terminated 2024-09-12 11:07:49 +02:00
drivers selftests: netdevsim: set test timeout to 10 minutes 2025-12-07 06:09:26 +09:00
efivarfs selftests/efivarfs: create-read: fix a resource leak 2023-11-28 16:56:17 +00:00
exec selftests/exec: Add non-regular to TEST_GEN_PROGS 2022-02-23 12:03:13 +01:00
filesystems selftests/binderfs: use the Makefile's rules, not Make's implicit rules 2024-06-16 13:39:24 +02:00
firmware selftests: firmware: Fix ignored return val of asprintf() warn 2021-07-21 16:11:42 +02:00
fpu selftests/fpu: Add an FPU selftest 2020-06-29 10:02:23 +02:00
ftrace selftests: tracing: Use mutex_unlock for testing glob filter 2025-08-28 16:24:18 +02:00
futex selftests/futex: Define SYS_futex on 32-bit architectures with 64-bit time_t 2025-08-28 16:24:17 +02:00
gpio selftests: gpio: fix gpio compiling error 2021-11-25 09:48:34 +01:00
ia64 .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
intel_pstate selftests/intel_pstate: fix build for ARCH=x86_64 2022-11-26 09:24:30 +01:00
ipc selftests/ipc: remove unneeded semicolon 2021-02-08 16:32:43 -07:00
ir .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
kcmp selftests/kcmp: remove unused open mode 2024-06-16 13:39:33 +02:00
kexec sefltest/ima: support appended signatures (modsig) 2019-08-29 12:45:30 -04:00
kmod selftests: kmod: use variable NAME in kmod_test_0001() 2020-08-12 10:58:01 -07:00
kselftest kselftest/runner.sh: Propagate SIGTERM to runner child 2023-09-19 12:23:03 +02:00
kvm selftests: kvm: Fix a compile error in selftests/kvm/rseq_test.c 2023-01-18 11:48:47 +01:00
landlock landlock: Add the errata interface 2025-05-02 07:44:20 +02:00
lib selftests: lib: Add wrapper script for test_scanf 2021-05-19 15:05:11 +02:00
livepatch selftests/livepatch: Do not check order when using "comm" for dmesg checking 2020-08-27 15:27:24 +02:00
lkdtm selftest/lkdtm: Skip stack-entropy test if lkdtm is not available 2023-02-22 12:57:07 +01:00
locking selftests: locking: return Kselftest Skip code for skipped tests 2018-05-30 15:29:06 -06:00
media_tests .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
membarrier .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
memfd selftests/memfd: add test for mapping write-sealed memfd read-only 2025-08-28 16:24:30 +02:00
memory-hotplug selftests: memory-hotplug: avoid spamming logs with dump_page(), ratio limit hot-remove error test 2021-07-12 14:20:01 -06:00
mincore selftests/mincore: Allow read-ahead pages to reach the end of the file 2025-05-02 07:44:37 +02:00
mount selftests: mount: add nosymfollow tests 2020-08-27 16:06:47 -04:00
mount_setattr selftests/mount_setattr: Fix failures on 64K PAGE_SIZE kernels 2024-12-14 19:51:08 +01:00
move_mount_set_group tests: add move_mount(MOVE_MOUNT_SET_GROUP) selftest 2021-07-26 14:45:19 +02:00
mqueue selftests/mqueue: Set timeout to 180 seconds 2024-04-10 16:18:35 +02:00
nci selftests: nci: replace unsigned int with int 2021-09-16 13:55:51 +01:00
net selftests/net: use destination options instead of hop-by-hop 2025-12-07 06:09:25 +09:00
netfilter selftests: nft_nat: ensuring the listening side is up before starting the client 2023-03-17 08:48:54 +01:00
nsfs tools/testing: Replace zero-length array with flexible-array 2020-05-08 09:42:14 -06:00
ntb NTB: ntb_test: Fix bug when counting remote files 2020-06-05 20:02:09 -04:00
openat2 selftests/openat2: Fix build warnings on ppc64 2024-07-27 10:46:08 +02:00
perf_events selftests/perf_events: Add a mmap() correctness test 2025-08-28 16:24:14 +02:00
pid_namespace selftests: Remove unneeded selftest API headers 2020-07-06 15:59:07 -06:00
pidfd selftests/pidfd: Fix ksft print formats 2023-11-20 11:08:22 +01:00
powerpc selftests/powerpc: Fix error handling in FPU/VMX preemption tests 2024-01-25 14:52:32 -08:00
prctl .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
proc proc: fixup uptime selftest 2022-12-31 13:14:02 +01:00
pstore pstore/platform: Use backend name for console registration 2020-05-30 10:34:02 -07:00
ptp selftests/ptp: Fix timestamp printf format for PTP_SYS_OFFSET 2023-06-21 15:59:18 +02:00
ptrace selftests: Add missing gitignore entries 2020-09-23 10:19:25 -06:00
rcutorture clocksource: Scale the watchdog read retries automatically 2024-08-19 05:45:45 +02:00
resctrl selftests/resctrl: Protect against array overrun during iMC config parsing 2024-12-14 19:50:49 +01:00
rlimits kselftests: Add test to check for rlimit changes in different user namespaces 2021-04-30 14:14:03 -05:00
rseq rseq/selftests: Use weak symbol reference, not definition, to link with glibc 2025-10-19 16:21:47 +02:00
rtc selftests: rtc: Increase test timeout so that all tests run 2022-02-23 12:03:04 +01:00
safesetid selftests: safesetid: Fix spelling mistake "cant" -> "can't" 2021-08-26 15:15:24 -06:00
sched kselftests/sched: cleanup the child processes 2021-11-18 19:16:14 +01:00
seccomp selftests/seccomp: fix syscall_restart test for arm compat 2025-06-27 11:05:11 +01:00
sgx selftests/sgx: Fix linker script asserts 2024-02-23 08:54:51 +01:00
sigaltstack selftests/sigaltstack: Fix ppc64 GCC build 2024-08-19 05:45:20 +02:00
size .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
sparc64 .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
splice selftests: splice: Adjust for handler fallback removal 2021-06-07 18:39:43 -06:00
static_keys treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
sync selftests/sync: Remove the deprecated config SYNC 2021-08-31 10:58:00 -06:00
syscall_user_dispatch selftests: Fix errno checking in syscall_user_dispatch test 2025-08-28 16:24:06 +02:00
sysctl linux-kselftest-5.8-rc1 2020-06-09 10:03:12 -07:00
tc-testing tc-testing: don't access non-existent variable on exception 2024-09-04 13:23:32 +02:00
timens selftests/timens: Fix gettime_perf to work on powerpc 2021-04-21 22:52:32 +10:00
timers selftests: timers: Fix valid-adjtimex signed left-shift undefined behavior 2024-05-17 11:50:54 +02:00
tmpfs .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
tpm2 selftest: tpm2: Add Client.__del__() to close /dev/tpm* handle 2022-10-26 12:35:29 +02:00
ublk selftests: ublk: fix test_stripe_04 2025-05-02 07:44:36 +02:00
uevent selftests: Remove unneeded selftest API headers 2020-07-06 15:59:07 -06:00
user treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
vDSO powerpc/vdso: Flag VDSO64 entry points as functions 2024-12-14 19:51:00 +01:00
vm minmax: make generic MIN() and MAX() macros available everywhere 2025-10-19 16:21:52 +02:00
watchdog selftests: watchdog: skip ping loop if WDIOF_KEEPALIVEPING not supported 2025-10-19 16:21:31 +02:00
wireguard wireguard: selftests: load nf_conntrack if not present 2024-12-14 19:50:59 +01:00
x86 selftests/x86: Add a test to detect infinite SIGTRAP handler loop 2025-06-27 11:05:34 +01:00
zram selftests/zram: Adapt the situation that /dev/zram0 is being used 2022-02-23 12:03:05 +01:00
.gitignore SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
gen_kselftest_tar.sh selftests: introduce gen_tar Makefile target 2020-05-19 16:11:46 -06:00
kselftest.h selftests: Provide local define of __cpuid_count() 2023-02-06 07:59:01 +01:00
kselftest_deps.sh selftests: fix dependency checker script 2023-10-06 13:18:16 +02:00
kselftest_harness.h selftests: harness: fix printing of mismatch values in __EXPECT() 2025-03-13 12:49:58 +01:00
kselftest_install.sh selftests: gen_kselftest_tar.sh: Do not clobber kselftest/ 2019-11-07 14:43:27 -07:00
kselftest_module.h kselftest: add support for skipped tests 2021-02-15 11:07:42 +01:00
lib.mk selftests: Use optional USERCFLAGS and USERLDFLAGS 2023-01-12 11:58:51 +01:00
Makefile selftests/Makefile: include $(INSTALL_DEP_TARGETS) in clean target to clean net/lib dependency 2025-12-07 06:09:22 +09:00
run_kselftest.sh selftests/run_kselftest.sh: fix dry-run typo 2020-11-10 14:51:39 -07:00