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.62 [+14.62] # 14.62 [+0.00] Backup port # 14.63 [+0.00] ----------- # 16.44 [+1.81] TEST: Forwarding out of swp1 [ OK ] # 16.81 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 17.27 [+0.46] TEST: swp1 carrier off [ OK ] # 18.05 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 18.44 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 18.86 [+0.42] TEST: swp1 carrier on [ OK ] # 19.17 [+0.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 19.97 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 20.37 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 20.82 [+0.44] TEST: swp1 carrier off [ OK ] # 21.61 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 22.01 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 22.45 [+0.44] TEST: swp1 carrier on [ OK ] # 23.25 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 23.66 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 23.96 [+0.30] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.77 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 25.16 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 25.59 [+0.43] TEST: swp1 carrier off [ OK ] # 26.37 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 26.77 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 42.80 [+16.03] # 42.80 [+0.00] Backup nexthop ID # 42.80 [+0.00] ----------------- # 45.79 [+2.99] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.60 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 47.02 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 47.47 [+0.45] TEST: swp1 carrier off [ OK ] # 48.27 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 48.66 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 49.07 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 49.50 [+0.43] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.94 [+0.45] TEST: swp1 carrier on [ OK ] # 50.29 [+0.34] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.05 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 51.48 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 51.92 [+0.44] TEST: swp1 carrier off [ OK ] # 52.73 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 53.13 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 53.52 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 53.90 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.34 [+0.44] TEST: swp1 carrier on [ OK ] # 55.14 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 55.51 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 55.94 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 56.41 [+0.48] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.80 [+0.38] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.70 [+0.90] TEST: Forwarding out of swp1 [ OK ] # 58.12 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 58.54 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 58.96 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.40 [+0.44] TEST: swp1 carrier off [ OK ] # 60.19 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 60.63 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 61.03 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 61.41 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 77.42 [+16.00] # 77.42 [+0.00] Backup nexthop ID - invalid IDs # 77.42 [+0.00] ------------------------------- # 80.43 [+3.01] TEST: vx0 configured as backup port of swp1 [ OK ] # 80.77 [+0.34] TEST: Valid nexthop as backup nexthop [ OK ] # 81.21 [+0.44] TEST: swp1 carrier off [ OK ] # 82.02 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 82.43 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 82.83 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 83.01 [+0.17] TEST: No Tx drop increase [ OK ] # 83.34 [+0.33] TEST: Non-existent nexthop as backup nexthop [ OK ] # 84.11 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 84.53 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 84.93 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 85.11 [+0.18] TEST: Tx drop increased [ OK ] # 85.61 [+0.50] TEST: Blackhole nexthop as backup nexthop [ OK ] # 86.39 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 86.79 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 87.20 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 87.40 [+0.19] TEST: Tx drop increased [ OK ] # 87.72 [+0.32] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 88.53 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 88.92 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 89.33 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 89.52 [+0.19] TEST: Tx drop increased [ OK ] # 90.37 [+0.85] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 91.18 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 91.60 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 92.02 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 92.19 [+0.17] TEST: Tx drop increased [ OK ] # 108.18 [+15.99] # 108.18 [+0.00] Backup nexthop ID - ping # 108.18 [+0.00] ------------------------ # 113.04 [+4.86] TEST: Ping with backup nexthop ID [ OK ] # 118.69 [+5.64] TEST: Ping after disabling backup nexthop ID [ OK ] # 134.47 [+15.78] # 134.47 [+0.00] Backup nexthop ID - torture test # 134.47 [+0.00] -------------------------------- # 165.82 [+31.35] TEST: Torture test [ OK ] # 167.09 [+1.27] # 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__->