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.35 [+9.35] # 9.35 [+0.00] Backup port # 9.35 [+0.00] ----------- # 10.36 [+1.01] TEST: Forwarding out of swp1 [ OK ] # 10.63 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 10.86 [+0.23] TEST: swp1 carrier off [ OK ] # 11.32 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.58 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.81 [+0.23] TEST: swp1 carrier on [ OK ] # 11.98 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.45 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 12.72 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.95 [+0.22] TEST: swp1 carrier off [ OK ] # 13.39 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 13.65 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 13.86 [+0.21] TEST: swp1 carrier on [ OK ] # 14.34 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.60 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 14.76 [+0.16] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.22 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.48 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.70 [+0.22] TEST: swp1 carrier off [ OK ] # 16.21 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 16.47 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.52 [+10.06] # 26.52 [+0.00] Backup nexthop ID # 26.52 [+0.00] ----------------- # 28.03 [+1.51] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.50 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 28.76 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 28.98 [+0.22] TEST: swp1 carrier off [ OK ] # 29.47 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 29.72 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 30.00 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 30.24 [+0.24] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.46 [+0.22] TEST: swp1 carrier on [ OK ] # 30.63 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.09 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 31.35 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 31.58 [+0.23] TEST: swp1 carrier off [ OK ] # 32.07 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 32.31 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 32.58 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 32.84 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.07 [+0.24] TEST: swp1 carrier on [ OK ] # 33.55 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 33.80 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 34.06 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 34.32 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.49 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.96 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 35.21 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.47 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.73 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.95 [+0.22] TEST: swp1 carrier off [ OK ] # 36.40 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 36.67 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 36.93 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.18 [+0.24] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.26 [+10.08] # 47.26 [+0.00] Backup nexthop ID - invalid IDs # 47.26 [+0.00] ------------------------------- # 48.85 [+1.59] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.03 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 49.26 [+0.23] TEST: swp1 carrier off [ OK ] # 49.74 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 49.98 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 50.26 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 50.37 [+0.10] TEST: No Tx drop increase [ OK ] # 50.56 [+0.19] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.03 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 51.30 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 51.58 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 51.69 [+0.11] TEST: Tx drop increased [ OK ] # 51.93 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.40 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 52.66 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.92 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.05 [+0.13] TEST: Tx drop increased [ OK ] # 53.22 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.70 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.94 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 54.21 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.30 [+0.10] TEST: Tx drop increased [ OK ] # 54.73 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.21 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.47 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.72 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.83 [+0.11] TEST: Tx drop increased [ OK ] # 65.95 [+10.12] # 65.95 [+0.00] Backup nexthop ID - ping # 65.95 [+0.00] ------------------------ # 69.43 [+3.47] TEST: Ping with backup nexthop ID [ OK ] # 74.73 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 84.67 [+9.94] # 84.67 [+0.00] Backup nexthop ID - torture test # 84.67 [+0.00] -------------------------------- # 115.34 [+30.67] TEST: Torture test [ OK ] # 115.92 [+0.59] # 115.92 [+0.00] Tests passed: 83 # 115.92 [+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__->