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.91 [+11.91] # 11.91 [+0.00] Backup port # 11.91 [+0.00] ----------- # 13.34 [+1.42] TEST: Forwarding out of swp1 [ OK ] # 13.67 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 13.99 [+0.32] TEST: swp1 carrier off [ OK ] # 14.57 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 14.88 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 15.21 [+0.32] TEST: swp1 carrier on [ OK ] # 15.44 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.03 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 16.39 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 16.70 [+0.31] TEST: swp1 carrier off [ OK ] # 17.28 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 17.59 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 17.88 [+0.29] TEST: swp1 carrier on [ OK ] # 18.46 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 18.80 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 19.09 [+0.29] TEST: swp1 administratively down [ OK ] # 19.68 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 20.03 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 20.33 [+0.30] TEST: swp1 administratively up [ OK ] # 20.92 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 21.26 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 21.48 [+0.21] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.08 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 22.38 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 22.70 [+0.31] TEST: swp1 carrier off [ OK ] # 23.26 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 23.58 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 36.65 [+13.07] # 36.65 [+0.00] Backup nexthop ID # 36.65 [+0.00] ----------------- # 38.77 [+2.12] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.36 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 39.73 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 40.03 [+0.30] TEST: swp1 carrier off [ OK ] # 40.63 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 40.93 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 41.27 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 41.61 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.93 [+0.32] TEST: swp1 carrier on [ OK ] # 42.20 [+0.27] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.80 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 43.11 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 43.41 [+0.30] TEST: swp1 carrier off [ OK ] # 44.02 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 44.34 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 44.68 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 45.01 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.30 [+0.29] TEST: swp1 carrier on [ OK ] # 45.89 [+0.59] TEST: Forwarding out of swp1 [ OK ] # 46.20 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 46.49 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 46.82 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.06 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.64 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 47.96 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 48.31 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 48.67 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.96 [+0.29] TEST: swp1 carrier off [ OK ] # 49.57 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 49.88 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 50.22 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 50.58 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.52 [+12.94] # 63.52 [+0.00] Backup nexthop ID - invalid IDs # 63.52 [+0.00] ------------------------------- # 65.90 [+2.38] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.13 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 66.46 [+0.33] TEST: swp1 carrier off [ OK ] # 67.08 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 67.44 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 67.77 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 67.94 [+0.17] TEST: No Tx drop increase [ OK ] # 68.17 [+0.23] TEST: Non-existent nexthop as backup nexthop [ OK ] # 68.78 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 69.10 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 69.42 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 69.56 [+0.14] TEST: Tx drop increased [ OK ] # 69.92 [+0.36] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.52 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 70.85 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 71.18 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 71.32 [+0.14] TEST: Tx drop increased [ OK ] # 71.57 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.16 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 72.47 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 72.81 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 72.96 [+0.14] TEST: Tx drop increased [ OK ] # 73.58 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.20 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 74.51 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 74.86 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 75.00 [+0.14] TEST: Tx drop increased [ OK ] # 87.99 [+12.99] # 87.99 [+0.00] Backup nexthop ID - ping # 88.00 [+0.00] ------------------------ # 91.98 [+3.99] TEST: Ping with backup nexthop ID [ OK ] # 97.47 [+5.49] TEST: Ping after disabling backup nexthop ID [ OK ] # 110.72 [+13.25] # 110.72 [+0.00] Backup nexthop ID - torture test # 110.72 [+0.00] -------------------------------- # 141.65 [+30.92] TEST: Torture test [ OK ] # 142.55 [+0.90] # 142.55 [+0.00] Tests passed: 89 # 142.55 [+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__->