linux/tools/testing/selftests/drivers/net/netdevsim
Jakub Kicinski 4d2cbd620a selftests: netdevsim: fix SIGPIPE flake in ethtool-coalesce
The adaptive-rx and adaptive-tx checks use 'ethtool -c | grep -q' under
'set -o pipefail'. grep -q exits as soon as it finds a match, which can
happen before ethtool finishes writing its output. When that occurs,
ethtool receives SIGPIPE causing (uninformative):

 # selftests: drivers/net/netdevsim: ethtool-coalesce.sh
 # FAILED 1/22 checks
 not ok 1 selftests: drivers/net/netdevsim: ethtool-coalesce.sh # exit=1

This happens on debug kernels in NIPA, ~4% of the time.

Link: https://patch.msgid.link/20260808163416.2456810-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-08-10 16:46:14 -07:00
..
config selftests: move macsec offload tests from net/rtnetlink to drivers/net/netdvesim 2024-11-11 14:12:21 -08:00
devlink_in_netns.sh
devlink_trap.sh selftests: devlink: add a warning for interfaces coming up 2022-12-16 10:21:37 +00:00
devlink.sh selftest: netdevsim: Add resource dump and scope filter test 2026-04-08 19:55:39 -07:00
ethtool-coalesce.sh selftests: netdevsim: fix SIGPIPE flake in ethtool-coalesce 2026-08-10 16:46:14 -07:00
ethtool-common.sh selftests: netdevsim: sprinkle more udevadm settle 2024-01-16 12:16:04 +01:00
ethtool-features.sh selftests: netdevsim: add a test checking ethtool features 2024-11-11 14:12:21 -08:00
ethtool-fec.sh selftests: net: Correct couple of spelling mistakes 2024-03-04 18:33:47 -08:00
ethtool-pause.sh
fib_notifications.sh selftests: net: lib: Add kill_process 2024-11-15 16:39:19 -08:00
fib.sh selftests: netdevsim: Add test cases for route deletion failure 2022-07-29 12:21:02 +01:00
hw_stats_l3.sh selftests: netdevsim: Increase sleep time in hw_stats_l3.sh test 2022-05-18 14:06:50 +01:00
Makefile selftests: Migrate nsim-only MACsec tests to Python 2026-04-09 19:38:41 -07:00
nexthop.sh selftests: netdevsim: Xfail nexthop test on slow machines 2025-08-05 16:11:03 -07:00
peer.sh selftests: netdevsim: add carrier state consistency test 2026-01-06 18:04:01 -08:00
psample.sh selftests: devlink_lib: Fix bouncing of netdevsim DEVLINK_DEV 2021-06-08 14:39:07 -07:00
settings selftests: netdevsim: set test timeout to 10 minutes 2024-03-27 11:29:27 +00:00
tc-mq-visibility.sh selftests: net: Adapt ethtool mq tests to fix in qdisc graft 2025-01-15 09:28:51 +00:00
udp_tunnel_nic.sh netdevsim: remove udp_ports_sleep 2025-06-18 18:53:51 -07:00