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.59 [+14.59] # 14.59 [+0.00] Backup port # 14.59 [+0.00] ----------- # 17.02 [+2.43] TEST: Forwarding out of swp1 [ OK ] # 17.44 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 17.88 [+0.44] TEST: swp1 carrier off [ OK ] # 18.69 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 19.10 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 19.57 [+0.47] TEST: swp1 carrier on [ OK ] # 19.91 [+0.34] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.74 [+0.83] TEST: Forwarding out of swp1 [ OK ] # 21.16 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 21.60 [+0.44] TEST: swp1 carrier off [ OK ] # 22.38 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 22.81 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 23.31 [+0.50] TEST: swp1 carrier on [ OK ] # 24.17 [+0.86] TEST: Forwarding out of swp1 [ OK ] # 24.58 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 24.92 [+0.34] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.76 [+0.84] TEST: Forwarding out of swp1 [ OK ] # 26.18 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 26.66 [+0.48] TEST: swp1 carrier off [ OK ] # 27.48 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 27.91 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 43.96 [+16.05] # 43.96 [+0.00] Backup nexthop ID # 43.96 [+0.00] ----------------- # 46.87 [+2.91] TEST: vx0 configured as backup port of swp1 [ OK ] # 47.67 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 48.09 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 48.55 [+0.46] TEST: swp1 carrier off [ OK ] # 49.36 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 49.78 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 50.20 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 50.62 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 51.08 [+0.46] TEST: swp1 carrier on [ OK ] # 51.41 [+0.34] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 52.24 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 52.68 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 53.15 [+0.47] TEST: swp1 carrier off [ OK ] # 53.99 [+0.84] TEST: No forwarding out of swp1 [ OK ] # 54.43 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 54.85 [+0.42] TEST: Forwarding using backup nexthop ID [ OK ] # 55.26 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.74 [+0.48] TEST: swp1 carrier on [ OK ] # 56.56 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 56.97 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 57.40 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 57.82 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 58.15 [+0.33] TEST: No backup nexthop ID configured for swp1 [ OK ] # 58.99 [+0.84] TEST: Forwarding out of swp1 [ OK ] # 59.41 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 59.82 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 60.23 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 60.69 [+0.46] TEST: swp1 carrier off [ OK ] # 61.55 [+0.85] TEST: No forwarding out of swp1 [ OK ] # 61.94 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 62.37 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 62.79 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 78.98 [+16.19] # 78.98 [+0.00] Backup nexthop ID - invalid IDs # 78.98 [+0.00] ------------------------------- # 81.90 [+2.92] TEST: vx0 configured as backup port of swp1 [ OK ] # 82.22 [+0.32] TEST: Valid nexthop as backup nexthop [ OK ] # 82.68 [+0.46] TEST: swp1 carrier off [ OK ] # 83.49 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 83.92 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 84.34 [+0.42] TEST: Forwarding using backup nexthop ID [ OK ] # 84.50 [+0.16] TEST: No Tx drop increase [ OK ] # 84.82 [+0.31] TEST: Non-existent nexthop as backup nexthop [ OK ] # 85.64 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 86.03 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 86.43 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 86.60 [+0.16] TEST: Tx drop increased [ OK ] # 87.11 [+0.51] TEST: Blackhole nexthop as backup nexthop [ OK ] # 87.91 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 88.32 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 88.74 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 88.90 [+0.16] TEST: Tx drop increased [ OK ] # 89.22 [+0.32] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 90.03 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 90.44 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 90.84 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 91.01 [+0.17] TEST: Tx drop increased [ OK ] # 91.83 [+0.82] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 92.61 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 93.01 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 93.42 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 93.58 [+0.16] TEST: Tx drop increased [ OK ] # 109.51 [+15.93] # 109.51 [+0.00] Backup nexthop ID - ping # 109.51 [+0.00] ------------------------ # 114.34 [+4.83] TEST: Ping with backup nexthop ID [ OK ] # 120.00 [+5.66] TEST: Ping after disabling backup nexthop ID [ OK ] # 136.17 [+16.17] # 136.17 [+0.00] Backup nexthop ID - torture test # 136.17 [+0.00] -------------------------------- # 167.47 [+31.29] TEST: Torture test [ OK ] # 168.76 [+1.29] # 168.76 [+0.00] Tests passed: 83 # 168.76 [+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__->