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.58 [+9.58] # 9.58 [+0.00] Backup port # 9.58 [+0.00] ----------- # 11.00 [+1.42] TEST: Forwarding out of swp1 [ OK ] # 11.26 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.49 [+0.23] TEST: swp1 carrier off [ OK ] # 11.98 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 12.25 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.50 [+0.25] TEST: swp1 carrier on [ OK ] # 12.69 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.19 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 13.46 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.69 [+0.23] TEST: swp1 carrier off [ OK ] # 14.17 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 14.45 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.70 [+0.25] TEST: swp1 carrier on [ OK ] # 15.21 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 15.46 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 15.64 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.11 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 16.37 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.61 [+0.24] TEST: swp1 carrier off [ OK ] # 17.09 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 17.35 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.53 [+10.18] # 27.53 [+0.00] Backup nexthop ID # 27.53 [+0.00] ----------------- # 29.06 [+1.53] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.50 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 29.76 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 29.99 [+0.24] TEST: swp1 carrier off [ OK ] # 30.47 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.74 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 31.01 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.26 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.47 [+0.21] TEST: swp1 carrier on [ OK ] # 31.65 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.12 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 32.36 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 32.58 [+0.22] TEST: swp1 carrier off [ OK ] # 33.06 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 33.33 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 33.58 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 33.86 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.07 [+0.21] TEST: swp1 carrier on [ OK ] # 34.54 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 34.79 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.04 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.30 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.46 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.92 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 36.17 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 36.43 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 36.67 [+0.24] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.91 [+0.23] TEST: swp1 carrier off [ OK ] # 37.37 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 37.63 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.91 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 38.17 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.16 [+9.99] # 48.16 [+0.00] Backup nexthop ID - invalid IDs # 48.16 [+0.00] ------------------------------- # 49.68 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.86 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 50.08 [+0.23] TEST: swp1 carrier off [ OK ] # 50.55 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 50.81 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.08 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 51.17 [+0.09] TEST: No Tx drop increase [ OK ] # 51.33 [+0.16] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.81 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.06 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 52.31 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 52.40 [+0.09] TEST: Tx drop increased [ OK ] # 52.66 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.14 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.42 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.69 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.78 [+0.09] TEST: Tx drop increased [ OK ] # 53.97 [+0.19] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.44 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 54.70 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.95 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.05 [+0.10] TEST: Tx drop increased [ OK ] # 55.45 [+0.40] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.90 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 56.16 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.43 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.53 [+0.10] TEST: Tx drop increased [ OK ] # 66.59 [+10.06] # 66.59 [+0.00] Backup nexthop ID - ping # 66.59 [+0.00] ------------------------ # 70.12 [+3.53] TEST: Ping with backup nexthop ID [ OK ] # 75.43 [+5.30] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.65 [+10.22] # 85.65 [+0.00] Backup nexthop ID - torture test # 85.65 [+0.00] -------------------------------- # 116.36 [+30.71] TEST: Torture test [ OK ] # 116.99 [+0.63] # 116.99 [+0.00] Tests passed: 83 # 116.99 [+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__->