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.57 [+11.57] # 11.57 [+0.00] Backup port # 11.57 [+0.00] ----------- # 12.99 [+1.41] TEST: Forwarding out of swp1 [ OK ] # 13.29 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 13.61 [+0.32] TEST: swp1 carrier off [ OK ] # 14.18 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 14.52 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 14.82 [+0.29] TEST: swp1 carrier on [ OK ] # 15.07 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.65 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 15.97 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 16.28 [+0.30] TEST: swp1 carrier off [ OK ] # 16.84 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 17.19 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 17.49 [+0.30] TEST: swp1 carrier on [ OK ] # 18.05 [+0.56] TEST: Forwarding out of swp1 [ OK ] # 18.38 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 18.62 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.22 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 19.54 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.83 [+0.29] TEST: swp1 carrier off [ OK ] # 20.42 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 20.74 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 33.36 [+12.62] # 33.36 [+0.00] Backup nexthop ID # 33.36 [+0.00] ----------------- # 35.43 [+2.06] TEST: vx0 configured as backup port of swp1 [ OK ] # 36.01 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 36.32 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 36.62 [+0.30] TEST: swp1 carrier off [ OK ] # 37.21 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 37.52 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 37.85 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 38.17 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 38.47 [+0.30] TEST: swp1 carrier on [ OK ] # 38.70 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 39.29 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 39.61 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 39.91 [+0.30] TEST: swp1 carrier off [ OK ] # 40.48 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 40.79 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 41.11 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 41.42 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 41.73 [+0.31] TEST: swp1 carrier on [ OK ] # 42.31 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 42.64 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 42.99 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 43.30 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.53 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 44.13 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 44.47 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 44.80 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 45.10 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.42 [+0.32] TEST: swp1 carrier off [ OK ] # 46.05 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 46.37 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 46.68 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 47.00 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 59.70 [+12.69] # 59.70 [+0.00] Backup nexthop ID - invalid IDs # 59.70 [+0.00] ------------------------------- # 61.97 [+2.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 62.22 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 62.54 [+0.31] TEST: swp1 carrier off [ OK ] # 63.14 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 63.48 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 63.81 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 63.95 [+0.14] TEST: No Tx drop increase [ OK ] # 64.21 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 64.83 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 65.16 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 65.51 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 65.63 [+0.12] TEST: Tx drop increased [ OK ] # 65.97 [+0.34] TEST: Blackhole nexthop as backup nexthop [ OK ] # 66.58 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 66.89 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 67.20 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 67.34 [+0.14] TEST: Tx drop increased [ OK ] # 67.58 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 68.15 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 68.46 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 68.79 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 68.93 [+0.14] TEST: Tx drop increased [ OK ] # 69.52 [+0.60] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 70.09 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 70.39 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 70.71 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 70.85 [+0.14] TEST: Tx drop increased [ OK ] # 83.56 [+12.71] # 83.56 [+0.00] Backup nexthop ID - ping # 83.56 [+0.00] ------------------------ # 87.51 [+3.95] TEST: Ping with backup nexthop ID [ OK ] # 92.93 [+5.42] TEST: Ping after disabling backup nexthop ID [ OK ] # 105.54 [+12.61] # 105.54 [+0.00] Backup nexthop ID - torture test # 105.54 [+0.00] -------------------------------- # 136.49 [+30.95] TEST: Torture test [ OK ] # 137.36 [+0.87] # 137.36 [+0.00] Tests passed: 83 # 137.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__->