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.27 [+9.27] # 9.27 [+0.00] Backup port # 9.27 [+0.00] ----------- # 10.41 [+1.14] TEST: Forwarding out of swp1 [ OK ] # 10.64 [+0.23] TEST: No forwarding out of vx0 [ OK ] # 10.88 [+0.24] TEST: swp1 carrier off [ OK ] # 11.35 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 11.62 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.83 [+0.20] TEST: swp1 carrier on [ OK ] # 11.98 [+0.15] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.42 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 12.67 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 12.91 [+0.23] TEST: swp1 carrier off [ OK ] # 13.34 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 13.60 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 13.82 [+0.22] TEST: swp1 carrier on [ OK ] # 14.30 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 14.55 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 14.73 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.18 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 15.46 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.67 [+0.21] TEST: swp1 carrier off [ OK ] # 16.12 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 16.38 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.36 [+9.98] # 26.36 [+0.00] Backup nexthop ID # 26.36 [+0.00] ----------------- # 27.81 [+1.45] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.26 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 28.53 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 28.75 [+0.22] TEST: swp1 carrier off [ OK ] # 29.21 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 29.46 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 29.72 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 29.97 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.18 [+0.20] TEST: swp1 carrier on [ OK ] # 30.34 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 30.80 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 31.05 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 31.27 [+0.22] TEST: swp1 carrier off [ OK ] # 31.73 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 31.98 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 32.24 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 32.49 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 32.72 [+0.23] TEST: swp1 carrier on [ OK ] # 33.17 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 33.43 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 33.68 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 33.95 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.11 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.57 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 34.82 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.07 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.32 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.54 [+0.21] TEST: swp1 carrier off [ OK ] # 36.02 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 36.27 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 36.52 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 36.77 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.84 [+10.07] # 46.84 [+0.00] Backup nexthop ID - invalid IDs # 46.84 [+0.00] ------------------------------- # 48.28 [+1.44] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.46 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 48.67 [+0.21] TEST: swp1 carrier off [ OK ] # 49.14 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 49.39 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 49.66 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 49.76 [+0.10] TEST: No Tx drop increase [ OK ] # 49.93 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 50.39 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 50.63 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 50.86 [+0.23] TEST: No forwarding using backup nexthop ID [ OK ] # 50.96 [+0.10] TEST: Tx drop increased [ OK ] # 51.20 [+0.24] TEST: Blackhole nexthop as backup nexthop [ OK ] # 51.68 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 51.93 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 52.20 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 52.30 [+0.10] TEST: Tx drop increased [ OK ] # 52.45 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 52.92 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 53.17 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 53.43 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.53 [+0.10] TEST: Tx drop increased [ OK ] # 53.96 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 54.41 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 54.69 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 54.94 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.06 [+0.12] TEST: Tx drop increased [ OK ] # 65.04 [+9.98] # 65.04 [+0.00] Backup nexthop ID - ping # 65.04 [+0.00] ------------------------ # 68.50 [+3.46] TEST: Ping with backup nexthop ID [ OK ] # 73.79 [+5.29] TEST: Ping after disabling backup nexthop ID [ OK ] # 83.81 [+10.02] # 83.81 [+0.00] Backup nexthop ID - torture test # 83.81 [+0.00] -------------------------------- # 114.48 [+30.67] TEST: Torture test [ OK ] # 115.10 [+0.61] # 115.10 [+0.00] Tests passed: 83 # 115.10 [+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__->