mirror-linux/tools/testing/selftests/drivers/net/bonding
Hangbin Liu 2c28ee720a selftests: bonding: add delay before each xvlan_over_bond connectivity check
Jakub reported increased flakiness in bond_macvlan_ipvlan.sh on regular
kernel, while the tests consistently pass on a debug kernel. This suggests
a timing-sensitive issue.

To mitigate this, introduce a short sleep before each xvlan_over_bond
connectivity check. The delay helps ensure neighbor and route cache
have fully converged before verifying connectivity.

The sleep interval is kept minimal since check_connection() is invoked
nearly 100 times during the test.

Fixes: 246af950b9 ("selftests: bonding: add macvlan over bond testing")
Reported-by: Jakub Kicinski <kuba@kernel.org>
Closes: https://lore.kernel.org/netdev/20251114082014.750edfad@kernel.org
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://patch.msgid.link/20251127143310.47740-1-liuhangbin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-11-28 20:16:22 -08:00
..
Makefile selftest: netcons: add test for netconsole over bonded interfaces 2025-11-10 18:34:44 -08:00
bond-arp-interval-causes-panic.sh selftests: bonding: do not set port down when adding to bond 2024-01-02 14:17:05 +00:00
bond-break-lacpdu-tx.sh selftests: bonding: use tc filter to check if LACP was sent 2024-02-07 18:26:20 -08:00
bond-eth-type-change.sh selftests: bonding: Add net/forwarding/lib.sh to TEST_INCLUDES 2024-01-31 10:55:11 +00:00
bond-lladdr-target.sh selftests: bonding: use slowwait instead of hard code sleep 2024-02-07 18:26:20 -08:00
bond_ipsec_offload.sh selftests: bonding: add ipsec offload test 2025-09-30 09:55:12 +02:00
bond_lacp_prio.sh selftests: bonding: add test for LACP actor port priority 2025-09-09 10:56:02 +02:00
bond_macvlan_ipvlan.sh selftests: bonding: add delay before each xvlan_over_bond connectivity check 2025-11-28 20:16:22 -08:00
bond_options.sh selftests: bonding: add vlan over bond testing 2025-09-17 15:13:51 -07:00
bond_passive_lacp.sh selftests: bonding: add test for passive LACP mode 2025-08-21 09:35:21 +02:00
bond_topo_2d1c.sh selftests: bonding: add fail_over_mac testing 2025-09-15 17:48:42 -07:00
bond_topo_3d1c.sh selftests: bonding: add fail_over_mac testing 2025-09-15 17:48:42 -07:00
config selftest: netcons: add test for netconsole over bonded interfaces 2025-11-10 18:34:44 -08:00
dev_addr_lists.sh selftests: bonding: Add net/forwarding/lib.sh to TEST_INCLUDES 2024-01-31 10:55:11 +00:00
lag_lib.sh selftests: bonding: use slowwait instead of hard code sleep 2024-02-07 18:26:20 -08:00
mode-1-recovery-updelay.sh selftests: bonding: Add net/forwarding/lib.sh to TEST_INCLUDES 2024-01-31 10:55:11 +00:00
mode-2-recovery-updelay.sh selftests: bonding: Add net/forwarding/lib.sh to TEST_INCLUDES 2024-01-31 10:55:11 +00:00
netcons_over_bonding.sh selftest: netcons: add test for netconsole over bonded interfaces 2025-11-10 18:34:44 -08:00
settings selftests: bonding: Increase timeout to 1200s 2024-01-19 21:12:31 -08:00