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.53 [+11.53] # 11.53 [+0.00] Backup port # 11.53 [+0.00] ----------- # 13.29 [+1.77] TEST: Forwarding out of swp1 [ OK ] # 13.64 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 13.95 [+0.31] TEST: swp1 carrier off [ OK ] # 14.55 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 14.89 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.18 [+0.30] TEST: swp1 carrier on [ OK ] # 15.41 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.00 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 16.30 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 16.58 [+0.29] TEST: swp1 carrier off [ OK ] # 17.18 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 17.50 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 17.80 [+0.30] TEST: swp1 carrier on [ OK ] # 18.39 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 18.71 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 18.92 [+0.22] TEST: vx0 not configured as backup port of swp1 [ OK ] # 19.52 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 19.83 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 20.15 [+0.32] TEST: swp1 carrier off [ OK ] # 20.71 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 21.02 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 33.60 [+12.58] # 33.60 [+0.00] Backup nexthop ID # 33.60 [+0.00] ----------------- # 35.84 [+2.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 36.44 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 36.76 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 37.08 [+0.31] TEST: swp1 carrier off [ OK ] # 37.64 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 37.95 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 38.31 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 38.63 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 38.95 [+0.32] TEST: swp1 carrier on [ OK ] # 39.18 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 39.75 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 40.08 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 40.37 [+0.29] TEST: swp1 carrier off [ OK ] # 40.96 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 41.29 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 41.61 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 41.92 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 42.24 [+0.32] TEST: swp1 carrier on [ OK ] # 42.85 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 43.18 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 43.52 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 43.86 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.08 [+0.22] TEST: No backup nexthop ID configured for swp1 [ OK ] # 44.69 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 45.03 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 45.39 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 45.73 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.07 [+0.34] TEST: swp1 carrier off [ OK ] # 46.67 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 47.00 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 47.33 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 47.64 [+0.31] TEST: Forwarding using VXLAN FDB entry [ OK ] # 60.43 [+12.78] # 60.43 [+0.00] Backup nexthop ID - invalid IDs # 60.43 [+0.00] ------------------------------- # 62.56 [+2.13] TEST: vx0 configured as backup port of swp1 [ OK ] # 62.82 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 63.13 [+0.32] TEST: swp1 carrier off [ OK ] # 63.76 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 64.08 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 64.38 [+0.30] TEST: Forwarding using backup nexthop ID [ OK ] # 64.51 [+0.13] TEST: No Tx drop increase [ OK ] # 64.77 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 65.40 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 65.71 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 66.03 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 66.15 [+0.12] TEST: Tx drop increased [ OK ] # 66.52 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 67.13 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 67.48 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 67.80 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 67.92 [+0.12] TEST: Tx drop increased [ OK ] # 68.17 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 68.76 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 69.09 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 69.42 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 69.56 [+0.14] TEST: Tx drop increased [ OK ] # 70.16 [+0.61] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 70.74 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 71.06 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 71.40 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 71.52 [+0.12] TEST: Tx drop increased [ OK ] # 84.40 [+12.88] # 84.40 [+0.00] Backup nexthop ID - ping # 84.40 [+0.00] ------------------------ # 88.52 [+4.12] TEST: Ping with backup nexthop ID [ OK ] # 93.94 [+5.42] TEST: Ping after disabling backup nexthop ID [ OK ] # 106.66 [+12.71] # 106.66 [+0.00] Backup nexthop ID - torture test # 106.66 [+0.00] -------------------------------- # 137.59 [+30.94] TEST: Torture test [ OK ] # 138.44 [+0.85] # 138.44 [+0.00] Tests passed: 83 # 138.44 [+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__->