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.96 [+11.96] # 11.96 [+0.00] Backup port # 11.96 [+0.00] ----------- # 13.81 [+1.85] TEST: Forwarding out of swp1 [ OK ] # 14.14 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.44 [+0.30] TEST: swp1 carrier off [ OK ] # 15.06 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 15.38 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 15.72 [+0.34] TEST: swp1 carrier on [ OK ] # 15.93 [+0.21] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.57 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 16.90 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 17.22 [+0.31] TEST: swp1 carrier off [ OK ] # 17.86 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 18.18 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 18.49 [+0.31] TEST: swp1 carrier on [ OK ] # 19.15 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 19.48 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 19.74 [+0.26] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.37 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 20.72 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 21.04 [+0.32] TEST: swp1 carrier off [ OK ] # 21.71 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 22.02 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 34.94 [+12.92] # 34.94 [+0.00] Backup nexthop ID # 34.94 [+0.00] ----------------- # 37.11 [+2.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.74 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 38.09 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 38.43 [+0.34] TEST: swp1 carrier off [ OK ] # 39.07 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 39.42 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 39.79 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 40.09 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 40.44 [+0.34] TEST: swp1 carrier on [ OK ] # 40.68 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 41.33 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 41.67 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 41.98 [+0.31] TEST: swp1 carrier off [ OK ] # 42.57 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 42.89 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 43.22 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 43.54 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.89 [+0.35] TEST: swp1 carrier on [ OK ] # 44.46 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 44.78 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 45.11 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 45.47 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.71 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 46.31 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 46.65 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 46.97 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 47.30 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.61 [+0.31] TEST: swp1 carrier off [ OK ] # 48.22 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 48.57 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 48.89 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 49.23 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 62.15 [+12.93] # 62.16 [+0.00] Backup nexthop ID - invalid IDs # 62.16 [+0.00] ------------------------------- # 64.34 [+2.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 64.58 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 64.91 [+0.33] TEST: swp1 carrier off [ OK ] # 65.58 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 65.90 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 66.26 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 66.40 [+0.14] TEST: No Tx drop increase [ OK ] # 66.63 [+0.23] TEST: Non-existent nexthop as backup nexthop [ OK ] # 67.24 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 67.59 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 67.93 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 68.06 [+0.13] TEST: Tx drop increased [ OK ] # 68.44 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 69.08 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 69.44 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 69.77 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 69.90 [+0.13] TEST: Tx drop increased [ OK ] # 70.14 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 70.78 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 71.12 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 71.44 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 71.60 [+0.16] TEST: Tx drop increased [ OK ] # 72.22 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 72.86 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 73.21 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 73.53 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 73.69 [+0.16] TEST: Tx drop increased [ OK ] # 87.03 [+13.34] # 87.03 [+0.00] Backup nexthop ID - ping # 87.03 [+0.00] ------------------------ # 91.32 [+4.29] TEST: Ping with backup nexthop ID [ OK ] # 96.76 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 110.05 [+13.29] # 110.05 [+0.00] Backup nexthop ID - torture test # 110.05 [+0.00] -------------------------------- # 141.07 [+31.02] TEST: Torture test [ OK ] # 142.47 [+1.39] # 142.47 [+0.00] Tests passed: 83 # 142.47 [+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__->