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.15 [+1.41] TEST: Forwarding out of swp1 [ OK ] # 13.45 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 13.77 [+0.32] TEST: swp1 carrier off [ OK ] # 14.39 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 14.76 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 15.12 [+0.36] TEST: swp1 carrier on [ OK ] # 15.38 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.96 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 16.29 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 16.64 [+0.34] TEST: swp1 carrier off [ OK ] # 17.23 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 17.57 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 17.92 [+0.35] TEST: swp1 carrier on [ OK ] # 18.53 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 18.85 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.08 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.69 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 20.04 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 20.32 [+0.29] TEST: swp1 carrier off [ OK ] # 20.90 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 21.24 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 34.23 [+12.99] # 34.23 [+0.00] Backup nexthop ID # 34.23 [+0.00] ----------------- # 36.40 [+2.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.01 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 37.36 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 37.69 [+0.33] TEST: swp1 carrier off [ OK ] # 38.28 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 38.62 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 38.95 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 39.29 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 39.60 [+0.31] TEST: swp1 carrier on [ OK ] # 39.84 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.42 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 40.78 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 41.10 [+0.31] TEST: swp1 carrier off [ OK ] # 41.70 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 42.04 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 42.40 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 42.71 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.04 [+0.33] TEST: swp1 carrier on [ OK ] # 43.62 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 43.98 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 44.29 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 44.61 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.86 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 45.46 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 45.79 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 46.12 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 46.48 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.79 [+0.31] TEST: swp1 carrier off [ OK ] # 47.40 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 47.72 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 48.06 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 48.41 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 61.33 [+12.92] # 61.33 [+0.00] Backup nexthop ID - invalid IDs # 61.33 [+0.00] ------------------------------- # 63.55 [+2.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 63.81 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 64.13 [+0.32] TEST: swp1 carrier off [ OK ] # 64.73 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 65.05 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 65.38 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 65.54 [+0.16] TEST: No Tx drop increase [ OK ] # 65.77 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 66.39 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 66.69 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 67.05 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 67.19 [+0.14] TEST: Tx drop increased [ OK ] # 67.53 [+0.35] TEST: Blackhole nexthop as backup nexthop [ OK ] # 68.10 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 68.41 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 68.77 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 68.91 [+0.15] TEST: Tx drop increased [ OK ] # 69.14 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 69.74 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 70.06 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 70.40 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 70.56 [+0.16] TEST: Tx drop increased [ OK ] # 71.18 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 71.79 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 72.09 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 72.39 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 72.53 [+0.14] TEST: Tx drop increased [ OK ] # 85.48 [+12.95] # 85.48 [+0.00] Backup nexthop ID - ping # 85.48 [+0.00] ------------------------ # 89.60 [+4.12] TEST: Ping with backup nexthop ID [ OK ] # 95.05 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 108.29 [+13.24] # 108.29 [+0.00] Backup nexthop ID - torture test # 108.29 [+0.00] -------------------------------- # 139.30 [+31.01] TEST: Torture test [ OK ] # 140.21 [+0.91] # 140.21 [+0.00] Tests passed: 83 # 140.21 [+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__->