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.24 [+9.24] # 9.24 [+0.00] Backup port # 9.24 [+0.00] ----------- # 10.48 [+1.24] TEST: Forwarding out of swp1 [ OK ] # 10.73 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 10.95 [+0.22] TEST: swp1 carrier off [ OK ] # 11.38 [+0.43] TEST: No forwarding out of swp1 [ OK ] # 11.64 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.84 [+0.20] TEST: swp1 carrier on [ OK ] # 11.99 [+0.15] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.46 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 12.73 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 12.95 [+0.22] TEST: swp1 carrier off [ OK ] # 13.42 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 13.69 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 13.92 [+0.23] TEST: swp1 carrier on [ OK ] # 14.36 [+0.44] TEST: Forwarding out of swp1 [ OK ] # 14.63 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 14.81 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.27 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.51 [+0.24] TEST: No forwarding out of vx0 [ OK ] # 15.72 [+0.22] TEST: swp1 carrier off [ OK ] # 16.17 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 16.44 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 26.55 [+10.11] # 26.55 [+0.00] Backup nexthop ID # 26.55 [+0.00] ----------------- # 28.02 [+1.47] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.50 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 28.76 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 28.98 [+0.22] TEST: swp1 carrier off [ OK ] # 29.45 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 29.70 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 29.97 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 30.23 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.45 [+0.22] TEST: swp1 carrier on [ OK ] # 30.61 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.08 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 31.33 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 31.55 [+0.22] TEST: swp1 carrier off [ OK ] # 32.02 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 32.29 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 32.56 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 32.80 [+0.23] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.02 [+0.23] TEST: swp1 carrier on [ OK ] # 33.50 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 33.76 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 34.02 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 34.29 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.48 [+0.19] TEST: No backup nexthop ID configured for swp1 [ OK ] # 34.95 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 35.21 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 35.45 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 35.72 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.94 [+0.22] TEST: swp1 carrier off [ OK ] # 36.40 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 36.66 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 36.94 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.19 [+0.25] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.21 [+10.03] # 47.21 [+0.00] Backup nexthop ID - invalid IDs # 47.21 [+0.00] ------------------------------- # 48.75 [+1.54] TEST: vx0 configured as backup port of swp1 [ OK ] # 48.91 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 49.13 [+0.22] TEST: swp1 carrier off [ OK ] # 49.62 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 49.88 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 50.15 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 50.26 [+0.11] TEST: No Tx drop increase [ OK ] # 50.42 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 50.90 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 51.16 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.43 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 51.53 [+0.10] TEST: Tx drop increased [ OK ] # 51.79 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.25 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 52.53 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.79 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 52.89 [+0.10] TEST: Tx drop increased [ OK ] # 53.05 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.53 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.79 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.04 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 54.14 [+0.10] TEST: Tx drop increased [ OK ] # 54.57 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.07 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 55.35 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 55.61 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 55.71 [+0.10] TEST: Tx drop increased [ OK ] # 65.84 [+10.13] # 65.84 [+0.00] Backup nexthop ID - ping # 65.84 [+0.00] ------------------------ # 69.26 [+3.42] TEST: Ping with backup nexthop ID [ OK ] # 74.57 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 84.66 [+10.09] # 84.66 [+0.00] Backup nexthop ID - torture test # 84.66 [+0.00] -------------------------------- # 115.34 [+30.68] TEST: Torture test [ OK ] # 115.91 [+0.57] # 115.91 [+0.00] Tests passed: 83 # 115.92 [+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__->