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/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' 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 # 12.26 [+12.26] # 12.26 [+0.00] Backup port # 12.26 [+0.00] ----------- # 14.22 [+1.96] TEST: Forwarding out of swp1 [ OK ] # 14.54 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.85 [+0.31] TEST: swp1 carrier off [ OK ] # 15.46 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 15.79 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 16.15 [+0.36] TEST: swp1 carrier on [ OK ] # 16.39 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.09 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 17.45 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 17.77 [+0.32] TEST: swp1 carrier off [ OK ] # 18.36 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 18.69 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 19.04 [+0.35] TEST: swp1 carrier on [ OK ] # 19.70 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 20.07 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 20.39 [+0.32] TEST: swp1 administratively down [ OK ] # 20.99 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 21.31 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 21.67 [+0.36] TEST: swp1 administratively up [ OK ] # 22.32 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 22.64 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 22.90 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.54 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 23.89 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 24.20 [+0.31] TEST: swp1 carrier off [ OK ] # 24.83 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 25.19 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 38.19 [+13.01] # 38.19 [+0.00] Backup nexthop ID # 38.19 [+0.00] ----------------- # 40.40 [+2.21] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.98 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 41.28 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 41.62 [+0.34] TEST: swp1 carrier off [ OK ] # 42.20 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 42.51 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 42.85 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 43.26 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 43.59 [+0.32] TEST: swp1 carrier on [ OK ] # 43.84 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 44.44 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 44.78 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 45.08 [+0.31] TEST: swp1 carrier off [ OK ] # 45.69 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 46.05 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 46.40 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 46.75 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.08 [+0.33] TEST: swp1 carrier on [ OK ] # 47.66 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 47.98 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 48.33 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 48.64 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.90 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.55 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 49.88 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 50.21 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 50.57 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.89 [+0.33] TEST: swp1 carrier off [ OK ] # 51.49 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 51.84 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 52.16 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 52.50 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.85 [+13.35] # 65.86 [+0.00] Backup nexthop ID - invalid IDs # 65.86 [+0.00] ------------------------------- # 68.03 [+2.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 68.27 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 68.59 [+0.32] TEST: swp1 carrier off [ OK ] # 69.20 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 69.54 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 69.88 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 70.02 [+0.14] TEST: No Tx drop increase [ OK ] # 70.27 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.84 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 71.16 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 71.51 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 71.68 [+0.17] TEST: Tx drop increased [ OK ] # 72.04 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.68 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 73.04 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 73.37 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.55 [+0.18] TEST: Tx drop increased [ OK ] # 73.79 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 74.42 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 74.76 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 75.10 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 75.25 [+0.14] TEST: Tx drop increased [ OK ] # 75.87 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 76.47 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 76.78 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 77.15 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 77.32 [+0.17] TEST: Tx drop increased [ OK ] # 90.44 [+13.12] # 90.44 [+0.00] Backup nexthop ID - ping # 90.44 [+0.00] ------------------------ # 94.43 [+3.99] TEST: Ping with backup nexthop ID [ OK ] # 99.88 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.68 [+12.80] # 112.68 [+0.00] Backup nexthop ID - torture test # 112.68 [+0.00] -------------------------------- # 143.64 [+30.96] TEST: Torture test [ OK ] # 144.52 [+0.88] # 144.53 [+0.01] Tests passed: 89 # 144.53 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->