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.26 [+9.26] # 9.26 [+0.00] Backup port # 9.26 [+0.00] ----------- # 10.36 [+1.10] TEST: Forwarding out of swp1 [ OK ] # 10.62 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 10.84 [+0.22] TEST: swp1 carrier off [ OK ] # 11.29 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 11.56 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.78 [+0.22] TEST: swp1 carrier on [ OK ] # 11.95 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.41 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 12.66 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 12.87 [+0.21] TEST: swp1 carrier off [ OK ] # 13.33 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 13.58 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 13.82 [+0.23] TEST: swp1 carrier on [ OK ] # 14.27 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 14.52 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 14.69 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.15 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.40 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 15.62 [+0.22] TEST: swp1 carrier off [ OK ] # 16.09 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 16.35 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.32 [+9.97] # 26.32 [+0.00] Backup nexthop ID # 26.32 [+0.00] ----------------- # 27.78 [+1.46] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.25 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 28.49 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 28.72 [+0.23] TEST: swp1 carrier off [ OK ] # 29.19 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 29.44 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 29.71 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 29.96 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.18 [+0.22] TEST: swp1 carrier on [ OK ] # 30.32 [+0.14] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 30.79 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 31.04 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 31.26 [+0.21] TEST: swp1 carrier off [ OK ] # 31.73 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 31.98 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 32.24 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 32.49 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 32.71 [+0.21] TEST: swp1 carrier on [ OK ] # 33.19 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 33.43 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 33.69 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 33.94 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.11 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.58 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 34.85 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.10 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.35 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.56 [+0.21] TEST: swp1 carrier off [ OK ] # 36.03 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 36.32 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 36.59 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.84 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.86 [+10.02] # 46.86 [+0.00] Backup nexthop ID - invalid IDs # 46.86 [+0.00] ------------------------------- # 48.35 [+1.49] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.53 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 48.76 [+0.23] TEST: swp1 carrier off [ OK ] # 49.21 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 49.47 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 49.72 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 49.82 [+0.10] TEST: No Tx drop increase [ OK ] # 49.97 [+0.16] TEST: Non-existent nexthop as backup nexthop [ OK ] # 50.45 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 50.70 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 50.96 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 51.06 [+0.11] TEST: Tx drop increased [ OK ] # 51.31 [+0.24] TEST: Blackhole nexthop as backup nexthop [ OK ] # 51.78 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 52.04 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.29 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 52.39 [+0.10] TEST: Tx drop increased [ OK ] # 52.57 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.02 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 53.28 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.55 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.67 [+0.12] TEST: Tx drop increased [ OK ] # 54.09 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 54.54 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 54.79 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.04 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.15 [+0.11] TEST: Tx drop increased [ OK ] # 65.17 [+10.02] # 65.17 [+0.00] Backup nexthop ID - ping # 65.17 [+0.00] ------------------------ # 68.61 [+3.44] TEST: Ping with backup nexthop ID [ OK ] # 73.91 [+5.30] TEST: Ping after disabling backup nexthop ID [ OK ] # 83.94 [+10.03] # 83.94 [+0.00] Backup nexthop ID - torture test # 83.94 [+0.00] -------------------------------- # 114.61 [+30.66] TEST: Torture test [ OK ] # 115.19 [+0.58] # 115.19 [+0.00] Tests passed: 83 # 115.19 [+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__->