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.04 [+15.04] # 15.04 [+0.00] Backup port # 15.04 [+0.00] ----------- # 16.97 [+1.93] TEST: Forwarding out of swp1 [ OK ] # 17.37 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 17.82 [+0.45] TEST: swp1 carrier off [ OK ] # 18.63 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 19.06 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 19.50 [+0.44] TEST: swp1 carrier on [ OK ] # 19.86 [+0.36] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.65 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 21.08 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 21.53 [+0.45] TEST: swp1 carrier off [ OK ] # 22.47 [+0.94] TEST: No forwarding out of swp1 [ OK ] # 22.95 [+0.48] TEST: Forwarding out of vx0 [ OK ] # 23.58 [+0.62] TEST: swp1 carrier on [ OK ] # 24.38 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 24.80 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 25.13 [+0.34] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.92 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 26.35 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 26.84 [+0.49] TEST: swp1 carrier off [ OK ] # 27.66 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 28.08 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 44.19 [+16.11] # 44.19 [+0.00] Backup nexthop ID # 44.19 [+0.00] ----------------- # 47.10 [+2.91] TEST: vx0 configured as backup port of swp1 [ OK ] # 47.90 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 48.32 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 48.76 [+0.44] TEST: swp1 carrier off [ OK ] # 49.58 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 49.99 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 50.43 [+0.44] TEST: No forwarding using backup nexthop ID [ OK ] # 50.82 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 51.28 [+0.46] TEST: swp1 carrier on [ OK ] # 51.60 [+0.33] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 52.40 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 52.82 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 53.29 [+0.47] TEST: swp1 carrier off [ OK ] # 54.10 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 54.52 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 54.93 [+0.41] TEST: Forwarding using backup nexthop ID [ OK ] # 55.34 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.80 [+0.46] TEST: swp1 carrier on [ OK ] # 56.62 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 57.03 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 57.41 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 57.82 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 58.18 [+0.35] TEST: No backup nexthop ID configured for swp1 [ OK ] # 58.97 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 59.36 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 59.78 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 60.19 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 60.66 [+0.47] TEST: swp1 carrier off [ OK ] # 61.47 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 61.85 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 62.24 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 62.64 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 78.89 [+16.25] # 78.89 [+0.00] Backup nexthop ID - invalid IDs # 78.89 [+0.00] ------------------------------- # 81.83 [+2.94] TEST: vx0 configured as backup port of swp1 [ OK ] # 82.16 [+0.33] TEST: Valid nexthop as backup nexthop [ OK ] # 82.63 [+0.47] TEST: swp1 carrier off [ OK ] # 83.46 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 83.90 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 84.31 [+0.42] TEST: Forwarding using backup nexthop ID [ OK ] # 84.50 [+0.19] TEST: No Tx drop increase [ OK ] # 84.85 [+0.35] TEST: Non-existent nexthop as backup nexthop [ OK ] # 85.65 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 86.08 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 86.51 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 86.68 [+0.17] TEST: Tx drop increased [ OK ] # 87.18 [+0.50] TEST: Blackhole nexthop as backup nexthop [ OK ] # 88.01 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 88.44 [+0.43] TEST: Forwarding out of vx0 [ OK ] # 88.83 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 89.02 [+0.18] TEST: Tx drop increased [ OK ] # 89.32 [+0.30] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 90.10 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 90.52 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 90.91 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 91.08 [+0.17] TEST: Tx drop increased [ OK ] # 92.00 [+0.92] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 92.84 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 93.25 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 93.65 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 93.85 [+0.20] TEST: Tx drop increased [ OK ] # 110.01 [+16.16] # 110.01 [+0.00] Backup nexthop ID - ping # 110.01 [+0.00] ------------------------ # 115.12 [+5.11] TEST: Ping with backup nexthop ID [ OK ] # 120.76 [+5.64] TEST: Ping after disabling backup nexthop ID [ OK ] # 136.79 [+16.03] # 136.79 [+0.00] Backup nexthop ID - torture test # 136.79 [+0.00] -------------------------------- # 168.10 [+31.31] TEST: Torture test [ OK ] # 169.39 [+1.28] # 169.39 [+0.00] Tests passed: 83 # 169.39 [+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__->