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.69 [+1.34] TEST: Forwarding out of swp1 [ OK ] # 10.96 [+0.27] 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.96 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 12.18 [+0.22] TEST: swp1 carrier on [ OK ] # 12.35 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.81 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 13.09 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.30 [+0.21] TEST: swp1 carrier off [ OK ] # 13.77 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 14.03 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 14.25 [+0.22] TEST: swp1 carrier on [ OK ] # 14.74 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 15.00 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.17 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.63 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.89 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.12 [+0.23] TEST: swp1 carrier off [ OK ] # 16.57 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 16.82 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 27.02 [+10.20] # 27.02 [+0.00] Backup nexthop ID # 27.02 [+0.00] ----------------- # 28.52 [+1.50] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.96 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 29.25 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 29.48 [+0.23] TEST: swp1 carrier off [ OK ] # 29.95 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 30.19 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 30.47 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 30.75 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.97 [+0.22] TEST: swp1 carrier on [ OK ] # 31.15 [+0.18] 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.11 [+0.22] TEST: swp1 carrier off [ OK ] # 32.59 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 32.86 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 33.13 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 33.38 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.60 [+0.23] 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.63 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 34.90 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.07 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.57 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 35.83 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.09 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 36.34 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.56 [+0.22] TEST: swp1 carrier off [ OK ] # 37.04 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 37.30 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.57 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.84 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.04 [+10.20] # 48.04 [+0.00] Backup nexthop ID - invalid IDs # 48.04 [+0.00] ------------------------------- # 49.56 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.74 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 49.96 [+0.22] TEST: swp1 carrier off [ OK ] # 50.46 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 50.72 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 50.99 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 51.09 [+0.10] TEST: No Tx drop increase [ OK ] # 51.25 [+0.15] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.73 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.01 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 52.27 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.37 [+0.10] TEST: Tx drop increased [ OK ] # 52.64 [+0.27] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.12 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.40 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 53.65 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 53.75 [+0.10] TEST: Tx drop increased [ OK ] # 53.91 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.38 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 54.66 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 54.95 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 55.05 [+0.10] TEST: Tx drop increased [ OK ] # 55.50 [+0.45] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.02 [+0.52] TEST: No forwarding out of swp1 [ OK ] # 56.27 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 56.55 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 56.65 [+0.10] TEST: Tx drop increased [ OK ] # 66.86 [+10.21] # 66.86 [+0.00] Backup nexthop ID - ping # 66.86 [+0.00] ------------------------ # 70.36 [+3.50] TEST: Ping with backup nexthop ID [ OK ] # 75.67 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.87 [+10.20] # 85.87 [+0.00] Backup nexthop ID - torture test # 85.87 [+0.00] -------------------------------- # 116.55 [+30.68] TEST: Torture test [ OK ] # 117.17 [+0.61] # 117.17 [+0.00] Tests passed: 83 # 117.17 [+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__->