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.55 [+9.55] # 9.55 [+0.00] Backup port # 9.55 [+0.00] ----------- # 10.72 [+1.17] TEST: Forwarding out of swp1 [ OK ] # 10.98 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 11.20 [+0.22] TEST: swp1 carrier off [ OK ] # 11.66 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 11.95 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 12.17 [+0.22] TEST: swp1 carrier on [ OK ] # 12.34 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 12.80 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 13.08 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.30 [+0.22] TEST: swp1 carrier off [ OK ] # 13.76 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 14.02 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.25 [+0.23] TEST: swp1 carrier on [ OK ] # 14.73 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 15.00 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 15.17 [+0.17] TEST: vx0 not configured as backup port of swp1 [ OK ] # 15.64 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 15.90 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 16.12 [+0.22] TEST: swp1 carrier off [ OK ] # 16.62 [+0.49] TEST: No forwarding out of swp1 [ OK ] # 16.87 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 27.08 [+10.21] # 27.08 [+0.00] Backup nexthop ID # 27.09 [+0.00] ----------------- # 28.60 [+1.51] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.07 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 29.36 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 29.60 [+0.24] TEST: swp1 carrier off [ OK ] # 30.10 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 30.35 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 30.61 [+0.26] TEST: No forwarding using backup nexthop ID [ OK ] # 30.87 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.09 [+0.22] TEST: swp1 carrier on [ OK ] # 31.27 [+0.18] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 31.75 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 32.00 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 32.23 [+0.22] TEST: swp1 carrier off [ OK ] # 32.74 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 33.01 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 33.29 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 33.55 [+0.26] TEST: No forwarding using VXLAN FDB entry [ OK ] # 33.79 [+0.24] TEST: swp1 carrier on [ OK ] # 34.29 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 34.54 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 34.80 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 35.08 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 35.25 [+0.17] TEST: No backup nexthop ID configured for swp1 [ OK ] # 35.71 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 35.98 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 36.27 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 36.54 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.76 [+0.22] TEST: swp1 carrier off [ OK ] # 37.27 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 37.56 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 37.81 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 38.10 [+0.29] TEST: Forwarding using VXLAN FDB entry [ OK ] # 48.42 [+10.32] # 48.42 [+0.00] Backup nexthop ID - invalid IDs # 48.42 [+0.00] ------------------------------- # 49.89 [+1.48] TEST: vx0 configured as backup port of swp1 [ OK ] # 50.07 [+0.17] TEST: Valid nexthop as backup nexthop [ OK ] # 50.30 [+0.23] TEST: swp1 carrier off [ OK ] # 50.77 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 51.04 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 51.29 [+0.25] TEST: Forwarding using backup nexthop ID [ OK ] # 51.39 [+0.10] TEST: No Tx drop increase [ OK ] # 51.55 [+0.17] TEST: Non-existent nexthop as backup nexthop [ OK ] # 52.03 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 52.30 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 52.55 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 52.66 [+0.10] TEST: Tx drop increased [ OK ] # 52.90 [+0.24] TEST: Blackhole nexthop as backup nexthop [ OK ] # 53.38 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 53.64 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 53.91 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 54.00 [+0.09] TEST: Tx drop increased [ OK ] # 54.17 [+0.16] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 54.63 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 54.88 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 55.12 [+0.24] TEST: No forwarding using backup nexthop ID [ OK ] # 55.21 [+0.10] TEST: Tx drop increased [ OK ] # 55.63 [+0.42] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 56.10 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 56.37 [+0.27] TEST: Forwarding out of vx0 [ OK ] # 56.62 [+0.25] TEST: No forwarding using backup nexthop ID [ OK ] # 56.71 [+0.09] TEST: Tx drop increased [ OK ] # 66.82 [+10.10] # 66.82 [+0.00] Backup nexthop ID - ping # 66.82 [+0.00] ------------------------ # 70.33 [+3.51] TEST: Ping with backup nexthop ID [ OK ] # 75.64 [+5.31] TEST: Ping after disabling backup nexthop ID [ OK ] # 85.91 [+10.27] # 85.91 [+0.00] Backup nexthop ID - torture test # 85.91 [+0.00] -------------------------------- # 116.61 [+30.70] TEST: Torture test [ OK ] # 117.26 [+0.64] # 117.26 [+0.00] Tests passed: 83 # 117.26 [+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__->