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.49 [+9.49] # 9.49 [+0.00] Backup port # 9.49 [+0.00] ----------- # 10.52 [+1.03] TEST: Forwarding out of swp1 [ OK ] # 10.77 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 11.00 [+0.23] TEST: swp1 carrier off [ OK ] # 11.47 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 11.73 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.96 [+0.23] TEST: swp1 carrier on [ OK ] # 12.14 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.60 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 12.88 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.12 [+0.24] TEST: swp1 carrier off [ OK ] # 13.61 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 13.85 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 14.09 [+0.24] TEST: swp1 carrier on [ OK ] # 14.56 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 14.85 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 15.02 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.47 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 15.74 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.96 [+0.23] TEST: swp1 carrier off [ OK ] # 16.45 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 16.71 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.97 [+10.26] # 26.97 [+0.00] Backup nexthop ID # 26.97 [+0.00] ----------------- # 28.47 [+1.50] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.94 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 29.22 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 29.46 [+0.24] TEST: swp1 carrier off [ OK ] # 29.93 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 30.18 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 30.48 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 30.75 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.97 [+0.22] TEST: swp1 carrier on [ OK ] # 31.14 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.62 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 31.89 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 32.13 [+0.24] TEST: swp1 carrier off [ OK ] # 32.59 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 32.85 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 33.12 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 33.40 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.61 [+0.21] TEST: swp1 carrier on [ OK ] # 34.09 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 34.36 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 34.60 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 34.86 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.03 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.50 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 35.76 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.03 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.29 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.51 [+0.22] TEST: swp1 carrier off [ OK ] # 37.00 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 37.25 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.50 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 37.76 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.97 [+10.21] # 47.97 [+0.00] Backup nexthop ID - invalid IDs # 47.97 [+0.00] ------------------------------- # 49.56 [+1.59] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.74 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 49.98 [+0.24] TEST: swp1 carrier off [ OK ] # 50.50 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 50.76 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.04 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 51.14 [+0.09] TEST: No Tx drop increase [ OK ] # 51.31 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.79 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.06 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.32 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 52.42 [+0.10] TEST: Tx drop increased [ OK ] # 52.69 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.18 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 53.43 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 53.67 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 53.80 [+0.12] TEST: Tx drop increased [ OK ] # 53.97 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.46 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 54.72 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 54.97 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.08 [+0.11] TEST: Tx drop increased [ OK ] # 55.50 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.98 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 56.24 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.51 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.60 [+0.10] TEST: Tx drop increased [ OK ] # 66.72 [+10.12] # 66.72 [+0.00] Backup nexthop ID - ping # 66.72 [+0.00] ------------------------ # 70.21 [+3.49] TEST: Ping with backup nexthop ID [ OK ] # 75.52 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.65 [+10.13] # 85.65 [+0.00] Backup nexthop ID - torture test # 85.65 [+0.00] -------------------------------- # 116.32 [+30.67] TEST: Torture test [ OK ] # 116.97 [+0.66] # 116.97 [+0.00] Tests passed: 83 # 116.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__->