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.43 [+1.47] TEST: Forwarding out of swp1 [ OK ] # 13.73 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 14.06 [+0.33] TEST: swp1 carrier off [ OK ] # 14.66 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 14.98 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 15.33 [+0.34] TEST: swp1 carrier on [ OK ] # 15.54 [+0.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.13 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 16.45 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 16.78 [+0.33] TEST: swp1 carrier off [ OK ] # 17.34 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 17.69 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 18.01 [+0.32] TEST: swp1 carrier on [ OK ] # 18.64 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 18.97 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 19.20 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.81 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 20.15 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 20.48 [+0.32] TEST: swp1 carrier off [ OK ] # 21.04 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 21.39 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 34.71 [+13.33] # 34.71 [+0.00] Backup nexthop ID # 34.71 [+0.00] ----------------- # 36.94 [+2.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.57 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 37.91 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 38.25 [+0.34] TEST: swp1 carrier off [ OK ] # 38.87 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 39.18 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 39.53 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 39.88 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 40.20 [+0.32] TEST: swp1 carrier on [ OK ] # 40.40 [+0.21] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 41.01 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 41.33 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 41.64 [+0.31] TEST: swp1 carrier off [ OK ] # 42.27 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 42.61 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 42.95 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 43.26 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.60 [+0.33] TEST: swp1 carrier on [ OK ] # 44.23 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 44.56 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 44.92 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 45.24 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.49 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 46.17 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 46.48 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 46.79 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 47.20 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.51 [+0.31] TEST: swp1 carrier off [ OK ] # 48.15 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 48.51 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 48.85 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 49.15 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 62.29 [+13.14] # 62.29 [+0.00] Backup nexthop ID - invalid IDs # 62.30 [+0.00] ------------------------------- # 64.60 [+2.30] TEST: vx0 configured as backup port of swp1 [ OK ] # 64.83 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 65.14 [+0.31] TEST: swp1 carrier off [ OK ] # 65.78 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 66.11 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 66.48 [+0.36] TEST: Forwarding using backup nexthop ID [ OK ] # 66.61 [+0.14] TEST: No Tx drop increase [ OK ] # 66.85 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 67.49 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 67.83 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 68.14 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 68.27 [+0.14] TEST: Tx drop increased [ OK ] # 68.64 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 69.24 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 69.59 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 69.92 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 70.07 [+0.15] TEST: Tx drop increased [ OK ] # 70.31 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 70.89 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 71.23 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 71.54 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 71.68 [+0.14] TEST: Tx drop increased [ OK ] # 72.28 [+0.60] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 72.91 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 73.24 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 73.57 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.72 [+0.15] TEST: Tx drop increased [ OK ] # 86.78 [+13.06] # 86.78 [+0.00] Backup nexthop ID - ping # 86.78 [+0.00] ------------------------ # 90.90 [+4.12] TEST: Ping with backup nexthop ID [ OK ] # 96.34 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 109.42 [+13.08] # 109.42 [+0.00] Backup nexthop ID - torture test # 109.42 [+0.00] -------------------------------- # 140.39 [+30.97] TEST: Torture test [ OK ] # 141.29 [+0.90] # 141.29 [+0.00] Tests passed: 83 # 141.29 [+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__->