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 # 9.18 [+9.18] # 9.18 [+0.00] Backup port # 9.19 [+0.00] ----------- # 10.17 [+0.98] TEST: Forwarding out of swp1 [ OK ] # 10.43 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 10.65 [+0.22] TEST: swp1 carrier off [ OK ] # 11.10 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 11.37 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.59 [+0.22] TEST: swp1 carrier on [ OK ] # 11.77 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.21 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 12.47 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 12.69 [+0.22] TEST: swp1 carrier off [ OK ] # 13.15 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.41 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 13.61 [+0.20] TEST: swp1 carrier on [ OK ] # 14.06 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 14.31 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 14.47 [+0.16] TEST: vx0 not configured as backup port of swp1 [ OK ] # 14.92 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 15.17 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 15.38 [+0.21] TEST: swp1 carrier off [ OK ] # 15.81 [+0.43] TEST: No forwarding out of swp1 [ OK ] # 16.05 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 26.01 [+9.96] # 26.01 [+0.00] Backup nexthop ID # 26.01 [+0.00] ----------------- # 27.47 [+1.46] TEST: vx0 configured as backup port of swp1 [ OK ] # 27.94 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 28.21 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 28.41 [+0.20] TEST: swp1 carrier off [ OK ] # 28.88 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 29.13 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 29.40 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 29.65 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 29.86 [+0.21] TEST: swp1 carrier on [ OK ] # 30.02 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 30.46 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 30.71 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 30.92 [+0.21] TEST: swp1 carrier off [ OK ] # 31.38 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 31.64 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 31.90 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 32.16 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 32.36 [+0.21] TEST: swp1 carrier on [ OK ] # 32.81 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 33.07 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 33.33 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 33.57 [+0.24] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.73 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.19 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 34.44 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 34.69 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 34.94 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.15 [+0.21] TEST: swp1 carrier off [ OK ] # 35.61 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 35.88 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 36.15 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.39 [+0.24] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.36 [+9.97] # 46.36 [+0.00] Backup nexthop ID - invalid IDs # 46.36 [+0.00] ------------------------------- # 47.93 [+1.57] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.09 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 48.33 [+0.24] TEST: swp1 carrier off [ OK ] # 48.80 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 49.04 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 49.30 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 49.40 [+0.09] TEST: No Tx drop increase [ OK ] # 49.55 [+0.16] TEST: Non-existent nexthop as backup nexthop [ OK ] # 50.01 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 50.27 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 50.54 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 50.62 [+0.09] TEST: Tx drop increased [ OK ] # 50.87 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 51.33 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 51.58 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 51.85 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 51.95 [+0.09] TEST: Tx drop increased [ OK ] # 52.13 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 52.59 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 52.86 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.11 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 53.20 [+0.09] TEST: Tx drop increased [ OK ] # 53.61 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 54.07 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 54.33 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.60 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 54.70 [+0.10] TEST: Tx drop increased [ OK ] # 64.63 [+9.94] # 64.64 [+0.00] Backup nexthop ID - ping # 64.64 [+0.00] ------------------------ # 68.04 [+3.41] TEST: Ping with backup nexthop ID [ OK ] # 73.34 [+5.29] TEST: Ping after disabling backup nexthop ID [ OK ] # 83.26 [+9.92] # 83.26 [+0.00] Backup nexthop ID - torture test # 83.26 [+0.00] -------------------------------- # 113.90 [+30.64] TEST: Torture test [ OK ] # 114.49 [+0.60] # 114.50 [+0.00] Tests passed: 83 # 114.50 [+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__->