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.37 [+9.37] # 9.37 [+0.00] Backup port # 9.37 [+0.00] ----------- # 10.48 [+1.12] TEST: Forwarding out of swp1 [ OK ] # 10.74 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 10.96 [+0.22] TEST: swp1 carrier off [ OK ] # 11.42 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.68 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.92 [+0.24] TEST: swp1 carrier on [ OK ] # 12.09 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.55 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 12.82 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.03 [+0.21] TEST: swp1 carrier off [ OK ] # 13.49 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.76 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 13.96 [+0.21] TEST: swp1 carrier on [ OK ] # 14.43 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.67 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 14.84 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.30 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.56 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.76 [+0.20] TEST: swp1 carrier off [ OK ] # 16.23 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 16.47 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 26.50 [+10.03] # 26.50 [+0.00] Backup nexthop ID # 26.50 [+0.00] ----------------- # 27.97 [+1.46] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.43 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 28.71 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 28.94 [+0.24] TEST: swp1 carrier off [ OK ] # 29.40 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 29.65 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 29.92 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 30.17 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.39 [+0.23] TEST: swp1 carrier on [ OK ] # 30.57 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.04 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 31.29 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 31.52 [+0.22] TEST: swp1 carrier off [ OK ] # 31.96 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 32.22 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 32.47 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 32.74 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 32.96 [+0.21] TEST: swp1 carrier on [ OK ] # 33.43 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 33.69 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 33.93 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 34.19 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.36 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.84 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.08 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 35.33 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.59 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.80 [+0.21] TEST: swp1 carrier off [ OK ] # 36.29 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 36.55 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 36.80 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 37.06 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.07 [+10.01] # 47.07 [+0.00] Backup nexthop ID - invalid IDs # 47.07 [+0.00] ------------------------------- # 48.57 [+1.50] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.74 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 48.95 [+0.20] TEST: swp1 carrier off [ OK ] # 49.41 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 49.65 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 49.90 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 50.01 [+0.11] TEST: No Tx drop increase [ OK ] # 50.18 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 50.64 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 50.89 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 51.15 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 51.26 [+0.11] TEST: Tx drop increased [ OK ] # 51.51 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 51.97 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 52.21 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 52.46 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 52.55 [+0.09] TEST: Tx drop increased [ OK ] # 52.73 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.19 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 53.44 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 53.71 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.81 [+0.10] TEST: Tx drop increased [ OK ] # 54.23 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 54.69 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 54.96 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.21 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.31 [+0.10] TEST: Tx drop increased [ OK ] # 65.31 [+10.00] # 65.31 [+0.00] Backup nexthop ID - ping # 65.31 [+0.00] ------------------------ # 68.79 [+3.48] TEST: Ping with backup nexthop ID [ OK ] # 74.09 [+5.30] TEST: Ping after disabling backup nexthop ID [ OK ] # 84.16 [+10.07] # 84.16 [+0.00] Backup nexthop ID - torture test # 84.16 [+0.00] -------------------------------- # 114.83 [+30.66] TEST: Torture test [ OK ] # 115.42 [+0.60] # 115.42 [+0.00] Tests passed: 83 # 115.42 [+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__->