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 # 15.30 [+15.30] # 15.30 [+0.00] Backup port # 15.30 [+0.00] ----------- # 17.30 [+2.00] TEST: Forwarding out of swp1 [ OK ] # 17.72 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 18.17 [+0.45] TEST: swp1 carrier off [ OK ] # 18.98 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 19.41 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 19.91 [+0.49] TEST: swp1 carrier on [ OK ] # 20.23 [+0.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 21.04 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 21.47 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 21.95 [+0.48] TEST: swp1 carrier off [ OK ] # 22.77 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 23.21 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 23.70 [+0.49] TEST: swp1 carrier on [ OK ] # 24.49 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 24.92 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 25.24 [+0.31] TEST: vx0 not configured as backup port of swp1 [ OK ] # 26.11 [+0.87] TEST: Forwarding out of swp1 [ OK ] # 26.54 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 26.99 [+0.45] TEST: swp1 carrier off [ OK ] # 27.80 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 28.21 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 44.76 [+16.55] # 44.76 [+0.00] Backup nexthop ID # 44.76 [+0.00] ----------------- # 47.85 [+3.09] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.69 [+0.84] TEST: Forwarding out of swp1 [ OK ] # 49.09 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 49.56 [+0.47] TEST: swp1 carrier off [ OK ] # 50.37 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 50.81 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 51.22 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 51.64 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 52.09 [+0.45] TEST: swp1 carrier on [ OK ] # 52.41 [+0.32] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 53.22 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 53.65 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 54.10 [+0.45] TEST: swp1 carrier off [ OK ] # 54.89 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 55.29 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 55.68 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 56.09 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.56 [+0.46] TEST: swp1 carrier on [ OK ] # 57.36 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 57.78 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 58.20 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 58.61 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 58.96 [+0.35] TEST: No backup nexthop ID configured for swp1 [ OK ] # 59.72 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 60.12 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 60.53 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 60.93 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 61.38 [+0.46] TEST: swp1 carrier off [ OK ] # 62.19 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 62.63 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 63.02 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 63.44 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 79.91 [+16.46] # 79.91 [+0.00] Backup nexthop ID - invalid IDs # 79.91 [+0.00] ------------------------------- # 82.79 [+2.88] TEST: vx0 configured as backup port of swp1 [ OK ] # 83.11 [+0.32] TEST: Valid nexthop as backup nexthop [ OK ] # 83.56 [+0.45] TEST: swp1 carrier off [ OK ] # 84.36 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 84.77 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 85.18 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 85.36 [+0.18] TEST: No Tx drop increase [ OK ] # 85.70 [+0.34] TEST: Non-existent nexthop as backup nexthop [ OK ] # 86.53 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 86.94 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 87.36 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 87.54 [+0.18] TEST: Tx drop increased [ OK ] # 88.08 [+0.54] TEST: Blackhole nexthop as backup nexthop [ OK ] # 88.90 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 89.28 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 89.69 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 89.86 [+0.17] TEST: Tx drop increased [ OK ] # 90.21 [+0.36] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 91.03 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 91.44 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 91.85 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 92.02 [+0.17] TEST: Tx drop increased [ OK ] # 92.89 [+0.87] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 93.69 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 94.08 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 94.52 [+0.44] TEST: No forwarding using backup nexthop ID [ OK ] # 94.72 [+0.20] TEST: Tx drop increased [ OK ] # 110.76 [+16.04] # 110.76 [+0.00] Backup nexthop ID - ping # 110.76 [+0.00] ------------------------ # 115.76 [+5.00] TEST: Ping with backup nexthop ID [ OK ] # 121.43 [+5.67] TEST: Ping after disabling backup nexthop ID [ OK ] # 137.82 [+16.39] # 137.82 [+0.00] Backup nexthop ID - torture test # 137.82 [+0.00] -------------------------------- # 169.16 [+31.34] TEST: Torture test [ OK ] # 170.44 [+1.28] # 170.44 [+0.00] Tests passed: 83 # 170.44 [+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__->