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.74 [+14.74] # 14.74 [+0.00] Backup port # 14.75 [+0.00] ----------- # 16.61 [+1.86] TEST: Forwarding out of swp1 [ OK ] # 17.00 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 17.46 [+0.45] TEST: swp1 carrier off [ OK ] # 18.26 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 18.68 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 19.12 [+0.43] TEST: swp1 carrier on [ OK ] # 19.44 [+0.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.25 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 20.66 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 21.11 [+0.45] TEST: swp1 carrier off [ OK ] # 21.92 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 22.31 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 22.75 [+0.44] TEST: swp1 carrier on [ OK ] # 23.54 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 23.94 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 24.25 [+0.32] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.06 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 25.43 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 25.86 [+0.43] TEST: swp1 carrier off [ OK ] # 26.65 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 27.05 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 42.94 [+15.88] # 42.94 [+0.00] Backup nexthop ID # 42.94 [+0.00] ----------------- # 45.87 [+2.93] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.65 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 47.07 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 47.53 [+0.45] TEST: swp1 carrier off [ OK ] # 48.34 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 48.75 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 49.15 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 49.55 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.03 [+0.47] TEST: swp1 carrier on [ OK ] # 50.33 [+0.31] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.13 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 51.57 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 52.02 [+0.45] TEST: swp1 carrier off [ OK ] # 52.82 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 53.23 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 53.66 [+0.44] TEST: Forwarding using backup nexthop ID [ OK ] # 54.07 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.53 [+0.46] TEST: swp1 carrier on [ OK ] # 55.36 [+0.83] TEST: Forwarding out of swp1 [ OK ] # 55.77 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 56.20 [+0.44] TEST: No forwarding using backup nexthop ID [ OK ] # 56.61 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.97 [+0.36] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.80 [+0.83] TEST: Forwarding out of swp1 [ OK ] # 58.20 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 58.62 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 59.05 [+0.43] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.49 [+0.44] TEST: swp1 carrier off [ OK ] # 60.28 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 60.71 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 61.12 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 61.50 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 77.89 [+16.39] # 77.89 [+0.00] Backup nexthop ID - invalid IDs # 77.89 [+0.00] ------------------------------- # 80.84 [+2.95] TEST: vx0 configured as backup port of swp1 [ OK ] # 81.19 [+0.35] TEST: Valid nexthop as backup nexthop [ OK ] # 81.67 [+0.47] TEST: swp1 carrier off [ OK ] # 82.47 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 82.89 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 83.31 [+0.42] TEST: Forwarding using backup nexthop ID [ OK ] # 83.50 [+0.19] TEST: No Tx drop increase [ OK ] # 83.83 [+0.33] TEST: Non-existent nexthop as backup nexthop [ OK ] # 84.65 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 85.07 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 85.46 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 85.62 [+0.16] TEST: Tx drop increased [ OK ] # 86.10 [+0.48] TEST: Blackhole nexthop as backup nexthop [ OK ] # 86.93 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 87.32 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 87.75 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 87.91 [+0.16] TEST: Tx drop increased [ OK ] # 88.25 [+0.33] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 89.08 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 89.50 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 89.89 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 90.09 [+0.20] TEST: Tx drop increased [ OK ] # 90.91 [+0.82] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 91.69 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 92.08 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 92.49 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 92.66 [+0.17] TEST: Tx drop increased [ OK ] # 108.79 [+16.13] # 108.79 [+0.00] Backup nexthop ID - ping # 108.79 [+0.00] ------------------------ # 113.95 [+5.16] TEST: Ping with backup nexthop ID [ OK ] # 119.59 [+5.64] TEST: Ping after disabling backup nexthop ID [ OK ] # 135.68 [+16.09] # 135.68 [+0.00] Backup nexthop ID - torture test # 135.68 [+0.00] -------------------------------- # 167.05 [+31.37] TEST: Torture test [ OK ] # 168.41 [+1.36] # 168.41 [+0.00] Tests passed: 83 # 168.41 [+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__->