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.74 [+11.74] # 11.74 [+0.00] Backup port # 11.74 [+0.00] ----------- # 13.12 [+1.37] TEST: Forwarding out of swp1 [ OK ] # 13.41 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 13.72 [+0.31] TEST: swp1 carrier off [ OK ] # 14.29 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 14.59 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 14.93 [+0.34] TEST: swp1 carrier on [ OK ] # 15.18 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.79 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 16.11 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 16.43 [+0.33] TEST: swp1 carrier off [ OK ] # 17.03 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 17.34 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 17.65 [+0.31] TEST: swp1 carrier on [ OK ] # 18.25 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 18.60 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 18.83 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.43 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 19.78 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 20.08 [+0.30] TEST: swp1 carrier off [ OK ] # 20.69 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 21.03 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 33.88 [+12.86] # 33.88 [+0.00] Backup nexthop ID # 33.88 [+0.00] ----------------- # 35.98 [+2.09] TEST: vx0 configured as backup port of swp1 [ OK ] # 36.58 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 36.90 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 37.22 [+0.32] TEST: swp1 carrier off [ OK ] # 37.84 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 38.18 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 38.55 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 38.85 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 39.17 [+0.31] TEST: swp1 carrier on [ OK ] # 39.40 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.04 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 40.37 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 40.68 [+0.31] TEST: swp1 carrier off [ OK ] # 41.27 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 41.58 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 41.91 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 42.25 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 42.55 [+0.30] TEST: swp1 carrier on [ OK ] # 43.14 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 43.47 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 43.80 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 44.17 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.41 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 45.00 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 45.34 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 45.67 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 46.03 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.33 [+0.29] TEST: swp1 carrier off [ OK ] # 46.95 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 47.27 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 47.62 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 47.97 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 60.82 [+12.85] # 60.82 [+0.00] Backup nexthop ID - invalid IDs # 60.82 [+0.00] ------------------------------- # 63.09 [+2.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 63.31 [+0.22] TEST: Valid nexthop as backup nexthop [ OK ] # 63.62 [+0.31] TEST: swp1 carrier off [ OK ] # 64.24 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 64.56 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 64.93 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 65.09 [+0.16] TEST: No Tx drop increase [ OK ] # 65.38 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 65.98 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 66.36 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 66.69 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 66.89 [+0.20] TEST: Tx drop increased [ OK ] # 67.26 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 67.83 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 68.14 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 68.48 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 68.62 [+0.14] TEST: Tx drop increased [ OK ] # 68.86 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 69.44 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 69.79 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 70.11 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 70.28 [+0.17] TEST: Tx drop increased [ OK ] # 70.86 [+0.58] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 71.45 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 71.78 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 72.12 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 72.27 [+0.15] TEST: Tx drop increased [ OK ] # 85.23 [+12.96] # 85.23 [+0.00] Backup nexthop ID - ping # 85.23 [+0.00] ------------------------ # 89.24 [+4.01] TEST: Ping with backup nexthop ID [ OK ] # 94.67 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 107.58 [+12.91] # 107.58 [+0.00] Backup nexthop ID - torture test # 107.58 [+0.00] -------------------------------- # 138.50 [+30.92] TEST: Torture test [ OK ] # 139.36 [+0.86] # 139.36 [+0.00] Tests passed: 83 # 139.36 [+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__->