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.85 [+11.85] # 11.85 [+0.00] Backup port # 11.85 [+0.00] ----------- # 13.26 [+1.41] TEST: Forwarding out of swp1 [ OK ] # 13.59 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 13.89 [+0.30] TEST: swp1 carrier off [ OK ] # 14.51 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 14.86 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 15.18 [+0.31] TEST: swp1 carrier on [ OK ] # 15.43 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.06 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 16.39 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.70 [+0.31] TEST: swp1 carrier off [ OK ] # 17.33 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 17.66 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 17.97 [+0.31] TEST: swp1 carrier on [ OK ] # 18.56 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 18.90 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.14 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.76 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 20.11 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 20.43 [+0.32] TEST: swp1 carrier off [ OK ] # 21.02 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 21.37 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 34.44 [+13.07] # 34.44 [+0.00] Backup nexthop ID # 34.44 [+0.00] ----------------- # 36.65 [+2.22] TEST: vx0 configured as backup port of swp1 [ OK ] # 37.26 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 37.57 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 37.92 [+0.35] TEST: swp1 carrier off [ OK ] # 38.53 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 38.87 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 39.23 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 39.56 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 39.90 [+0.34] TEST: swp1 carrier on [ OK ] # 40.13 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 40.76 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 41.11 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 41.41 [+0.31] TEST: swp1 carrier off [ OK ] # 42.03 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 42.38 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 42.72 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 43.09 [+0.38] TEST: No forwarding using VXLAN FDB entry [ OK ] # 43.41 [+0.32] TEST: swp1 carrier on [ OK ] # 43.98 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 44.32 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 44.65 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 44.99 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.23 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 45.86 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 46.18 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 46.50 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 46.84 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.18 [+0.34] TEST: swp1 carrier off [ OK ] # 47.81 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 48.15 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 48.50 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 48.87 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 62.00 [+13.13] # 62.00 [+0.00] Backup nexthop ID - invalid IDs # 62.00 [+0.00] ------------------------------- # 64.32 [+2.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 64.56 [+0.24] TEST: Valid nexthop as backup nexthop [ OK ] # 64.87 [+0.31] TEST: swp1 carrier off [ OK ] # 65.49 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 65.83 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 66.15 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 66.33 [+0.17] TEST: No Tx drop increase [ OK ] # 66.58 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 67.19 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 67.52 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 67.87 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 68.02 [+0.15] TEST: Tx drop increased [ OK ] # 68.42 [+0.39] TEST: Blackhole nexthop as backup nexthop [ OK ] # 69.04 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 69.41 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 69.71 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 69.89 [+0.17] TEST: Tx drop increased [ OK ] # 70.16 [+0.27] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 70.79 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 71.10 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 71.43 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 71.58 [+0.15] TEST: Tx drop increased [ OK ] # 72.21 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 72.85 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 73.20 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 73.52 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.68 [+0.16] TEST: Tx drop increased [ OK ] # 86.77 [+13.09] # 86.77 [+0.00] Backup nexthop ID - ping # 86.77 [+0.00] ------------------------ # 90.91 [+4.14] TEST: Ping with backup nexthop ID [ OK ] # 96.36 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 109.39 [+13.04] # 109.40 [+0.00] Backup nexthop ID - torture test # 109.40 [+0.00] -------------------------------- # 140.37 [+30.97] TEST: Torture test [ OK ] # 141.24 [+0.87] # 141.24 [+0.00] Tests passed: 83 # 141.24 [+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__->