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/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' 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 # 12.05 [+12.05] # 12.05 [+0.00] Backup port # 12.05 [+0.00] ----------- # 14.03 [+1.98] TEST: Forwarding out of swp1 [ OK ] # 14.58 [+0.54] TEST: No forwarding out of vx0 [ OK ] # 15.11 [+0.53] TEST: swp1 carrier off [ OK ] # 15.80 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 16.13 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 16.46 [+0.33] TEST: swp1 carrier on [ OK ] # 16.72 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.35 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 17.72 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 18.13 [+0.41] TEST: swp1 carrier off [ OK ] # 18.91 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 19.26 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 19.58 [+0.32] TEST: swp1 carrier on [ OK ] # 20.42 [+0.85] TEST: Forwarding out of swp1 [ OK ] # 20.86 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 21.15 [+0.29] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.80 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 22.13 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 22.50 [+0.36] TEST: swp1 carrier off [ OK ] # 23.45 [+0.96] TEST: No forwarding out of swp1 [ OK ] # 23.88 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 40.22 [+16.34] # 40.22 [+0.00] Backup nexthop ID # 40.22 [+0.00] ----------------- # 42.94 [+2.72] TEST: vx0 configured as backup port of swp1 [ OK ] # 43.70 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 44.10 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 44.50 [+0.40] TEST: swp1 carrier off [ OK ] # 45.28 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 45.67 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 46.08 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 46.50 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.88 [+0.39] TEST: swp1 carrier on [ OK ] # 47.19 [+0.30] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 47.94 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 48.33 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 48.74 [+0.41] TEST: swp1 carrier off [ OK ] # 49.40 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 49.80 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 50.20 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 50.60 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.95 [+0.35] TEST: swp1 carrier on [ OK ] # 51.67 [+0.72] TEST: Forwarding out of swp1 [ OK ] # 52.03 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 52.41 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 52.77 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.06 [+0.30] TEST: No backup nexthop ID configured for swp1 [ OK ] # 53.76 [+0.70] TEST: Forwarding out of swp1 [ OK ] # 54.15 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 54.52 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 54.94 [+0.42] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.31 [+0.37] TEST: swp1 carrier off [ OK ] # 56.03 [+0.72] TEST: No forwarding out of swp1 [ OK ] # 56.43 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 56.88 [+0.45] TEST: No forwarding using backup nexthop ID [ OK ] # 57.24 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 72.53 [+15.29] # 72.53 [+0.00] Backup nexthop ID - invalid IDs # 72.53 [+0.00] ------------------------------- # 75.18 [+2.65] TEST: vx0 configured as backup port of swp1 [ OK ] # 75.45 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 75.83 [+0.39] TEST: swp1 carrier off [ OK ] # 76.57 [+0.74] TEST: No forwarding out of swp1 [ OK ] # 76.92 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 77.32 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 77.48 [+0.16] TEST: No Tx drop increase [ OK ] # 77.77 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 78.45 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 78.84 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 79.21 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 79.36 [+0.15] TEST: Tx drop increased [ OK ] # 79.75 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 80.42 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 80.77 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 81.12 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 81.28 [+0.17] TEST: Tx drop increased [ OK ] # 81.55 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 82.25 [+0.70] TEST: No forwarding out of swp1 [ OK ] # 82.59 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 82.91 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 83.10 [+0.18] TEST: Tx drop increased [ OK ] # 83.73 [+0.64] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 84.35 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 84.69 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 85.04 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 85.20 [+0.15] TEST: Tx drop increased [ OK ] # 98.46 [+13.26] # 98.46 [+0.00] Backup nexthop ID - ping # 98.46 [+0.00] ------------------------ # 102.74 [+4.27] TEST: Ping with backup nexthop ID [ OK ] # 108.19 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 121.63 [+13.44] # 121.63 [+0.00] Backup nexthop ID - torture test # 121.63 [+0.00] -------------------------------- # 152.63 [+31.00] TEST: Torture test [ OK ] # 153.48 [+0.85] # 153.48 [+0.00] Tests passed: 83 # 153.48 [+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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->