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.45 [+13.45] # 13.45 [+0.00] Backup port # 13.45 [+0.00] ----------- # 15.57 [+2.12] TEST: Forwarding out of swp1 [ OK ] # 15.97 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 16.47 [+0.49] TEST: swp1 carrier off [ OK ] # 17.21 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 17.60 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 17.99 [+0.39] TEST: swp1 carrier on [ OK ] # 18.27 [+0.28] TEST: vx0 configured as backup port of swp1 [ OK ] # 18.98 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 19.36 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 19.75 [+0.40] TEST: swp1 carrier off [ OK ] # 20.49 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 20.90 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 21.31 [+0.41] TEST: swp1 carrier on [ OK ] # 22.04 [+0.73] TEST: Forwarding out of swp1 [ OK ] # 22.44 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 22.75 [+0.31] TEST: vx0 not configured as backup port of swp1 [ OK ] # 23.50 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 23.86 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 24.26 [+0.40] TEST: swp1 carrier off [ OK ] # 24.98 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 25.35 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 39.99 [+14.64] # 39.99 [+0.00] Backup nexthop ID # 39.99 [+0.00] ----------------- # 42.58 [+2.59] TEST: vx0 configured as backup port of swp1 [ OK ] # 43.34 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 43.72 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 44.12 [+0.40] TEST: swp1 carrier off [ OK ] # 44.86 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 45.24 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 45.65 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 46.04 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.45 [+0.42] TEST: swp1 carrier on [ OK ] # 46.74 [+0.29] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 47.50 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 47.89 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 48.28 [+0.39] TEST: swp1 carrier off [ OK ] # 49.07 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 49.44 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 49.80 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 50.18 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.58 [+0.39] TEST: swp1 carrier on [ OK ] # 51.29 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 51.67 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 52.05 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 52.43 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 52.73 [+0.30] TEST: No backup nexthop ID configured for swp1 [ OK ] # 53.47 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 53.83 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 54.21 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 54.59 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.01 [+0.42] TEST: swp1 carrier off [ OK ] # 55.76 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 56.15 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 56.53 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 56.90 [+0.37] TEST: Forwarding using VXLAN FDB entry [ OK ] # 71.75 [+14.85] # 71.75 [+0.00] Backup nexthop ID - invalid IDs # 71.75 [+0.00] ------------------------------- # 74.37 [+2.62] TEST: vx0 configured as backup port of swp1 [ OK ] # 74.65 [+0.28] TEST: Valid nexthop as backup nexthop [ OK ] # 75.04 [+0.40] TEST: swp1 carrier off [ OK ] # 75.77 [+0.73] TEST: No forwarding out of swp1 [ OK ] # 76.16 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 76.52 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 76.67 [+0.15] TEST: No Tx drop increase [ OK ] # 76.97 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 77.68 [+0.71] TEST: No forwarding out of swp1 [ OK ] # 78.08 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 78.45 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 78.60 [+0.15] TEST: Tx drop increased [ OK ] # 79.02 [+0.43] TEST: Blackhole nexthop as backup nexthop [ OK ] # 79.73 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 80.09 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 80.49 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 80.64 [+0.15] TEST: Tx drop increased [ OK ] # 80.91 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 81.64 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 82.03 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 82.38 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 82.54 [+0.16] TEST: Tx drop increased [ OK ] # 83.29 [+0.75] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 83.99 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 84.35 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 84.72 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 84.87 [+0.15] TEST: Tx drop increased [ OK ] # 99.64 [+14.76] # 99.64 [+0.00] Backup nexthop ID - ping # 99.64 [+0.00] ------------------------ # 104.21 [+4.57] TEST: Ping with backup nexthop ID [ OK ] # 109.79 [+5.57] TEST: Ping after disabling backup nexthop ID [ OK ] # 124.51 [+14.72] # 124.51 [+0.00] Backup nexthop ID - torture test # 124.51 [+0.00] -------------------------------- # 155.66 [+31.15] TEST: Torture test [ OK ] # 156.76 [+1.11] # 156.76 [+0.00] Tests passed: 83 # 156.76 [+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__->