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.55 [+14.55] # 14.55 [+0.00] Backup port # 14.55 [+0.00] ----------- # 16.41 [+1.86] TEST: Forwarding out of swp1 [ OK ] # 16.81 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 17.23 [+0.43] TEST: swp1 carrier off [ OK ] # 18.04 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 18.43 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 18.87 [+0.44] TEST: swp1 carrier on [ OK ] # 19.17 [+0.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 19.97 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 20.38 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 20.83 [+0.45] TEST: swp1 carrier off [ OK ] # 21.59 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 21.99 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 22.43 [+0.44] TEST: swp1 carrier on [ OK ] # 23.23 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 23.64 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 23.97 [+0.33] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.80 [+0.83] TEST: Forwarding out of swp1 [ OK ] # 25.21 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 25.67 [+0.46] TEST: swp1 carrier off [ OK ] # 26.49 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 26.91 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 43.00 [+16.09] # 43.00 [+0.00] Backup nexthop ID # 43.00 [+0.00] ----------------- # 45.91 [+2.91] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.72 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 47.13 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 47.60 [+0.47] TEST: swp1 carrier off [ OK ] # 48.43 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 48.83 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 49.24 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 49.65 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.12 [+0.46] TEST: swp1 carrier on [ OK ] # 50.47 [+0.35] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.29 [+0.83] TEST: Forwarding out of swp1 [ OK ] # 51.75 [+0.45] TEST: No forwarding out of vx0 [ OK ] # 52.20 [+0.46] TEST: swp1 carrier off [ OK ] # 53.08 [+0.88] TEST: No forwarding out of swp1 [ OK ] # 53.48 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 53.87 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 54.30 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.75 [+0.46] TEST: swp1 carrier on [ OK ] # 55.57 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 56.01 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 56.43 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 56.85 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 57.17 [+0.32] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.98 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 58.36 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 58.77 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 59.18 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.65 [+0.47] TEST: swp1 carrier off [ OK ] # 60.43 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 60.82 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 61.24 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 61.65 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 77.92 [+16.27] # 77.93 [+0.00] Backup nexthop ID - invalid IDs # 77.93 [+0.00] ------------------------------- # 80.78 [+2.85] TEST: vx0 configured as backup port of swp1 [ OK ] # 81.10 [+0.32] TEST: Valid nexthop as backup nexthop [ OK ] # 81.54 [+0.44] TEST: swp1 carrier off [ OK ] # 82.38 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 82.79 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 83.19 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 83.37 [+0.18] TEST: No Tx drop increase [ OK ] # 83.72 [+0.35] TEST: Non-existent nexthop as backup nexthop [ OK ] # 84.53 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 84.94 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 85.37 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 85.53 [+0.16] TEST: Tx drop increased [ OK ] # 86.01 [+0.48] TEST: Blackhole nexthop as backup nexthop [ OK ] # 86.80 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 87.22 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 87.61 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 87.80 [+0.19] TEST: Tx drop increased [ OK ] # 88.13 [+0.33] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 88.92 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 89.31 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 89.70 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 89.87 [+0.17] TEST: Tx drop increased [ OK ] # 90.74 [+0.86] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 91.52 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 91.91 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 92.32 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 92.47 [+0.16] TEST: Tx drop increased [ OK ] # 108.94 [+16.46] # 108.94 [+0.00] Backup nexthop ID - ping # 108.94 [+0.00] ------------------------ # 113.93 [+4.99] TEST: Ping with backup nexthop ID [ OK ] # 119.57 [+5.64] TEST: Ping after disabling backup nexthop ID [ OK ] # 135.54 [+15.97] # 135.54 [+0.00] Backup nexthop ID - torture test # 135.54 [+0.00] -------------------------------- # 166.85 [+31.31] TEST: Torture test [ OK ] # 168.12 [+1.26] # 168.12 [+0.00] Tests passed: 83 # 168.12 [+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__->