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.48 [+9.48] # 9.48 [+0.00] Backup port # 9.48 [+0.00] ----------- # 10.56 [+1.09] TEST: Forwarding out of swp1 [ OK ] # 10.86 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 11.08 [+0.23] TEST: swp1 carrier off [ OK ] # 11.58 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 11.84 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 12.07 [+0.23] TEST: swp1 carrier on [ OK ] # 12.27 [+0.20] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.75 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 13.04 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 13.26 [+0.22] TEST: swp1 carrier off [ OK ] # 13.72 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.99 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.21 [+0.22] TEST: swp1 carrier on [ OK ] # 14.69 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.93 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 15.10 [+0.16] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.57 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.83 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.05 [+0.22] TEST: swp1 carrier off [ OK ] # 16.53 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 16.80 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 26.99 [+10.19] # 26.99 [+0.00] Backup nexthop ID # 26.99 [+0.00] ----------------- # 28.57 [+1.58] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.08 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 29.38 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 29.65 [+0.27] TEST: swp1 carrier off [ OK ] # 30.13 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.41 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 30.70 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 30.98 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.23 [+0.26] TEST: swp1 carrier on [ OK ] # 31.43 [+0.20] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.96 [+0.53] TEST: Forwarding out of swp1 [ OK ] # 32.27 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 32.53 [+0.26] TEST: swp1 carrier off [ OK ] # 33.01 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 33.31 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 33.65 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 33.92 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.15 [+0.23] TEST: swp1 carrier on [ OK ] # 34.62 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 34.88 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.17 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 35.43 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.62 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.09 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 36.34 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 36.62 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 36.90 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.13 [+0.23] TEST: swp1 carrier off [ OK ] # 37.60 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 37.84 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 38.10 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.35 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.66 [+10.31] # 48.66 [+0.00] Backup nexthop ID - invalid IDs # 48.66 [+0.00] ------------------------------- # 50.34 [+1.68] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.52 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 50.79 [+0.27] TEST: swp1 carrier off [ OK ] # 51.26 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 51.52 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.77 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 51.88 [+0.11] TEST: No Tx drop increase [ OK ] # 52.06 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.54 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.83 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 53.09 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.19 [+0.10] TEST: Tx drop increased [ OK ] # 53.46 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.94 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 54.23 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 54.49 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 54.60 [+0.11] TEST: Tx drop increased [ OK ] # 54.79 [+0.19] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.28 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.54 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.82 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 55.92 [+0.09] TEST: Tx drop increased [ OK ] # 56.36 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.84 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 57.11 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 57.38 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.48 [+0.10] TEST: Tx drop increased [ OK ] # 67.73 [+10.25] # 67.73 [+0.00] Backup nexthop ID - ping # 67.73 [+0.00] ------------------------ # 71.17 [+3.44] TEST: Ping with backup nexthop ID [ OK ] # 76.49 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.77 [+10.28] # 86.77 [+0.00] Backup nexthop ID - torture test # 86.77 [+0.00] -------------------------------- # 117.45 [+30.68] TEST: Torture test [ OK ] # 118.09 [+0.64] # 118.09 [+0.00] Tests passed: 83 # 118.09 [+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__->