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.51 [+9.51] # 9.51 [+0.00] Backup port # 9.51 [+0.00] ----------- # 10.56 [+1.04] TEST: Forwarding out of swp1 [ OK ] # 10.83 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.05 [+0.22] TEST: swp1 carrier off [ OK ] # 11.53 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 11.78 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 12.02 [+0.24] TEST: swp1 carrier on [ OK ] # 12.20 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.64 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 12.93 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 13.16 [+0.22] TEST: swp1 carrier off [ OK ] # 13.62 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.87 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 14.10 [+0.23] TEST: swp1 carrier on [ OK ] # 14.58 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.86 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.04 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.51 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.77 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.99 [+0.22] TEST: swp1 carrier off [ OK ] # 16.48 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 16.74 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.02 [+10.28] # 27.02 [+0.00] Backup nexthop ID # 27.02 [+0.00] ----------------- # 28.55 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.02 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 29.30 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 29.55 [+0.25] TEST: swp1 carrier off [ OK ] # 30.02 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 30.29 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 30.56 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 30.83 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.08 [+0.24] TEST: swp1 carrier on [ OK ] # 31.24 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.74 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 31.99 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 32.22 [+0.23] TEST: swp1 carrier off [ OK ] # 32.68 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 32.96 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 33.21 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 33.49 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.72 [+0.23] TEST: swp1 carrier on [ OK ] # 34.20 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 34.45 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 34.74 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 34.99 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.18 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.66 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.92 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.16 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 36.43 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.66 [+0.23] TEST: swp1 carrier off [ OK ] # 37.15 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 37.41 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.69 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 37.94 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.24 [+10.30] # 48.24 [+0.00] Backup nexthop ID - invalid IDs # 48.24 [+0.00] ------------------------------- # 49.82 [+1.58] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.00 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 50.22 [+0.22] TEST: swp1 carrier off [ OK ] # 50.72 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 50.98 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.27 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 51.36 [+0.09] TEST: No Tx drop increase [ OK ] # 51.53 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.02 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.27 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.55 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 52.65 [+0.10] TEST: Tx drop increased [ OK ] # 52.94 [+0.29] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.43 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 53.69 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.95 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 54.05 [+0.10] TEST: Tx drop increased [ OK ] # 54.24 [+0.19] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.73 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 54.99 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.28 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 55.37 [+0.10] TEST: Tx drop increased [ OK ] # 55.82 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.31 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 56.59 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.84 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 56.94 [+0.10] TEST: Tx drop increased [ OK ] # 67.16 [+10.22] # 67.17 [+0.00] Backup nexthop ID - ping # 67.17 [+0.00] ------------------------ # 70.64 [+3.47] TEST: Ping with backup nexthop ID [ OK ] # 75.96 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.31 [+10.35] # 86.31 [+0.00] Backup nexthop ID - torture test # 86.31 [+0.00] -------------------------------- # 117.02 [+30.71] TEST: Torture test [ OK ] # 117.65 [+0.62] # 117.65 [+0.00] Tests passed: 83 # 117.65 [+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__->