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.67 [+14.67] # 14.67 [+0.00] Backup port # 14.67 [+0.00] ----------- # 16.54 [+1.87] TEST: Forwarding out of swp1 [ OK ] # 16.94 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 17.41 [+0.47] TEST: swp1 carrier off [ OK ] # 18.18 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 18.58 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 19.02 [+0.44] TEST: swp1 carrier on [ OK ] # 19.33 [+0.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.12 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 20.52 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 20.96 [+0.43] TEST: swp1 carrier off [ OK ] # 21.78 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 22.19 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 22.63 [+0.44] TEST: swp1 carrier on [ OK ] # 23.41 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 23.82 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 24.12 [+0.30] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.92 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 25.32 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 25.78 [+0.45] TEST: swp1 carrier off [ OK ] # 26.57 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 26.98 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 43.19 [+16.21] # 43.19 [+0.00] Backup nexthop ID # 43.20 [+0.00] ----------------- # 46.15 [+2.95] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.97 [+0.83] TEST: Forwarding out of swp1 [ OK ] # 47.39 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 47.85 [+0.46] TEST: swp1 carrier off [ OK ] # 48.66 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 49.13 [+0.47] TEST: Forwarding out of vx0 [ OK ] # 49.65 [+0.51] TEST: No forwarding using backup nexthop ID [ OK ] # 50.12 [+0.47] TEST: Forwarding using VXLAN FDB entry [ OK ] # 50.59 [+0.47] TEST: swp1 carrier on [ OK ] # 50.90 [+0.31] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 51.72 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 52.13 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 52.59 [+0.46] TEST: swp1 carrier off [ OK ] # 53.38 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 53.80 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 54.21 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 54.63 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.13 [+0.50] TEST: swp1 carrier on [ OK ] # 55.93 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 56.33 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 56.75 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 57.16 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 57.49 [+0.32] TEST: No backup nexthop ID configured for swp1 [ OK ] # 58.29 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 58.70 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 59.11 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 59.50 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 59.96 [+0.45] TEST: swp1 carrier off [ OK ] # 60.80 [+0.84] TEST: No forwarding out of swp1 [ OK ] # 61.21 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 61.65 [+0.44] TEST: No forwarding using backup nexthop ID [ OK ] # 62.05 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 78.20 [+16.15] # 78.20 [+0.00] Backup nexthop ID - invalid IDs # 78.20 [+0.00] ------------------------------- # 81.24 [+3.03] TEST: vx0 configured as backup port of swp1 [ OK ] # 81.55 [+0.31] TEST: Valid nexthop as backup nexthop [ OK ] # 82.00 [+0.46] TEST: swp1 carrier off [ OK ] # 82.83 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 83.23 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 83.64 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 83.80 [+0.16] TEST: No Tx drop increase [ OK ] # 84.12 [+0.32] TEST: Non-existent nexthop as backup nexthop [ OK ] # 84.91 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 85.33 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 85.72 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 85.87 [+0.15] TEST: Tx drop increased [ OK ] # 86.36 [+0.48] TEST: Blackhole nexthop as backup nexthop [ OK ] # 87.16 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 87.56 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 87.98 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 88.14 [+0.16] TEST: Tx drop increased [ OK ] # 88.48 [+0.34] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 89.26 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 89.66 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 90.07 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 90.25 [+0.18] TEST: Tx drop increased [ OK ] # 91.10 [+0.85] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 91.90 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 92.33 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 92.73 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 92.92 [+0.19] TEST: Tx drop increased [ OK ] # 108.91 [+15.99] # 108.91 [+0.00] Backup nexthop ID - ping # 108.91 [+0.00] ------------------------ # 114.04 [+5.13] TEST: Ping with backup nexthop ID [ OK ] # 119.67 [+5.63] TEST: Ping after disabling backup nexthop ID [ OK ] # 135.57 [+15.90] # 135.57 [+0.00] Backup nexthop ID - torture test # 135.58 [+0.00] -------------------------------- # 166.87 [+31.30] TEST: Torture test [ OK ] # 168.18 [+1.31] # 168.18 [+0.00] Tests passed: 83 # 168.19 [+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__->