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.61 [+9.61] # 9.61 [+0.00] Backup port # 9.61 [+0.00] ----------- # 10.68 [+1.07] TEST: Forwarding out of swp1 [ OK ] # 10.95 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.18 [+0.23] TEST: swp1 carrier off [ OK ] # 11.67 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 11.92 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 12.16 [+0.24] TEST: swp1 carrier on [ OK ] # 12.34 [+0.19] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.83 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 13.11 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.33 [+0.22] TEST: swp1 carrier off [ OK ] # 13.83 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 14.12 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 14.35 [+0.23] TEST: swp1 carrier on [ OK ] # 14.82 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.08 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.27 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.75 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 16.00 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 16.24 [+0.23] TEST: swp1 carrier off [ OK ] # 16.71 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 16.95 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 27.41 [+10.46] # 27.41 [+0.00] Backup nexthop ID # 27.41 [+0.00] ----------------- # 28.97 [+1.56] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.45 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 29.74 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 30.01 [+0.27] TEST: swp1 carrier off [ OK ] # 30.50 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 30.78 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 31.06 [+0.28] 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.76 [+0.20] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.27 [+0.51] TEST: Forwarding out of swp1 [ OK ] # 32.53 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.77 [+0.25] TEST: swp1 carrier off [ OK ] # 33.26 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 33.51 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 33.76 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 34.05 [+0.29] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.28 [+0.23] TEST: swp1 carrier on [ OK ] # 34.73 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 34.99 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 35.27 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 35.54 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.73 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.20 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 36.48 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 36.77 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 37.03 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.26 [+0.23] TEST: swp1 carrier off [ OK ] # 37.76 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 38.03 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 38.30 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.60 [+0.29] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.96 [+10.36] # 48.96 [+0.00] Backup nexthop ID - invalid IDs # 48.96 [+0.00] ------------------------------- # 50.66 [+1.69] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.95 [+0.29] TEST: Valid nexthop as backup nexthop [ OK ] # 51.31 [+0.36] TEST: swp1 carrier off [ OK ] # 51.86 [+0.55] TEST: No forwarding out of swp1 [ OK ] # 52.13 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.43 [+0.29] TEST: Forwarding using backup nexthop ID [ OK ] # 52.57 [+0.14] TEST: No Tx drop increase [ OK ] # 52.76 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.32 [+0.56] TEST: No forwarding out of swp1 [ OK ] # 53.63 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 53.95 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 54.07 [+0.12] TEST: Tx drop increased [ OK ] # 54.39 [+0.32] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.96 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 55.25 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 55.64 [+0.39] TEST: No forwarding using backup nexthop ID [ OK ] # 55.76 [+0.12] TEST: Tx drop increased [ OK ] # 55.96 [+0.20] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 56.50 [+0.54] TEST: No forwarding out of swp1 [ OK ] # 56.79 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 57.08 [+0.30] TEST: No forwarding using backup nexthop ID [ OK ] # 57.20 [+0.11] TEST: Tx drop increased [ OK ] # 57.72 [+0.52] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 58.25 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 58.54 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 58.87 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 58.98 [+0.11] TEST: Tx drop increased [ OK ] # 70.11 [+11.13] # 70.11 [+0.00] Backup nexthop ID - ping # 70.11 [+0.00] ------------------------ # 73.74 [+3.63] TEST: Ping with backup nexthop ID [ OK ] # 79.08 [+5.34] TEST: Ping after disabling backup nexthop ID [ OK ] # 90.19 [+11.11] # 90.19 [+0.00] Backup nexthop ID - torture test # 90.19 [+0.00] -------------------------------- # 120.94 [+30.75] TEST: Torture test [ OK ] # 121.62 [+0.68] # 121.62 [+0.00] Tests passed: 83 # 121.63 [+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__->