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.26 [+9.26] # 9.26 [+0.00] Backup port # 9.26 [+0.00] ----------- # 10.25 [+0.99] TEST: Forwarding out of swp1 [ OK ] # 10.52 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 10.74 [+0.22] TEST: swp1 carrier off [ OK ] # 11.19 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 11.43 [+0.23] TEST: No forwarding out of vx0 [ OK ] # 11.65 [+0.22] TEST: swp1 carrier on [ OK ] # 11.82 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.26 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 12.51 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 12.74 [+0.23] TEST: swp1 carrier off [ OK ] # 13.18 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 13.43 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 13.65 [+0.22] TEST: swp1 carrier on [ OK ] # 14.12 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 14.37 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 14.53 [+0.16] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.02 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.26 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 15.46 [+0.20] TEST: swp1 carrier off [ OK ] # 15.92 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 16.19 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 26.23 [+10.04] # 26.23 [+0.00] Backup nexthop ID # 26.23 [+0.00] ----------------- # 27.75 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.22 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 28.49 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 28.70 [+0.21] TEST: swp1 carrier off [ OK ] # 29.16 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 29.44 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 29.71 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 29.97 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.18 [+0.21] TEST: swp1 carrier on [ OK ] # 30.34 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 30.81 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 31.07 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 31.29 [+0.22] TEST: swp1 carrier off [ OK ] # 31.75 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 32.01 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 32.27 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 32.52 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 32.74 [+0.21] TEST: swp1 carrier on [ OK ] # 33.22 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 33.48 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 33.73 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 33.97 [+0.24] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.14 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.60 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 34.86 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.12 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 35.40 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.61 [+0.21] TEST: swp1 carrier off [ OK ] # 36.04 [+0.43] TEST: No forwarding out of swp1 [ OK ] # 36.30 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 36.57 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 36.82 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 46.88 [+10.05] # 46.88 [+0.00] Backup nexthop ID - invalid IDs # 46.88 [+0.00] ------------------------------- # 48.40 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.57 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 48.79 [+0.22] TEST: swp1 carrier off [ OK ] # 49.25 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 49.52 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 49.78 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 49.88 [+0.10] TEST: No Tx drop increase [ OK ] # 50.05 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 50.50 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 50.76 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.03 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 51.13 [+0.11] TEST: Tx drop increased [ OK ] # 51.36 [+0.23] TEST: Blackhole nexthop as backup nexthop [ OK ] # 51.82 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 52.07 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 52.33 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.42 [+0.09] TEST: Tx drop increased [ OK ] # 52.58 [+0.15] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.04 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 53.28 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 53.56 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 53.66 [+0.10] TEST: Tx drop increased [ OK ] # 54.08 [+0.41] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 54.55 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 54.81 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.07 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.16 [+0.09] TEST: Tx drop increased [ OK ] # 65.21 [+10.05] # 65.21 [+0.00] Backup nexthop ID - ping # 65.21 [+0.00] ------------------------ # 68.66 [+3.44] TEST: Ping with backup nexthop ID [ OK ] # 73.95 [+5.30] TEST: Ping after disabling backup nexthop ID [ OK ] # 83.98 [+10.02] # 83.98 [+0.00] Backup nexthop ID - torture test # 83.98 [+0.00] -------------------------------- # 114.66 [+30.68] TEST: Torture test [ OK ] # 115.30 [+0.64] # 115.30 [+0.00] Tests passed: 83 # 115.30 [+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__->