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.37 [+1.01] TEST: Forwarding out of swp1 [ OK ] # 10.64 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 10.88 [+0.24] TEST: swp1 carrier off [ OK ] # 11.31 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 11.58 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.82 [+0.23] TEST: swp1 carrier on [ OK ] # 11.97 [+0.15] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.44 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 12.72 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.94 [+0.22] TEST: swp1 carrier off [ OK ] # 13.39 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 13.65 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 13.87 [+0.23] TEST: swp1 carrier on [ OK ] # 14.34 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.61 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 14.78 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.25 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.51 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.72 [+0.21] TEST: swp1 carrier off [ OK ] # 16.21 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 16.47 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.66 [+10.19] # 26.66 [+0.00] Backup nexthop ID # 26.66 [+0.00] ----------------- # 28.20 [+1.54] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.65 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 28.93 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 29.16 [+0.23] TEST: swp1 carrier off [ OK ] # 29.63 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 29.89 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.15 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 30.41 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.64 [+0.24] TEST: swp1 carrier on [ OK ] # 30.80 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.28 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 31.54 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 31.77 [+0.23] TEST: swp1 carrier off [ OK ] # 32.21 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 32.49 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 32.76 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 33.02 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.23 [+0.21] TEST: swp1 carrier on [ OK ] # 33.69 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 33.98 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 34.25 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 34.53 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.73 [+0.20] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.27 [+0.55] TEST: Forwarding out of swp1 [ OK ] # 35.57 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 35.87 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 36.17 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.42 [+0.25] TEST: swp1 carrier off [ OK ] # 36.96 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 37.26 [+0.30] TEST: Forwarding out of vx0 [ OK ] # 37.55 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 37.84 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.74 [+11.91] # 49.74 [+0.00] Backup nexthop ID - invalid IDs # 49.74 [+0.00] ------------------------------- # 51.65 [+1.90] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.83 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 52.07 [+0.24] TEST: swp1 carrier off [ OK ] # 52.57 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 52.85 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 53.11 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 53.25 [+0.13] TEST: No Tx drop increase [ OK ] # 53.42 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.91 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 54.19 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 54.45 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 54.56 [+0.10] TEST: Tx drop increased [ OK ] # 54.83 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 55.32 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.59 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.87 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.97 [+0.10] TEST: Tx drop increased [ OK ] # 56.13 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 56.64 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 56.90 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 57.17 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.28 [+0.11] TEST: Tx drop increased [ OK ] # 57.72 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 58.21 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 58.46 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 58.74 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 58.85 [+0.11] TEST: Tx drop increased [ OK ] # 68.84 [+9.99] # 68.84 [+0.00] Backup nexthop ID - ping # 68.84 [+0.00] ------------------------ # 72.41 [+3.57] TEST: Ping with backup nexthop ID [ OK ] # 77.73 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.88 [+10.16] # 87.88 [+0.00] Backup nexthop ID - torture test # 87.88 [+0.00] -------------------------------- # 118.59 [+30.70] TEST: Torture test [ OK ] # 119.17 [+0.58] # 119.17 [+0.00] Tests passed: 83 # 119.17 [+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__->