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.49 [+13.49] # 13.49 [+0.00] Backup port # 13.49 [+0.00] ----------- # 15.49 [+1.99] TEST: Forwarding out of swp1 [ OK ] # 15.85 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 16.27 [+0.42] TEST: swp1 carrier off [ OK ] # 17.00 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 17.40 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 17.81 [+0.40] TEST: swp1 carrier on [ OK ] # 18.07 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.80 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 19.20 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 19.60 [+0.39] TEST: swp1 carrier off [ OK ] # 20.31 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 20.67 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 21.06 [+0.39] TEST: swp1 carrier on [ OK ] # 21.78 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 22.17 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 22.46 [+0.29] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.21 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 23.58 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 23.98 [+0.40] TEST: swp1 carrier off [ OK ] # 24.70 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 25.06 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 40.06 [+15.00] # 40.06 [+0.00] Backup nexthop ID # 40.06 [+0.00] ----------------- # 42.74 [+2.68] TEST: vx0 configured as backup port of swp1 [ OK ] # 43.47 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 43.88 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 44.28 [+0.40] TEST: swp1 carrier off [ OK ] # 44.99 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 45.37 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 45.74 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 46.12 [+0.38] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.51 [+0.39] TEST: swp1 carrier on [ OK ] # 46.80 [+0.30] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 47.53 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 47.92 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 48.33 [+0.41] TEST: swp1 carrier off [ OK ] # 49.04 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 49.42 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 49.81 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 50.18 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.61 [+0.43] TEST: swp1 carrier on [ OK ] # 51.36 [+0.75] TEST: Forwarding out of swp1 [ OK ] # 51.74 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 52.12 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 52.50 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.78 [+0.28] TEST: No backup nexthop ID configured for swp1 [ OK ] # 53.49 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 53.89 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 54.27 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 54.64 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.05 [+0.41] TEST: swp1 carrier off [ OK ] # 55.79 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 56.16 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 56.54 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 56.93 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 71.95 [+15.01] # 71.95 [+0.00] Backup nexthop ID - invalid IDs # 71.95 [+0.00] ------------------------------- # 74.67 [+2.72] TEST: vx0 configured as backup port of swp1 [ OK ] # 74.97 [+0.30] TEST: Valid nexthop as backup nexthop [ OK ] # 75.38 [+0.41] TEST: swp1 carrier off [ OK ] # 76.13 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 76.52 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 76.90 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 77.05 [+0.15] TEST: No Tx drop increase [ OK ] # 77.36 [+0.31] TEST: Non-existent nexthop as backup nexthop [ OK ] # 78.12 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 78.51 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 78.90 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 79.07 [+0.18] TEST: Tx drop increased [ OK ] # 79.53 [+0.45] TEST: Blackhole nexthop as backup nexthop [ OK ] # 80.31 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 80.69 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 81.09 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 81.27 [+0.18] TEST: Tx drop increased [ OK ] # 81.56 [+0.29] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 82.31 [+0.75] TEST: No forwarding out of swp1 [ OK ] # 82.67 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 83.05 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 83.22 [+0.17] TEST: Tx drop increased [ OK ] # 84.00 [+0.77] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 84.74 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 85.13 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 85.51 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 85.67 [+0.16] TEST: Tx drop increased [ OK ] # 100.88 [+15.21] # 100.88 [+0.00] Backup nexthop ID - ping # 100.88 [+0.00] ------------------------ # 105.64 [+4.75] TEST: Ping with backup nexthop ID [ OK ] # 111.23 [+5.59] TEST: Ping after disabling backup nexthop ID [ OK ] # 126.37 [+15.14] # 126.37 [+0.00] Backup nexthop ID - torture test # 126.37 [+0.00] -------------------------------- # 157.57 [+31.19] TEST: Torture test [ OK ] # 158.81 [+1.24] # 158.81 [+0.00] Tests passed: 83 # 158.81 [+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__->