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.34 [+9.34] # 9.34 [+0.00] Backup port # 9.34 [+0.00] ----------- # 10.55 [+1.20] TEST: Forwarding out of swp1 [ OK ] # 10.81 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.03 [+0.22] TEST: swp1 carrier off [ OK ] # 11.47 [+0.44] TEST: No forwarding out of swp1 [ OK ] # 11.76 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 11.97 [+0.21] TEST: swp1 carrier on [ OK ] # 12.13 [+0.16] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.59 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 12.85 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 13.08 [+0.23] TEST: swp1 carrier off [ OK ] # 13.53 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 13.79 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.00 [+0.21] TEST: swp1 carrier on [ OK ] # 14.46 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 14.71 [+0.25] TEST: No forwarding out of vx0 [ OK ] # 14.89 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.37 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.63 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 15.84 [+0.21] TEST: swp1 carrier off [ OK ] # 16.29 [+0.45] TEST: No forwarding out of swp1 [ OK ] # 16.56 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 26.74 [+10.18] # 26.74 [+0.00] Backup nexthop ID # 26.74 [+0.00] ----------------- # 28.25 [+1.52] TEST: vx0 configured as backup port of swp1 [ OK ] # 28.73 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 29.00 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 29.22 [+0.22] TEST: swp1 carrier off [ OK ] # 29.68 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 29.97 [+0.28] TEST: Forwarding out of vx0 [ OK ] # 30.23 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 30.49 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 30.70 [+0.21] TEST: swp1 carrier on [ OK ] # 30.87 [+0.16] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.34 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 31.60 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 31.81 [+0.22] TEST: swp1 carrier off [ OK ] # 32.30 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 32.55 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 32.80 [+0.26] TEST: Forwarding using backup nexthop ID [ OK ] # 33.07 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.27 [+0.20] TEST: swp1 carrier on [ OK ] # 33.75 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 34.01 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 34.28 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 34.54 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.74 [+0.20] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.20 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 35.47 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.73 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 36.01 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.21 [+0.21] TEST: swp1 carrier off [ OK ] # 36.69 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 36.94 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 37.20 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 37.48 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 47.66 [+10.18] # 47.66 [+0.00] Backup nexthop ID - invalid IDs # 47.66 [+0.00] ------------------------------- # 49.19 [+1.53] TEST: vx0 configured as backup port of swp1 [ OK ] # 49.35 [+0.16] TEST: Valid nexthop as backup nexthop [ OK ] # 49.57 [+0.21] TEST: swp1 carrier off [ OK ] # 50.03 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 50.28 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 50.53 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 50.62 [+0.09] TEST: No Tx drop increase [ OK ] # 50.79 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 51.26 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 51.52 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 51.79 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 51.91 [+0.11] TEST: Tx drop increased [ OK ] # 52.16 [+0.25] TEST: Blackhole nexthop as backup nexthop [ OK ] # 52.64 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.88 [+0.24] TEST: Forwarding out of vx0 [ OK ] # 53.13 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 53.23 [+0.11] TEST: Tx drop increased [ OK ] # 53.42 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 53.88 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 54.13 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 54.40 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 54.51 [+0.11] TEST: Tx drop increased [ OK ] # 54.93 [+0.43] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 55.42 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 55.68 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.95 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 56.05 [+0.10] TEST: Tx drop increased [ OK ] # 66.29 [+10.24] # 66.29 [+0.00] Backup nexthop ID - ping # 66.29 [+0.00] ------------------------ # 69.76 [+3.47] TEST: Ping with backup nexthop ID [ OK ] # 75.08 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.48 [+10.40] # 85.48 [+0.00] Backup nexthop ID - torture test # 85.48 [+0.00] -------------------------------- # 116.21 [+30.73] TEST: Torture test [ OK ] # 116.83 [+0.62] # 116.83 [+0.00] Tests passed: 83 # 116.83 [+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__->