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.33 [+13.33] # 13.33 [+0.00] Backup port # 13.33 [+0.00] ----------- # 15.05 [+1.72] TEST: Forwarding out of swp1 [ OK ] # 15.48 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 15.97 [+0.49] TEST: swp1 carrier off [ OK ] # 16.73 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 17.11 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 17.53 [+0.42] TEST: swp1 carrier on [ OK ] # 17.81 [+0.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.54 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 18.95 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 19.34 [+0.39] TEST: swp1 carrier off [ OK ] # 20.09 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 20.46 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 20.86 [+0.40] TEST: swp1 carrier on [ OK ] # 21.57 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 21.95 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 22.25 [+0.30] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.00 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 23.38 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 23.80 [+0.42] TEST: swp1 carrier off [ OK ] # 24.55 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 24.94 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 39.92 [+14.98] # 39.92 [+0.00] Backup nexthop ID # 39.92 [+0.00] ----------------- # 42.67 [+2.75] TEST: vx0 configured as backup port of swp1 [ OK ] # 43.42 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 43.78 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 44.18 [+0.39] TEST: swp1 carrier off [ OK ] # 44.89 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 45.30 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 45.69 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 46.05 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.46 [+0.41] TEST: swp1 carrier on [ OK ] # 46.76 [+0.30] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 47.50 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 47.89 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 48.30 [+0.41] TEST: swp1 carrier off [ OK ] # 49.02 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 49.41 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 49.79 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 50.17 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.56 [+0.38] TEST: swp1 carrier on [ OK ] # 51.30 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 51.68 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 52.05 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 52.42 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.70 [+0.28] TEST: No backup nexthop ID configured for swp1 [ OK ] # 53.45 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 53.83 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 54.21 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 54.60 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.02 [+0.42] TEST: swp1 carrier off [ OK ] # 55.78 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 56.15 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 56.55 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 56.94 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 71.98 [+15.03] # 71.98 [+0.00] Backup nexthop ID - invalid IDs # 71.98 [+0.00] ------------------------------- # 74.42 [+2.45] TEST: vx0 configured as backup port of swp1 [ OK ] # 74.76 [+0.34] TEST: Valid nexthop as backup nexthop [ OK ] # 75.16 [+0.40] TEST: swp1 carrier off [ OK ] # 75.90 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 76.28 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 76.67 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 76.83 [+0.16] TEST: No Tx drop increase [ OK ] # 77.10 [+0.28] TEST: Non-existent nexthop as backup nexthop [ OK ] # 77.84 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 78.20 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 78.58 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 78.75 [+0.17] TEST: Tx drop increased [ OK ] # 79.19 [+0.44] TEST: Blackhole nexthop as backup nexthop [ OK ] # 79.92 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 80.29 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 80.68 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 80.85 [+0.18] TEST: Tx drop increased [ OK ] # 81.17 [+0.31] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 81.94 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 82.33 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 82.70 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 82.86 [+0.16] TEST: Tx drop increased [ OK ] # 83.70 [+0.85] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 84.51 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 84.95 [+0.44] TEST: Forwarding out of vx0 [ OK ] # 85.34 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 85.53 [+0.18] TEST: Tx drop increased [ OK ] # 101.60 [+16.07] # 101.60 [+0.00] Backup nexthop ID - ping # 101.60 [+0.00] ------------------------ # 106.27 [+4.67] TEST: Ping with backup nexthop ID [ OK ] # 111.85 [+5.58] TEST: Ping after disabling backup nexthop ID [ OK ] # 126.66 [+14.81] # 126.66 [+0.00] Backup nexthop ID - torture test # 126.67 [+0.00] -------------------------------- # 157.92 [+31.25] TEST: Torture test [ OK ] # 159.10 [+1.18] # 159.10 [+0.00] Tests passed: 83 # 159.10 [+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__->