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 # 11.82 [+11.82] # 11.82 [+0.00] Backup port # 11.82 [+0.00] ----------- # 13.46 [+1.64] TEST: Forwarding out of swp1 [ OK ] # 13.77 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 14.11 [+0.34] TEST: swp1 carrier off [ OK ] # 14.72 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 15.05 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.36 [+0.31] TEST: swp1 carrier on [ OK ] # 15.59 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.18 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 16.50 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 16.81 [+0.30] TEST: swp1 carrier off [ OK ] # 17.42 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 17.74 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 18.07 [+0.33] TEST: swp1 carrier on [ OK ] # 18.69 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 19.03 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.29 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.88 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 20.19 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 20.50 [+0.32] TEST: swp1 carrier off [ OK ] # 21.11 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 21.45 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 34.39 [+12.94] # 34.39 [+0.00] Backup nexthop ID # 34.39 [+0.00] ----------------- # 36.51 [+2.12] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.11 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 37.43 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 37.79 [+0.36] TEST: swp1 carrier off [ OK ] # 38.45 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 38.77 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 39.14 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 39.48 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 39.79 [+0.31] TEST: swp1 carrier on [ OK ] # 40.06 [+0.27] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.64 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 40.99 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 41.28 [+0.29] TEST: swp1 carrier off [ OK ] # 41.87 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 42.22 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 42.52 [+0.30] TEST: Forwarding using backup nexthop ID [ OK ] # 42.85 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.17 [+0.31] TEST: swp1 carrier on [ OK ] # 43.75 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 44.08 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 44.43 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 44.73 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.98 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 45.58 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 45.89 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 46.23 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 46.53 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.84 [+0.30] TEST: swp1 carrier off [ OK ] # 47.47 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 47.76 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 48.11 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 48.47 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 61.32 [+12.85] # 61.32 [+0.00] Backup nexthop ID - invalid IDs # 61.32 [+0.00] ------------------------------- # 63.56 [+2.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 63.83 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 64.17 [+0.34] TEST: swp1 carrier off [ OK ] # 64.83 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 65.13 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 65.46 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 65.61 [+0.15] TEST: No Tx drop increase [ OK ] # 65.87 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 66.55 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 66.88 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 67.24 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 67.41 [+0.17] TEST: Tx drop increased [ OK ] # 67.81 [+0.41] TEST: Blackhole nexthop as backup nexthop [ OK ] # 68.49 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 68.86 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 69.21 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 69.36 [+0.15] TEST: Tx drop increased [ OK ] # 69.61 [+0.26] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 70.24 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 70.56 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 70.90 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 71.07 [+0.17] TEST: Tx drop increased [ OK ] # 71.69 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 72.33 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 72.64 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 72.98 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 73.14 [+0.15] TEST: Tx drop increased [ OK ] # 86.52 [+13.39] # 86.52 [+0.00] Backup nexthop ID - ping # 86.53 [+0.00] ------------------------ # 90.63 [+4.10] TEST: Ping with backup nexthop ID [ OK ] # 96.11 [+5.48] TEST: Ping after disabling backup nexthop ID [ OK ] # 109.20 [+13.10] # 109.20 [+0.00] Backup nexthop ID - torture test # 109.21 [+0.00] -------------------------------- # 140.22 [+31.01] TEST: Torture test [ OK ] # 141.09 [+0.87] # 141.09 [+0.00] Tests passed: 83 # 141.09 [+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__->