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.32 [+9.32] # 9.33 [+0.00] Backup port # 9.33 [+0.00] ----------- # 10.52 [+1.20] TEST: Forwarding out of swp1 [ OK ] # 10.79 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.02 [+0.23] TEST: swp1 carrier off [ OK ] # 11.47 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 11.74 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.96 [+0.21] TEST: swp1 carrier on [ OK ] # 12.12 [+0.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.57 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 12.84 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.05 [+0.21] TEST: swp1 carrier off [ OK ] # 13.51 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.76 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 13.99 [+0.23] TEST: swp1 carrier on [ OK ] # 14.49 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 14.74 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 14.91 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.38 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.63 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 15.85 [+0.22] TEST: swp1 carrier off [ OK ] # 16.32 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 16.58 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.69 [+10.11] # 26.69 [+0.00] Backup nexthop ID # 26.69 [+0.00] ----------------- # 28.19 [+1.50] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.65 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 28.94 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 29.15 [+0.21] TEST: swp1 carrier off [ OK ] # 29.61 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 29.86 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 30.14 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 30.42 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.63 [+0.21] TEST: swp1 carrier on [ OK ] # 30.79 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.26 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 31.52 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 31.75 [+0.23] TEST: swp1 carrier off [ OK ] # 32.23 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 32.48 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 32.74 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 33.00 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.23 [+0.23] TEST: swp1 carrier on [ OK ] # 33.68 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 33.95 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 34.21 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 34.48 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.65 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.12 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 35.38 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.64 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.89 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.11 [+0.22] TEST: swp1 carrier off [ OK ] # 36.60 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 36.86 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 37.13 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 37.39 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.53 [+10.14] # 47.53 [+0.00] Backup nexthop ID - invalid IDs # 47.53 [+0.00] ------------------------------- # 49.04 [+1.50] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.21 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 49.43 [+0.22] TEST: swp1 carrier off [ OK ] # 49.89 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 50.17 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 50.42 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 50.51 [+0.09] TEST: No Tx drop increase [ OK ] # 50.68 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.17 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 51.44 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 51.68 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 51.80 [+0.11] TEST: Tx drop increased [ OK ] # 52.03 [+0.23] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.50 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.76 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.02 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 53.12 [+0.10] TEST: Tx drop increased [ OK ] # 53.30 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.77 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 54.04 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 54.31 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 54.40 [+0.09] TEST: Tx drop increased [ OK ] # 54.82 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.30 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 55.57 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.82 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.92 [+0.10] TEST: Tx drop increased [ OK ] # 66.02 [+10.09] # 66.02 [+0.00] Backup nexthop ID - ping # 66.02 [+0.00] ------------------------ # 69.54 [+3.53] TEST: Ping with backup nexthop ID [ OK ] # 74.87 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.05 [+10.18] # 85.05 [+0.00] Backup nexthop ID - torture test # 85.05 [+0.00] -------------------------------- # 115.72 [+30.67] TEST: Torture test [ OK ] # 116.35 [+0.63] # 116.35 [+0.00] Tests passed: 83 # 116.35 [+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__->