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.25 [+9.25] # 9.25 [+0.00] Backup port # 9.25 [+0.00] ----------- # 10.44 [+1.19] TEST: Forwarding out of swp1 [ OK ] # 10.69 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 10.92 [+0.22] TEST: swp1 carrier off [ OK ] # 11.40 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 11.66 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.87 [+0.22] TEST: swp1 carrier on [ OK ] # 12.05 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.50 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 12.76 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 12.98 [+0.22] TEST: swp1 carrier off [ OK ] # 13.45 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 13.71 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 13.92 [+0.21] TEST: swp1 carrier on [ OK ] # 14.39 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.63 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 14.79 [+0.16] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.25 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.51 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.73 [+0.22] TEST: swp1 carrier off [ OK ] # 16.21 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 16.46 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.42 [+9.96] # 26.42 [+0.00] Backup nexthop ID # 26.42 [+0.00] ----------------- # 27.92 [+1.49] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.39 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 28.66 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 28.86 [+0.21] TEST: swp1 carrier off [ OK ] # 29.33 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 29.58 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 29.84 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 30.09 [+0.24] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.32 [+0.23] TEST: swp1 carrier on [ OK ] # 30.47 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 30.94 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 31.19 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 31.39 [+0.20] TEST: swp1 carrier off [ OK ] # 31.86 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 32.11 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 32.37 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 32.61 [+0.24] TEST: No forwarding using VXLAN FDB entry [ OK ] # 32.83 [+0.21] TEST: swp1 carrier on [ OK ] # 33.30 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 33.55 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 33.80 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 34.05 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.22 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.68 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 34.94 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.19 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.46 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.68 [+0.22] TEST: swp1 carrier off [ OK ] # 36.15 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 36.40 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 36.68 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.93 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.97 [+10.04] # 46.97 [+0.00] Backup nexthop ID - invalid IDs # 46.97 [+0.00] ------------------------------- # 48.51 [+1.54] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.69 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 48.90 [+0.21] TEST: swp1 carrier off [ OK ] # 49.38 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 49.65 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 49.89 [+0.24] TEST: Forwarding using backup nexthop ID [ OK ] # 49.98 [+0.10] TEST: No Tx drop increase [ OK ] # 50.17 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 50.64 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 50.90 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.17 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 51.27 [+0.10] TEST: Tx drop increased [ OK ] # 51.52 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 51.97 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 52.23 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 52.48 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.59 [+0.10] TEST: Tx drop increased [ OK ] # 52.75 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.22 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 53.47 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 53.75 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.84 [+0.09] TEST: Tx drop increased [ OK ] # 54.26 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 54.71 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 54.95 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 55.19 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 55.31 [+0.11] TEST: Tx drop increased [ OK ] # 65.26 [+9.96] # 65.27 [+0.00] Backup nexthop ID - ping # 65.27 [+0.00] ------------------------ # 68.69 [+3.42] TEST: Ping with backup nexthop ID [ OK ] # 74.00 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 84.00 [+10.00] # 84.00 [+0.00] Backup nexthop ID - torture test # 84.00 [+0.00] -------------------------------- # 114.68 [+30.68] TEST: Torture test [ OK ] # 115.33 [+0.66] # 115.33 [+0.00] Tests passed: 83 # 115.33 [+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__->