Re: [TEST] bridge tests (was: net-next is OPEN)
From: Ido Schimmel <hidden>
Date: 2024-02-01 13:46:32
On Wed, Jan 31, 2024 at 08:01:37AM -0800, Jakub Kicinski wrote:
FWIW I started two new instances on bare metal one with the same kernel as the nested VM and one with debug options enabled. selftests-net/test-bridge-neigh-suppress-sh - fails across all, so must be the OS rather than the "speed"
Yes, it's something related to the OS. From the log below:
COMMAND: ip netns exec h1-n8Aaip ndisc6 -q -r 1 -s 2001:db8:1::1 -w 5000 2001:db8:1::2 eth0.10
Raw IPv6 socket: Operation not permitted
TEST: ndisc6 [FAIL]
rc=1, expected 0
The test is supposed to be run as root so I'm not sure what this error is about. Do you have something like AppArmor or SELinux running? The program creates an IPv6 raw socket and requires CAP_NET_RAW.
selftests-net/test-bridge-backup-port-sh - passes on VM, metal-dbg - fails on metal :S very reliably / every time: https://netdev.bots.linux.dev/contest.html?test=test-bridge-backup-port-sh # TEST: No forwarding out of swp1 [FAIL]
Passes on all setups: https://netdev-2.bots.linux.dev/vmksft-net-mp/results/446482/12-test-bridge-backup-port-sh/stdout https://netdev-3.bots.linux.dev/vmksft-net/results/446481/7-test-bridge-backup-port-sh/stdout https://netdev-3.bots.linux.dev/vmksft-net-dbg/results/446481/12-test-bridge-backup-port-sh/stdout With this patch: https://lore.kernel.org/netdev/20240201080516.3585867-1-idosch@nvidia.com/ (local) Will submit v2 next week.
selftests-net/drop-monitor-tests-sh - passes everywhere now
Nice, thanks