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.05 [+14.05] # 14.05 [+0.00] Backup port # 14.05 [+0.00] ----------- # 16.22 [+2.17] TEST: Forwarding out of swp1 [ OK ] # 16.61 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 17.03 [+0.42] TEST: swp1 carrier off [ OK ] # 17.82 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 18.22 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 18.64 [+0.42] TEST: swp1 carrier on [ OK ] # 18.95 [+0.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 19.71 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 20.09 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 20.51 [+0.41] TEST: swp1 carrier off [ OK ] # 21.30 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 21.68 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 22.09 [+0.41] TEST: swp1 carrier on [ OK ] # 22.84 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 23.24 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 23.54 [+0.30] TEST: vx0 not configured as backup port of swp1 [ OK ] # 24.32 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 24.69 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 25.13 [+0.44] TEST: swp1 carrier off [ OK ] # 25.91 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 26.29 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 41.61 [+15.32] # 41.61 [+0.00] Backup nexthop ID # 41.61 [+0.00] ----------------- # 44.43 [+2.81] TEST: vx0 configured as backup port of swp1 [ OK ] # 45.21 [+0.78] TEST: Forwarding out of swp1 [ OK ] # 45.63 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 46.07 [+0.44] TEST: swp1 carrier off [ OK ] # 46.85 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 47.24 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 47.63 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 48.01 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.45 [+0.44] TEST: swp1 carrier on [ OK ] # 48.74 [+0.29] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 49.53 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 49.92 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 50.36 [+0.43] TEST: swp1 carrier off [ OK ] # 51.14 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 51.54 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 51.94 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 52.35 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.76 [+0.41] TEST: swp1 carrier on [ OK ] # 53.53 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 53.91 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 54.30 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 54.68 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.97 [+0.29] TEST: No backup nexthop ID configured for swp1 [ OK ] # 55.73 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 56.12 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 56.53 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 56.91 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 57.34 [+0.43] TEST: swp1 carrier off [ OK ] # 58.11 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 58.51 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 58.91 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 59.33 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 74.78 [+15.45] # 74.78 [+0.00] Backup nexthop ID - invalid IDs # 74.78 [+0.00] ------------------------------- # 77.57 [+2.79] TEST: vx0 configured as backup port of swp1 [ OK ] # 77.86 [+0.29] TEST: Valid nexthop as backup nexthop [ OK ] # 78.28 [+0.42] TEST: swp1 carrier off [ OK ] # 79.05 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 79.45 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 79.85 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 80.02 [+0.17] TEST: No Tx drop increase [ OK ] # 80.32 [+0.30] TEST: Non-existent nexthop as backup nexthop [ OK ] # 81.10 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 81.50 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 81.91 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 82.08 [+0.17] TEST: Tx drop increased [ OK ] # 82.55 [+0.47] TEST: Blackhole nexthop as backup nexthop [ OK ] # 83.31 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 83.70 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 84.08 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 84.24 [+0.16] TEST: Tx drop increased [ OK ] # 84.55 [+0.31] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 85.31 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 85.73 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 86.11 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 86.29 [+0.18] TEST: Tx drop increased [ OK ] # 87.09 [+0.80] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 87.88 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 88.29 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 88.70 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 88.87 [+0.17] TEST: Tx drop increased [ OK ] # 104.43 [+15.56] # 104.43 [+0.00] Backup nexthop ID - ping # 104.43 [+0.00] ------------------------ # 109.25 [+4.81] TEST: Ping with backup nexthop ID [ OK ] # 114.85 [+5.61] TEST: Ping after disabling backup nexthop ID [ OK ] # 130.19 [+15.34] # 130.19 [+0.00] Backup nexthop ID - torture test # 130.19 [+0.00] -------------------------------- # 161.42 [+31.23] TEST: Torture test [ OK ] # 162.68 [+1.25] # 162.68 [+0.00] Tests passed: 83 # 162.68 [+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__->