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.06 [+12.06] # 12.06 [+0.00] Backup port # 12.06 [+0.00] ----------- # 13.95 [+1.89] TEST: Forwarding out of swp1 [ OK ] # 14.31 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 14.62 [+0.32] TEST: swp1 carrier off [ OK ] # 15.31 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 15.66 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 16.00 [+0.33] TEST: swp1 carrier on [ OK ] # 16.25 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.93 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 17.25 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 17.59 [+0.33] TEST: swp1 carrier off [ OK ] # 18.22 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 18.58 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 18.91 [+0.32] TEST: swp1 carrier on [ OK ] # 19.55 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 19.88 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 20.14 [+0.27] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.79 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 21.12 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 21.45 [+0.33] TEST: swp1 carrier off [ OK ] # 22.09 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 22.43 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 35.74 [+13.31] # 35.74 [+0.00] Backup nexthop ID # 35.74 [+0.00] ----------------- # 37.97 [+2.23] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.62 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 38.96 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 39.31 [+0.35] TEST: swp1 carrier off [ OK ] # 39.99 [+0.68] TEST: No forwarding out of swp1 [ OK ] # 40.35 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 40.70 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 41.10 [+0.40] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.43 [+0.33] TEST: swp1 carrier on [ OK ] # 41.66 [+0.23] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.29 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 42.64 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 42.95 [+0.31] TEST: swp1 carrier off [ OK ] # 43.58 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 43.92 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 44.26 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 44.61 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 44.91 [+0.31] TEST: swp1 carrier on [ OK ] # 45.53 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 45.86 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 46.22 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 46.57 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.83 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.50 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 47.83 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 48.15 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 48.49 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.81 [+0.32] TEST: swp1 carrier off [ OK ] # 49.44 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 49.76 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 50.10 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 50.43 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.65 [+13.22] # 63.65 [+0.00] Backup nexthop ID - invalid IDs # 63.65 [+0.00] ------------------------------- # 65.81 [+2.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.06 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 66.39 [+0.33] TEST: swp1 carrier off [ OK ] # 67.05 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 67.37 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 67.69 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 67.83 [+0.15] TEST: No Tx drop increase [ OK ] # 68.09 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 68.71 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 69.02 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 69.39 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 69.52 [+0.13] TEST: Tx drop increased [ OK ] # 69.87 [+0.35] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.52 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 70.86 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 71.20 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 71.36 [+0.15] TEST: Tx drop increased [ OK ] # 71.59 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.22 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 72.59 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 72.89 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 73.02 [+0.13] TEST: Tx drop increased [ OK ] # 73.66 [+0.64] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.29 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 74.63 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 74.97 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 75.11 [+0.14] TEST: Tx drop increased [ OK ] # 88.23 [+13.12] # 88.23 [+0.00] Backup nexthop ID - ping # 88.23 [+0.00] ------------------------ # 92.36 [+4.12] TEST: Ping with backup nexthop ID [ OK ] # 97.81 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 111.11 [+13.30] # 111.11 [+0.00] Backup nexthop ID - torture test # 111.11 [+0.00] -------------------------------- # 142.11 [+30.99] TEST: Torture test [ OK ] # 142.98 [+0.87] # 142.98 [+0.00] Tests passed: 83 # 142.98 [+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__->