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.78 [+11.78] # 11.78 [+0.00] Backup port # 11.78 [+0.00] ----------- # 13.37 [+1.59] TEST: Forwarding out of swp1 [ OK ] # 13.68 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 14.03 [+0.35] TEST: swp1 carrier off [ OK ] # 14.63 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 14.98 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.27 [+0.29] TEST: swp1 carrier on [ OK ] # 15.52 [+0.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.08 [+0.56] TEST: Forwarding out of swp1 [ OK ] # 16.41 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.73 [+0.32] TEST: swp1 carrier off [ OK ] # 17.32 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 17.65 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 17.98 [+0.33] TEST: swp1 carrier on [ OK ] # 18.60 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 18.94 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.25 [+0.31] TEST: swp1 administratively down [ OK ] # 19.83 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 20.15 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 20.48 [+0.32] TEST: swp1 administratively up [ OK ] # 21.07 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 21.41 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.66 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.24 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 22.59 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 22.88 [+0.30] TEST: swp1 carrier off [ OK ] # 23.49 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 23.83 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 36.79 [+12.95] # 36.79 [+0.00] Backup nexthop ID # 36.79 [+0.00] ----------------- # 38.96 [+2.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.56 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 39.88 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 40.22 [+0.35] TEST: swp1 carrier off [ OK ] # 40.82 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 41.13 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 41.45 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 41.80 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.09 [+0.30] TEST: swp1 carrier on [ OK ] # 42.32 [+0.22] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.90 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 43.21 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 43.53 [+0.32] TEST: swp1 carrier off [ OK ] # 44.10 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 44.43 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 44.75 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 45.07 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.40 [+0.33] TEST: swp1 carrier on [ OK ] # 45.97 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 46.28 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 46.62 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 46.93 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.17 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.76 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 48.07 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 48.40 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 48.74 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.04 [+0.31] TEST: swp1 carrier off [ OK ] # 49.63 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 49.98 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 50.30 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 50.63 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.50 [+12.88] # 63.50 [+0.00] Backup nexthop ID - invalid IDs # 63.50 [+0.00] ------------------------------- # 65.66 [+2.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 65.94 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 66.29 [+0.35] TEST: swp1 carrier off [ OK ] # 66.92 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 67.28 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 67.66 [+0.38] TEST: Forwarding using backup nexthop ID [ OK ] # 67.81 [+0.15] TEST: No Tx drop increase [ OK ] # 68.08 [+0.27] TEST: Non-existent nexthop as backup nexthop [ OK ] # 68.68 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 69.02 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 69.34 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 69.49 [+0.14] TEST: Tx drop increased [ OK ] # 69.85 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.44 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 70.76 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 71.08 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 71.23 [+0.15] TEST: Tx drop increased [ OK ] # 71.48 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.04 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 72.40 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 72.72 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 72.87 [+0.15] TEST: Tx drop increased [ OK ] # 73.49 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.11 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 74.47 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 74.76 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 74.90 [+0.14] TEST: Tx drop increased [ OK ] # 87.83 [+12.93] # 87.83 [+0.00] Backup nexthop ID - ping # 87.83 [+0.00] ------------------------ # 91.89 [+4.06] TEST: Ping with backup nexthop ID [ OK ] # 97.33 [+5.44] TEST: Ping after disabling backup nexthop ID [ OK ] # 110.10 [+12.77] # 110.10 [+0.00] Backup nexthop ID - torture test # 110.11 [+0.00] -------------------------------- # 141.06 [+30.95] TEST: Torture test [ OK ] # 141.91 [+0.85] # 141.91 [+0.00] Tests passed: 89 # 141.91 [+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__->