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.46 [+14.46] # 14.46 [+0.00] Backup port # 14.46 [+0.00] ----------- # 16.36 [+1.90] TEST: Forwarding out of swp1 [ OK ] # 16.75 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 17.19 [+0.44] TEST: swp1 carrier off [ OK ] # 18.01 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 18.43 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 18.89 [+0.46] TEST: swp1 carrier on [ OK ] # 19.19 [+0.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 19.98 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 20.39 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 20.84 [+0.45] TEST: swp1 carrier off [ OK ] # 21.62 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 22.03 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 22.45 [+0.42] TEST: swp1 carrier on [ OK ] # 23.24 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 23.63 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 23.98 [+0.35] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.77 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 25.16 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 25.59 [+0.43] TEST: swp1 carrier off [ OK ] # 26.39 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 26.81 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 42.62 [+15.81] # 42.62 [+0.00] Backup nexthop ID # 42.62 [+0.00] ----------------- # 45.54 [+2.92] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.33 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 46.73 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 47.18 [+0.46] TEST: swp1 carrier off [ OK ] # 48.00 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 48.42 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 48.82 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 49.24 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.68 [+0.44] TEST: swp1 carrier on [ OK ] # 50.01 [+0.33] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 50.82 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 51.23 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 51.68 [+0.45] TEST: swp1 carrier off [ OK ] # 52.48 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 52.88 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 53.29 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 53.67 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.11 [+0.44] TEST: swp1 carrier on [ OK ] # 54.84 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 55.22 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 55.60 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 55.99 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.30 [+0.30] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.07 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 57.49 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 57.89 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 58.27 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 58.72 [+0.45] TEST: swp1 carrier off [ OK ] # 59.47 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 59.86 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 60.24 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 60.63 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 76.19 [+15.56] # 76.19 [+0.00] Backup nexthop ID - invalid IDs # 76.19 [+0.00] ------------------------------- # 78.88 [+2.69] TEST: vx0 configured as backup port of swp1 [ OK ] # 79.20 [+0.32] TEST: Valid nexthop as backup nexthop [ OK ] # 79.66 [+0.46] TEST: swp1 carrier off [ OK ] # 80.47 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 80.86 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 81.29 [+0.43] TEST: Forwarding using backup nexthop ID [ OK ] # 81.47 [+0.18] TEST: No Tx drop increase [ OK ] # 81.77 [+0.30] TEST: Non-existent nexthop as backup nexthop [ OK ] # 82.55 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 82.95 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 83.35 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 83.52 [+0.18] TEST: Tx drop increased [ OK ] # 84.01 [+0.48] TEST: Blackhole nexthop as backup nexthop [ OK ] # 84.78 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 85.17 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 85.56 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 85.71 [+0.16] TEST: Tx drop increased [ OK ] # 86.03 [+0.31] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 86.78 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 87.19 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 87.60 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 87.77 [+0.17] TEST: Tx drop increased [ OK ] # 88.58 [+0.81] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 89.35 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 89.76 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 90.15 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 90.31 [+0.16] TEST: Tx drop increased [ OK ] # 106.00 [+15.69] # 106.00 [+0.00] Backup nexthop ID - ping # 106.00 [+0.00] ------------------------ # 110.92 [+4.92] TEST: Ping with backup nexthop ID [ OK ] # 116.54 [+5.62] TEST: Ping after disabling backup nexthop ID [ OK ] # 132.11 [+15.58] # 132.11 [+0.00] Backup nexthop ID - torture test # 132.11 [+0.00] -------------------------------- # 163.36 [+31.24] TEST: Torture test [ OK ] # 164.59 [+1.24] # 164.59 [+0.00] Tests passed: 83 # 164.59 [+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__->