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.44 [+9.44] # 9.44 [+0.00] Backup port # 9.44 [+0.00] ----------- # 10.56 [+1.13] TEST: Forwarding out of swp1 [ OK ] # 10.83 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.08 [+0.26] TEST: swp1 carrier off [ OK ] # 11.56 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 11.85 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 12.12 [+0.27] TEST: swp1 carrier on [ OK ] # 12.30 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.80 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 13.07 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.29 [+0.22] TEST: swp1 carrier off [ OK ] # 13.77 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 14.04 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 14.28 [+0.24] TEST: swp1 carrier on [ OK ] # 14.78 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 15.06 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.23 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.70 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.98 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.22 [+0.24] TEST: swp1 carrier off [ OK ] # 16.71 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 16.96 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 27.48 [+10.52] # 27.48 [+0.00] Backup nexthop ID # 27.48 [+0.00] ----------------- # 29.09 [+1.60] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.57 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 29.87 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 30.11 [+0.24] TEST: swp1 carrier off [ OK ] # 30.61 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 30.89 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 31.16 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.43 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.67 [+0.24] TEST: swp1 carrier on [ OK ] # 31.87 [+0.20] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.36 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 32.67 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 32.94 [+0.27] TEST: swp1 carrier off [ OK ] # 33.44 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 33.71 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 34.05 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 34.34 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.58 [+0.24] TEST: swp1 carrier on [ OK ] # 35.10 [+0.53] TEST: Forwarding out of swp1 [ OK ] # 35.40 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 35.68 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 35.99 [+0.30] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.20 [+0.22] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.67 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 36.93 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 37.20 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.47 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.74 [+0.26] TEST: swp1 carrier off [ OK ] # 38.25 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 38.53 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 38.85 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 39.12 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.43 [+10.31] # 49.43 [+0.00] Backup nexthop ID - invalid IDs # 49.43 [+0.00] ------------------------------- # 50.98 [+1.54] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.17 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 51.40 [+0.23] TEST: swp1 carrier off [ OK ] # 51.90 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 52.15 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 52.41 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 52.51 [+0.11] TEST: No Tx drop increase [ OK ] # 52.68 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.18 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 53.43 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 53.69 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.80 [+0.10] TEST: Tx drop increased [ OK ] # 54.05 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.52 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 54.80 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 55.05 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.16 [+0.11] TEST: Tx drop increased [ OK ] # 55.32 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.79 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 56.05 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.33 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 56.42 [+0.09] TEST: Tx drop increased [ OK ] # 56.90 [+0.48] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.42 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 57.69 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 57.98 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 58.08 [+0.10] TEST: Tx drop increased [ OK ] # 68.64 [+10.56] # 68.64 [+0.00] Backup nexthop ID - ping # 68.64 [+0.00] ------------------------ # 72.12 [+3.48] TEST: Ping with backup nexthop ID [ OK ] # 77.49 [+5.37] TEST: Ping after disabling backup nexthop ID [ OK ] # 88.55 [+11.06] # 88.55 [+0.00] Backup nexthop ID - torture test # 88.55 [+0.00] -------------------------------- # 119.30 [+30.75] TEST: Torture test [ OK ] # 119.98 [+0.68] # 119.98 [+0.00] Tests passed: 83 # 119.98 [+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__->