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.66 [+11.66] # 11.66 [+0.00] Backup port # 11.66 [+0.00] ----------- # 13.03 [+1.37] TEST: Forwarding out of swp1 [ OK ] # 13.35 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 13.66 [+0.31] TEST: swp1 carrier off [ OK ] # 14.30 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 14.62 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 14.98 [+0.36] TEST: swp1 carrier on [ OK ] # 15.22 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 15.90 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 16.25 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 16.57 [+0.32] TEST: swp1 carrier off [ OK ] # 17.19 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 17.54 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 17.87 [+0.33] TEST: swp1 carrier on [ OK ] # 18.54 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 18.87 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 19.20 [+0.34] TEST: swp1 administratively down [ OK ] # 19.83 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 20.18 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 20.52 [+0.34] TEST: swp1 administratively up [ OK ] # 21.15 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 21.52 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 21.82 [+0.30] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.49 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 22.83 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 23.14 [+0.31] TEST: swp1 carrier off [ OK ] # 23.73 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 24.14 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 36.96 [+12.82] # 36.96 [+0.00] Backup nexthop ID # 36.96 [+0.00] ----------------- # 39.06 [+2.10] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.62 [+0.56] TEST: Forwarding out of swp1 [ OK ] # 39.94 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 40.25 [+0.31] TEST: swp1 carrier off [ OK ] # 40.84 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 41.13 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 41.45 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 41.76 [+0.31] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.07 [+0.31] TEST: swp1 carrier on [ OK ] # 42.33 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.91 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 43.23 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 43.54 [+0.31] TEST: swp1 carrier off [ OK ] # 44.14 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 44.47 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 44.75 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 45.06 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.36 [+0.29] TEST: swp1 carrier on [ OK ] # 45.93 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 46.27 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 46.58 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 46.90 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.14 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.74 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 48.08 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 48.41 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 48.73 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.02 [+0.29] TEST: swp1 carrier off [ OK ] # 49.61 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 49.95 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 50.25 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 50.57 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.14 [+12.58] # 63.15 [+0.00] Backup nexthop ID - invalid IDs # 63.15 [+0.00] ------------------------------- # 65.41 [+2.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 65.66 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 65.97 [+0.31] TEST: swp1 carrier off [ OK ] # 66.57 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 66.90 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 67.25 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 67.42 [+0.17] TEST: No Tx drop increase [ OK ] # 67.65 [+0.23] TEST: Non-existent nexthop as backup nexthop [ OK ] # 68.23 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 68.56 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 68.90 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 69.04 [+0.13] TEST: Tx drop increased [ OK ] # 69.40 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.07 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 70.39 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 70.71 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 70.88 [+0.17] TEST: Tx drop increased [ OK ] # 71.10 [+0.22] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 71.78 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 72.11 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 72.43 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 72.60 [+0.17] TEST: Tx drop increased [ OK ] # 73.18 [+0.59] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 73.80 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 74.09 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 74.41 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 74.57 [+0.16] TEST: Tx drop increased [ OK ] # 87.27 [+12.70] # 87.27 [+0.00] Backup nexthop ID - ping # 87.27 [+0.00] ------------------------ # 91.24 [+3.97] TEST: Ping with backup nexthop ID [ OK ] # 96.69 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 109.39 [+12.71] # 109.40 [+0.00] Backup nexthop ID - torture test # 109.40 [+0.00] -------------------------------- # 140.29 [+30.90] TEST: Torture test [ OK ] # 141.17 [+0.87] # 141.17 [+0.00] Tests passed: 89 # 141.17 [+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__->