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.68 [+9.68] # 9.68 [+0.00] Backup port # 9.68 [+0.00] ----------- # 10.98 [+1.30] TEST: Forwarding out of swp1 [ OK ] # 11.25 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 11.47 [+0.22] TEST: swp1 carrier off [ OK ] # 11.93 [+0.47] TEST: No forwarding out of swp1 [ OK ] # 12.24 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 12.48 [+0.24] TEST: swp1 carrier on [ OK ] # 12.65 [+0.17] TEST: vx0 configured as backup port of swp1 [ OK ] # 13.13 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 13.41 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 13.64 [+0.23] TEST: swp1 carrier off [ OK ] # 14.12 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 14.37 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 14.60 [+0.23] TEST: swp1 carrier on [ OK ] # 15.07 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 15.35 [+0.28] TEST: No forwarding out of vx0 [ OK ] # 15.54 [+0.19] TEST: vx0 not configured as backup port of swp1 [ OK ] # 16.01 [+0.46] TEST: Forwarding out of swp1 [ OK ] # 16.28 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 16.51 [+0.23] TEST: swp1 carrier off [ OK ] # 17.00 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 17.29 [+0.29] TEST: No forwarding out of vx0 [ OK ] # 27.73 [+10.44] # 27.73 [+0.00] Backup nexthop ID # 27.73 [+0.00] ----------------- # 29.28 [+1.56] TEST: vx0 configured as backup port of swp1 [ OK ] # 29.76 [+0.47] TEST: Forwarding out of swp1 [ OK ] # 30.03 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 30.28 [+0.25] TEST: swp1 carrier off [ OK ] # 30.78 [+0.50] TEST: No forwarding out of swp1 [ OK ] # 31.09 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 31.36 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 31.63 [+0.27] TEST: Forwarding using VXLAN FDB entry [ OK ] # 31.86 [+0.23] TEST: swp1 carrier on [ OK ] # 32.04 [+0.19] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 32.53 [+0.49] TEST: Forwarding out of swp1 [ OK ] # 32.79 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 33.03 [+0.24] TEST: swp1 carrier off [ OK ] # 33.51 [+0.48] TEST: No forwarding out of swp1 [ OK ] # 33.77 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 34.03 [+0.27] TEST: Forwarding using backup nexthop ID [ OK ] # 34.30 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 34.53 [+0.23] TEST: swp1 carrier on [ OK ] # 35.01 [+0.48] TEST: Forwarding out of swp1 [ OK ] # 35.28 [+0.27] TEST: No forwarding out of vx0 [ OK ] # 35.55 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 35.82 [+0.27] TEST: No forwarding using VXLAN FDB entry [ OK ] # 36.00 [+0.18] TEST: No backup nexthop ID configured for swp1 [ OK ] # 36.49 [+0.50] TEST: Forwarding out of swp1 [ OK ] # 36.75 [+0.26] TEST: No forwarding out of vx0 [ OK ] # 37.04 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 37.31 [+0.28] TEST: No forwarding using VXLAN FDB entry [ OK ] # 37.54 [+0.22] TEST: swp1 carrier off [ OK ] # 38.05 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 38.34 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 38.61 [+0.27] TEST: No forwarding using backup nexthop ID [ OK ] # 38.87 [+0.26] TEST: Forwarding using VXLAN FDB entry [ OK ] # 49.35 [+10.48] # 49.35 [+0.00] Backup nexthop ID - invalid IDs # 49.36 [+0.00] ------------------------------- # 50.96 [+1.61] TEST: vx0 configured as backup port of swp1 [ OK ] # 51.15 [+0.18] TEST: Valid nexthop as backup nexthop [ OK ] # 51.38 [+0.23] TEST: swp1 carrier off [ OK ] # 51.91 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 52.16 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 52.43 [+0.28] TEST: Forwarding using backup nexthop ID [ OK ] # 52.55 [+0.11] TEST: No Tx drop increase [ OK ] # 52.73 [+0.18] TEST: Non-existent nexthop as backup nexthop [ OK ] # 53.24 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 53.48 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 53.77 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 53.88 [+0.11] TEST: Tx drop increased [ OK ] # 54.14 [+0.26] TEST: Blackhole nexthop as backup nexthop [ OK ] # 54.67 [+0.53] TEST: No forwarding out of swp1 [ OK ] # 54.93 [+0.26] TEST: Forwarding out of vx0 [ OK ] # 55.20 [+0.28] TEST: No forwarding using backup nexthop ID [ OK ] # 55.31 [+0.11] TEST: Tx drop increased [ OK ] # 55.49 [+0.18] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 55.96 [+0.46] TEST: No forwarding out of swp1 [ OK ] # 56.21 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 56.50 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 56.61 [+0.11] TEST: Tx drop increased [ OK ] # 57.06 [+0.46] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 57.58 [+0.51] TEST: No forwarding out of swp1 [ OK ] # 57.82 [+0.25] TEST: Forwarding out of vx0 [ OK ] # 58.11 [+0.29] TEST: No forwarding using backup nexthop ID [ OK ] # 58.22 [+0.11] TEST: Tx drop increased [ OK ] # 68.65 [+10.43] # 68.65 [+0.00] Backup nexthop ID - ping # 68.66 [+0.00] ------------------------ # 72.18 [+3.52] TEST: Ping with backup nexthop ID [ OK ] # 77.51 [+5.33] TEST: Ping after disabling backup nexthop ID [ OK ] # 87.87 [+10.37] # 87.87 [+0.00] Backup nexthop ID - torture test # 87.88 [+0.00] -------------------------------- # 118.59 [+30.71] TEST: Torture test [ OK ] # 119.27 [+0.68] # 119.27 [+0.00] Tests passed: 83 # 119.27 [+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__->