make -C tools/testing/selftests TARGETS="net" TEST_PROGS=test_bridge_backuup_port.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_bridge_backup_port.sh # 9.53 [+9.53] # 9.53 [+0.00] Backup port # 9.53 [+0.00] ----------- # 10.57 [+1.04] TEST: Forwarding out of swp1 [ OK ] # 10.86 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 11.08 [+0.22] TEST: swp1 carrier off [ OK ] # 11.57 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 11.84 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.08 [+0.24] TEST: swp1 carrier on [ OK ] # 12.26 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.72 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 12.98 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.21 [+0.23] TEST: swp1 carrier off [ OK ] # 13.68 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 13.92 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 14.15 [+0.22] TEST: swp1 carrier on [ OK ] # 14.62 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.88 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.05 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.49 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 15.76 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.96 [+0.20] TEST: swp1 carrier off [ OK ] # 16.41 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 16.65 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 26.85 [+10.20] # 26.85 [+0.00] Backup nexthop ID # 26.85 [+0.00] ----------------- # 28.37 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.84 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 29.13 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 29.35 [+0.22] TEST: swp1 carrier off [ OK ] # 29.81 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 30.07 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.32 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 30.61 [+0.29] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.83 [+0.23] TEST: swp1 carrier on [ OK ] # 30.99 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.49 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 31.74 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 31.95 [+0.21] TEST: swp1 carrier off [ OK ] # 32.45 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 32.72 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 32.96 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 33.22 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.43 [+0.21] TEST: swp1 carrier on [ OK ] # 33.90 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 34.17 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 34.44 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 34.69 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.87 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.35 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.60 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.87 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.14 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.37 [+0.22] TEST: swp1 carrier off [ OK ] # 36.83 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 37.08 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 37.34 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.61 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.81 [+10.21] # 47.81 [+0.00] Backup nexthop ID - invalid IDs # 47.81 [+0.00] ------------------------------- # 49.34 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.50 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 49.73 [+0.23] TEST: swp1 carrier off [ OK ] # 50.23 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 50.48 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 50.75 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 50.83 [+0.09] TEST: No Tx drop increase [ OK ] # 51.02 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.50 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 51.76 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.02 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.11 [+0.09] TEST: Tx drop increased [ OK ] # 52.37 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.85 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.10 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 53.35 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 53.45 [+0.10] TEST: Tx drop increased [ OK ] # 53.62 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.10 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 54.36 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.63 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.73 [+0.10] TEST: Tx drop increased [ OK ] # 55.16 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.64 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.90 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.16 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 56.25 [+0.09] TEST: Tx drop increased [ OK ] # 66.42 [+10.17] # 66.42 [+0.00] Backup nexthop ID - ping # 66.42 [+0.00] ------------------------ # 69.95 [+3.54] TEST: Ping with backup nexthop ID [ OK ] # 75.25 [+5.30] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.45 [+10.20] # 85.45 [+0.00] Backup nexthop ID - torture test # 85.45 [+0.00] -------------------------------- # 116.12 [+30.67] TEST: Torture test [ OK ] # 116.76 [+0.64] # 116.76 [+0.00] Tests passed: 83 # 116.76 [+0.00] Tests failed: 0 ok 1 selftests: net: test_bridge_backup_port.sh make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->