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.68 [+12.68] # 12.68 [+0.00] Backup port # 12.68 [+0.00] ----------- # 14.59 [+1.90] TEST: Forwarding out of swp1 [ OK ] # 14.94 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 15.26 [+0.32] TEST: swp1 carrier off [ OK ] # 15.92 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 16.26 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 16.63 [+0.38] TEST: swp1 carrier on [ OK ] # 16.90 [+0.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.63 [+0.74] TEST: Forwarding out of swp1 [ OK ] # 18.03 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 18.36 [+0.33] TEST: swp1 carrier off [ OK ] # 19.04 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 19.41 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 19.80 [+0.39] TEST: swp1 carrier on [ OK ] # 20.42 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 20.75 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 20.99 [+0.23] TEST: vx0 not configured as backup port of swp1 [ OK ] # 21.64 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 21.96 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 22.28 [+0.32] TEST: swp1 carrier off [ OK ] # 22.92 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 23.23 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 36.41 [+13.19] # 36.41 [+0.00] Backup nexthop ID # 36.41 [+0.00] ----------------- # 38.58 [+2.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.22 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 39.57 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 39.88 [+0.32] TEST: swp1 carrier off [ OK ] # 40.52 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 40.88 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 41.20 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 41.56 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.89 [+0.33] TEST: swp1 carrier on [ OK ] # 42.14 [+0.25] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.77 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 43.09 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 43.44 [+0.35] TEST: swp1 carrier off [ OK ] # 44.08 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 44.41 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 44.71 [+0.30] TEST: Forwarding using backup nexthop ID [ OK ] # 45.04 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.36 [+0.32] TEST: swp1 carrier on [ OK ] # 45.97 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 46.31 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 46.65 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 46.98 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.21 [+0.22] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.83 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 48.18 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 48.51 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 48.83 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.13 [+0.30] TEST: swp1 carrier off [ OK ] # 49.76 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 50.11 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 50.53 [+0.43] TEST: No forwarding using backup nexthop ID [ OK ] # 50.86 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 63.97 [+13.10] # 63.97 [+0.00] Backup nexthop ID - invalid IDs # 63.97 [+0.00] ------------------------------- # 66.23 [+2.26] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.49 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 66.80 [+0.31] TEST: swp1 carrier off [ OK ] # 67.43 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 67.75 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 68.09 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 68.23 [+0.14] TEST: No Tx drop increase [ OK ] # 68.48 [+0.25] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.08 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 69.42 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 69.76 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 69.88 [+0.13] TEST: Tx drop increased [ OK ] # 70.25 [+0.37] TEST: Blackhole nexthop as backup nexthop [ OK ] # 70.90 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 71.24 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 71.57 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 71.71 [+0.14] TEST: Tx drop increased [ OK ] # 71.96 [+0.25] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 72.56 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 72.90 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 73.23 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 73.36 [+0.13] TEST: Tx drop increased [ OK ] # 73.99 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 74.60 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 74.93 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 75.27 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 75.39 [+0.13] TEST: Tx drop increased [ OK ] # 88.46 [+13.07] # 88.46 [+0.00] Backup nexthop ID - ping # 88.47 [+0.00] ------------------------ # 92.55 [+4.08] TEST: Ping with backup nexthop ID [ OK ] # 98.00 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 111.43 [+13.43] # 111.43 [+0.00] Backup nexthop ID - torture test # 111.43 [+0.00] -------------------------------- # 142.47 [+31.04] TEST: Torture test [ OK ] # 143.38 [+0.91] # 143.38 [+0.00] Tests passed: 83 # 143.38 [+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__->