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.73 [+9.73] # 9.73 [+0.00] Backup port # 9.73 [+0.00] ----------- # 10.78 [+1.05] TEST: Forwarding out of swp1 [ OK ] # 11.06 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.29 [+0.23] TEST: swp1 carrier off [ OK ] # 11.77 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 12.03 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 12.28 [+0.24] TEST: swp1 carrier on [ OK ] # 12.49 [+0.21] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.97 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 13.23 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.47 [+0.24] TEST: swp1 carrier off [ OK ] # 14.04 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 14.31 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 14.54 [+0.24] TEST: swp1 carrier on [ OK ] # 15.05 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 15.32 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.51 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.98 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 16.24 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.49 [+0.25] TEST: swp1 carrier off [ OK ] # 16.96 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 17.23 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 27.50 [+10.27] # 27.50 [+0.00] Backup nexthop ID # 27.50 [+0.00] ----------------- # 29.02 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.49 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 29.77 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 30.01 [+0.24] TEST: swp1 carrier off [ OK ] # 30.51 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 30.79 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 31.06 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.32 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.56 [+0.24] TEST: swp1 carrier on [ OK ] # 31.72 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.20 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 32.46 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.68 [+0.22] TEST: swp1 carrier off [ OK ] # 33.18 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 33.43 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 33.68 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 33.96 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.20 [+0.24] TEST: swp1 carrier on [ OK ] # 34.66 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 34.91 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.18 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.45 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.61 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.10 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 36.36 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.64 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.88 [+0.24] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.09 [+0.21] TEST: swp1 carrier off [ OK ] # 37.57 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 37.84 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.10 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 38.38 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.64 [+10.27] # 48.64 [+0.00] Backup nexthop ID - invalid IDs # 48.64 [+0.00] ------------------------------- # 50.24 [+1.60] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.41 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 50.66 [+0.25] TEST: swp1 carrier off [ OK ] # 51.12 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 51.39 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.66 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 51.79 [+0.13] TEST: No Tx drop increase [ OK ] # 51.95 [+0.16] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.44 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 52.69 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 52.95 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.06 [+0.10] TEST: Tx drop increased [ OK ] # 53.33 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.82 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 54.09 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.37 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 54.47 [+0.10] TEST: Tx drop increased [ OK ] # 54.65 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.14 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.40 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.66 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.79 [+0.13] TEST: Tx drop increased [ OK ] # 56.24 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.71 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 56.95 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 57.23 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 57.32 [+0.10] TEST: Tx drop increased [ OK ] # 67.61 [+10.29] # 67.61 [+0.00] Backup nexthop ID - ping # 67.62 [+0.00] ------------------------ # 71.07 [+3.46] TEST: Ping with backup nexthop ID [ OK ] # 76.39 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.60 [+10.21] # 86.60 [+0.00] Backup nexthop ID - torture test # 86.60 [+0.00] -------------------------------- # 117.28 [+30.68] TEST: Torture test [ OK ] # 117.87 [+0.58] # 117.87 [+0.00] Tests passed: 83 # 117.87 [+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__->