selftests: net: add a hint about MACAddressPolicy=persistent
Subsystems (3)
Jakub Kicinski
maintainerPATCH 1/1 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.
---
CC: [email protected]
CC: [email protected]
--- tools/testing/selftests/net/arp_ndisc_evict_nocarrier.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/net/arp_ndisc_evict_nocarrier.sh +1 -1
@@ -75,7 +75,7 @@ setup_v4() { ip neigh get $V4_ADDR1 dev veth0 >/dev/null 2>&1 if [ $? -ne 0 ]; then cleanup_v4 - echo "failed" + echo "failed; is the system using MACAddressPolicy=persistent ?" exit 1 fi
Signature · 1 line
2.51.1
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 9 lines · On Thu, 27 Nov 2025 11:45:56 -0800 you wrote:
New NIPA installation had been reporting a few flaky tests.
arp_ndisc_evict_nocarrieris most flaky of them all.
I suspect that the flakiness is due to udev swapping the MAC addresses on the interfaces. Extend the message inarp_ndisc_evict_nocarrierto 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.[...]
Here is the summary with links:
- [net-next] selftests: net: add a hint about MACAddressPolicy=persistent
https://git.kernel.org/netdev/net-next/c/aadff9f76639
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html