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 # 14.48 [+14.48] # 14.48 [+0.00] Backup port # 14.48 [+0.00] ----------- # 16.91 [+2.43] TEST: Forwarding out of swp1 [ OK ] # 17.33 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 17.80 [+0.47] TEST: swp1 carrier off [ OK ] # 18.59 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 19.02 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 19.49 [+0.47] TEST: swp1 carrier on [ OK ] # 19.81 [+0.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.60 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 21.01 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 21.47 [+0.47] TEST: swp1 carrier off [ OK ] # 22.32 [+0.85] TEST: No forwarding out of swp1 [ OK ] # 22.74 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 23.20 [+0.46] TEST: swp1 carrier on [ OK ] # 23.99 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 24.37 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 24.70 [+0.33] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.48 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 25.90 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 26.35 [+0.46] TEST: swp1 carrier off [ OK ] # 27.13 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 27.55 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 43.69 [+16.14] # 43.69 [+0.00] Backup nexthop ID # 43.69 [+0.00] ----------------- # 46.57 [+2.88] TEST: vx0 configured as backup port of swp1 [ OK ] # 47.38 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 47.82 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 48.26 [+0.44] TEST: swp1 carrier off [ OK ] # 49.06 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 49.46 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 49.86 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 50.26 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.73 [+0.47] TEST: swp1 carrier on [ OK ] # 51.04 [+0.31] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.86 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 52.29 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 52.72 [+0.44] TEST: swp1 carrier off [ OK ] # 53.52 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 53.91 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 54.33 [+0.42] TEST: Forwarding using backup nexthop ID [ OK ] # 54.72 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.17 [+0.45] TEST: swp1 carrier on [ OK ] # 56.00 [+0.83] TEST: Forwarding out of swp1 [ OK ] # 56.40 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 56.80 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 57.20 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 57.53 [+0.32] TEST: No backup nexthop ID configured for swp1 [ OK ] # 58.34 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 58.74 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 59.18 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 59.59 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 60.08 [+0.49] TEST: swp1 carrier off [ OK ] # 60.98 [+0.90] TEST: No forwarding out of swp1 [ OK ] # 61.45 [+0.47] TEST: Forwarding out of vx0 [ OK ] # 61.84 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 62.23 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 78.29 [+16.06] # 78.29 [+0.00] Backup nexthop ID - invalid IDs # 78.29 [+0.00] ------------------------------- # 81.17 [+2.87] TEST: vx0 configured as backup port of swp1 [ OK ] # 81.52 [+0.35] TEST: Valid nexthop as backup nexthop [ OK ] # 82.01 [+0.49] TEST: swp1 carrier off [ OK ] # 82.79 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 83.19 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 83.59 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 83.78 [+0.18] TEST: No Tx drop increase [ OK ] # 84.13 [+0.36] TEST: Non-existent nexthop as backup nexthop [ OK ] # 84.97 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 85.41 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 85.84 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 86.02 [+0.18] TEST: Tx drop increased [ OK ] # 86.52 [+0.51] TEST: Blackhole nexthop as backup nexthop [ OK ] # 87.33 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 87.78 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 88.18 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 88.36 [+0.18] TEST: Tx drop increased [ OK ] # 88.69 [+0.33] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 89.46 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 89.85 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 90.25 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 90.44 [+0.19] TEST: Tx drop increased [ OK ] # 91.26 [+0.82] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 92.09 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 92.52 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 92.94 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 93.13 [+0.19] TEST: Tx drop increased [ OK ] # 109.53 [+16.40] # 109.53 [+0.00] Backup nexthop ID - ping # 109.53 [+0.00] ------------------------ # 114.39 [+4.86] TEST: Ping with backup nexthop ID [ OK ] # 120.02 [+5.63] TEST: Ping after disabling backup nexthop ID [ OK ] # 136.22 [+16.20] # 136.22 [+0.00] Backup nexthop ID - torture test # 136.22 [+0.00] -------------------------------- # 167.60 [+31.38] TEST: Torture test [ OK ] # 168.98 [+1.38] # 168.98 [+0.00] Tests passed: 83 # 168.98 [+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__->