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.40 [+9.40] # 9.40 [+0.00] Backup port # 9.40 [+0.00] ----------- # 10.68 [+1.28] TEST: Forwarding out of swp1 [ OK ] # 10.94 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.18 [+0.24] TEST: swp1 carrier off [ OK ] # 11.65 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 11.93 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 12.15 [+0.22] TEST: swp1 carrier on [ OK ] # 12.33 [+0.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.79 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 13.06 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.27 [+0.21] TEST: swp1 carrier off [ OK ] # 13.73 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 13.99 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.23 [+0.24] TEST: swp1 carrier on [ OK ] # 14.70 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.95 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 15.14 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.58 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 15.83 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 16.05 [+0.22] TEST: swp1 carrier off [ OK ] # 16.52 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 16.78 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 26.94 [+10.16] # 26.94 [+0.00] Backup nexthop ID # 26.94 [+0.00] ----------------- # 28.47 [+1.53] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.92 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 29.22 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 29.44 [+0.21] TEST: swp1 carrier off [ OK ] # 29.90 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 30.15 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 30.41 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 30.68 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.89 [+0.21] TEST: swp1 carrier on [ OK ] # 31.07 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.52 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 31.77 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 32.00 [+0.22] TEST: swp1 carrier off [ OK ] # 32.48 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 32.77 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 33.04 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 33.30 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.51 [+0.22] TEST: swp1 carrier on [ OK ] # 34.00 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 34.28 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 34.53 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 34.78 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.95 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.41 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 35.67 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.93 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 36.20 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.41 [+0.21] TEST: swp1 carrier off [ OK ] # 36.90 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 37.17 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 37.45 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 37.70 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.09 [+10.39] # 48.09 [+0.00] Backup nexthop ID - invalid IDs # 48.09 [+0.00] ------------------------------- # 49.75 [+1.66] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.95 [+0.20] TEST: Valid nexthop as backup nexthop [ OK ] # 50.20 [+0.25] TEST: swp1 carrier off [ OK ] # 50.74 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 51.00 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.25 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 51.36 [+0.11] TEST: No Tx drop increase [ OK ] # 51.53 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.01 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.29 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 52.56 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 52.67 [+0.11] TEST: Tx drop increased [ OK ] # 52.93 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.41 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.69 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 53.96 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 54.07 [+0.10] TEST: Tx drop increased [ OK ] # 54.24 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.73 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 55.00 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 55.26 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.39 [+0.12] TEST: Tx drop increased [ OK ] # 55.83 [+0.44] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.32 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 56.60 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 56.85 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 56.95 [+0.10] TEST: Tx drop increased [ OK ] # 67.26 [+10.31] # 67.26 [+0.00] Backup nexthop ID - ping # 67.26 [+0.00] ------------------------ # 70.79 [+3.52] TEST: Ping with backup nexthop ID [ OK ] # 76.11 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 86.59 [+10.48] # 86.59 [+0.00] Backup nexthop ID - torture test # 86.59 [+0.00] -------------------------------- # 117.30 [+30.71] TEST: Torture test [ OK ] # 117.94 [+0.64] # 117.94 [+0.00] Tests passed: 83 # 117.94 [+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__->