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' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_bridge_backup_port.sh # 14.11 [+14.11] # 14.11 [+0.00] Backup port # 14.11 [+0.00] ----------- # 16.40 [+2.29] TEST: Forwarding out of swp1 [ OK ] # 16.84 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 17.26 [+0.42] TEST: swp1 carrier off [ OK ] # 18.11 [+0.84] TEST: No forwarding out of swp1 [ OK ] # 18.50 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 18.95 [+0.45] TEST: swp1 carrier on [ OK ] # 19.27 [+0.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.06 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 20.47 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 20.90 [+0.43] TEST: swp1 carrier off [ OK ] # 21.77 [+0.87] TEST: No forwarding out of swp1 [ OK ] # 22.19 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 22.71 [+0.52] TEST: swp1 carrier on [ OK ] # 23.54 [+0.83] TEST: Forwarding out of swp1 [ OK ] # 23.94 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 24.26 [+0.32] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.05 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 25.42 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 25.88 [+0.47] TEST: swp1 carrier off [ OK ] # 26.70 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 27.11 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 42.73 [+15.62] # 42.73 [+0.00] Backup nexthop ID # 42.73 [+0.00] ----------------- # 45.62 [+2.89] TEST: vx0 configured as backup port of swp1 [ OK ] # 46.44 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 46.86 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 47.32 [+0.46] TEST: swp1 carrier off [ OK ] # 48.15 [+0.83] TEST: No forwarding out of swp1 [ OK ] # 48.54 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 48.96 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 49.38 [+0.43] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.83 [+0.45] TEST: swp1 carrier on [ OK ] # 50.18 [+0.35] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 50.98 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 51.38 [+0.40] TEST: No forwarding out of vx0 [ OK ] # 51.80 [+0.42] TEST: swp1 carrier off [ OK ] # 52.57 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 52.96 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 53.35 [+0.39] TEST: Forwarding using backup nexthop ID [ OK ] # 53.76 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 54.20 [+0.45] TEST: swp1 carrier on [ OK ] # 54.97 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 55.37 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 55.79 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 56.18 [+0.39] TEST: No forwarding using VXLAN FDB entry [ OK ] # 56.50 [+0.32] TEST: No backup nexthop ID configured for swp1 [ OK ] # 57.26 [+0.76] TEST: Forwarding out of swp1 [ OK ] # 57.65 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 58.03 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 58.43 [+0.40] TEST: No forwarding using VXLAN FDB entry [ OK ] # 58.89 [+0.46] TEST: swp1 carrier off [ OK ] # 59.67 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 60.07 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 60.49 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 60.88 [+0.39] TEST: Forwarding using VXLAN FDB entry [ OK ] # 76.37 [+15.48] # 76.37 [+0.00] Backup nexthop ID - invalid IDs # 76.37 [+0.00] ------------------------------- # 79.10 [+2.73] TEST: vx0 configured as backup port of swp1 [ OK ] # 79.42 [+0.32] TEST: Valid nexthop as backup nexthop [ OK ] # 79.84 [+0.42] TEST: swp1 carrier off [ OK ] # 80.62 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 80.99 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 81.39 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 81.55 [+0.15] TEST: No Tx drop increase [ OK ] # 81.86 [+0.32] TEST: Non-existent nexthop as backup nexthop [ OK ] # 82.64 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 83.04 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 83.45 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 83.61 [+0.17] TEST: Tx drop increased [ OK ] # 84.08 [+0.47] TEST: Blackhole nexthop as backup nexthop [ OK ] # 84.87 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 85.27 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 85.65 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 85.82 [+0.17] TEST: Tx drop increased [ OK ] # 86.14 [+0.32] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 86.89 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 87.30 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 87.71 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 87.85 [+0.14] TEST: Tx drop increased [ OK ] # 88.66 [+0.81] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 89.43 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 89.82 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 90.21 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 90.36 [+0.15] TEST: Tx drop increased [ OK ] # 106.02 [+15.67] # 106.02 [+0.00] Backup nexthop ID - ping # 106.02 [+0.00] ------------------------ # 110.88 [+4.86] TEST: Ping with backup nexthop ID [ OK ] # 116.52 [+5.64] TEST: Ping after disabling backup nexthop ID [ OK ] # 132.29 [+15.77] # 132.29 [+0.00] Backup nexthop ID - torture test # 132.29 [+0.00] -------------------------------- # 163.71 [+31.42] TEST: Torture test [ OK ] # 165.03 [+1.32] # 165.03 [+0.00] Tests passed: 83 # 165.03 [+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__->