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 # 12.07 [+12.07] # 12.07 [+0.00] Backup port # 12.07 [+0.00] ----------- # 13.99 [+1.92] TEST: Forwarding out of swp1 [ OK ] # 14.31 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 14.64 [+0.33] TEST: swp1 carrier off [ OK ] # 15.25 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 15.58 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 15.92 [+0.33] TEST: swp1 carrier on [ OK ] # 16.19 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.79 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 17.11 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 17.41 [+0.30] TEST: swp1 carrier off [ OK ] # 18.02 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 18.34 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 18.64 [+0.30] TEST: swp1 carrier on [ OK ] # 19.27 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 19.59 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 19.90 [+0.31] TEST: swp1 administratively down [ OK ] # 20.51 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 20.84 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 21.15 [+0.31] TEST: swp1 administratively up [ OK ] # 21.73 [+0.58] TEST: Forwarding out of swp1 [ OK ] # 22.05 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 22.29 [+0.25] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.89 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 23.24 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 23.52 [+0.28] TEST: swp1 carrier off [ OK ] # 24.11 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 24.43 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 37.42 [+12.99] # 37.42 [+0.00] Backup nexthop ID # 37.42 [+0.00] ----------------- # 39.62 [+2.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.19 [+0.57] TEST: Forwarding out of swp1 [ OK ] # 40.54 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 40.86 [+0.32] TEST: swp1 carrier off [ OK ] # 41.43 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 41.78 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 42.13 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 42.42 [+0.30] TEST: Forwarding using VXLAN FDB entry [ OK ] # 42.74 [+0.32] TEST: swp1 carrier on [ OK ] # 43.01 [+0.27] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 43.64 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 43.94 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 44.26 [+0.32] TEST: swp1 carrier off [ OK ] # 44.86 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 45.19 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 45.51 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 45.83 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.16 [+0.33] TEST: swp1 carrier on [ OK ] # 46.77 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 47.11 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 47.44 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 47.74 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.97 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.61 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 48.92 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 49.25 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 49.57 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.88 [+0.31] TEST: swp1 carrier off [ OK ] # 50.47 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 50.80 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 51.13 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 51.47 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.46 [+12.99] # 64.46 [+0.00] Backup nexthop ID - invalid IDs # 64.46 [+0.00] ------------------------------- # 66.64 [+2.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.90 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 67.22 [+0.32] TEST: swp1 carrier off [ OK ] # 67.88 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 68.21 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 68.55 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 68.71 [+0.16] TEST: No Tx drop increase [ OK ] # 68.95 [+0.24] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.55 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 69.89 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 70.25 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 70.39 [+0.13] TEST: Tx drop increased [ OK ] # 70.76 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.34 [+0.58] TEST: No forwarding out of swp1 [ OK ] # 71.66 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 71.99 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 72.13 [+0.14] TEST: Tx drop increased [ OK ] # 72.38 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.97 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 73.28 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 73.61 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 73.76 [+0.15] TEST: Tx drop increased [ OK ] # 74.36 [+0.60] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.97 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 75.28 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 75.61 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 75.75 [+0.14] TEST: Tx drop increased [ OK ] # 88.69 [+12.93] # 88.69 [+0.00] Backup nexthop ID - ping # 88.69 [+0.00] ------------------------ # 92.74 [+4.05] TEST: Ping with backup nexthop ID [ OK ] # 98.17 [+5.43] TEST: Ping after disabling backup nexthop ID [ OK ] # 111.27 [+13.10] # 111.27 [+0.00] Backup nexthop ID - torture test # 111.27 [+0.00] -------------------------------- # 142.25 [+30.98] TEST: Torture test [ OK ] # 143.07 [+0.82] # 143.08 [+0.00] Tests passed: 89 # 143.08 [+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__->