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.39 [+9.39] # 9.39 [+0.00] Backup port # 9.39 [+0.00] ----------- # 10.61 [+1.22] TEST: Forwarding out of swp1 [ OK ] # 10.86 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.08 [+0.22] TEST: swp1 carrier off [ OK ] # 11.54 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 11.81 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.03 [+0.22] TEST: swp1 carrier on [ OK ] # 12.19 [+0.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.65 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 12.94 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.15 [+0.22] TEST: swp1 carrier off [ OK ] # 13.61 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.87 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.09 [+0.22] TEST: swp1 carrier on [ OK ] # 14.57 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 14.81 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 14.97 [+0.16] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.44 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.69 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 15.92 [+0.23] TEST: swp1 carrier off [ OK ] # 16.37 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 16.65 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 26.83 [+10.18] # 26.83 [+0.00] Backup nexthop ID # 26.83 [+0.00] ----------------- # 28.34 [+1.51] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.81 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 29.08 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 29.31 [+0.23] TEST: swp1 carrier off [ OK ] # 29.75 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 30.01 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.27 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 30.53 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.75 [+0.21] TEST: swp1 carrier on [ OK ] # 30.94 [+0.20] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.41 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 31.67 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 31.89 [+0.22] TEST: swp1 carrier off [ OK ] # 32.36 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 32.62 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 32.87 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 33.14 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.37 [+0.23] TEST: swp1 carrier on [ OK ] # 33.85 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 34.13 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 34.38 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 34.63 [+0.24] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.81 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.29 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.55 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.80 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 36.08 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.30 [+0.22] TEST: swp1 carrier off [ OK ] # 36.77 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 37.03 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 37.31 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 37.58 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.73 [+10.16] # 47.73 [+0.00] Backup nexthop ID - invalid IDs # 47.74 [+0.00] ------------------------------- # 49.26 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.44 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 49.67 [+0.23] TEST: swp1 carrier off [ OK ] # 50.16 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 50.40 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 50.66 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 50.76 [+0.11] TEST: No Tx drop increase [ OK ] # 50.95 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.43 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 51.69 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.95 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.06 [+0.11] TEST: Tx drop increased [ OK ] # 52.34 [+0.28] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.83 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.09 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.34 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 53.45 [+0.10] TEST: Tx drop increased [ OK ] # 53.62 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.12 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 54.39 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.64 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 54.74 [+0.10] TEST: Tx drop increased [ OK ] # 55.19 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.69 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.94 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 56.20 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.33 [+0.12] TEST: Tx drop increased [ OK ] # 66.50 [+10.17] # 66.50 [+0.00] Backup nexthop ID - ping # 66.50 [+0.00] ------------------------ # 69.94 [+3.44] TEST: Ping with backup nexthop ID [ OK ] # 75.26 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.40 [+10.14] # 85.40 [+0.00] Backup nexthop ID - torture test # 85.40 [+0.00] -------------------------------- # 116.11 [+30.71] TEST: Torture test [ OK ] # 116.70 [+0.59] # 116.70 [+0.00] Tests passed: 83 # 116.70 [+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__->