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.93 [+11.93] # 11.93 [+0.00] Backup port # 11.93 [+0.00] ----------- # 13.55 [+1.62] TEST: Forwarding out of swp1 [ OK ] # 13.88 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.21 [+0.33] TEST: swp1 carrier off [ OK ] # 14.77 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 15.09 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 15.40 [+0.31] TEST: swp1 carrier on [ OK ] # 15.64 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.22 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 16.53 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 16.84 [+0.31] TEST: swp1 carrier off [ OK ] # 17.45 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 17.79 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 18.08 [+0.29] TEST: swp1 carrier on [ OK ] # 18.76 [+0.68] TEST: Forwarding out of swp1 [ OK ] # 19.10 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 19.47 [+0.37] TEST: swp1 administratively down [ OK ] # 20.13 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 20.49 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 20.84 [+0.35] TEST: swp1 administratively up [ OK ] # 21.61 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 21.96 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 22.25 [+0.28] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.95 [+0.71] TEST: Forwarding out of swp1 [ OK ] # 23.31 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 23.70 [+0.39] TEST: swp1 carrier off [ OK ] # 24.49 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 24.88 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 40.62 [+15.74] # 40.62 [+0.00] Backup nexthop ID # 40.62 [+0.00] ----------------- # 43.01 [+2.38] TEST: vx0 configured as backup port of swp1 [ OK ] # 43.62 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 43.95 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 44.27 [+0.31] TEST: swp1 carrier off [ OK ] # 44.87 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 45.23 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 45.57 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 45.91 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.24 [+0.33] TEST: swp1 carrier on [ OK ] # 46.50 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 47.12 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 47.45 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 47.78 [+0.32] TEST: swp1 carrier off [ OK ] # 48.40 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 48.76 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 49.06 [+0.30] TEST: Forwarding using backup nexthop ID [ OK ] # 49.43 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.78 [+0.35] TEST: swp1 carrier on [ OK ] # 50.36 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 50.69 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 51.02 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 51.33 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 51.57 [+0.24] TEST: No backup nexthop ID configured for swp1 [ OK ] # 52.20 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 52.56 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 52.90 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 53.24 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 53.54 [+0.31] TEST: swp1 carrier off [ OK ] # 54.14 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 54.46 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 54.80 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 55.12 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 68.08 [+12.96] # 68.08 [+0.00] Backup nexthop ID - invalid IDs # 68.08 [+0.00] ------------------------------- # 70.22 [+2.14] TEST: vx0 configured as backup port of swp1 [ OK ] # 70.45 [+0.23] TEST: Valid nexthop as backup nexthop [ OK ] # 70.76 [+0.31] TEST: swp1 carrier off [ OK ] # 71.39 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 71.74 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 72.07 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 72.24 [+0.17] TEST: No Tx drop increase [ OK ] # 72.47 [+0.23] TEST: Non-existent nexthop as backup nexthop [ OK ] # 73.07 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 73.42 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 73.72 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 73.86 [+0.14] TEST: Tx drop increased [ OK ] # 74.20 [+0.33] TEST: Blackhole nexthop as backup nexthop [ OK ] # 74.77 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 75.07 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 75.36 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 75.50 [+0.15] TEST: Tx drop increased [ OK ] # 75.74 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 76.35 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 76.68 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 77.02 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 77.15 [+0.13] TEST: Tx drop increased [ OK ] # 77.78 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 78.37 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 78.66 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 79.02 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 79.17 [+0.14] TEST: Tx drop increased [ OK ] # 92.07 [+12.90] # 92.07 [+0.00] Backup nexthop ID - ping # 92.07 [+0.00] ------------------------ # 96.24 [+4.16] TEST: Ping with backup nexthop ID [ OK ] # 101.66 [+5.42] TEST: Ping after disabling backup nexthop ID [ OK ] # 114.49 [+12.83] # 114.49 [+0.00] Backup nexthop ID - torture test # 114.49 [+0.00] -------------------------------- # 145.42 [+30.93] TEST: Torture test [ OK ] # 146.29 [+0.88] # 146.29 [+0.00] Tests passed: 89 # 146.30 [+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__->