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 # 13.59 [+13.59] # 13.59 [+0.00] Backup port # 13.59 [+0.00] ----------- # 15.63 [+2.04] TEST: Forwarding out of swp1 [ OK ] # 16.00 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 16.42 [+0.41] TEST: swp1 carrier off [ OK ] # 17.19 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 17.62 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 18.04 [+0.42] TEST: swp1 carrier on [ OK ] # 18.34 [+0.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 19.09 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 19.48 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 19.89 [+0.41] TEST: swp1 carrier off [ OK ] # 20.64 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 21.03 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 21.46 [+0.43] TEST: swp1 carrier on [ OK ] # 22.18 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 22.56 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 22.84 [+0.28] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.58 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 23.96 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 24.37 [+0.41] TEST: swp1 carrier off [ OK ] # 25.14 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 25.52 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 40.56 [+15.04] # 40.56 [+0.00] Backup nexthop ID # 40.56 [+0.00] ----------------- # 43.26 [+2.70] TEST: vx0 configured as backup port of swp1 [ OK ] # 44.01 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 44.39 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 44.80 [+0.42] TEST: swp1 carrier off [ OK ] # 45.52 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 45.91 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 46.30 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 46.66 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.06 [+0.40] TEST: swp1 carrier on [ OK ] # 47.34 [+0.28] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 48.09 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 48.45 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 48.89 [+0.44] TEST: swp1 carrier off [ OK ] # 49.67 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 50.05 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 50.44 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 50.86 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.26 [+0.40] TEST: swp1 carrier on [ OK ] # 52.03 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 52.40 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 52.79 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 53.18 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.46 [+0.28] TEST: No backup nexthop ID configured for swp1 [ OK ] # 54.19 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 54.56 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 54.95 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 55.34 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.75 [+0.41] TEST: swp1 carrier off [ OK ] # 56.47 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 56.83 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 57.22 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 57.58 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 73.25 [+15.67] # 73.25 [+0.00] Backup nexthop ID - invalid IDs # 73.25 [+0.00] ------------------------------- # 76.01 [+2.76] TEST: vx0 configured as backup port of swp1 [ OK ] # 76.32 [+0.31] TEST: Valid nexthop as backup nexthop [ OK ] # 76.75 [+0.43] TEST: swp1 carrier off [ OK ] # 77.53 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 77.90 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 78.32 [+0.42] TEST: Forwarding using backup nexthop ID [ OK ] # 78.50 [+0.18] TEST: No Tx drop increase [ OK ] # 78.84 [+0.34] TEST: Non-existent nexthop as backup nexthop [ OK ] # 79.64 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 80.01 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 80.38 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 80.56 [+0.18] TEST: Tx drop increased [ OK ] # 81.01 [+0.45] TEST: Blackhole nexthop as backup nexthop [ OK ] # 81.75 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 82.16 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 82.52 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 82.67 [+0.15] TEST: Tx drop increased [ OK ] # 82.95 [+0.28] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 83.77 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 84.19 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 84.57 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 84.75 [+0.18] TEST: Tx drop increased [ OK ] # 85.53 [+0.77] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 86.27 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 86.62 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 86.99 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 87.15 [+0.16] TEST: Tx drop increased [ OK ] # 102.39 [+15.24] # 102.39 [+0.00] Backup nexthop ID - ping # 102.39 [+0.00] ------------------------ # 107.27 [+4.88] TEST: Ping with backup nexthop ID [ OK ] # 112.87 [+5.60] TEST: Ping after disabling backup nexthop ID [ OK ] # 128.19 [+15.32] # 128.19 [+0.00] Backup nexthop ID - torture test # 128.19 [+0.00] -------------------------------- # 159.42 [+31.22] TEST: Torture test [ OK ] # 160.64 [+1.22] # 160.64 [+0.00] Tests passed: 83 # 160.64 [+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__->