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.35 [+14.35] # 14.35 [+0.00] Backup port # 14.35 [+0.00] ----------- # 16.62 [+2.27] TEST: Forwarding out of swp1 [ OK ] # 17.02 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 17.45 [+0.43] TEST: swp1 carrier off [ OK ] # 18.23 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 18.62 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 19.07 [+0.45] TEST: swp1 carrier on [ OK ] # 19.39 [+0.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.17 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 20.57 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 21.01 [+0.44] TEST: swp1 carrier off [ OK ] # 21.80 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 22.19 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 22.63 [+0.44] TEST: swp1 carrier on [ OK ] # 23.38 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 23.76 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 24.07 [+0.31] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.85 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 25.24 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 25.70 [+0.46] TEST: swp1 carrier off [ OK ] # 26.49 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 26.88 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 42.53 [+15.66] # 42.53 [+0.00] Backup nexthop ID # 42.54 [+0.00] ----------------- # 45.34 [+2.81] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.10 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 46.52 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 46.97 [+0.44] TEST: swp1 carrier off [ OK ] # 47.76 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 48.16 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 48.56 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 48.95 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.35 [+0.41] TEST: swp1 carrier on [ OK ] # 49.66 [+0.31] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 50.42 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 50.81 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 51.24 [+0.43] TEST: swp1 carrier off [ OK ] # 52.03 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 52.43 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 52.81 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 53.19 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.64 [+0.45] TEST: swp1 carrier on [ OK ] # 54.41 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 54.80 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 55.21 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 55.62 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.92 [+0.30] TEST: No backup nexthop ID configured for swp1 [ OK ] # 56.68 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 57.09 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 57.47 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 57.89 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 58.31 [+0.43] TEST: swp1 carrier off [ OK ] # 59.08 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 59.46 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 59.85 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 60.23 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 75.75 [+15.52] # 75.75 [+0.00] Backup nexthop ID - invalid IDs # 75.75 [+0.00] ------------------------------- # 78.51 [+2.75] TEST: vx0 configured as backup port of swp1 [ OK ] # 78.83 [+0.32] TEST: Valid nexthop as backup nexthop [ OK ] # 79.29 [+0.46] TEST: swp1 carrier off [ OK ] # 80.06 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 80.46 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 80.83 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 80.99 [+0.16] TEST: No Tx drop increase [ OK ] # 81.28 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 82.08 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 82.49 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 82.94 [+0.45] TEST: No forwarding using backup nexthop ID [ OK ] # 83.09 [+0.15] TEST: Tx drop increased [ OK ] # 83.60 [+0.51] TEST: Blackhole nexthop as backup nexthop [ OK ] # 84.40 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 84.86 [+0.46] TEST: Forwarding out of vx0 [ OK ] # 85.33 [+0.46] TEST: No forwarding using backup nexthop ID [ OK ] # 85.52 [+0.19] TEST: Tx drop increased [ OK ] # 85.87 [+0.35] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 86.65 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 87.03 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 87.45 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 87.62 [+0.17] TEST: Tx drop increased [ OK ] # 88.43 [+0.82] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 89.20 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 89.59 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 89.99 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 90.15 [+0.15] TEST: Tx drop increased [ OK ] # 105.78 [+15.64] # 105.78 [+0.00] Backup nexthop ID - ping # 105.78 [+0.00] ------------------------ # 110.77 [+4.98] TEST: Ping with backup nexthop ID [ OK ] # 116.39 [+5.62] TEST: Ping after disabling backup nexthop ID [ OK ] # 132.55 [+16.16] # 132.55 [+0.00] Backup nexthop ID - torture test # 132.55 [+0.00] -------------------------------- # 163.94 [+31.39] TEST: Torture test [ OK ] # 165.22 [+1.28] # 165.22 [+0.00] Tests passed: 83 # 165.22 [+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__->