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.55 [+9.55] # 9.55 [+0.00] Backup port # 9.55 [+0.00] ----------- # 10.89 [+1.34] TEST: Forwarding out of swp1 [ OK ] # 11.15 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.37 [+0.22] TEST: swp1 carrier off [ OK ] # 11.87 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 12.14 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.39 [+0.25] TEST: swp1 carrier on [ OK ] # 12.57 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.05 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 13.33 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 13.57 [+0.23] TEST: swp1 carrier off [ OK ] # 14.05 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 14.33 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.56 [+0.24] TEST: swp1 carrier on [ OK ] # 15.04 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.32 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.50 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.98 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 16.26 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 16.48 [+0.22] TEST: swp1 carrier off [ OK ] # 16.95 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 17.23 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.47 [+10.25] # 27.47 [+0.00] Backup nexthop ID # 27.47 [+0.00] ----------------- # 29.01 [+1.53] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.47 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 29.75 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 29.99 [+0.25] TEST: swp1 carrier off [ OK ] # 30.46 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 30.74 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 31.01 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.29 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.55 [+0.25] TEST: swp1 carrier on [ OK ] # 31.75 [+0.20] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.22 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 32.48 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.70 [+0.22] TEST: swp1 carrier off [ OK ] # 33.19 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 33.45 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 33.72 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 34.01 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.23 [+0.22] TEST: swp1 carrier on [ OK ] # 34.74 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 35.00 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.26 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.52 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.71 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.18 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 36.45 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.72 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 37.00 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.24 [+0.23] TEST: swp1 carrier off [ OK ] # 37.71 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 37.98 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.27 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 38.54 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.85 [+10.31] # 48.85 [+0.00] Backup nexthop ID - invalid IDs # 48.85 [+0.00] ------------------------------- # 50.51 [+1.66] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.70 [+0.19] TEST: Valid nexthop as backup nexthop [ OK ] # 50.93 [+0.22] TEST: swp1 carrier off [ OK ] # 51.44 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 51.70 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.97 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 52.07 [+0.10] TEST: No Tx drop increase [ OK ] # 52.24 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.72 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.98 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.26 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 53.36 [+0.10] TEST: Tx drop increased [ OK ] # 53.63 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.14 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 54.40 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.65 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 54.77 [+0.11] TEST: Tx drop increased [ OK ] # 54.92 [+0.15] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.43 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 55.70 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.96 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 56.07 [+0.11] TEST: Tx drop increased [ OK ] # 56.49 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.99 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 57.24 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 57.51 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 57.63 [+0.12] TEST: Tx drop increased [ OK ] # 68.15 [+10.53] # 68.15 [+0.00] Backup nexthop ID - ping # 68.16 [+0.00] ------------------------ # 71.65 [+3.49] TEST: Ping with backup nexthop ID [ OK ] # 76.96 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.48 [+10.51] # 87.48 [+0.00] Backup nexthop ID - torture test # 87.48 [+0.00] -------------------------------- # 118.16 [+30.68] TEST: Torture test [ OK ] # 118.80 [+0.64] # 118.80 [+0.00] Tests passed: 83 # 118.80 [+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__->