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.24 [+14.24] # 14.24 [+0.00] Backup port # 14.24 [+0.00] ----------- # 16.71 [+2.48] TEST: Forwarding out of swp1 [ OK ] # 17.14 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 17.61 [+0.47] TEST: swp1 carrier off [ OK ] # 18.52 [+0.91] TEST: No forwarding out of swp1 [ OK ] # 18.94 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 19.55 [+0.61] TEST: swp1 carrier on [ OK ] # 19.93 [+0.38] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.71 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 21.11 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 21.54 [+0.43] TEST: swp1 carrier off [ OK ] # 22.35 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 22.77 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 23.20 [+0.43] TEST: swp1 carrier on [ OK ] # 23.99 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 24.40 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 24.73 [+0.33] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.49 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 25.87 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 26.30 [+0.43] TEST: swp1 carrier off [ OK ] # 27.09 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 27.50 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 43.38 [+15.88] # 43.38 [+0.00] Backup nexthop ID # 43.38 [+0.00] ----------------- # 46.29 [+2.91] TEST: vx0 configured as backup port of swp1 [ OK ] # 47.10 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 47.51 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 47.95 [+0.45] TEST: swp1 carrier off [ OK ] # 48.75 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 49.17 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 49.56 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 49.98 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.40 [+0.43] TEST: swp1 carrier on [ OK ] # 50.73 [+0.32] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.53 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 51.94 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 52.38 [+0.44] TEST: swp1 carrier off [ OK ] # 53.19 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 53.59 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 53.99 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 54.39 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.83 [+0.44] TEST: swp1 carrier on [ OK ] # 55.61 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 56.04 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 56.43 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 56.83 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 57.16 [+0.32] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.95 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 58.35 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 58.76 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 59.14 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.61 [+0.47] TEST: swp1 carrier off [ OK ] # 60.44 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 60.84 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 61.26 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 61.70 [+0.44] TEST: Forwarding using VXLAN FDB entry [ OK ] # 77.66 [+15.96] # 77.66 [+0.00] Backup nexthop ID - invalid IDs # 77.66 [+0.00] ------------------------------- # 80.55 [+2.89] TEST: vx0 configured as backup port of swp1 [ OK ] # 80.85 [+0.30] TEST: Valid nexthop as backup nexthop [ OK ] # 81.31 [+0.46] TEST: swp1 carrier off [ OK ] # 82.14 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 82.58 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 83.01 [+0.44] TEST: Forwarding using backup nexthop ID [ OK ] # 83.18 [+0.17] TEST: No Tx drop increase [ OK ] # 83.48 [+0.30] TEST: Non-existent nexthop as backup nexthop [ OK ] # 84.27 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 84.66 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 85.06 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 85.21 [+0.16] TEST: Tx drop increased [ OK ] # 85.73 [+0.52] TEST: Blackhole nexthop as backup nexthop [ OK ] # 86.53 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 86.96 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 87.35 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 87.53 [+0.18] TEST: Tx drop increased [ OK ] # 87.85 [+0.32] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 88.66 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 89.04 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 89.43 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 89.60 [+0.16] TEST: Tx drop increased [ OK ] # 90.44 [+0.85] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 91.28 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 91.68 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 92.08 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 92.26 [+0.17] TEST: Tx drop increased [ OK ] # 108.18 [+15.92] # 108.18 [+0.00] Backup nexthop ID - ping # 108.18 [+0.00] ------------------------ # 113.16 [+4.98] TEST: Ping with backup nexthop ID [ OK ] # 118.78 [+5.62] TEST: Ping after disabling backup nexthop ID [ OK ] # 134.52 [+15.74] # 134.52 [+0.00] Backup nexthop ID - torture test # 134.52 [+0.00] -------------------------------- # 165.78 [+31.26] TEST: Torture test [ OK ] # 167.09 [+1.31] # 167.09 [+0.00] Tests passed: 83 # 167.09 [+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__->