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.80 [+11.80] # 11.80 [+0.00] Backup port # 11.80 [+0.00] ----------- # 13.23 [+1.43] TEST: Forwarding out of swp1 [ OK ] # 13.54 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 13.87 [+0.32] TEST: swp1 carrier off [ OK ] # 14.50 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 14.84 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.15 [+0.32] TEST: swp1 carrier on [ OK ] # 15.39 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.03 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 16.36 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.70 [+0.33] TEST: swp1 carrier off [ OK ] # 17.31 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 17.63 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 17.96 [+0.33] TEST: swp1 carrier on [ OK ] # 18.58 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 18.90 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.15 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.78 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 20.12 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 20.44 [+0.32] TEST: swp1 carrier off [ OK ] # 21.04 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 21.36 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 34.38 [+13.02] # 34.38 [+0.00] Backup nexthop ID # 34.38 [+0.00] ----------------- # 36.54 [+2.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.16 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 37.48 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 37.82 [+0.34] TEST: swp1 carrier off [ OK ] # 38.42 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 38.76 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 39.08 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 39.43 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 39.77 [+0.34] TEST: swp1 carrier on [ OK ] # 40.01 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.62 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 40.97 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 41.28 [+0.31] TEST: swp1 carrier off [ OK ] # 41.90 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 42.24 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 42.58 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 42.92 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.22 [+0.29] TEST: swp1 carrier on [ OK ] # 43.83 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 44.15 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 44.49 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 44.83 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.07 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 45.69 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 46.02 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 46.38 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 46.71 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.02 [+0.31] TEST: swp1 carrier off [ OK ] # 47.62 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 47.95 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 48.29 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 48.62 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 61.69 [+13.07] # 61.69 [+0.00] Backup nexthop ID - invalid IDs # 61.70 [+0.00] ------------------------------- # 63.99 [+2.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 64.21 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 64.53 [+0.32] TEST: swp1 carrier off [ OK ] # 65.16 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 65.49 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 65.86 [+0.37] TEST: Forwarding using backup nexthop ID [ OK ] # 66.03 [+0.16] TEST: No Tx drop increase [ OK ] # 66.28 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 66.89 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 67.25 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 67.57 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 67.72 [+0.14] TEST: Tx drop increased [ OK ] # 68.11 [+0.39] TEST: Blackhole nexthop as backup nexthop [ OK ] # 68.74 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 69.07 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 69.44 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 69.59 [+0.15] TEST: Tx drop increased [ OK ] # 69.81 [+0.22] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 70.42 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 70.74 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 71.07 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 71.22 [+0.15] TEST: Tx drop increased [ OK ] # 71.83 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 72.45 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 72.80 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 73.13 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.27 [+0.14] TEST: Tx drop increased [ OK ] # 86.30 [+13.03] # 86.30 [+0.00] Backup nexthop ID - ping # 86.30 [+0.00] ------------------------ # 90.57 [+4.26] TEST: Ping with backup nexthop ID [ OK ] # 96.00 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 108.90 [+12.90] # 108.90 [+0.00] Backup nexthop ID - torture test # 108.90 [+0.00] -------------------------------- # 139.87 [+30.96] TEST: Torture test [ OK ] # 140.71 [+0.84] # 140.71 [+0.00] Tests passed: 83 # 140.71 [+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__->