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.48 [+1.22] TEST: Forwarding out of swp1 [ OK ] # 10.72 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 10.94 [+0.22] TEST: swp1 carrier off [ OK ] # 11.39 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 11.67 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 11.89 [+0.23] TEST: swp1 carrier on [ OK ] # 12.06 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.52 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 12.78 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.01 [+0.23] TEST: swp1 carrier off [ OK ] # 13.46 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 13.73 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 13.95 [+0.22] TEST: swp1 carrier on [ OK ] # 14.39 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 14.64 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 14.80 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.25 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 15.52 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.72 [+0.20] TEST: swp1 carrier off [ OK ] # 16.18 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 16.45 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 26.49 [+10.04] # 26.49 [+0.00] Backup nexthop ID # 26.49 [+0.00] ----------------- # 27.98 [+1.49] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.45 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 28.71 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 28.93 [+0.22] TEST: swp1 carrier off [ OK ] # 29.40 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 29.66 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 29.91 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 30.19 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.41 [+0.22] TEST: swp1 carrier on [ OK ] # 30.58 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.04 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 31.31 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 31.53 [+0.22] TEST: swp1 carrier off [ OK ] # 31.99 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 32.26 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 32.51 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 32.76 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 32.98 [+0.21] TEST: swp1 carrier on [ OK ] # 33.45 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 33.70 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 33.97 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 34.23 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.39 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.88 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 35.13 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.37 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 35.64 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.85 [+0.21] TEST: swp1 carrier off [ OK ] # 36.30 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 36.54 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 36.82 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 37.07 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.13 [+10.06] # 47.13 [+0.00] Backup nexthop ID - invalid IDs # 47.13 [+0.00] ------------------------------- # 48.61 [+1.48] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.78 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 49.02 [+0.24] TEST: swp1 carrier off [ OK ] # 49.51 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 49.76 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 50.03 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 50.12 [+0.10] TEST: No Tx drop increase [ OK ] # 50.28 [+0.16] TEST: Non-existent nexthop as backup nexthop [ OK ] # 50.76 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 51.02 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.27 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 51.37 [+0.10] TEST: Tx drop increased [ OK ] # 51.63 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.09 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 52.35 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 52.61 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.71 [+0.11] TEST: Tx drop increased [ OK ] # 52.88 [+0.17] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.37 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 53.63 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.90 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.99 [+0.09] TEST: Tx drop increased [ OK ] # 54.40 [+0.41] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 54.87 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.11 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 55.36 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 55.45 [+0.09] TEST: Tx drop increased [ OK ] # 65.58 [+10.13] # 65.58 [+0.00] Backup nexthop ID - ping # 65.58 [+0.00] ------------------------ # 69.09 [+3.51] TEST: Ping with backup nexthop ID [ OK ] # 74.41 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 84.52 [+10.11] # 84.52 [+0.00] Backup nexthop ID - torture test # 84.52 [+0.00] -------------------------------- # 115.22 [+30.69] TEST: Torture test [ OK ] # 115.82 [+0.60] # 115.82 [+0.00] Tests passed: 83 # 115.82 [+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__->