Skip to content

Commit aadff9f

Browse files
committed
selftests: net: add a hint about MACAddressPolicy=persistent
New NIPA installation had been reporting a few flaky tests. arp_ndisc_evict_nocarrier is most flaky of them all. I suspect that the flakiness is due to udev swapping the MAC addresses on the interfaces. Extend the message in arp_ndisc_evict_nocarrier to hint at this potential issue. Having the neigh get fail right after ping is rather unusual, unless udev changes the MAC addr causing a flush in the meantime. Link: https://patch.msgid.link/20251127194556.2409574-1-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 4b1639c commit aadff9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/net/arp_ndisc_evict_nocarrier.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ setup_v4() {
7575
ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1
7676
if [ $? -ne 0 ]; then
7777
cleanup_v4
78-
echo "failed"
78+
echo "failed; is the system using MACAddressPolicy=persistent ?"
7979
exit 1
8080
fi
8181

0 commit comments

Comments
 (0)