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.38] TEST: Forwarding out of swp1 [ OK ] # 13.43 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 13.73 [+0.30] TEST: swp1 carrier off [ OK ] # 14.34 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 14.67 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.98 [+0.31] TEST: swp1 carrier on [ OK ] # 15.20 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.81 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 16.12 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 16.45 [+0.33] TEST: swp1 carrier off [ OK ] # 17.04 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 17.39 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 17.70 [+0.32] TEST: swp1 carrier on [ OK ] # 18.30 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 18.62 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 18.85 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.44 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 19.77 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 20.06 [+0.30] TEST: swp1 carrier off [ OK ] # 20.66 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 21.03 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 33.86 [+12.83] # 33.86 [+0.00] Backup nexthop ID # 33.86 [+0.00] ----------------- # 36.00 [+2.15] TEST: vx0 configured as backup port of swp1 [ OK ] # 36.61 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 36.95 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 37.27 [+0.32] TEST: swp1 carrier off [ OK ] # 37.88 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 38.24 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 38.55 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 38.88 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 39.18 [+0.30] TEST: swp1 carrier on [ OK ] # 39.42 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.04 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 40.38 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 40.73 [+0.35] TEST: swp1 carrier off [ OK ] # 41.36 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 41.69 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 42.08 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 42.39 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 42.74 [+0.34] TEST: swp1 carrier on [ OK ] # 43.34 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 43.66 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 44.03 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 44.38 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.61 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 45.19 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 45.51 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 45.85 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 46.16 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.45 [+0.29] TEST: swp1 carrier off [ OK ] # 47.06 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 47.42 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 47.76 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 48.11 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 61.14 [+13.03] # 61.14 [+0.00] Backup nexthop ID - invalid IDs # 61.14 [+0.00] ------------------------------- # 63.47 [+2.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 63.73 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 64.05 [+0.32] TEST: swp1 carrier off [ OK ] # 64.63 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 64.94 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 65.30 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 65.47 [+0.18] TEST: No Tx drop increase [ OK ] # 65.77 [+0.29] TEST: Non-existent nexthop as backup nexthop [ OK ] # 66.37 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 66.68 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 67.02 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 67.19 [+0.17] TEST: Tx drop increased [ OK ] # 67.54 [+0.35] TEST: Blackhole nexthop as backup nexthop [ OK ] # 68.16 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 68.47 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 68.79 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 68.93 [+0.14] TEST: Tx drop increased [ OK ] # 69.16 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 69.76 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 70.06 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 70.37 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 70.51 [+0.14] TEST: Tx drop increased [ OK ] # 71.13 [+0.61] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 71.75 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 72.06 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 72.39 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 72.53 [+0.14] TEST: Tx drop increased [ OK ] # 85.49 [+12.96] # 85.49 [+0.00] Backup nexthop ID - ping # 85.49 [+0.00] ------------------------ # 89.50 [+4.01] TEST: Ping with backup nexthop ID [ OK ] # 94.93 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 107.85 [+12.92] # 107.85 [+0.00] Backup nexthop ID - torture test # 107.85 [+0.00] -------------------------------- # 138.79 [+30.93] TEST: Torture test [ OK ] # 139.67 [+0.88] # 139.67 [+0.00] Tests passed: 83 # 139.67 [+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__->