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.37 [+9.37] # 9.37 [+0.00] Backup port # 9.37 [+0.00] ----------- # 10.50 [+1.13] TEST: Forwarding out of swp1 [ OK ] # 10.76 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 10.96 [+0.20] TEST: swp1 carrier off [ OK ] # 11.41 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 11.67 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.90 [+0.23] TEST: swp1 carrier on [ OK ] # 12.07 [+0.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.53 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 12.79 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 13.01 [+0.21] TEST: swp1 carrier off [ OK ] # 13.48 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 13.75 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 13.96 [+0.21] TEST: swp1 carrier on [ OK ] # 14.42 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 14.68 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 14.85 [+0.18] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.32 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.60 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.83 [+0.23] TEST: swp1 carrier off [ OK ] # 16.32 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 16.58 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 26.69 [+10.11] # 26.69 [+0.00] Backup nexthop ID # 26.69 [+0.00] ----------------- # 28.20 [+1.51] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.65 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 28.93 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 29.16 [+0.23] TEST: swp1 carrier off [ OK ] # 29.63 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 29.88 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 30.14 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 30.42 [+0.28] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.62 [+0.21] TEST: swp1 carrier on [ OK ] # 30.80 [+0.17] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.26 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 31.53 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 31.76 [+0.23] TEST: swp1 carrier off [ OK ] # 32.23 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 32.50 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 32.75 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 33.02 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.25 [+0.23] TEST: swp1 carrier on [ OK ] # 33.70 [+0.45] TEST: Forwarding out of swp1 [ OK ] # 33.97 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 34.25 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 34.50 [+0.25] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.66 [+0.16] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.13 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 35.39 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.64 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.92 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.14 [+0.21] TEST: swp1 carrier off [ OK ] # 36.60 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 36.84 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 37.11 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.37 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.59 [+10.22] # 47.59 [+0.00] Backup nexthop ID - invalid IDs # 47.59 [+0.00] ------------------------------- # 49.09 [+1.50] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.26 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 49.47 [+0.22] TEST: swp1 carrier off [ OK ] # 49.96 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 50.23 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 50.48 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 50.58 [+0.10] TEST: No Tx drop increase [ OK ] # 50.75 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.23 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 51.49 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 51.74 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 51.85 [+0.10] TEST: Tx drop increased [ OK ] # 52.10 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.58 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.84 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 53.11 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 53.20 [+0.09] TEST: Tx drop increased [ OK ] # 53.36 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.82 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 54.08 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 54.36 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.45 [+0.10] TEST: Tx drop increased [ OK ] # 54.88 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.34 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 55.58 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 55.84 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 55.93 [+0.09] TEST: Tx drop increased [ OK ] # 66.03 [+10.10] # 66.03 [+0.00] Backup nexthop ID - ping # 66.04 [+0.00] ------------------------ # 69.50 [+3.46] TEST: Ping with backup nexthop ID [ OK ] # 74.82 [+5.32] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.01 [+10.19] # 85.01 [+0.00] Backup nexthop ID - torture test # 85.01 [+0.00] -------------------------------- # 115.71 [+30.69] TEST: Torture test [ OK ] # 116.31 [+0.60] # 116.31 [+0.00] Tests passed: 83 # 116.31 [+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__->