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.52 [+14.52] # 14.52 [+0.00] Backup port # 14.52 [+0.00] ----------- # 16.66 [+2.14] TEST: Forwarding out of swp1 [ OK ] # 17.04 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 17.46 [+0.42] TEST: swp1 carrier off [ OK ] # 18.26 [+0.80] TEST: No forwarding out of swp1 [ OK ] # 18.67 [+0.41] TEST: No forwarding out of vx0 [ OK ] # 19.12 [+0.45] TEST: swp1 carrier on [ OK ] # 19.43 [+0.31] TEST: vx0 configured as backup port of swp1 [ OK ] # 20.22 [+0.79] TEST: Forwarding out of swp1 [ OK ] # 20.61 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 21.03 [+0.43] TEST: swp1 carrier off [ OK ] # 21.81 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 22.21 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 22.63 [+0.43] TEST: swp1 carrier on [ OK ] # 23.43 [+0.80] TEST: Forwarding out of swp1 [ OK ] # 23.85 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 24.19 [+0.34] TEST: vx0 not configured as backup port of swp1 [ OK ] # 25.02 [+0.83] TEST: Forwarding out of swp1 [ OK ] # 25.41 [+0.39] TEST: No forwarding out of vx0 [ OK ] # 25.87 [+0.46] TEST: swp1 carrier off [ OK ] # 26.67 [+0.79] TEST: No forwarding out of swp1 [ OK ] # 27.10 [+0.44] TEST: No forwarding out of vx0 [ OK ] # 43.63 [+16.52] # 43.63 [+0.00] Backup nexthop ID # 43.63 [+0.00] ----------------- # 46.72 [+3.10] TEST: vx0 configured as backup port of swp1 [ OK ] # 47.60 [+0.88] TEST: Forwarding out of swp1 [ OK ] # 48.08 [+0.48] TEST: No forwarding out of vx0 [ OK ] # 48.50 [+0.43] TEST: swp1 carrier off [ OK ] # 49.35 [+0.85] TEST: No forwarding out of swp1 [ OK ] # 49.75 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 50.17 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 50.59 [+0.42] TEST: Forwarding using VXLAN FDB entry [ OK ] # 51.10 [+0.50] TEST: swp1 carrier on [ OK ] # 51.44 [+0.34] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 52.25 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 52.67 [+0.42] TEST: No forwarding out of vx0 [ OK ] # 53.12 [+0.44] TEST: swp1 carrier off [ OK ] # 53.94 [+0.82] TEST: No forwarding out of swp1 [ OK ] # 54.35 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 54.75 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 55.17 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 55.63 [+0.46] TEST: swp1 carrier on [ OK ] # 56.44 [+0.81] TEST: Forwarding out of swp1 [ OK ] # 56.82 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 57.23 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 57.66 [+0.43] TEST: No forwarding using VXLAN FDB entry [ OK ] # 57.95 [+0.29] TEST: No backup nexthop ID configured for swp1 [ OK ] # 58.77 [+0.82] TEST: Forwarding out of swp1 [ OK ] # 59.20 [+0.43] TEST: No forwarding out of vx0 [ OK ] # 59.60 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 60.01 [+0.41] TEST: No forwarding using VXLAN FDB entry [ OK ] # 60.45 [+0.44] TEST: swp1 carrier off [ OK ] # 61.25 [+0.81] TEST: No forwarding out of swp1 [ OK ] # 61.66 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 62.08 [+0.42] TEST: No forwarding using backup nexthop ID [ OK ] # 62.49 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 78.49 [+16.00] # 78.49 [+0.00] Backup nexthop ID - invalid IDs # 78.49 [+0.00] ------------------------------- # 81.26 [+2.77] TEST: vx0 configured as backup port of swp1 [ OK ] # 81.57 [+0.32] TEST: Valid nexthop as backup nexthop [ OK ] # 82.01 [+0.44] TEST: swp1 carrier off [ OK ] # 82.79 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 83.19 [+0.41] TEST: Forwarding out of vx0 [ OK ] # 83.59 [+0.40] TEST: Forwarding using backup nexthop ID [ OK ] # 83.76 [+0.17] TEST: No Tx drop increase [ OK ] # 84.09 [+0.32] TEST: Non-existent nexthop as backup nexthop [ OK ] # 84.86 [+0.77] TEST: No forwarding out of swp1 [ OK ] # 85.25 [+0.39] TEST: Forwarding out of vx0 [ OK ] # 85.65 [+0.40] TEST: No forwarding using backup nexthop ID [ OK ] # 85.82 [+0.18] TEST: Tx drop increased [ OK ] # 86.30 [+0.48] TEST: Blackhole nexthop as backup nexthop [ OK ] # 87.08 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 87.48 [+0.40] TEST: Forwarding out of vx0 [ OK ] # 87.88 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 88.03 [+0.16] TEST: Tx drop increased [ OK ] # 88.33 [+0.30] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 89.09 [+0.76] TEST: No forwarding out of swp1 [ OK ] # 89.51 [+0.42] TEST: Forwarding out of vx0 [ OK ] # 89.92 [+0.41] TEST: No forwarding using backup nexthop ID [ OK ] # 90.10 [+0.17] TEST: Tx drop increased [ OK ] # 90.94 [+0.84] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 91.72 [+0.78] TEST: No forwarding out of swp1 [ OK ] # 92.10 [+0.38] TEST: Forwarding out of vx0 [ OK ] # 92.49 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 92.66 [+0.18] TEST: Tx drop increased [ OK ] # 108.35 [+15.69] # 108.35 [+0.00] Backup nexthop ID - ping # 108.35 [+0.00] ------------------------ # 113.27 [+4.92] TEST: Ping with backup nexthop ID [ OK ] # 118.89 [+5.62] TEST: Ping after disabling backup nexthop ID [ OK ] # 134.59 [+15.70] # 134.59 [+0.00] Backup nexthop ID - torture test # 134.59 [+0.00] -------------------------------- # 165.84 [+31.25] TEST: Torture test [ OK ] # 167.14 [+1.30] # 167.14 [+0.00] Tests passed: 83 # 167.14 [+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__->