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 # 15.06 [+15.06] # 15.06 [+0.00] Backup port # 15.06 [+0.00] ----------- # 17.42 [+2.36] TEST: Forwarding out of swp1 [ OK ] # 17.83 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 18.29 [+0.46] TEST: swp1 carrier off [ OK ] # 19.09 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 19.51 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 19.97 [+0.46] TEST: swp1 carrier on [ OK ] # 20.34 [+0.38] TEST: vx0 configured as backup port of swp1 [ OK ] # 21.15 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 21.62 [+0.47] TEST: No forwarding out of vx0 [ OK ] # 22.08 [+0.46] TEST: swp1 carrier off [ OK ] # 22.90 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 23.33 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 23.79 [+0.47] TEST: swp1 carrier on [ OK ] # 24.62 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 25.06 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 25.39 [+0.34] TEST: vx0 not configured as backup port of swp1 [ OK ] # 26.24 [+0.85] TEST: Forwarding out of swp1 [ OK ] # 26.69 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 27.20 [+0.51] TEST: swp1 carrier off [ OK ] # 28.02 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 28.43 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 44.97 [+16.54] # 44.97 [+0.00] Backup nexthop ID # 44.97 [+0.00] ----------------- # 48.02 [+3.05] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.84 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 49.27 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 49.73 [+0.46] TEST: swp1 carrier off [ OK ] # 50.52 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 50.90 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 51.30 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 51.73 [+0.43] TEST: Forwarding using VXLAN FDB entry [ OK ] # 52.19 [+0.47] TEST: swp1 carrier on [ OK ] # 52.49 [+0.30] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 53.29 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 53.68 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 54.14 [+0.46] TEST: swp1 carrier off [ OK ] # 54.93 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 55.35 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 55.77 [+0.43] TEST: Forwarding using backup nexthop ID [ OK ] # 56.17 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.64 [+0.46] TEST: swp1 carrier on [ OK ] # 57.43 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 57.82 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 58.24 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 58.65 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 58.99 [+0.34] TEST: No backup nexthop ID configured for swp1 [ OK ] # 59.80 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 60.23 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 60.63 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 61.05 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 61.50 [+0.44] TEST: swp1 carrier off [ OK ] # 62.32 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 62.75 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 63.16 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 63.61 [+0.45] TEST: Forwarding using VXLAN FDB entry [ OK ] # 79.64 [+16.03] # 79.64 [+0.00] Backup nexthop ID - invalid IDs # 79.65 [+0.00] ------------------------------- # 82.56 [+2.91] TEST: vx0 configured as backup port of swp1 [ OK ] # 82.87 [+0.31] TEST: Valid nexthop as backup nexthop [ OK ] # 83.34 [+0.47] TEST: swp1 carrier off [ OK ] # 84.16 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 84.59 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 85.01 [+0.42] TEST: Forwarding using backup nexthop ID [ OK ] # 85.19 [+0.17] TEST: No Tx drop increase [ OK ] # 85.52 [+0.34] TEST: Non-existent nexthop as backup nexthop [ OK ] # 86.32 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 86.72 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 87.15 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 87.32 [+0.17] TEST: Tx drop increased [ OK ] # 87.82 [+0.50] TEST: Blackhole nexthop as backup nexthop [ OK ] # 88.58 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 88.99 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 89.41 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 89.58 [+0.18] TEST: Tx drop increased [ OK ] # 89.93 [+0.35] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 90.77 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 91.22 [+0.45] TEST: Forwarding out of vx0 [ OK ] # 91.62 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 91.80 [+0.18] TEST: Tx drop increased [ OK ] # 92.65 [+0.85] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 93.43 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 93.87 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 94.29 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 94.46 [+0.17] TEST: Tx drop increased [ OK ] # 110.72 [+16.26] # 110.72 [+0.00] Backup nexthop ID - ping # 110.72 [+0.00] ------------------------ # 115.99 [+5.27] TEST: Ping with backup nexthop ID [ OK ] # 121.64 [+5.65] TEST: Ping after disabling backup nexthop ID [ OK ] # 137.48 [+15.85] # 137.48 [+0.00] Backup nexthop ID - torture test # 137.48 [+0.00] -------------------------------- # 168.79 [+31.31] TEST: Torture test [ OK ] # 170.19 [+1.40] # 170.19 [+0.00] Tests passed: 83 # 170.19 [+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__->