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.75 [+11.75] # 11.76 [+0.00] Backup port # 11.76 [+0.00] ----------- # 13.37 [+1.61] TEST: Forwarding out of swp1 [ OK ] # 13.68 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 13.99 [+0.30] TEST: swp1 carrier off [ OK ] # 14.59 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 14.93 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 15.24 [+0.31] TEST: swp1 carrier on [ OK ] # 15.47 [+0.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.07 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 16.40 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.71 [+0.32] TEST: swp1 carrier off [ OK ] # 17.29 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 17.63 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 17.93 [+0.30] TEST: swp1 carrier on [ OK ] # 18.51 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 18.85 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.14 [+0.29] TEST: swp1 administratively down [ OK ] # 19.73 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 20.07 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 20.38 [+0.32] TEST: swp1 administratively up [ OK ] # 20.96 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 21.27 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 21.51 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.11 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 22.44 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 22.76 [+0.32] TEST: swp1 carrier off [ OK ] # 23.34 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 23.67 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 36.43 [+12.76] # 36.43 [+0.00] Backup nexthop ID # 36.43 [+0.00] ----------------- # 38.58 [+2.14] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.20 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 39.51 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 39.84 [+0.32] TEST: swp1 carrier off [ OK ] # 40.44 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 40.74 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 41.08 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 41.39 [+0.31] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.70 [+0.31] TEST: swp1 carrier on [ OK ] # 41.93 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.53 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 42.86 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 43.16 [+0.30] TEST: swp1 carrier off [ OK ] # 43.75 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 44.09 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 44.43 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 44.72 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.05 [+0.33] TEST: swp1 carrier on [ OK ] # 45.63 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 45.98 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 46.28 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 46.61 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.85 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.42 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 47.75 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 48.08 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 48.40 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.71 [+0.32] TEST: swp1 carrier off [ OK ] # 49.29 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 49.61 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 49.92 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 50.24 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.23 [+12.99] # 63.23 [+0.00] Backup nexthop ID - invalid IDs # 63.23 [+0.00] ------------------------------- # 65.42 [+2.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 65.67 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 65.97 [+0.30] TEST: swp1 carrier off [ OK ] # 66.59 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 66.94 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 67.25 [+0.30] TEST: Forwarding using backup nexthop ID [ OK ] # 67.41 [+0.17] TEST: No Tx drop increase [ OK ] # 67.67 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 68.29 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 68.60 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 68.95 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 69.14 [+0.20] TEST: Tx drop increased [ OK ] # 69.51 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.09 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 70.42 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 70.75 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 70.90 [+0.16] TEST: Tx drop increased [ OK ] # 71.13 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 71.70 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 72.03 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 72.36 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 72.51 [+0.15] TEST: Tx drop increased [ OK ] # 73.11 [+0.60] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 73.69 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 74.00 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 74.33 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 74.48 [+0.14] TEST: Tx drop increased [ OK ] # 87.42 [+12.94] # 87.42 [+0.00] Backup nexthop ID - ping # 87.42 [+0.00] ------------------------ # 91.48 [+4.06] TEST: Ping with backup nexthop ID [ OK ] # 96.93 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 109.97 [+13.04] # 109.97 [+0.00] Backup nexthop ID - torture test # 109.97 [+0.00] -------------------------------- # 140.93 [+30.96] TEST: Torture test [ OK ] # 141.76 [+0.83] # 141.77 [+0.00] Tests passed: 89 # 141.77 [+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__->