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.21 [+9.21] # 9.21 [+0.00] Backup port # 9.21 [+0.00] ----------- # 10.24 [+1.03] TEST: Forwarding out of swp1 [ OK ] # 10.50 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 10.73 [+0.23] TEST: swp1 carrier off [ OK ] # 11.18 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.43 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.64 [+0.21] TEST: swp1 carrier on [ OK ] # 11.81 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.29 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 12.54 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 12.80 [+0.26] TEST: swp1 carrier off [ OK ] # 13.23 [+0.43] TEST: No forwarding out of swp1 [ OK ] # 13.48 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 13.68 [+0.20] TEST: swp1 carrier on [ OK ] # 14.13 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 14.39 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 14.56 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.02 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.27 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 15.49 [+0.22] TEST: swp1 carrier off [ OK ] # 15.94 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 16.20 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 26.16 [+9.96] # 26.16 [+0.00] Backup nexthop ID # 26.16 [+0.00] ----------------- # 27.64 [+1.48] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.11 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 28.37 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 28.58 [+0.21] TEST: swp1 carrier off [ OK ] # 29.01 [+0.43] TEST: No forwarding out of swp1 [ OK ] # 29.27 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 29.53 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 29.79 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.01 [+0.22] TEST: swp1 carrier on [ OK ] # 30.18 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 30.63 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 30.88 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 31.09 [+0.21] TEST: swp1 carrier off [ OK ] # 31.54 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 31.80 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 32.07 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 32.33 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 32.54 [+0.22] TEST: swp1 carrier on [ OK ] # 33.01 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 33.27 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 33.54 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 33.80 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.97 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.44 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 34.70 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 34.96 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.23 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.44 [+0.21] TEST: swp1 carrier off [ OK ] # 35.91 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 36.16 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 36.45 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.69 [+0.24] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.06 [+10.37] # 47.06 [+0.00] Backup nexthop ID - invalid IDs # 47.06 [+0.00] ------------------------------- # 48.56 [+1.50] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.74 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 48.94 [+0.20] TEST: swp1 carrier off [ OK ] # 49.43 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 49.69 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 49.94 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 50.04 [+0.10] TEST: No Tx drop increase [ OK ] # 50.20 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 50.71 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 50.99 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 51.28 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 51.38 [+0.10] TEST: Tx drop increased [ OK ] # 51.68 [+0.30] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.17 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 52.41 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 52.69 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 52.80 [+0.12] TEST: Tx drop increased [ OK ] # 52.96 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.49 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 53.82 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 54.07 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 54.17 [+0.10] TEST: Tx drop increased [ OK ] # 54.61 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.11 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 55.37 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.65 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 55.73 [+0.08] TEST: Tx drop increased [ OK ] # 66.26 [+10.53] # 66.26 [+0.00] Backup nexthop ID - ping # 66.26 [+0.00] ------------------------ # 70.18 [+3.92] TEST: Ping with backup nexthop ID [ OK ] # 75.52 [+5.34] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.95 [+10.43] # 85.95 [+0.00] Backup nexthop ID - torture test # 85.95 [+0.00] -------------------------------- # 116.65 [+30.70] TEST: Torture test [ OK ] # 117.28 [+0.63] # 117.28 [+0.00] Tests passed: 83 # 117.28 [+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__->