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 # 11.91 [+11.91] # 11.91 [+0.00] Backup port # 11.91 [+0.00] ----------- # 13.46 [+1.55] TEST: Forwarding out of swp1 [ OK ] # 13.76 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 14.08 [+0.32] TEST: swp1 carrier off [ OK ] # 14.69 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 15.01 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 15.35 [+0.34] TEST: swp1 carrier on [ OK ] # 15.61 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.24 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 16.57 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.88 [+0.31] TEST: swp1 carrier off [ OK ] # 17.49 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 17.81 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 18.13 [+0.32] TEST: swp1 carrier on [ OK ] # 18.73 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 19.07 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.29 [+0.22] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.89 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 20.22 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 20.54 [+0.33] TEST: swp1 carrier off [ OK ] # 21.18 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 21.50 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 34.36 [+12.86] # 34.36 [+0.00] Backup nexthop ID # 34.36 [+0.00] ----------------- # 36.42 [+2.06] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.04 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 37.36 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 37.69 [+0.33] TEST: swp1 carrier off [ OK ] # 38.28 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 38.61 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 38.96 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 39.27 [+0.31] TEST: Forwarding using VXLAN FDB entry [ OK ] # 39.58 [+0.31] TEST: swp1 carrier on [ OK ] # 39.83 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.43 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 40.77 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 41.07 [+0.30] TEST: swp1 carrier off [ OK ] # 41.69 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 42.01 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 42.33 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 42.64 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 42.95 [+0.31] TEST: swp1 carrier on [ OK ] # 43.53 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 43.83 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 44.15 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 44.51 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.76 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 45.33 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 45.66 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 45.99 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 46.32 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.62 [+0.30] TEST: swp1 carrier off [ OK ] # 47.22 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 47.54 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 47.86 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 48.18 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 61.12 [+12.94] # 61.12 [+0.00] Backup nexthop ID - invalid IDs # 61.12 [+0.00] ------------------------------- # 63.24 [+2.12] TEST: vx0 configured as backup port of swp1 [ OK ] # 63.50 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 63.80 [+0.30] TEST: swp1 carrier off [ OK ] # 64.44 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 64.78 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 65.13 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 65.27 [+0.14] TEST: No Tx drop increase [ OK ] # 65.51 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 66.08 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 66.41 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 66.75 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 66.89 [+0.14] TEST: Tx drop increased [ OK ] # 67.22 [+0.33] TEST: Blackhole nexthop as backup nexthop [ OK ] # 67.84 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 68.14 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 68.45 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 68.59 [+0.14] TEST: Tx drop increased [ OK ] # 68.82 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 69.43 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 69.77 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 70.09 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 70.25 [+0.15] TEST: Tx drop increased [ OK ] # 70.86 [+0.61] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 71.45 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 71.78 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 72.10 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 72.24 [+0.14] TEST: Tx drop increased [ OK ] # 85.10 [+12.86] # 85.10 [+0.00] Backup nexthop ID - ping # 85.10 [+0.00] ------------------------ # 89.12 [+4.02] TEST: Ping with backup nexthop ID [ OK ] # 94.58 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 107.57 [+12.99] # 107.57 [+0.00] Backup nexthop ID - torture test # 107.57 [+0.00] -------------------------------- # 138.52 [+30.95] TEST: Torture test [ OK ] # 139.36 [+0.84] # 139.36 [+0.00] Tests passed: 83 # 139.36 [+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__->