selftests: netdevsim: set test timeout to 10 minutes
Subsystems (4)
Jakub Kicinski
maintainerPATCH 1/1 selftests: netdevsim: set test timeout to 10 minutes
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.
---
CC: [email protected]
CC: [email protected]
CC: [email protected]
--- tools/testing/selftests/drivers/net/netdevsim/settings | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/testing/selftests/drivers/net/netdevsim/settings
tools/testing/selftests/drivers/net/netdevsim/settings new file +1 -0
@@ -0,0 +1 @@ +timeout=600
Signature · 1 line
2.44.0
Quoted 11 lines · Jakub Kicinski
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 8ff25dac88f6 ("netdevsim: add Makefile for selftests")Signed-off-by Jakub Kicinski <[email protected]>
This patch was applied to netdev/net.git (main) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <[email protected]>:
Quoted 10 lines · On Mon, 25 Mar 2024 08:56:11 -0700 you wrote:
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.
[...]
Here is the summary with links:
- [net] selftests: netdevsim: set test timeout to 10 minutes
https://git.kernel.org/netdev/net/c/afbf75e8da8c
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html