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.76 [+2.28] TEST: Forwarding out of swp1 [ OK ] # 17.17 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 17.60 [+0.43] TEST: swp1 carrier off [ OK ] # 18.40 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 18.81 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 19.24 [+0.43] TEST: swp1 carrier on [ OK ] # 19.55 [+0.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.31 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 20.75 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 21.18 [+0.43] TEST: swp1 carrier off [ OK ] # 21.96 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 22.38 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 22.83 [+0.44] TEST: swp1 carrier on [ OK ] # 23.61 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 24.03 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 24.32 [+0.30] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.11 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 25.50 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 25.94 [+0.44] TEST: swp1 carrier off [ OK ] # 26.76 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 27.17 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 43.10 [+15.93] # 43.10 [+0.00] Backup nexthop ID # 43.10 [+0.00] ----------------- # 46.01 [+2.91] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.79 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 47.19 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 47.65 [+0.46] TEST: swp1 carrier off [ OK ] # 48.48 [+0.84] TEST: No forwarding out of swp1 [ OK ] # 48.88 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 49.27 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 49.67 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.10 [+0.43] TEST: swp1 carrier on [ OK ] # 50.42 [+0.32] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.23 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 51.63 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 52.06 [+0.43] TEST: swp1 carrier off [ OK ] # 52.87 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 53.31 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 53.74 [+0.44] TEST: Forwarding using backup nexthop ID [ OK ] # 54.14 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.61 [+0.47] TEST: swp1 carrier on [ OK ] # 55.47 [+0.86] TEST: Forwarding out of swp1 [ OK ] # 55.84 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 56.25 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 56.67 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.99 [+0.33] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.79 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 58.22 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 58.66 [+0.44] TEST: No forwarding using backup nexthop ID [ OK ] # 59.07 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.52 [+0.45] TEST: swp1 carrier off [ OK ] # 60.33 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 60.74 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 61.15 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 61.55 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 77.63 [+16.08] # 77.63 [+0.00] Backup nexthop ID - invalid IDs # 77.63 [+0.00] ------------------------------- # 80.58 [+2.95] TEST: vx0 configured as backup port of swp1 [ OK ] # 80.92 [+0.33] TEST: Valid nexthop as backup nexthop [ OK ] # 81.41 [+0.49] TEST: swp1 carrier off [ OK ] # 82.17 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 82.60 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 83.03 [+0.42] TEST: Forwarding using backup nexthop ID [ OK ] # 83.21 [+0.18] TEST: No Tx drop increase [ OK ] # 83.53 [+0.32] TEST: Non-existent nexthop as backup nexthop [ OK ] # 84.33 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 84.73 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 85.12 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 85.28 [+0.16] TEST: Tx drop increased [ OK ] # 85.76 [+0.48] TEST: Blackhole nexthop as backup nexthop [ OK ] # 86.56 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 86.97 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 87.37 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 87.53 [+0.16] TEST: Tx drop increased [ OK ] # 87.84 [+0.31] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 88.66 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 89.03 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 89.44 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 89.62 [+0.18] TEST: Tx drop increased [ OK ] # 90.47 [+0.85] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 91.25 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 91.68 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 92.08 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 92.28 [+0.20] TEST: Tx drop increased [ OK ] # 108.28 [+16.00] # 108.28 [+0.00] Backup nexthop ID - ping # 108.28 [+0.00] ------------------------ # 113.27 [+4.99] TEST: Ping with backup nexthop ID [ OK ] # 118.87 [+5.60] TEST: Ping after disabling backup nexthop ID [ OK ] # 134.69 [+15.83] # 134.69 [+0.00] Backup nexthop ID - torture test # 134.70 [+0.00] -------------------------------- # 166.04 [+31.34] TEST: Torture test [ OK ] # 167.26 [+1.23] # 167.26 [+0.00] Tests passed: 83 # 167.26 [+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__->